* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: #0b0f1a;
    color: #eaf0f8;
    height: 100vh;
    overflow: hidden;
}
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #1a2332; border-radius: 12px; }
::-webkit-scrollbar-thumb { background: #2f8cf5; border-radius: 12px; box-shadow: 0 0 12px #2f8cf580; }

#loginPage {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/063.jpg') center/cover no-repeat;
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
#loginPage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(47, 140, 245, 0.15) 0%, rgba(15, 32, 75, 0.8) 50%, rgba(47, 140, 245, 0.1) 100%);
    pointer-events: none;
}
#loginPage::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(47, 140, 245, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(138, 180, 248, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(47, 140, 245, 0.05) 0%, transparent 70%);
    pointer-events: none;
}
#loginPage.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}
.login-card {
    background: rgba(12, 20, 35, 0.75);
    backdrop-filter: blur(14px) saturate(180%);
    padding: 3rem 2.8rem;
    border-radius: 48px;
    border: 1px solid rgba(47, 140, 245, 0.25);
    box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(47, 140, 245, 0.15);
    width: 380px;
    max-width: 92vw;
    text-align: center;
}
.login-card .logo {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #8ab4f8, #2f8cf5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.4rem;
}
.login-card .sub {
    color: #9aaec9;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-bottom: 1px solid #2a3950;
    padding-bottom: 1.2rem;
    margin-bottom: 1.8rem;
}
.login-card input {
    width: 100%;
    padding: 14px 18px;
    margin: 10px 0;
    background: #111b2b;
    border: 1px solid #28344a;
    border-radius: 40px;
    color: #eaf0f8;
    font-size: 1rem;
    transition: 0.25s;
    outline: none;
}
.login-card input:focus {
    border-color: #2f8cf5;
    box-shadow: 0 0 0 3px rgba(47, 140, 245, 0.25);
    background: #0f1a2e;
}
.login-card .btn-login {
    width: 100%;
    padding: 14px;
    margin-top: 1.4rem;
    background: linear-gradient(135deg, #2f8cf5, #1a5fc7);
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    cursor: pointer;
    transition: 0.2s;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(47, 140, 245, 0.3);
}
.login-card .btn-login:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(47, 140, 245, 0.5);
}
.login-card .hint {
    color: #7b8aa6;
    font-size: 0.8rem;
    margin-top: 1.2rem;
}
/* 记住账号（覆盖 .login-card input 的胶囊样式） */
.login-card .login-remember {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 0;
    color: #8aa6c6;
    font-size: 0.82rem;
    cursor: pointer;
    user-select: none;
}
.login-card .login-remember input {
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
    border-radius: 3px;
    accent-color: #2f8cf5;
    cursor: pointer;
}
.login-card .login-remember input:focus {
    box-shadow: none;
    background: none;
    border-color: #2f8cf5;
}

#appMain {
    display: none;
    height: 100vh;
    width: 100vw;
    background: #0b111e;
    grid-template-columns: 72px 1fr;
    grid-template-rows: 64px 1fr;
    grid-template-areas: 
        "sidebar header"
        "sidebar content";
}
#appMain.active {
    display: grid;
}

.sidebar {
    grid-area: sidebar;
    background: rgba(16, 26, 45, 0.85);
    backdrop-filter: blur(8px);
    border-right: 1px solid #1f3147;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 0 8px;
    gap: 12px;
    overflow-y: auto;
}
.sidebar .brand-icon {
    font-size: 1.8rem;
    color: #2f8cf5;
    filter: drop-shadow(0 0 10px #2f8cf560);
    margin-bottom: 4px;
}
.sidebar .nav-item {
    color: #7b8fa8;
    font-size: 1.3rem;
    padding: 8px 0;
    width: 100%;
    text-align: center;
    transition: 0.2s;
    cursor: pointer;
    border-left: 3px solid transparent;
}
.sidebar .nav-item i {
    display: block;
    margin-bottom: 3px;
}
.sidebar .nav-item span {
    font-size: 0.6rem;
    letter-spacing: 0.3px;
    opacity: 0.7;
}
.sidebar .nav-item.active {
    color: #8abcfc;
    border-left-color: #2f8cf5;
    background: linear-gradient(90deg, #1f3147, transparent);
}
.sidebar .nav-item:hover {
    color: #b6d4ff;
}

.header {
    grid-area: header;
    background: rgba(12, 22, 40, 0.7);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #1f3147;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
}

/* 顶栏中间的招聘流程快捷按钮 */
.header-actions {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
/* 招聘流程按钮只属于招聘模块，其他模块隐藏 */
.header-actions.is-hidden {
    display: none;
}
.hdr-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 16px;
    border: 1px solid rgba(47, 140, 245, 0.35);
    background: rgba(47, 140, 245, 0.12);
    color: #9dc4f5;
    font-size: 0.8rem;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.2s;
}
.hdr-btn i {
    font-size: 0.78rem;
    color: #2f8cf5;
}
.hdr-btn:hover {
    background: rgba(47, 140, 245, 0.24);
    border-color: rgba(47, 140, 245, 0.6);
    color: #d6e8ff;
}
.hdr-btn.active {
    background: linear-gradient(90deg, #1b4bb5, #2f7bff);
    border-color: #2f8cf5;
    color: #ffffff;
}
.hdr-btn.active i {
    color: #ffffff;
}
/* 顶栏中间的考勤模块快捷按钮（结构与招聘按钮一致） */
.header-actions-att {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
/* 考勤按钮只属于员工考勤模块，其他模块隐藏 */
.header-actions-att.is-hidden {
    display: none;
}
/* 薪酬模块顶栏快捷按钮（结构与招聘按钮一致） */
.header-actions-payroll {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
/* 薪酬按钮只属于薪酬模块，其他模块隐藏 */
.header-actions-payroll.is-hidden {
    display: none;
}
/* 绩效管理模块顶栏快捷按钮（结构与招聘/薪酬按钮一致） */
.header-actions-perf {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
/* 绩效按钮只属于绩效管理模块，其他模块隐藏 */
.header-actions-perf.is-hidden {
    display: none;
}
/* 培训管理模块顶栏快捷按钮（结构与招聘/绩效按钮一致，按钮较多允许换行） */
.header-actions-training {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    /* 按钮较多时保持一行（不换行），空间不足则横向滚动，避免出现错行 */
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.header-actions-training::-webkit-scrollbar { display: none; }
.header-actions-training .hdr-btn { white-space: nowrap; padding: 6px 12px; font-size: 0.8rem; }
/* 培训按钮只属于培训管理模块，其他模块隐藏 */
.header-actions-training.is-hidden {
    display: none;
}
@media (max-width: 1100px) {
    .header-actions,
    .header-actions-att,
    .header-actions-payroll,
    .header-actions-perf,
    .header-actions-training { display: none; }
}

/* 员工考勤模块：5 个 tab 面板 */
.att-main-pane {
    display: none;
    height: 100%;
    padding: 16px 18px;
    box-sizing: border-box;
}
.att-main-pane.active {
    display: block;
}
.att-pane-placeholder {
    padding: 40px 0;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}
/* 考勤设置 tab：左右分栏需要可撑开的高度，模块内卡片与面板改为纵向 flex 撑满 */
.att-main-pane[data-att-main-pane="setting"] {
    padding-top: 8px;
}
.att-main-pane[data-att-main-pane="setting"] > .glass-card {
    height: 100%;
    margin-bottom: 0;
    padding: 6px 24px 14px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.att-main-pane[data-att-main-pane="setting"] .att-pane[data-pane="setting"].active {
    min-height: 420px;
}
/* 员工考勤 tab：考勤统计表满屏（工具栏固定，表格撑满剩余高度并内部滚动） */
.att-main-pane[data-att-main-pane="summary"] {
    padding-top: 8px;
}
.att-main-pane[data-att-main-pane="summary"] > .glass-card {
    height: 100%;
    margin-bottom: 0;
    padding: 6px 24px 14px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.att-main-pane[data-att-main-pane="summary"] .att-pane[data-pane="summary"].active {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}
.att-main-pane[data-att-main-pane="summary"] .att-summary-table-wrap {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}
/* 打卡记录 tab：打卡记录表满屏（工具栏固定，左右两栏撑满高度，右侧表格内部滚动） */
.att-main-pane[data-att-main-pane="punch"] > .glass-card {
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.att-main-pane[data-att-main-pane="punch"] .att-pane[data-pane="punch"].active {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}
/* 打卡记录 tab：整体提到最顶端（缩面板/卡片顶部留白，卡片撑满） */
.att-main-pane[data-att-main-pane="punch"] {
    padding-top: 0;
}
.att-main-pane[data-att-main-pane="punch"] > .glass-card {
    height: 100%;
    margin-bottom: 0;
    padding: 0 24px 14px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.att-main-pane[data-att-main-pane="punch"] .att-punch-body {
    flex: 1 1 auto;
    min-height: 0;
}
.att-main-pane[data-att-main-pane="punch"] .att-punch-left {
    align-self: flex-start;
}
.att-main-pane[data-att-main-pane="punch"] .att-punch-right {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-top: -48px;
    height: calc(100% + 48px);
}
.att-main-pane[data-att-main-pane="punch"] .att-punch-table-wrap {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}
/* 加班统计 tab：加班统计表满屏（工具栏固定，表格撑满剩余高度并内部滚动） */
.att-main-pane[data-att-main-pane="overtime"] {
    padding-top: 8px;
}
.att-main-pane[data-att-main-pane="overtime"] > .glass-card {
    height: 100%;
    margin-bottom: 0;
    padding: 6px 24px 14px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.att-main-pane[data-att-main-pane="overtime"] .att-pane[data-pane="overtime"].active {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}
.att-main-pane[data-att-main-pane="overtime"] .att-over-table-wrap {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}
/* 年假管理 tab：员工姓名输入框上提 + 年假表满屏 */
.att-main-pane[data-att-main-pane="leave"] {
    padding-top: 8px;
}
.att-main-pane[data-att-main-pane="leave"] > .glass-card {
    height: 100%;
    margin-bottom: 0;
    padding: 6px 24px 14px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.att-main-pane[data-att-main-pane="leave"] .leave-pane[data-leave-pane="stat"].active {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}
.att-main-pane[data-att-main-pane="leave"] .att-leave-table-wrap {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}

/* 招聘模块：4 个 tab 面板
   注意：类名刻意避开 .recruit-pane / .recruit-placeholder，
   那是员工模块「招聘工作台」已占用的类名，会被其样式覆盖 */
.recruit-tab-pane {
    display: none;
    height: 100%;
    padding: 16px 18px;
    box-sizing: border-box;
}
.recruit-tab-pane.active {
    display: block;
}
/* 招聘需求页：左板块（招聘需求列表，待补充）+ 右板块（招聘申请表单） */
.demand-layout {
    height: 100%;
    display: flex;
    gap: 18px;
    align-items: stretch;
}
.demand-left {
    flex: 1 1 38%;
    min-width: 0;
    border: 1px solid #1f3147;
    border-radius: 10px;
    background: rgba(10, 18, 32, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}
/* 招聘需求 tab 左侧岗位列表：跟随容器宽度，不强制最小宽度（避免横向滚动） */
.demand-left .resp-list-table {
    min-width: 0;
}
/* 招聘需求 tab：点击左侧岗位后，右侧展示岗位任职资格/岗位职责 */
.demand-position-detail {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #1f3147;
}
.demand-right {
    flex: 1 1 62%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.demand-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 6px;
}
.demand-footer {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
    border-top: 1px solid #1f3147;
}

/* 「简历筛选」「面试评估」「入职管理」页：内部是左右分栏，需要纵向 flex 才能撑满容器高度 */
.recruit-tab-pane.active[data-recruit-pane="resume"],
.recruit-tab-pane.active[data-recruit-pane="interview"],
.recruit-tab-pane.active[data-recruit-pane="onboard"] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}
.recruit-tab-hint {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3c5878;
    font-size: 0.86rem;
    letter-spacing: 1px;
}
.header .page-title {
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #d6e6ff, #8ab4f8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.header .user-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b0c8e5;
    font-size: 0.9rem;
}
.header .user-badge i {
    font-size: 1.2rem;
    color: #2f8cf5;
}

.content {
    grid-area: content;
    overflow-y: auto;
    padding: 24px 28px 28px;
    background: rgba(8, 14, 26, 0.6);
    backdrop-filter: blur(2px);
    height: calc(100vh - 64px); /* 内容区占满 header(64px) 以下的整屏高度 */
}

.module-panel {
    display: none;
    animation: fadeSlide 0.3s ease;
}
.module-panel.active {
    display: block;
    height: 100%;
}
@keyframes fadeSlide {
    0% { opacity: 0.4; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}

.glass-card {
    background: rgba(18, 30, 50, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid #293e5a;
    border-radius: 28px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 12px 30px -10px rgba(0,0,0,0.6);
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dashboard-top-row {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.grid-4col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    flex: 1;
    grid-auto-rows: 1fr;
}
.grid-4col .glass-card.stat-card {
    padding: 12px 16px !important;
    margin-bottom: 0;
    border-radius: 20px;
    height: 100%;
    box-sizing: border-box;
}

.dashboard-right-panel {
    flex: 1;
    display: flex;
    gap: 16px;
    align-items: stretch;
}
.dashboard-right-panel .right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.dashboard-right-panel .right-col .glass-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

/* 重点工作卡片 */
.work-focus-card h4,
.daily-log-card h4 {
    margin-top: 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-edit-btn {
    background: rgba(47, 140, 245, 0.15);
    border: 1px solid rgba(47, 140, 245, 0.3);
    color: #8abcfc;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}
.card-edit-btn:hover {
    background: rgba(47, 140, 245, 0.3);
    transform: translateY(-1px);
}
.work-focus-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.work-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(47, 140, 245, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(47, 140, 245, 0.15);
    font-size: 0.85rem;
    color: #c8d6e5;
}
.work-priority {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}
.work-priority.high {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
}
.work-priority.medium {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}
.work-priority.low {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}
.work-text {
    flex: 1;
}

/* 工作日志卡片 */
.daily-log-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.daily-log-card h4 {
    margin-top: 0;
    margin-bottom: 12px;
}
.daily-log-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.daily-log-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex: 1;
    min-height: 0;
}
.day-label {
    width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}
.day-label.mon { background: rgba(47, 140, 245, 0.2); color: #2f8cf5; }
.day-label.tue { background: rgba(167, 139, 250, 0.2); color: #a78bfa; }
.day-label.wed { background: rgba(74, 222, 128, 0.2); color: #4ade80; }
.day-label.thu { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }
.day-label.fri { background: rgba(249, 115, 22, 0.2); color: #fb923c; }
.day-label.sat, .day-label.sun {
    background: rgba(100, 116, 139, 0.2);
    color: #94a3b8;
}
.day-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: rgba(18, 30, 50, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(41, 62, 90, 0.6);
    font-size: 0.82rem;
    color: #b0c8e5;
}
.daily-log-row.weekend .day-content {
    color: #64748b;
    background: rgba(18, 30, 50, 0.3);
}

.stat-trend.negative {
    color: var(--color-danger);
}

.stat-trend.negative i {
    margin-right: 4px;
}

.stat-badge {
    background: #14233b;
    border-radius: 40px;
    padding: 6px 16px;
    font-size: 0.8rem;
    color: #9bb9e6;
    display: inline-block;
}

.btn-outline-cyber {
    background: transparent;
    border: 1px solid #2f8cf5;
    color: #8abcfc;
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 500;
    transition: 0.15s;
    cursor: pointer;
}
.btn-outline-cyber:hover {
    background: #2f8cf5;
    color: #0b111e;
    box-shadow: 0 0 20px #2f8cf580;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
    background: linear-gradient(135deg, #2f8cf5, #1a5fc7);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-sm:hover {
    background: linear-gradient(135deg, #4a9fff, #2f8cf5);
    box-shadow: 0 0 10px #2f8cf560;
}
.btn-nav { padding: 4px 10px; font-size: 0.75rem; }

.org-tree {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.org-node {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: #0f1b30;
    border-radius: 40px;
    border-left: 4px solid #2f8cf5;
    cursor: pointer;
    transition: 0.1s;
}
.org-node:hover {
    background: #1a2d4a;
}

.org-chart-container {
    margin-top: 0;
    margin-bottom: 20px;
    overflow: visible;
    padding-bottom: 16px;
    border-radius: 16px;
    background: rgba(47, 140, 245, 0.05);
    padding: 20px;
    position: relative;
}

.org-chart-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.org-action-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    background: rgba(47, 140, 245, 0.05);
    border-radius: 12px;
    width: 220px;
    max-height: 500px;
    overflow-y: auto;
}

.org-responsibility-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: rgba(47, 140, 245, 0.05);
    border-radius: 12px;
    flex: 1;
    min-width: 280px;
    max-height: 500px;
    overflow-y: auto;
}

.org-responsibility-panel h4 {
    margin: 0;
    padding-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    border-bottom: 1px solid rgba(47, 140, 245, 0.2);
}

#deptStaffing {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.staffing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.staffing-label {
    font-size: 12px;
    color: #9bb9e6;
}

.staffing-value {
    font-size: 16px;
    font-weight: 600;
    color: #2f8cf5;
}

.staffing-active {
    color: #4ade80;
}

.staffing-vacant {
    color: #fbbf24;
}

.panel-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.panel-section h4 {
    margin: 0;
    padding-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    border-bottom: 1px solid rgba(47, 140, 245, 0.2);
}

.btn-block {
    width: 100%;
    padding: 8px 12px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
}

.section-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border: 1px solid rgba(47, 140, 245, 0.3);
    background: rgba(47, 140, 245, 0.05);
    color: #9bb9e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
}

.tab-btn:hover {
    background: rgba(47, 140, 245, 0.15);
    color: #fff;
}

.tab-btn.active {
    background: linear-gradient(135deg, #2f8cf5, #1a5fc7);
    border-color: #2f8cf5;
    color: #fff;
}

.section-content {
    display: none;
}

.section-content.active {
    display: block;
}

#section-process.active {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9bb9e6;
    font-size: 13px;
}

.feature-item i {
    color: #2f8cf5;
    width: 16px;
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.mini-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: rgba(47, 140, 245, 0.05);
    border-radius: 12px;
    gap: 8px;
}

.mini-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.mini-content {
    font-size: 13px;
    color: #9bb9e6;
}

.mini-count {
    font-size: 24px;
    font-weight: 600;
    color: #2f8cf5;
}

#selectedDeptInfo {
    padding: 12px;
    background: rgba(47, 140, 245, 0.1);
    border-radius: 8px;
    text-align: center;
}

.dept-name {
    font-size: 14px;
    font-weight: 600;
    color: #2f8cf5;
    margin-bottom: 4px;
}

.dept-desc {
    font-size: 11px;
    color: #6b7280;
}

#deptResponsibility {
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #ffffff;
}

#deptResponsibility p {
    margin: 0;
}

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.org-level-1-with-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}

.org-level-1-row {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-x: auto;
    max-width: 100%;
}

.org-level-1-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: max-content;
}

.org-level-1 {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.org-node-main {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 5px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.org-node-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.7);
}

.org-node-main.selected {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(47, 140, 245, 0.6), 0 0 40px rgba(47, 140, 245, 0.3);
    border-color: #2f8cf5;
}

.org-node-board {
    width: 220px;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
}

.org-connector-level-1 {
    width: 2px;
    height: 14px;
    background: linear-gradient(180deg, #2f8cf5, #1a5fc7);
    margin-bottom: 4px;
}

.org-level-2 {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.org-node-secondary {
    background: linear-gradient(135deg, #2f8cf5 0%, #1a5fc7 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 11px;
    box-shadow: 0 2px 8px rgba(47, 140, 245, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 110px;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.org-node-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(47, 140, 245, 0.6);
    background: linear-gradient(135deg, #4a9eff 0%, #2f8cf5 100%);
}

.org-node-secondary.selected {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(47, 140, 245, 0.5), 0 0 30px rgba(47, 140, 245, 0.3);
    border-color: #60a5fa;
}

.org-level-3 {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.level-3-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.org-connector-level-2 {
    width: 2px;
    height: 16px;
    background: linear-gradient(180deg, #2f8cf5, #1a5fc7);
}

.org-node-tertiary {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d1a2e 100%);
    color: #a8c5e0;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(47, 140, 245, 0.3);
    min-width: 65px;
    text-align: center;
}

.org-node-tertiary:hover {
    background: linear-gradient(135deg, #2f8cf5 0%, #1a5fc7 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(47, 140, 245, 0.4);
}

.org-node-tertiary.selected {
    background: linear-gradient(135deg, #2f8cf5 0%, #1a5fc7 100%);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(47, 140, 245, 0.5), 0 0 25px rgba(47, 140, 245, 0.3);
    border-color: #60a5fa;
}

.org-node-secondary.active,
.org-node-tertiary.active,
.org-node-main.active {
    box-shadow: 0 0 0 3px rgba(47, 140, 245, 0.8), 0 6px 20px rgba(47, 140, 245, 0.5);
}

.node-content {
    position: relative;
}

.node-content::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -4px;
    right: -4px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    border-radius: 1px;
}

.table-wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: #1e3a5f;
}

.sticky-header {
    overflow-x: auto;
    scrollbar-width: none;
    position: sticky;
    top: 0;
    z-index: 1;
    background: linear-gradient(135deg, #1e3a5f 0%, #0d1a2e 100%);
    border-bottom: 2px solid #2f8cf5;
}

.sticky-header::-webkit-scrollbar {
    display: none;
}

.table-body-container {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 300px;
    scrollbar-width: thin;
    scrollbar-color: #2f8cf5 #1e3a5f;
}

.table-body-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-body-container::-webkit-scrollbar-track {
    background: #1e3a5f;
    border-radius: 4px;
}

.table-body-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2f8cf5, #1a5fc7);
    border-radius: 4px;
}

.table-body-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4a9eff, #2f8cf5);
}

.employee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    table-layout: fixed;
}

.employee-table thead th {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d1a2e 100%);
    color: #8abcfc;
    padding: 12px 10px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: none;
}

.employee-table thead th:first-child,
.employee-table td:first-child {
    text-align: center;
}

.employee-table td {
    padding: 10px 10px;
    border-bottom: 1px solid rgba(47, 140, 245, 0.2);
    color: #c5d6eb;
    white-space: nowrap;
    background: #0d1a2e;
    text-align: left;
}

.employee-table tbody tr:hover td {
    background: rgba(47, 140, 245, 0.1);
}

.employee-table tbody tr:last-child td {
    border-bottom: none;
}

/* 组织管理·员工列表：对齐「入职统计表」同款（att-leave-table-wrap）视觉 */
.att-leave-table-wrap .employee-table thead th,
.att-leave-table-wrap .employee-table td {
    text-align: center;
    border: 1px solid #243a57;
    background: transparent;
}
.att-leave-table-wrap .employee-table thead th {
    background: #0f1b30;
    color: #bfe6ff;
    border-bottom: 1px solid #2f4a6e;
    font-weight: 600;
}
.att-leave-table-wrap .employee-table tbody tr:last-child td {
    border-bottom: 1px solid #243a57;
}
.att-leave-table-wrap .employee-table tbody tr:hover td {
    background: rgba(47, 140, 245, 0.1);
}
/* 该容器仅作为卡片，滚动交给内部 .table-body-container；按需求去掉外框与底色 */
.table-wrapper.att-leave-table-wrap {
    overflow: hidden;
    max-height: none;
    border: none;
    background: transparent;
}
/* 组织管理·员工列表：去掉外层 glass-card 容器底色与边框（只保留表格本身样式） */
#module-org .glass-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}
/* 组织管理·员工列表高度随屏幕自适应：
   .module-panel.active 已是 height:100%（= .content 高度），这里把 #module-org 改为纵向 flex，
   架构区按内容占位，剩余高度全部给员工表格，表格内部滚动。
   覆盖全局 .table-body-container 的 max-height:300px，屏幕越高可见员工行越多。 */
#module-org.module-panel.active {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
#module-org .org-chart-wrapper {
    flex: 0 0 auto;
}
#module-org .org-emp-table-card {
    flex: 1 1 auto;
    min-height: 220px;      /* 架构区很高时的兜底最小高度 */
    display: flex;
    flex-direction: column;
}
#module-org .org-emp-table-card .table-wrapper {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
#module-org .table-body-container {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}

.org-node .dept-name {
    font-weight: 600;
}
.org-node .dept-count {
    margin-left: auto;
    background: #1f3147;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.member-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 12px;
}
.member-tag {
    background: #142b44;
    padding: 6px 16px;
    border-radius: 40px;
    border: 1px solid #2f8cf550;
    font-size: 0.9rem;
}

.action-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 12px 0 6px;
}

.table-mini {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.table-mini td, .table-mini th {
    padding: 12px 8px;
    border-bottom: 1px solid #1f3147;
}
.table-mini th {
    color: #8aacd0;
    font-weight: 500;
    text-align: left;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px !important;
}
.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 4px 14px rgba(47, 140, 245, 0.3);
    position: relative;
    overflow: hidden;
}
.stat-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg);
}
.stat-icon i {
    position: relative;
    z-index: 1;
}
.stat-content {
    flex: 1;
}
.stat-label {
    font-size: 0.75rem;
    color: #7b8fa8;
    margin-bottom: 2px;
}
.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8abcfc;
    line-height: 1.2;
}
.stat-trend {
    font-size: 0.75rem;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.stat-trend.positive {
    color: #4ade80;
}
.stat-trend.negative {
    color: #f87171;
}
.stat-trend.neutral {
    color: #9bb9e6;
}

.chart-section {
    background: linear-gradient(135deg, rgba(47, 140, 245, 0.05), rgba(138, 180, 248, 0.03));
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(47, 140, 245, 0.1);
}
.chart-title {
    font-size: 0.85rem;
    color: #7b8fa8;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 50px;
}
.chart-title i {
    color: #2f8cf5;
}
.data-bar-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.data-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.data-bar-label {
    width: 100px;
    font-size: 0.85rem;
    color: #9bb9e6;
    flex-shrink: 0;
}
.data-bar-track {
    flex: 1;
    height: 10px;
    background: rgba(26, 45, 74, 0.6);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.data-bar-fill {
    height: 100%;
    border-radius: 8px;
    position: relative;
    transition: width 0.5s ease;
}
.data-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2), transparent);
    border-radius: 8px 8px 0 0;
}
.data-bar-value {
    width: 45px;
    text-align: right;
    font-size: 0.85rem;
    color: #8abcfc;
    font-weight: 500;
}
.bar-chart-container {
    display: flex;
    align-items: flex-end;
    height: 140px;
    gap: 10px;
    padding-top: 20px;
}
.bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.bar-bar {
    width: 100%;
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: height 0.5s ease;
    min-height: 10px;
}
.bar-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(180deg, rgba(255,255,255,0.3), transparent);
    border-radius: 8px 8px 0 0;
}
.bar-label {
    font-size: 0.75rem;
    color: #7b8fa8;
}
.bar-value {
    font-size: 0.7rem;
    color: #9bb9e6;
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1f3147;
    transition: 0.3s;
    border-radius: 26px;
}
.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #7b8fa8;
    transition: 0.3s;
    border-radius: 50%;
}
.toggle-switch input:checked + .toggle-slider {
    background-color: #2f8cf5;
}
.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
    background-color: white;
}

.todo-item:hover {
    background: #1a2d4a !important;
}
.todo-checkbox {
    cursor: pointer;
}
.todo-item.checked {
    opacity: 0.6;
}
.todo-item.checked [style*="font-weight: 500"] {
    text-decoration: line-through;
    color: #7b8fa8;
}

#payrollSearch {
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: 0.25s;
}
#payrollSearch:focus {
    border-color: #2f8cf5;
    box-shadow: 0 0 0 3px rgba(47, 140, 245, 0.25);
}

select {
    font-family: 'Inter', sans-serif;
    outline: none;
    cursor: pointer;
    transition: 0.25s;
}
select:focus {
    border-color: #2f8cf5;
    box-shadow: 0 0 0 3px rgba(47, 140, 245, 0.25);
}

.table-mini tbody tr:hover td {
    background: rgba(47, 140, 245, 0.1);
}

/* 学历分布：竖向柱状图 */
.edu-chart-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    gap: 14px;
    height: 180px;
}
.edu-vbar-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.edu-vbar-value {
    font-size: 0.78rem;
    font-weight: 600;
    color: #8abcfc;
    white-space: nowrap;
    line-height: 1;
}
.edu-vbar-track {
    flex: 1 1 0;
    width: 100%;
    max-width: 48px;
    display: flex;
    align-items: flex-end;
    background: rgba(26, 45, 74, 0.35);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}
.edu-vbar-fill {
    width: 100%;
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: height 0.5s ease;
}
.edu-vbar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent);
    border-radius: 8px 0 0 0;
}
.edu-vbar-label {
    font-size: 0.8rem;
    color: #9bb9e6;
    white-space: nowrap;
    line-height: 1;
}

.bar-chart-wrapper {
    position: relative;
    height: 180px;
    margin-top: 16px;
    width: 1250px;
}

.bar-chart {
    width: 100%;
    height: 100%;
}

.bar-chart .bars rect {
    transition: height 0.3s ease, y 0.3s ease;
}

.bar-chart .bars rect:hover {
    opacity: 0.8;
}

@media (max-width: 800px) {
    #appMain { grid-template-columns: 60px 1fr; }
    .sidebar .nav-item span { display: none; }
    .grid-2col { grid-template-columns: 1fr; }
    .grid-4col { grid-template-columns: 1fr 1fr; }
    .login-card { padding: 2rem 1.5rem; }
}

@media (max-width: 600px) {
    .grid-4col { grid-template-columns: 1fr; }
    .edu-chart-wrapper { height: 150px; gap: 8px; }
    .edu-vbar-track { max-width: 34px; }
    .edu-vbar-label { font-size: 0.72rem; }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal {
    background: rgba(12, 20, 35, 0.95);
    border: 1px solid #293e5a;
    border-radius: 24px;
    padding: 28px;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal {
    transform: translateY(0);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #293e5a;
}
.modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #eaf0f8;
}
.modal-close {
    background: none;
    border: none;
    color: #7b8fa8;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: 0.2s;
}
.modal-close:hover {
    background: rgba(47, 140, 245, 0.1);
    color: #eaf0f8;
}
/* 岗位设置弹窗：岗位设置 / 新增岗位 两个 tab */
.resp-edit-tabs {
    display: flex;
    gap: 4px;
}
.resp-edit-tab {
    background: transparent;
    border: none;
    color: #a8b8d0;
    font-size: 1.05rem;
    padding: 4px 14px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.resp-edit-tab:hover { color: #cfe0f5; }
.resp-edit-tab.active {
    color: #eaf0f8;
    border-bottom-color: #2f8cf5;
    font-weight: 600;
}
@media (max-width: 560px) {
    #respEditModal .modal-header { flex-wrap: wrap; row-gap: 8px; }
}
.modal-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.doc-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(31, 49, 71, 0.5);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.doc-item:hover {
    background: rgba(47, 140, 245, 0.1);
}
.doc-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #2f8cf5;
}
.doc-item label {
    cursor: pointer;
    color: #a8b8d0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.doc-item label i {
    color: #2f8cf5;
}
.upload-input {
    padding: 6px 10px;
    background: rgba(31, 49, 71, 0.8);
    border: 1px solid #293e5a;
    border-radius: 4px;
    color: #a8b8d0;
    font-size: 11px;
    cursor: pointer;
    transition: border-color 0.2s;
}
.upload-input:hover {
    border-color: #2f8cf5;
}
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #293e5a;
}
/* btn-primary-cyber 历史上没定义过样式（按钮会裸奔成原生样式），这里与 btn-primary 统一 */
.btn-primary,
.btn-primary-cyber {
    background: linear-gradient(135deg, #2f8cf5, #1a5fc7);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}
.btn-primary:hover,
.btn-primary-cyber:hover {
    box-shadow: 0 0 20px rgba(47, 140, 245, 0.4);
    transform: translateY(-1px);
}
.btn-secondary {
    background: transparent;
    border: 1px solid #293e5a;
    color: #9bb9e6;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}
.btn-secondary:hover {
    border-color: #4a6584;
    color: #eaf0f8;
}
.btn-danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #f87171;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}
.btn-danger:hover {
    background: rgba(239, 68, 68, 0.22);
    border-color: #f87171;
    color: #fecaca;
}
.btn-ghost {
    background: rgba(100, 116, 139, 0.15);
    border: 1px solid rgba(100, 116, 139, 0.3);
    color: #94a3b8;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}
.btn-ghost:hover {
    background: rgba(100, 116, 139, 0.25);
    color: #eaf0f8;
}

/* 编辑弹窗 */
.edit-modal {
    max-width: 600px;
}
.edit-tip {
    background: rgba(47, 140, 245, 0.08);
    border: 1px solid rgba(47, 140, 245, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.82rem;
    color: #8abcfc;
    line-height: 1.6;
}
.edit-tip code {
    background: rgba(47, 140, 245, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: Consolas, monospace;
    color: #a8c8f0;
}
.edit-textarea {
    width: 100%;
    min-height: 300px;
    background: rgba(12, 20, 35, 0.8);
    border: 1px solid #293e5a;
    border-radius: 12px;
    padding: 16px;
    color: #eaf0f8;
    font-size: 0.88rem;
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.8;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.edit-textarea:focus {
    border-color: #2f8cf5;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #7b8fa8;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #a8b8d0;
}

.tab-btn.active {
    color: #4ecdc4;
    border-bottom-color: #4ecdc4;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 0.85rem;
    color: #9bb9e6;
    font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
    background: #0f1b30;
    border: 1px solid #28344a;
    border-radius: 12px;
    padding: 12px 14px;
    color: #eaf0f8;
    font-size: 0.95rem;
    transition: 0.25s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2f8cf5;
    box-shadow: 0 0 0 3px rgba(47, 140, 245, 0.2);
}
.form-group textarea {
    resize: vertical;
    min-height: 80px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* 组织架构设置弹窗：部门顺序码列表 */
/* 组织架构设置弹窗：整体高度限制为视口 60%，表格在弹窗内部滚动。
   只作用于 #editDeptModal，避免影响删除部门、员工档案等其他弹窗。 */
#editDeptModal .modal {
    max-height: 60vh;
    display: flex;
    flex-direction: column;
}
#editDeptModal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}
.org-settings-wrap {
    border: 1px solid #1f3147;
    border-radius: 6px;
}
.org-settings-table {
    width: 100%;
    /* 固定布局：让下面的列宽百分比精确生效，不被内容长短挤偏 */
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 0.9rem;
}
/* 一级部门、二级部门等宽，两个顺序号列各取其一半 —— 比例 2:1:2:1 */
.org-settings-table th:nth-child(1),
.org-settings-table th:nth-child(3) {
    width: 33.33%;
}
.org-settings-table th:nth-child(2),
.org-settings-table th:nth-child(4) {
    width: 16.67%;
}
.org-settings-table th,
.org-settings-table td {
    border-bottom: 1px solid #1f3147;
    padding: 8px 10px;
    text-align: left;
    color: #e2e8f0;
    vertical-align: middle;
    /* 固定布局下列宽写死，长部门名换行而不是撑破表格 */
    overflow-wrap: break-word;
}
.org-settings-table thead th {
    position: sticky;
    top: 0;
    background: #0f172a;
    color: #8ab4f8;
    font-weight: 600;
    z-index: 1;
}
.org-settings-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.06);
}
.org-settings-code,
.org-settings-name {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid #1e3a5f;
    color: #e2e8f0;
    border-radius: 4px;
    padding: 5px 8px;
    font-size: 0.9rem;
}
.org-settings-code:focus,
.org-settings-name:focus {
    outline: none;
    border-color: #3b82f6;
}
.org-settings-none {
    color: #64748b;
}
.org-settings-empty {
    text-align: center;
    color: #94a3b8;
}

/* 修改部门弹窗：五级部门并排 */
.edit-dept-levels {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.edit-dept-levels label {
    font-size: 0.85rem;
    color: #9bb9e6;
    font-weight: 500;
}

/* 新增岗位：五级部门已隐藏，四级下拉等宽铺满 */
.edit-dept-levels.pos-mode {
    grid-template-columns: repeat(4, 1fr);
}
.edit-dept-levels select,
.edit-dept-levels input {
    background: #0f1b30;
    border: 1px solid #28344a;
    border-radius: 8px;
    padding: 8px 6px;
    color: #eaf0f8;
    font-size: 0.85rem;
    outline: none;
    transition: 0.25s;
    width: 100%;
    box-sizing: border-box;
}
.edit-dept-levels select:focus,
.edit-dept-levels input:focus {
    border-color: #2f8cf5;
    box-shadow: 0 0 0 2px rgba(47, 140, 245, 0.15);
}
/* 修改岗位（编辑态）：部门下拉只读显示为静态文本，避免灰色禁用看起来像坏表单 */
.edit-dept-levels select:disabled {
    background: transparent;
    border-color: transparent;
    color: #eaf0f8;
    opacity: 1;
    cursor: default;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-left: 0;
    box-shadow: none;
}
/* 修改岗位弹窗：四级部门下拉并排 */
.edit-dept-levels.resp-edit-levels {
    grid-template-columns: repeat(4, 1fr);
}
/* 修改岗位弹窗：部门下拉（标签 + 下拉框） */
.resp-edit-level {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
/* 新增岗位弹窗：一/二级部门同一行，三/四级部门第二行；标签与下拉框同行 */
.edit-dept-levels.resp-add-levels {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}
.edit-dept-levels.resp-add-levels .resp-edit-level {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.edit-dept-levels.resp-add-levels .resp-edit-level label {
    flex: 0 0 76px;
    white-space: nowrap;
}
.edit-dept-levels.resp-add-levels .resp-edit-level select {
    flex: 1 1 auto;
}
/* 新增岗位弹窗：岗位名称 + 岗位编制 同一行 */
.resp-edit-name-row .resp-headcount-label {
    margin-left: 8px;
}
.resp-edit-name-row .resp-headcount-input {
    width: 120px;
}
.resp-edit-name-row .resp-edit-name-input {
    width: 220px;
}
/* 修改岗位弹窗：岗位名称标题与输入框同行，输入框收窄 */
.resp-edit-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.resp-edit-name-row label {
    font-size: 0.85rem;
    color: #9bb9e6;
    font-weight: 500;
    white-space: nowrap;
}
.resp-edit-name-row input {
    width: 240px;
    max-width: 100%;
    background: #0f1b30;
    border: 1px solid #28344a;
    border-radius: 8px;
    padding: 8px 12px;
    color: #eaf0f8;
    font-size: 0.9rem;
    outline: none;
    transition: 0.25s;
    box-sizing: border-box;
}
.resp-edit-name-row input:focus {
    border-color: #2f8cf5;
    box-shadow: 0 0 0 2px rgba(47, 140, 245, 0.15);
}
/* 新增部门/岗位：说明 + 名称输入 + 路径预览 */
.edit-dept-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #8aa2c0;
}
.edit-dept-hint i { color: #2f8cf5; }
.req-star { color: #f87171; }
.edit-dept-preview {
    font-size: 0.8rem;
    color: #8aa2c0;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(47, 140, 245, 0.08);
    border: 1px dashed rgba(47, 140, 245, 0.35);
    word-break: break-all;
}
.edit-dept-preview-path { color: #7fb2f5; font-weight: 500; }
.edit-dept-preview-tip { color: #6d7f96; }
/* 底部：状态 + 按钮同行 */
.edit-dept-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}
.edit-dept-status {
    flex: 0 0 180px;
}
.edit-dept-actions {
    display: flex;
    gap: 12px;
    padding-bottom: 0;
}

.action-btn {
    background: transparent;
    border: 1px solid #2f8cf5;
    color: #8abcfc;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
}
.action-btn:hover {
    background: rgba(47, 140, 245, 0.1);
}
.action-btn.edit {
    border-color: #4ade80;
    color: #4ade80;
}
.action-btn.edit:hover {
    background: rgba(74, 222, 128, 0.1);
}
.action-btn.delete {
    border-color: #f87171;
    color: #f87171;
}
.action-btn.delete:hover {
    background: rgba(248, 113, 113, 0.1);
}
.action-btn.view {
    border-color: #a78bfa;
    color: #a78bfa;
}
.action-btn.view:hover {
    background: rgba(167, 139, 250, 0.1);
}

.search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.search-bar input {
    flex: 1;
    background: #0f1b30;
    border: 1px solid #28344a;
    border-radius: 40px;
    padding: 10px 18px;
    color: #eaf0f8;
    font-size: 0.9rem;
    outline: none;
    transition: 0.25s;
}
.search-bar input:focus {
    border-color: #2f8cf5;
    box-shadow: 0 0 0 3px rgba(47, 140, 245, 0.2);
}
.search-bar button {
    background: linear-gradient(135deg, #2f8cf5, #1a5fc7);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s;
}
.search-bar button:hover {
    box-shadow: 0 0 15px rgba(47, 140, 245, 0.3);
}

.btn-add {
    background: linear-gradient(135deg, #2f8cf5, #1a5fc7);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-add:hover {
    box-shadow: 0 0 15px rgba(47, 140, 245, 0.3);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.data-table th {
    text-align: left;
    padding: 12px 16px;
    background: rgba(47, 140, 245, 0.05);
    color: #9bb9e6;
    font-weight: 500;
    border-bottom: 2px solid #293e5a;
}
.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #1f3147;
    color: #eaf0f8;
}
.data-table tbody tr:hover {
    background: rgba(47, 140, 245, 0.05);
}
.data-table .actions {
    display: flex;
    gap: 8px;
}

.table-scroll-7 {
    max-height: 352px;
    overflow-y: auto;
}
.table-scroll-7 thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #0d1a2e;
}

.badge-active {
    background: #22c55e;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}
.badge-inactive {
    background: #6b7280;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}
.badge-warning {
    background: #f59e0b;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}
.badge-danger {
    background: #ef4444;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* === 流程模块 === */
.wf-layout {
    display: flex;
    gap: 20px;
    align-items: stretch;
}
.wf-left {
    flex: 0 0 44%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.wf-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 200px);
}
.wf-right-top {
    flex: 0 0 9%;
    display: flex;
    align-items: center;
    background: rgba(15, 27, 48, 0.6);
    border: 1px solid #1f3147;
    border-radius: 16px 16px 0 0;
    padding: 10px 28px;
    min-height: 40px;
}
.wf-right-bottom {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(15, 27, 48, 0.6);
    border: 1px solid #1f3147;
    border-top: none;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}
.wf-panel-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #e5e7eb;
    display: flex;
    align-items: center;
    gap: 12px;
    /* 长标题（如职业心理测评…）不换行，保证标题条与其它流程等高 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wf-panel-title > * { min-width: 0; }
.wf-panel-title i {
    color: #2f8cf5;
    font-size: 1.05rem;
}
.wf-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
}
.wf-panel-placeholder {
    height: 100%;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #7b8fa8;
    text-align: center;
}
.wf-panel-placeholder i {
    font-size: 3rem;
    color: #2f8cf5;
}
.wf-panel-placeholder p {
    font-size: 0.95rem;
    margin: 0;
}
.wf-panel-footer {
    padding: 16px 28px;
    border-top: 1px solid #1f3147;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: rgba(15, 27, 48, 0.85);
}
.wf-btn-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.wf-btn-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    background: rgba(15, 27, 48, 0.6);
    border: 1px solid #1f3147;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}
.wf-btn-card:hover {
    border-color: #2f8cf5;
    background: rgba(47, 140, 245, 0.08);
    transform: translateY(-2px);
}
.wf-btn-card.active {
    border-color: #2f8cf5;
    background: rgba(47, 140, 245, 0.16);
    box-shadow: 0 0 0 1px #2f8cf5 inset;
}
.wf-btn-card:active {
    transform: translateY(0);
}
.wf-btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}
.wf-btn-label {
    font-size: 13px;
    color: #e5e7eb;
    font-weight: 500;
}

/* === 待审批流程列表（左栏下方） === */
.wf-pending {
    margin-top: 20px;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #1f3147;
    padding-top: 16px;
}
.wf-pending-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex: 0 0 auto;
}
.wf-pending-head h5 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wf-pending-head h5 i { color: #f59e0b; }
.wf-pending-count {
    background: #f59e0b;
    color: #1a1a2e;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 2px 10px;
}
.wf-pending-table-wrap {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}
.wf-pending-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.wf-pending-table th {
    text-align: left;
    color: #7b8fa8;
    font-weight: 500;
    padding: 8px 10px;
    border-bottom: 1px solid #1f3147;
    position: sticky;
    top: 0;
    background: rgba(15, 27, 48, 0.98);
    z-index: 1;
}
.wf-pending-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(31, 49, 71, 0.5);
    color: #e5e7eb;
}
.wf-pending-table tbody tr {
    cursor: pointer;
    transition: background 0.2s;
}
.wf-pending-table tbody tr:hover {
    background: rgba(47, 140, 245, 0.08);
}
.wf-pending-table tbody tr.active {
    background: rgba(47, 140, 245, 0.16);
}
.wf-pending-no {
    font-family: monospace;
    font-size: 0.8rem;
    color: #9bb9e6;
    white-space: nowrap;
}
.wf-pending-content {
    color: #cbd5e1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 0;
}
.wf-pending-empty {
    text-align: center;
    color: #6b7280;
    padding: 20px !important;
}
@media (max-width: 1200px) {
    .wf-btn-grid { grid-template-columns: repeat(3, 1fr); }
    .wf-left { flex: 0 0 40%; }
}
@media (max-width: 768px) {
    .wf-layout { flex-direction: column; }
    .wf-left { flex: 1 1 auto; }
    .wf-right { min-height: 60vh; }
    .wf-btn-grid { grid-template-columns: repeat(3, 1fr); }
    .wf-btn-icon { width: 44px; height: 44px; font-size: 18px; }
    .wf-btn-label { font-size: 12px; }
    .wf-panel-title { font-size: 1.2rem; }
}

/* ========== 鍛樺伐妯″潡 - 鍔熻兘鎬昏锛堝乏鑿滃崟 + 鍙冲唴瀹癸級 ========== */
.overview-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    /* 员工功能总览直接挂载于员工管理模块：占满整屏可用高度 */
    height: 100%;
    min-height: 0;
}
.overview-menu {
    list-style: none;
    padding: 2px 0;
    margin: 0;
    width: 148.8px;
    flex-shrink: 0;
    max-height: 100%;
    overflow-y: auto;
    position: sticky;
    top: 0;
    scrollbar-width: thin;
}
.overview-menu .ov-group {
    color: #7b8fa8;
    font-size: 0.72rem;
    letter-spacing: 1px;
    padding: 14px 12px 4px;
    font-weight: 600;
}
.overview-menu .ov-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    margin: 2px 0;
    border-radius: 10px;
    color: #a8b8d0;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    user-select: none;
}
.overview-menu .ov-item i {
    width: 18px;
    flex-shrink: 0;
    text-align: center;
    color: #5c7a9a;
    font-size: 0.92rem;
}
.overview-menu .ov-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.overview-menu .ov-item:hover {
    background: rgba(47, 140, 245, 0.1);
    color: #eaf0f8;
}
.overview-menu .ov-item.active {
    background: linear-gradient(135deg, #2f8cf5, #1a5fc7);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px -6px rgba(47, 140, 245, 0.55);
}
.overview-menu .ov-item.active i { color: #fff; }

.overview-stage {
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
}
.overview-stage-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #eaf0f8;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.overview-stage-title i {
    color: #2f8cf5;
    font-size: 1.2rem;
}
.overview-tip {
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #5c7a9a;
    border: 1px dashed #293e5a;
    border-radius: 20px;
    background: rgba(18, 30, 50, 0.25);
}
.overview-tip i { font-size: 2.4rem; opacity: 0.7; }
.overview-tip p { margin: 0; font-size: 0.92rem; }

/* ========== 培训管理 · 左侧菜单右侧舞台（与员工功能总览一致） ========== */
/* 左菜单：固定宽度、占满可用高度，超长时菜单自身滚动（不随右侧内容滚动） */
#module-training .overview-layout { align-items: stretch; }
/* 左侧功能菜单已整体上移到顶栏按钮（培训管理 ↔ 退出系统之间），此处不再显示 */
#module-training .overview-menu { display: none; }
/* 右舞台：纵向满屏——顶部标题固定不动，下方内容区吃满剩余高度 */
#module-training .overview-stage {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}
#module-training .overview-stage-title { flex: 0 0 auto; }
/* 卡片内功能 Tab（盘点数据表/盘点操作、胜任力评估汇总 等）提升到舞台最上端：
   标题行下方固定显示，不随卡片正文滚动 */
#module-training .overview-stage-tabs {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(41, 62, 90, 0.7);
}
#module-training .overview-stage-tabs:empty { display: none !important; }
#module-training .overview-stage-tabs .tp-tab-bar,
#module-training .overview-stage-tabs .tq-tab-bar,
#module-training .overview-stage-tabs .ca-tab-bar { margin: 0; flex-wrap: wrap; }
#module-training .overview-tip { flex: 1 1 auto; height: auto; min-height: 0; }

#trainingStage {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
#trainingStage > .glass-card {
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    overflow: auto; /* 内容超高时卡片整体滚动，滚动条不出现在舞台外层 */
}
/* 卡片级滚动接管后，表格区去掉固定高度上限并撑满卡片，避免双滚动条 */
#trainingStage > .glass-card > .table-scroll-7 {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none !important;
    overflow: auto;
}
/* 「培训与考核」已去掉卡片容器：面板直接撑满舞台，表格区自行滚动 */
#trainingStage > .tvc-course-panel {
    flex: 1 1 auto;
    min-height: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#trainingStage > .tvc-course-panel > .att-summary-table-wrap {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none !important;
    overflow: auto;
}
/* 窄窗口（单列堆叠）时恢复自然高度，避免内容被压扁 */
@media (max-width: 1100px) {
    #module-training .overview-layout { height: auto; }
    /* 窄屏顶栏放不下按钮组（已隐藏），回退为左侧菜单 */
    #module-training .overview-menu { display: block; width: 100%; height: auto; max-height: 260px; }
    #module-training .overview-stage { height: auto; overflow: visible; }
    #trainingStage { display: block; }
    #trainingStage > .glass-card { display: block; overflow: visible; }
    #trainingStage > .glass-card > .table-scroll-7 { max-height: 396px !important; }
    #trainingStage > .tvc-course-panel { display: block; overflow: visible; }
}

/* ========== 培训查询：舞台标题右侧按钮 + 弹窗（课程查询 / 人员查询） ========== */
/* 按钮属于卡片外部：挂在右侧舞台大标题那一行，靠右显示 */
.overview-stage-title .tvc-query-btn { margin-left: auto; white-space: nowrap; }

/* ========== 培训与考核：课程列表 ==========
   表头：培训课程 / 课程类别 / 培训时长 / 培训 / 考核 / 总时长 / 总人次 / 查看成绩 / 课程管理
   表尾固定一行「新增课程」，随表格滚动始终可见 */
/* ========== 课程管理弹窗：修改课件 / 设置考题 / 删除课件 ==========
   复用新增课件弹窗的 ca-* 样式，仅补充删除确认区与删除按钮配色 */
.cm-del-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid rgba(239, 68, 68, 0.45);
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.08);
}
.cm-del-box > i { color: #ef4444; font-size: 1.4rem; margin-top: 2px; }
.cm-del-title { font-size: 0.95rem; font-weight: 600; color: #ffb4b4; margin-bottom: 6px; }
.cm-del-text { font-size: 0.82rem; color: #9bb9e6; }
.cm-del-course { margin-top: 8px; font-size: 0.82rem; color: #9bb9e6; }
.cm-del-course b { color: #e6f0ff; }
.cm-del-btn {
    border-color: #ef4444 !important;
    color: #ffb4b4 !important;
    background: rgba(239, 68, 68, 0.12) !important;
}
.cm-del-btn:hover { background: rgba(239, 68, 68, 0.25) !important; color: #fff !important; }

/* ========== 查看成绩弹窗（培训成绩）==========
   弹窗内：参训统计行 + 成绩表（员工工号 / 员工姓名 / 培训时长 / 考核得分）+ 底部「导出成绩」 */
.cs-modal { width: 760px; max-width: 94vw; }
.cs-modal .modal-body { padding-top: 14px; }
.cs-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-right: auto;
    font-size: 0.84rem;
    color: #9bb9e6;
}
.cs-summary b { color: #e6f0ff; font-weight: 600; }
.cs-table-wrap { max-height: 52vh; overflow: auto; border: 1px solid #243a57; border-radius: 10px; }
.cs-table { width: 100%; border-collapse: collapse; }
.cs-table th, .cs-table td { padding: 8px 10px; font-size: 0.84rem; text-align: center; border-bottom: 1px solid #1f3147; white-space: nowrap; }
.cs-table thead th { position: sticky; top: 0; z-index: 1; background: #0f1b30; color: #9bb9e6; font-weight: 500; }
.cs-table tbody tr:nth-child(even) { background: rgba(15, 27, 48, 0.28); }
#courseScoreModal .modal-footer { margin-top: 16px; padding-top: 12px; justify-content: flex-end; align-items: center; gap: 16px; }
#courseScoreModal .modal-footer .tq-export {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    font-size: 0.84rem;
    cursor: pointer;
    border: 1px solid #2f8cf5;
    border-radius: 6px;
    background: rgba(47, 140, 245, 0.16);
    color: #9ccbff;
    transition: 0.2s;
}
#courseScoreModal .modal-footer .tq-export:hover { background: rgba(47, 140, 245, 0.3); color: #fff; }

/* 培训与考核：页面直接铺表格，无卡片边框 / 无卡片背景 */
.tvc-course-panel {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* 表尾「新增课程」吸底，配色与考勤表表头一致 */
.tvc-course-table tfoot td { position: sticky; bottom: 0; background: #0f1b30; z-index: 1; }
.tvc-add-cell { text-align: center; padding: 10px 8px; }
.tvc-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px dashed rgba(47, 140, 245, 0.7);
    background: rgba(47, 140, 245, 0.12);
    color: #7cc2ff;
    font-size: 0.82rem;
    transition: 0.2s;
}
.tvc-add-btn:hover { background: rgba(47, 140, 245, 0.25); color: #fff; }
.tvc-new-row td { background: rgba(47, 140, 245, 0.08); }
.tvc-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(120, 150, 190, 0.35);
    color: #e6f0ff;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.8rem;
}
.tvc-input:focus { outline: none; border-color: #2f8cf5; }
.tvc-input-hours { max-width: 90px; }
#courseMaterialModal .cm-modal { width: min(1040px, 94vw); height: min(88vh, 920px); display: flex; flex-direction: column; }
#courseMaterialModal .modal-body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 0; }
/* PDF：内置查看器铺满弹窗 */
.cm-body--pdf { display: flex; overflow: hidden !important; }
.cm-body--pdf .cm-pdf-frame { flex: 1 1 auto; width: 100%; min-height: 0; border: 0; background: #fff; }
/* PPT 转 JPG：逐页纵向排列 */
.cm-image-list { display: flex; flex-direction: column; gap: 14px; padding: 16px; }
.cm-image-list img { display: block; width: 100%; border-radius: 8px; background: #fff; }
.cm-hint { padding: 56px 20px; text-align: center; color: #7b8fa8; }
.cm-hint i { font-size: 2rem; display: block; margin-bottom: 12px; color: #3b82f6; }
.cm-hint p { margin: 0; line-height: 1.7; }

/* ========== 课程考核：点击「考试」对本门课程进行考核 ========== */
#courseExamModal .exam-modal { width: min(880px, 94vw); max-height: 88vh; display: flex; flex-direction: column; }
#courseExamModal .modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.exam-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 12px 14px; background: #0f1b30; border: 1px solid #293e5a; border-radius: 10px; color: #9fb3cc; font-size: 0.86rem; }
.exam-meta b { color: #6db1f7; font-weight: 600; }
.exam-meta span i { margin-right: 6px; color: #4a6584; }
.exam-list { display: flex; flex-direction: column; gap: 14px; }
.exam-q { padding: 14px 16px; background: #101d33; border: 1px solid #263a56; border-radius: 12px; transition: border-color 0.2s; }
.exam-q.correct { border-color: rgba(34, 197, 94, 0.55); }
.exam-q.wrong { border-color: rgba(239, 68, 68, 0.55); }
.exam-q-title { display: flex; gap: 10px; color: #eaf0f8; font-size: 0.92rem; line-height: 1.6; }
.exam-q-no { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: #2f8cf5; color: #fff; font-size: 0.76rem; display: flex; align-items: center; justify-content: center; }
.exam-options { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.exam-option { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #0d1930; border: 1px solid #24374f; border-radius: 9px; color: #c8d6e8; font-size: 0.88rem; cursor: pointer; transition: 0.2s; }
.exam-option:hover { border-color: #3b82f6; }
.exam-option input { accent-color: #2f8cf5; margin: 0; }
.exam-q.submitted .exam-option { cursor: default; }
.exam-q.submitted .exam-option:hover { border-color: #24374f; }
.exam-option.is-right { border-color: rgba(34, 197, 94, 0.7); background: rgba(34, 197, 94, 0.1); }
.exam-option.is-picked-wrong { border-color: rgba(239, 68, 68, 0.7); background: rgba(239, 68, 68, 0.1); }
.exam-answer-tip { margin-top: 10px; font-size: 0.82rem; }
.exam-answer-tip.ok { color: #4ade80; }
.exam-answer-tip.no { color: #f87171; }
.exam-result { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 16px; border: 1px solid #293e5a; border-radius: 12px; background: #0f1b30; }
.exam-result.pass { border-color: rgba(34, 197, 94, 0.5); }
.exam-result.fail { border-color: rgba(239, 68, 68, 0.5); }
.exam-result-score { font-size: 2.3rem; font-weight: 700; line-height: 1.1; color: #4ade80; }
.exam-result.fail .exam-result-score { color: #f87171; }
.exam-result-title { color: #eaf0f8; font-size: 1rem; }
.exam-result-sub { color: #7b8fa8; font-size: 0.85rem; }
.exam-progress { margin-right: auto; align-self: center; color: #9fb3cc; font-size: 0.86rem; }
.exam-progress b { color: #6db1f7; }
/* 交卷后回写到表格的成绩列，给一点视觉反馈 */
.exam-score-updated { color: #4ade80; font-weight: 600; }

/* ========== 新增课件弹窗（课件信息 / 考核试题 / 培训对象） ========== */
/* 按钮属于卡片外部：挂在右侧舞台大标题那一行，靠右显示 */
.overview-stage-title .ca-open-btn { margin-left: auto; white-space: nowrap; }
/* 弹窗外形定死：宽度 = 视口的 49%（原 70vw 再缩到七成），高度 = 视口的 50%，
   任何页签下外形都完全一致；内容超出显示区时，统一由 .modal-body 内部出现滚动条。
   需显式覆盖 .modal 自带的 max-width: 650px / max-height: 85vh，否则尺寸会被卡住 */
#courseAddModal .ca-modal {
    width: 49vw;
    max-width: none;
    box-sizing: border-box;
    height: 50vh;
    max-height: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#courseAddModal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    gap: 0;
}
/* 页签栏已移入标题栏：跟在标题后面、整体靠右，紧邻关闭按钮 */
#courseAddModal .ca-tab-bar {
    flex: 0 0 auto;
    margin: 0 12px 0 auto;
    border-bottom: none;
    background: none;
}
.ca-tab-bar { display: flex; gap: 6px; border-bottom: 1px solid #1f3147; margin-bottom: 18px; }
.ca-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #7b8fa8;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
}
.ca-tab em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1f3147;
    color: #9bb9e6;
    font-size: 0.7rem;
    font-style: normal;
}
.ca-tab:hover { color: #a8b8d0; }
.ca-tab.active { color: #6db1f7; border-bottom-color: #2f8cf5; }
.ca-tab.active em { background: #2f8cf5; color: #fff; }
.ca-pane { display: none; }
.ca-pane.active { display: block; }
.ca-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
/* 课件信息：按行排布，每行 1~3 个字段，行内字段等宽 */
.ca-row { display: flex; gap: 14px 18px; }
.ca-row + .ca-row { margin-top: 14px; }
.ca-row > .ca-field { flex: 1 1 0; min-width: 0; }
/* 课程上传：文件地址框 + 选择文件按钮 */
.ca-file-input { display: flex; align-items: center; gap: 10px; }
.ca-file-input .ca-input { flex: 1 1 auto; min-width: 0; cursor: pointer; }
.ca-file-input .btn-sm { flex: 0 0 auto; }
.ca-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.84rem; color: #9bb9e6; }
.ca-field--inline { flex-direction: row; align-items: center; }
.ca-field--block { margin-top: 14px; }
.ca-req { color: #f87171; font-style: normal; margin-left: 4px; }
/* 课件信息：字段标题与输入框/下拉框放在同一行 */
#caPaneInfo .ca-field { flex-direction: row; align-items: center; gap: 8px; }
#caPaneInfo .ca-field > span { flex: 0 0 auto; white-space: nowrap; }
#caPaneInfo .ca-field > .ca-input,
#caPaneInfo .ca-field > .ca-select,
#caPaneInfo .ca-field > .ca-file-input { flex: 1 1 auto; min-width: 0; }
/* 课程简介是多行文本框，标题与文本框顶部对齐 */
#caPaneInfo .ca-field--top { align-items: flex-start; }
/* 新增课件弹窗底部按钮：高度更紧凑 */
#courseAddModal .modal-footer .btn-ghost,
#courseAddModal .modal-footer .btn-outline-cyber,
#courseAddModal .modal-footer .btn-primary {
    padding: 6px 18px;
    font-size: 0.84rem;
    border-radius: 30px;
    line-height: 1.45;
}
.ca-input, .ca-select, .ca-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
    background: #0c1726;
    border: 1px solid #284060;
    border-radius: 7px;
    color: #dbe7f5;
    font-size: 0.86rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.ca-input, .ca-select { height: 36px; }
.ca-textarea { padding: 8px 10px; resize: vertical; line-height: 1.6; }
.ca-input:focus, .ca-select:focus, .ca-textarea:focus { border-color: #2f8cf5; }
.ca-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ca-hint { color: #7b8fa8; font-size: 0.82rem; line-height: 1.6; }
.ca-hint i { color: #2f8cf5; margin-right: 4px; }
.ca-upload {
    margin-top: 16px;
    padding: 26px 18px;
    border: 1px dashed #2c4566;
    border-radius: 12px;
    background: rgba(31, 49, 71, 0.35);
    text-align: center;
    color: #7b8fa8;
    cursor: pointer;
    transition: 0.2s;
}
.ca-upload:hover, .ca-upload.dragover { border-color: #2f8cf5; background: rgba(47, 140, 245, 0.08); }
.ca-upload i { font-size: 1.7rem; color: #2f8cf5; }
.ca-upload p { margin: 10px 0 4px; color: #c7d7ea; font-size: 0.9rem; }
.ca-upload span { font-size: 0.78rem; color: #6b8199; }
.ca-file-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.ca-file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid #293e5a;
    border-radius: 9px;
    background: #0f1b30;
    font-size: 0.84rem;
    color: #b9cbe2;
}
.ca-file-item > i { color: #6db1f7; }
.ca-file-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-file-size { color: #6b8199; font-size: 0.78rem; }
.ca-file-item button { background: none; border: none; color: #7b8fa8; cursor: pointer; padding: 2px 4px; }
.ca-file-item button:hover { color: #f87171; }
.ca-q-list { display: flex; flex-direction: column; gap: 12px; }
.ca-q { border: 1px solid #293e5a; border-radius: 12px; background: #0f1b30; padding: 14px; }
.ca-q-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ca-q-index {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 24px;
    padding: 0 8px;
    border-radius: 6px;
    background: rgba(47, 140, 245, 0.15);
    color: #6db1f7;
    font-size: 0.78rem;
}
.ca-q-head .ca-input { flex: 1 1 auto; }
.ca-q-del { flex: 0 0 auto; background: none; border: none; color: #7b8fa8; cursor: pointer; padding: 4px 6px; }
.ca-q-del:hover { color: #f87171; }
.ca-opt-list { display: flex; flex-direction: column; gap: 8px; }
.ca-opt { display: flex; align-items: center; gap: 8px; }
.ca-opt-key {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #1f3147;
    color: #9bb9e6;
    font-size: 0.76rem;
}
.ca-opt .ca-opt-text { flex: 1 1 auto; }
.ca-opt-radio { flex: 0 0 auto; accent-color: #2f8cf5; cursor: pointer; width: 16px; height: 16px; }
.ca-opt-right { flex: 0 0 auto; font-size: 0.76rem; color: #4ade80; white-space: nowrap; }
.ca-empty { padding: 40px 0; text-align: center; color: #5c7a9a; font-size: 0.86rem; }
.ca-btn-mini { padding: 6px 14px; font-size: 0.78rem; border-radius: 8px; }
.ca-summary { margin-right: auto; align-self: center; color: #9fb3cc; font-size: 0.84rem; }
.ca-target-tools { display: flex; align-items: center; gap: 8px; }
/* 开发计划：将课程库/讲师/评价/计划发布/报名/档案/费用等模块合并到一张卡片内 */
.devplan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.devplan-block { background: rgba(255, 255, 255, 0.02); border: 1px solid #1f3147; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; }
.devplan-block-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: #cfe0f5; font-size: 0.9rem; font-weight: 600; }
.devplan-block-head i { color: #2f8cf5; margin-right: 6px; }
.devplan-block .feature-list { margin-bottom: 2px; }
@media (max-width: 760px) {
    .devplan-grid { grid-template-columns: 1fr; }
}
/* 人才梯队卡片：左 40%（上 55% 金字塔+按钮 / 下 45% 说明） + 右 60%（表格） */
/* 人才梯队：去掉卡片容器后，图形区直接铺在页面上并撑满网格单元 */
.talent-panel { display: flex; }
.talent-panel > .talent-card { flex: 1 1 auto; min-width: 0; }
.talent-card { display: flex; flex-direction: row; gap: 18px; align-items: stretch; }
.talent-left { flex: 0 0 40%; display: flex; flex-direction: column; min-width: 0; }
/* 左列顶部「盘点操作 / 盘点数据」按钮（金字塔上方，靠左对齐） */
.talent-top-actions { display: flex; gap: 12px; justify-content: flex-start; margin: 0 0 10px; flex: 0 0 auto; }
/* 已删除「基本情况」区块（.talent-left-bottom），金字塔撑满左列 */
.talent-left-top { flex: 1 1 auto; box-sizing: border-box; position: relative; display: flex; align-items: flex-start; justify-content: center; padding: 0 6px 6px; }
.talent-pyr-wrap { position: relative; width: 100%; height: auto; display: flex; align-items: flex-start; justify-content: center; }
.talent-pyramid-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.talent-layer-btn { position: absolute; left: 50%; transform: translateX(-50%); border: 1px solid rgba(255,255,255,0.55); background: rgba(15,27,48,0.72); color: #fff; font-size: 0.8rem; padding: 5px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: all .15s; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.talent-layer-btn:hover { background: rgba(47,140,245,0.85); border-color: #2f8cf5; }
.talent-layer-btn.active { background: #2f8cf5; border-color: #2f8cf5; font-weight: 600; }
.talent-layer-btn[data-pos="1"] { top: 10%; }
.talent-layer-btn[data-pos="2"] { top: 44%; }
.talent-layer-btn[data-pos="3"] { top: 80%; }
.talent-right { flex: 1 1 60%; min-width: 0; display: flex; flex-direction: column; }
.talent-layer-detail { flex: 1 1 auto; min-width: 0; }
.talent-layer-title { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 600; color: #e7f0fb; margin-bottom: 10px; }
.talent-layer-title .dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.talent-layer-title .num { color: #9bb9e6; font-weight: 400; font-size: 0.84rem; margin-left: 2px; }
.talent-age-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.talent-col { min-width: 0; }
.talent-col-h { font-size: 0.82rem; color: #9bb9e6; font-weight: 600; margin-bottom: 6px; text-align: left; }
.talent-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 0.8rem; }
.talent-table th, .talent-table td { border: 1px solid #1f3147; padding: 6px 8px; text-align: center; color: #cfd9e6; }
.talent-table thead th { background: #0f1b30; color: #9bb9e6; font-weight: 500; }
.talent-table th:nth-child(1) { width: 7%; }    /* 姓名 */
.talent-table th:nth-child(2) { width: 7%; }    /* 年龄 */
.talent-table th:nth-child(3) { width: 7%; }    /* 学历 */
.talent-table th:nth-child(4) { width: 14%; }   /* 学校（新增） */
.talent-table th:nth-child(5) { width: 65%; }   /* 资历 = 100 - 7 - 7 - 7 - 14 */
.talent-table td:nth-child(5) { text-align: left; }   /* 资历列内容靠左，表头仍居中 */
.talent-table tbody tr:nth-child(even) { background: rgba(15, 27, 48, 0.28); }
@media (max-width: 760px) {
    .talent-card { height: auto; flex-direction: column; }
    .talent-left { flex: 0 0 auto; width: 100%; }
    .talent-left-top { flex: 0 0 auto; height: 280px; }
    .talent-right { flex: 0 0 auto; width: 100%; }
    .talent-pyramid-img { max-width: 70%; }
    .talent-age-grid { grid-template-columns: 1fr; }
}


/* 培训对象：左侧部门树（一级/二级/三级部门 → 在职员工，可伸缩折叠）+ 右侧已选员工 */
.ca-target-body { display: flex; align-items: stretch; gap: 12px; height: 300px; }
.ca-tree { flex: 0 0 50%; min-width: 0; overflow: auto; padding: 8px 10px; background: #0d1728; border: 1px solid #1f3147; border-radius: 10px; scrollbar-width: thin; }
.ca-trow { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 8px; }
.ca-trow:hover { background: rgba(47, 140, 245, 0.08); }
.ca-tcaret { flex: 0 0 auto; width: 14px; text-align: center; color: #6b8199; font-size: 0.72rem; cursor: pointer; transition: transform 0.15s; }
.ca-tcaret.collapsed { transform: rotate(-90deg); }
.ca-tlabel { color: #cfe0f5; font-size: 0.84rem; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-tcount { margin-left: auto; color: #6b8199; font-size: 0.74rem; white-space: nowrap; }
.ca-tchildren { margin-left: 13px; padding-left: 6px; border-left: 1px dashed #1f3147; }
.ca-tstaff { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 8px; cursor: pointer; }
.ca-tstaff:hover { background: rgba(47, 140, 245, 0.08); }
.ca-tstaff.is-on { background: rgba(47, 140, 245, 0.12); }
.ca-tstaff > span { color: #cfd9e6; font-size: 0.82rem; }
.ca-tstaff > em { margin-left: auto; font-style: normal; color: #6b8199; font-size: 0.72rem; white-space: nowrap; }
.ca-tree input[type="checkbox"] { flex: 0 0 auto; accent-color: #2f8cf5; cursor: pointer; }
.ca-tree input[type="checkbox"]:disabled { cursor: default; }
.ca-picked { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; min-height: 0; overflow: hidden; background: #0d1728; border: 1px solid #1f3147; border-radius: 10px; }
.ca-picked-head { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid #1f3147; color: #9bb9e6; font-size: 0.8rem; }
.ca-picked-head i { color: #2f8cf5; }
.ca-picked-head em { margin-left: auto; font-style: normal; color: #6db1f7; }
.ca-picked-list { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 8px 10px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; scrollbar-width: thin; }
.ca-picked-empty { color: #5c7a9a; font-size: 0.8rem; }
.ca-picked-item { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(47, 140, 245, 0.14); border: 1px solid #2a4a75; color: #cfe0f5; font-size: 0.78rem; }
.ca-picked-del { padding: 0; background: transparent; border: none; color: #7b8fa8; font-size: 0.72rem; line-height: 1; cursor: pointer; }
.ca-picked-del:hover { color: #f87171; }
@media (max-width: 760px) {
    .ca-grid { grid-template-columns: 1fr; }
    /* 窄屏：部门树与已选名单上下排列 */
    .ca-target-body { flex-direction: column; height: auto; }
    .ca-tree { max-height: 260px; }
    .ca-picked { flex: 0 0 auto; max-height: 160px; }
    /* 窄屏：标题与页签允许换行，避免互相挤压 */
    #courseAddModal .modal-header { flex-wrap: wrap; row-gap: 8px; }
    #courseAddModal .ca-tab-bar { margin-left: 0; }
    /* 窄屏：行内字段换行，各自铺满整行 */
    .ca-row { flex-wrap: wrap; }
}

#trainingQueryModal .tq-modal { width: min(1040px, 94vw); max-height: 88vh; display: flex; flex-direction: column; }
#trainingQueryModal .modal-body { min-height: 0; overflow: hidden; }
.tq-tab-bar { display: flex; gap: 6px; border-bottom: 1px solid #1f3147; }
.tq-tab { flex: 0 0 auto; min-width: 108px; padding: 9px 10px; background: transparent; border: none; border-bottom: 2px solid transparent; color: #7b8fa8; font-size: 0.9rem; cursor: pointer; }
.tq-tab:hover { color: #a8b8d0; }
.tq-tab.active { color: #6db1f7; border-bottom-color: #2f8cf5; }
.tq-pane { display: none; }
.tq-pane.active { display: block; }
.tq-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 10px; }
.tq-field { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #9bb9e6; }
.tq-select, .tq-input { height: 34px; padding: 0 10px; background: #0c1726; border: 1px solid #284060; border-radius: 7px; color: #dbe7f5; font-size: 0.85rem; outline: none; }
.tq-select { min-width: 210px; }
.tq-input { width: 210px; }
.tq-select:focus, .tq-input:focus { border-color: #2f8cf5; box-shadow: 0 0 0 2px rgba(47, 140, 245, 0.18); }
.tq-input::placeholder { color: #6b82a0; }
.tq-export { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.tq-table-wrap { max-height: 52vh; overflow: auto; border: 1px solid #243a57; border-radius: 10px; }
.tq-table { width: 100%; border-collapse: collapse; }
.tq-table th, .tq-table td { padding: 8px 10px; font-size: 0.84rem; text-align: center; border-bottom: 1px solid #1f3147; white-space: nowrap; }
.tq-table thead th { position: sticky; top: 0; z-index: 1; background: #0f1b30; color: #9bb9e6; font-weight: 500; }
.tq-table tbody tr:nth-child(even) { background: rgba(15, 27, 48, 0.28); }
.tq-table .tq-empty { color: #7b8fa8; padding: 26px 10px; }
.tq-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 0.76rem; }
.tq-badge.done { color: #7ee2a8; background: rgba(126, 226, 168, 0.12); border: 1px solid #2f6b4c; }
.tq-badge.doing { color: #ffcf6e; background: rgba(255, 207, 110, 0.12); border: 1px solid #8a6a20; }
.tq-badge.none { color: #9aa8bd; background: rgba(154, 168, 189, 0.1); border: 1px solid #3a4d66; }
.tq-bar { display: inline-flex; align-items: center; gap: 6px; }
.tq-bar-track { display: inline-block; width: 84px; height: 6px; border-radius: 999px; background: #1b2b42; overflow: hidden; }
.tq-bar-fill { display: block; height: 100%; border-radius: 999px; }

/* 鎬昏鍖哄睍绀虹殑鍗＄墖閾烘弧瀹瑰櫒锛屽苟蹇界暐鍘熸爡鏍奸噷鐨?flex 绾︽潫 */
#employeeOverviewStage .glass-card {
    margin-bottom: 0;
    width: auto;
    flex: none !important;
}
#employeeOverviewStage .glass-card .table-scroll-7 {
    max-height: calc(100vh - 340px);
}

/* ===== 普通功能卡片：内容容器统一撑满舞台（与招聘工作台视觉一致） =====
   招聘特例(recruit-mode)除外，维持其既有全屏逻辑；
   普通卡：舞台不再自身滚动 → 标题固定顶部 → 容器 flex:1 吃满剩余高度
   → 克隆卡片拉伸为满高，内容超高时在卡片内部滚动 */
.overview-stage:has(#employeeOverviewStage:not(.recruit-mode)) {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.overview-stage:has(#employeeOverviewStage:not(.recruit-mode)) #employeeOverviewStage {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
#employeeOverviewStage:not(.recruit-mode) > .glass-card {
    flex: 1 1 auto !important;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: auto; /* 内容超高时卡片整体滚动，滚动条不出现在舞台外层 */
}
/* 卡片级滚动接管后，表格区不再需要固定 max-height，避免出现双重滚动条 */
#employeeOverviewStage:not(.recruit-mode) > .glass-card .table-scroll-7 {
    max-height: none;
}

/* ========== 招聘管理容器（功能总览右侧舞台，内部 4 个 tab） ========== */
.recruit-shell {
    padding: 18px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
/* 招聘管理渲染时：容器与普通功能卡片一致 —— 纵向弹性布局，撑满舞台剩余高度 */
#employeeOverviewStage.recruit-mode {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
/* 招聘管理渲染时，外层 .overview-stage 与普通态一致改为纵向弹性布局：
   标题在上、容器 flex:1 吃满剩余高度；不再自身滚动（否则会抢走列表/详情的内滚） */
.overview-stage:has(#employeeOverviewStage.recruit-mode) {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#employeeOverviewStage.recruit-mode .recruit-shell {
    flex: 1 1 auto !important;
    min-height: 0;
}
.recruit-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #1f3147;
}
.recruit-tabs .tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.recruit-pane {
    display: none;
    flex-direction: column;
    min-height: 0;
}
.recruit-pane.active {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}
.recruit-placeholder {
    border: 1px dashed #293e5a;
    border-radius: 12px;
    background: rgba(18, 30, 50, 0.35);
    padding: 48px 24px;
    text-align: center;
    color: #7b8fa8;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.recruit-placeholder > i {
    font-size: 2.2rem;
    color: #2f8cf5;
    opacity: 0.8;
}
.recruit-placeholder h5 {
    margin: 0;
    font-size: 1rem;
    color: #dbe7f5;
    font-weight: 600;
}
.recruit-placeholder p {
    margin: 0 auto;
    max-width: 540px;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #7b8fa8;
}
.recruit-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    background: rgba(47, 140, 245, 0.15);
    border: 1px solid rgba(47, 140, 245, 0.4);
    color: #9bb9e6;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* 人才盘点卡片：数据表 / 操作 Tab */
.tp-tab-bar { display: flex; gap: 12px; margin: 14px 0 16px; justify-content: flex-start; }
.tp-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 10px;
    border: 1px solid #2d4060;
    background: rgba(15, 27, 48, 0.7);
    color: #a8b8d0;
    font-size: 0.88rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.tp-card-btn i { color: #5c7a9a; font-size: 0.92rem; }
.tp-card-btn:hover { background: rgba(47, 140, 245, 0.12); color: #eaf0f8; border-color: #2f8cf5; }
.tp-card-btn.active {
    background: linear-gradient(135deg, #2f8cf5, #1a5fc7);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px -6px rgba(47, 140, 245, 0.55);
}
.tp-card-btn.active i { color: #fff; }
.tp-pane { display: block; }
.tp-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.tp-label { font-size: 0.85rem; color: #a8b8d0; white-space: nowrap; }
.tp-select { height: 36px; padding: 0 30px 0 12px; border-radius: 8px; border: 1px solid #2d4060; background: #0d1b2a; color: #e0e6ed; font-size: 0.86rem; font-family: inherit; }
.tp-select:focus { border-color: #2f8cf5; box-shadow: 0 0 0 3px rgba(47,140,245,0.25); }
.tp-op-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tp-op-block { border: 1px solid #1f3147; border-radius: 12px; padding: 16px; background: rgba(13,23,40,0.4); }
.tp-form { display: flex; flex-direction: column; gap: 10px; }
.tp-form label { display: flex; flex-direction: column; gap: 5px; font-size: 0.8rem; color: #a8b8d0; }
.tp-form input, .tp-form select { height: 36px; padding: 0 12px; border-radius: 7px; border: 1px solid #2d4060; background: #0d1b2a; color: #e0e6ed; font-size: 0.86rem; font-family: inherit; box-sizing: border-box; }
.tp-form select { padding-right: 30px; }
.tp-edit-btn { border: 1px solid #2a4a75; background: rgba(47,140,245,0.12); color: #cfe0f5; font-size: 0.75rem; padding: 4px 12px; border-radius: 7px; cursor: pointer; }
.tp-edit-btn:hover { background: rgba(47,140,245,0.25); border-color: #2f8cf5; }

.tp-data-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 0.82rem; }
.tp-data-table th, .tp-data-table td { border: 1px solid #1f3147; padding: 8px 6px; text-align: center; color: #cfd9e6; vertical-align: middle; }
.tp-data-table thead th { background: #0f1b30; color: #9bb9e6; font-weight: 500; position: sticky; top: 0; z-index: 1; }
.tp-data-table tbody tr:nth-child(even) { background: rgba(15, 27, 48, 0.28); }
.tp-data-table tbody tr:hover td { background: rgba(47, 140, 245, 0.1); }
/* 列宽：员工编号/姓名/年龄/学历/毕业学校/专业/后备梯队/评估结果 */
.tp-data-table th:nth-child(1) { width: 8%; }
.tp-data-table th:nth-child(2) { width: 7%; }
.tp-data-table th:nth-child(3) { width: 5%; }
.tp-data-table th:nth-child(4) { width: 7%; }
.tp-data-table th:nth-child(5) { width: 8%; }
.tp-data-table th:nth-child(6) { width: 7%; }
.tp-data-table th:nth-child(7) { width: 8%; }
.tp-data-table th:nth-child(8) { width: 50%; }
.tp-data-table td:nth-child(8) { text-align: left; }   /* 评估结果列内容靠左，表头仍居中 */

/* 人才盘点弹窗：左上角「盘点操作 / 盘点数据」按钮弹出 */
.tp-modal { max-width: 880px; }
.tp-modal.tp-modal-wide { max-width: 1100px; }
.tp-modal .modal-body { max-height: 68vh; overflow: auto; }
.tp-modal .modal-footer { align-items: center; }
@media (max-width: 900px) {
    .tp-modal .tp-op-grid { grid-template-columns: 1fr; }
}

/* 胜任力模型 - 评估汇总统计卡片 */
.cm-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cm-stat {
    background: rgba(15, 27, 48, 0.6);
    border: 1px solid #233750;
    border-radius: 10px;
    padding: 14px 12px;
    text-align: center;
}
.cm-stat-val { font-size: 1.5rem; font-weight: 600; color: #eaf2ff; letter-spacing: 0.5px; }
.cm-stat-label { font-size: 0.78rem; color: #8fa3bd; margin-top: 4px; }

/* 招聘统计 tab：数据表区域 */
.recruit-list-wrap {
    flex: 1;
    min-height: 0;
    overflow: auto;
    border: 1px solid #1f3147;
    border-radius: 10px;
    background: rgba(10, 18, 32, 0.4);
}
.recruit-list-wrap table.data-table {
    min-width: 900px;
}
.recruit-list-wrap thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #0f1b30;
}
.recruit-empty {
    text-align: center;
    color: #7b8fa8;
    padding: 30px;
    font-size: 0.9rem;
}
.recruit-no {
    color: #2f8cf5;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.recruit-muted {
    color: #7b8fa8;
}

/* ========== 简历筛选 tab（左右分栏：岗位候选人列表 + 简历详情） ========== */
.resume-layout {
    display: flex;
    gap: 16px;
    flex: 1;
    min-height: 0;
}
.resume-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.resume-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.resume-toolbar-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9bb9e6;
    font-size: 0.85rem;
    white-space: nowrap;
}
.resume-toolbar-label i { color: #2f8cf5; }
.resume-select {
    flex: 1;
    max-width: 340px;
    background: #0b1728;
    color: #dbe7f5;
    border: 1px solid #2a4a75;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
}
.resume-select:focus { border-color: #2f8cf5; }
.resume-select option { background: #0f1b30; }

.resume-table-wrap {
    flex: 1;
    min-height: 0;
    overflow: auto;
    border: 1px solid #1f3147;
    border-radius: 10px;
    background: rgba(10, 18, 32, 0.4);
}
/* 列表宽度严格跟随左侧显示区：固定布局 + 百分比列宽，超长内容省略号 */
.resume-table-wrap table.data-table { width: 100%; min-width: 0; table-layout: fixed; }
.resume-table-wrap th,
.resume-table-wrap td { padding: 10px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resume-table-wrap thead th:nth-child(1) { width: 15%; }
.resume-table-wrap thead th:nth-child(2) { width: 15%; }
.resume-table-wrap thead th:nth-child(3) { width: 19%; }
.resume-table-wrap thead th:nth-child(4) { width: 8%; }
.resume-table-wrap thead th:nth-child(5) { width: 13%; }
.resume-table-wrap thead th:nth-child(6) { width: 20%; }
.resume-table-wrap thead th:nth-child(7) { width: 10%; }
.resume-table-wrap thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #0f1b30;
}
.resume-hint {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #7b8fa8;
    padding: 30px;
    text-align: center;
}
.resume-hint i { font-size: 2rem; opacity: 0.7; color: #2f8cf5; }
.resume-hint p { margin: 0; font-size: 0.88rem; }

.resume-name-link {
    color: #2f8cf5;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}
.resume-name-link:hover { color: #8abcfc; }
.resume-match-bar {
    width: 56px;
    height: 6px;
    background: #1f3147;
    border-radius: 3px;
    overflow: hidden;
}
.resume-table-wrap input[type="checkbox"] {
    cursor: pointer;
    accent-color: #2f8cf5;
}

/* 右侧简历详情区 */
.resume-right {
    flex: 1;
    min-width: 0;
    display: flex;
    border: 1px solid #1f3147;
    border-radius: 10px;
    background: rgba(10, 18, 32, 0.4);
    overflow: auto;
}
.resume-right .resume-hint { min-height: 320px; }
.resume-card {
    width: 100%;
    padding: 18px 20px;
    color: #dbe7f5;
}
.resume-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #1f3147;
}
.resume-avatar {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2f8cf5, #1a5fc7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 600;
    flex-shrink: 0;
}
.resume-card-header h4 {
    margin: 0;
    font-size: 1.15rem;
    color: #eaf0f8;
    font-weight: 600;
}
.resume-card-sub {
    margin-top: 4px;
    color: #7b8fa8;
    font-size: 0.82rem;
}
.resume-match-big {
    margin-left: auto;
    text-align: right;
    flex-shrink: 0;
}
.resume-match-num { font-size: 1.5rem; font-weight: 700; }
.resume-match-row { padding: 10px 0 4px; }
.resume-match-track {
    height: 6px;
    border-radius: 3px;
    background: #1f3147;
    overflow: hidden;
}
.resume-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #9bb9e6;
}
.resume-section-title i { color: #2f8cf5; }
.resume-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px 16px;
    padding: 4px 0;
}
.resume-info-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.resume-info-key {
    font-size: 0.72rem;
    color: #7b8fa8;
    letter-spacing: 0.5px;
}
.resume-info-val {
    font-size: 0.85rem;
    color: #dbe7f5;
    word-break: break-all;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(47, 140, 245, 0.12);
    border: 1px solid rgba(47, 140, 245, 0.35);
    color: #9bb9e6;
    font-size: 0.78rem;
}
.resume-work-exp {
    margin: 0;
    line-height: 1.9;
    font-size: 0.88rem;
    color: #b6c6da;
    background: rgba(18, 30, 50, 0.45);
    border-radius: 8px;
    padding: 12px 14px;
    border: 1px solid #1f3147;
}

/* ========== 入职管理卡片：入职统计 / 办理入职 双 tab ========== */
.onboard-tabs {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    border-bottom: 1px solid #1f3147;
    padding-bottom: 8px;
    margin-bottom: 10px;
}
.onboard-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 8px;
    border: 1px solid #1f3147;
    background: transparent;
    color: #8aa0bb;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.onboard-tab i { color: #2f8cf5; }
.onboard-tab:hover { border-color: #2f8cf5; color: #fff; }
.onboard-tab.active { background: linear-gradient(135deg, #2f8cf5, #1a5fc7); color: #fff; border-color: transparent; }
.onboard-tab.active i { color: #fff; }
.onboard-pane { display: none; flex: 1; min-height: 0; flex-direction: column; }
.onboard-pane.active { display: flex; }
.onboard-pane > .onboard-body { flex: 1; min-height: 0; }
/* 招聘概况：上下 50/50 分屏（上部招聘岗位列表 / 下部入职员工列表） */
.recruit-ov-split { display: flex; flex-direction: column; height: 100%; gap: 14px; }
.recruit-ov-split .ov-top { flex: 1 1 50%; min-height: 0; display: flex; flex-direction: row; gap: 14px; }
.recruit-ov-split .ov-top-left { flex: 0 0 40%; min-width: 0; display: flex; flex-direction: column; }
.recruit-ov-split .ov-top-right { flex: 1 1 60%; min-width: 0; }
/* 招聘概况右上：招聘统计图（科技风） */
.recruit-charts { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
    gap: 12px; height: 100%; }
.recruit-charts .rc-card { position: relative; min-width: 0; min-height: 0; padding: 10px 12px;
    background: linear-gradient(160deg, rgba(20,38,66,.72), rgba(10,20,38,.72));
    border: 1px solid rgba(75,155,255,.22); border-radius: 12px; overflow: hidden;
    box-shadow: inset 0 0 24px rgba(34,140,245,.06); }
.recruit-charts .rc-card::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(120px 60px at 80% -10%, rgba(34,211,238,.10), transparent 70%); }
.recruit-charts .rc-card--wide { grid-column: 1 / 3; }
.recruit-charts .rc-head { display: flex; align-items: center; gap: 7px; margin-bottom: 4px;
    font-size: 0.82rem; font-weight: 600; color: #a9c7f2; letter-spacing: .5px; }
.recruit-charts .rc-head i { color: #22d3ee; }
.recruit-charts .rc-body { position: absolute; left: 12px; right: 12px; top: 34px; bottom: 10px;
    display: flex; align-items: center; justify-content: center; overflow: auto; }
.recruit-charts .rc-card--wide .rc-body { justify-content: flex-start; align-items: stretch; }
.recruit-charts .rc-empty { color: #6f86a6; font-size: 0.82rem; }
.recruit-charts .rc-donut { width: 100%; height: 100%; }
.recruit-charts .rc-bar, .recruit-charts .rc-hbar { width: 100%; height: 100%; }
.recruit-charts .rc-legend { position: absolute; right: 10px; top: 38px; display: flex; flex-direction: column; gap: 8px; }
.recruit-charts .rc-legend-row { display: flex; align-items: center; gap: 6px; font-size: 0.74rem; }
.recruit-charts .rc-dot { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 8px currentColor; }
.recruit-charts .rc-legend-name { color: #c4d6f0; }
.recruit-charts .rc-legend-val { color: #8ab4f8; font-weight: 600; margin-left: auto; }
/* 招聘岗位表：列宽百分比铺满 40% 容器，超长内容省略号，避免底部横向滚动条 */
.recruit-pos-table th, .recruit-pos-table td { overflow: hidden; text-overflow: ellipsis; }
/* 招聘概况左上列表：岗位名称可点击（弹出删除 / 标记到岗操作） */
.recruit-pos-table .recruit-pos-link { cursor: pointer; color: #8ab4f8; }
.recruit-pos-table .recruit-pos-link:hover { color: #bcd4ff; text-decoration: underline; }
/* 到岗日期列：保持单行且不低于日期所需宽度，避免被省略号截断 */
.recruit-pos-table th:last-child, .recruit-pos-table td:last-child { white-space: nowrap; min-width: 96px; }
/* 图表悬浮提示（SVG 图表通用）*/
.lab-chart-tip { position: fixed; z-index: 99999; pointer-events: none; display: none; padding: 6px 9px;
    border-radius: 8px; background: rgba(8,18,36,.95); border: 1px solid rgba(95,160,255,.5);
    color: #e6f1ff; font-size: 12px; line-height: 1.5; box-shadow: 0 8px 24px rgba(0,0,0,.5); white-space: nowrap; }
/* 定岗定编：左列表 + 右详情 */
.staffing-layout { display: flex; gap: 16px; align-items: stretch; }
.staffing-empty { padding: 48px; color: #7b8fa8; text-align: center; }
.staffing-left { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.staffing-right { flex: 0 0 340px; }
.staffing-left-head { display: flex; align-items: center; gap: 8px; color: #8ab4f8; font-weight: 600; font-size: 1rem; }
.staffing-left-head .staffing-count { color: #7b8fa8; font-weight: 400; font-size: 0.85rem; }
.staffing-table tbody tr { cursor: pointer; }
.staffing-table tbody tr:hover { background: rgba(47, 140, 245, 0.10); }
.staffing-table tbody tr.selected { background: rgba(47, 140, 245, 0.18); }
.staffing-table tbody tr.staffing-row-dept td:last-child { color: #7b8fa8; }
.staffing-detail-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; padding: 16px; }
.staffing-detail-title { font-weight: 600; color: #8ab4f8; margin-bottom: 6px; }
.staffing-detail-path { color: #cdd9e5; margin-bottom: 14px; word-break: break-all; }
.staffing-detail-stats { display: flex; gap: 10px; }
.staffing-stat { flex: 1; background: rgba(47, 140, 245, 0.08); border-radius: 8px; padding: 10px; text-align: center; }
.staffing-stat-val { font-size: 1.4rem; font-weight: 700; color: #eaf0f8; }
.staffing-stat-label { font-size: 0.8rem; color: #7b8fa8; margin-top: 2px; }
.staffing-detail-resp { margin-top: 14px; font-size: 0.9rem; color: #cdd9e5; }
.staffing-detail-resp .resp-label { color: #7b8fa8; font-size: 0.8rem; margin-bottom: 4px; }
@media (max-width: 900px) {
    .staffing-layout { flex-direction: column; }
    .staffing-right { flex: 1 1 auto; }
}
.recruit-ov-split .ov-bottom { flex: 1 1 50%; max-height: none; min-height: 0; display: flex; flex-direction: column; }
.recruit-ov-split .ov-top .att-leave-table-wrap { flex: 1 1 auto; min-height: 0; max-height: none; }
.recruit-ov-split .ov-bottom .onboard-stats-wrap { flex: 1 1 auto; min-height: 0; }

/* 入职统计：顶部指标条 + 明细表（列多，横向滚动） */
.onboard-stats-wrap {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #1f3147;
    border-radius: 10px;
    background: rgba(10, 18, 32, 0.4);
}
.onboard-stats-scroll { flex: 1; min-height: 0; overflow: auto; }
.onboard-stats-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 14px;
    background: #0f1b30;
    border-bottom: 1px solid #1f3147;
    font-size: 0.82rem;
    color: #9bb9e6;
}
/* 统计指标整体靠右（时间选择器留在最左） */
.onboard-stats-metrics { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-left: auto; }
.onboard-stats-total { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #eaf0f8; }
.onboard-stats-total i { color: #2f8cf5; }
.onboard-stat-item b { color: #6db1f7; font-size: 0.95rem; margin-left: 2px; }
.onboard-stat-range { display: inline-flex; align-items: center; gap: 6px; }
.onboard-stat-range label { color: #7b8fa8; white-space: nowrap; }
.onboard-stat-range input[type="date"] {
    background: #0b1728;
    color: #dbe7f5;
    border: 1px solid #2a4a75;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 0.78rem;
    outline: none;
    color-scheme: dark;
}
.onboard-stat-range input[type="date"]:focus { border-color: #2f8cf5; }
.onboard-stat-sep { color: #7b8fa8; }
/* 入职统计 / 离职统计 单选切换 */
.onboard-stat-types { display: inline-flex; align-items: center; gap: 14px; }
.onboard-stat-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #9bb9e6;
    cursor: pointer;
    user-select: none;
}
.onboard-stat-radio input { accent-color: #2f8cf5; cursor: pointer; margin: 0; }
.onboard-stat-radio:hover { color: #eaf0f8; }
/* 列表宽度严格跟随显示区：固定布局 + 百分比列宽，超长内容省略号（悬停看全文） */
.onboard-stats-wrap table.data-table { width: 100%; min-width: 0; table-layout: fixed; }
.onboard-stats-wrap th,
.onboard-stats-wrap td { padding: 8px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onboard-stats-wrap thead th:nth-child(1) { width: 7%; }
.onboard-stats-wrap thead th:nth-child(2) { width: 6%; }
.onboard-stats-wrap thead th:nth-child(3) { width: 11%; }
.onboard-stats-wrap thead th:nth-child(4) { width: 4%; }
.onboard-stats-wrap thead th:nth-child(5) { width: 5%; }
.onboard-stats-wrap thead th:nth-child(6) { width: 8%; }
.onboard-stats-wrap thead th:nth-child(7) { width: 7%; }
.onboard-stats-wrap thead th:nth-child(8) { width: 5%; }
.onboard-stats-wrap thead th:nth-child(9) { width: 5%; }
.onboard-stats-wrap thead th:nth-child(10) { width: 5%; }
.onboard-stats-wrap thead th:nth-child(11) { width: 7%; }
.onboard-stats-wrap thead th:nth-child(12) { width: 5%; }
.onboard-stats-wrap thead th:nth-child(13) { width: 4%; }
.onboard-stats-wrap thead th:nth-child(14) { width: 8%; }
.onboard-stats-wrap thead th:nth-child(15) { width: 13%; }
.onboard-stats-wrap thead th { position: sticky; top: 0; z-index: 1; background: #0f1b30; }
/* 入职日期：收窄内边距，保证 YYYY-MM-DD 完整显示 */
.onboard-stats-wrap thead th:nth-child(14),
.onboard-stats-wrap tbody td:nth-child(14) { padding-left: 4px; padding-right: 4px; }
/* 户籍地址较长：允许换行完整显示 */
.onboard-stats-wrap tbody td:nth-child(15) { white-space: normal; word-break: break-all; line-height: 1.45; }

/* ========== 离职管理卡片：离职统计 / 办理离职（样式独立于入职） ========== */
.resign-tabs { display: flex; gap: 8px; flex-shrink: 0; border-bottom: 1px solid #1f3147; padding-bottom: 8px; margin-bottom: 10px; }
.resign-tab { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: 8px; border: 1px solid #1f3147; background: transparent; color: #8aa0bb; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.resign-tab i { color: #2f8cf5; }
.resign-tab:hover { border-color: #2f8cf5; color: #fff; }
.resign-tab.active { background: linear-gradient(135deg, #2f8cf5, #1a5fc7); color: #fff; border-color: transparent; }
.resign-tab.active i { color: #fff; }
.resign-pane { display: none; flex: 1; min-height: 0; flex-direction: column; }
.resign-pane.active { display: flex; }
.resign-stats-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #1f3147; border-radius: 10px; background: rgba(10, 18, 32, 0.4); }
.resign-stats-scroll { flex: 1; min-height: 0; overflow: auto; }
.resign-stats-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; background: #0f1b30; border-bottom: 1px solid #1f3147; font-size: 0.82rem; color: #9bb9e6; }
.resign-stats-metrics { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-left: auto; }
.resign-stats-total { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #eaf0f8; }
.resign-stats-total i { color: #2f8cf5; }
.resign-stat-item b { color: #6db1f7; font-size: 0.95rem; margin-left: 2px; }
.resign-stat-range { display: inline-flex; align-items: center; gap: 6px; }
.resign-stat-range label { color: #7b8fa8; white-space: nowrap; }
.resign-stat-range input[type="date"] { background: #0b1728; color: #dbe7f5; border: 1px solid #2a4a75; border-radius: 6px; padding: 5px 8px; font-size: 0.78rem; outline: none; color-scheme: dark; }
.resign-stat-range input[type="date"]:focus { border-color: #2f8cf5; }
.resign-stat-sep { color: #7b8fa8; }
/* 离职列表宽度严格跟随显示区：固定布局 + 百分比列宽（17 列合计 100%） */
.resign-stats-wrap table.data-table { width: 100%; min-width: 0; table-layout: fixed; }
.resign-stats-wrap th,
.resign-stats-wrap td { padding: 8px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resign-stats-wrap thead th:nth-child(1) { width: 6%; }
.resign-stats-wrap thead th:nth-child(2) { width: 6%; }
.resign-stats-wrap thead th:nth-child(3) { width: 9%; }
.resign-stats-wrap thead th:nth-child(4) { width: 8%; }
.resign-stats-wrap thead th:nth-child(5) { width: 7%; }
.resign-stats-wrap thead th:nth-child(6) { width: 5%; }
.resign-stats-wrap thead th:nth-child(7) { width: 5%; }
.resign-stats-wrap thead th:nth-child(8) { width: 5%; }
.resign-stats-wrap thead th:nth-child(9) { width: 6%; }
.resign-stats-wrap thead th:nth-child(10) { width: 5%; }
.resign-stats-wrap thead th:nth-child(11) { width: 4%; }
.resign-stats-wrap thead th:nth-child(12) { width: 8%; }
.resign-stats-wrap thead th:nth-child(13) { width: 8%; }
.resign-stats-wrap thead th:nth-child(14) { width: 6%; }
.resign-stats-wrap thead th:nth-child(15) { width: 12%; }
.resign-stats-wrap thead th { position: sticky; top: 0; z-index: 1; background: #0f1b30; }
/* 入职日期 / 离职日期：收窄内边距，保证 YYYY-MM-DD 完整显示 */
.resign-stats-wrap thead th:nth-child(12),
.resign-stats-wrap thead th:nth-child(13),
.resign-stats-wrap tbody td:nth-child(12),
.resign-stats-wrap tbody td:nth-child(13) { padding-left: 4px; padding-right: 4px; }
/* 户籍地址允许换行完整显示 */
.resign-stats-wrap tbody td:nth-child(15) { white-space: normal; word-break: break-all; line-height: 1.45; }
/* 离职查询：人员下拉 + 留存文件清单 */
.resign-query-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #1f3147; border-radius: 10px; background: rgba(10, 18, 32, 0.4); }
.resign-query-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #0f1b30; border-bottom: 1px solid #1f3147; font-size: 0.82rem; color: #9bb9e6; }
.resign-query-bar label { color: #7b8fa8; white-space: nowrap; }
.resign-query-emp { min-width: 300px; max-width: 460px; background: #0b1728; color: #dbe7f5; border: 1px solid #2a4a75; border-radius: 6px; padding: 6px 10px; font-size: 0.8rem; outline: none; cursor: pointer; }
.resign-query-emp:focus { border-color: #2f8cf5; }
.resign-query-result { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.resign-query-summary { display: flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 0.82rem; font-weight: 600; color: #eaf0f8; background: rgba(15, 27, 48, 0.6); border-bottom: 1px solid #1f3147; }
.resign-query-summary i { color: #2f8cf5; }
.resign-query-empname { color: #9bb9e6; font-weight: 400; margin-left: 4px; }
.resign-query-scroll { flex: 1; min-height: 0; overflow: auto; }
.resign-query-scroll table.data-table { width: 100%; min-width: 720px; }
.resign-query-scroll th,
.resign-query-scroll td { padding: 8px 10px; white-space: nowrap; }
.resign-query-scroll thead th { position: sticky; top: 0; z-index: 1; background: #0f1b30; }
.resign-file-link { color: #6db1f7; margin: 0 6px; font-size: 0.8rem; text-decoration: none; }
.resign-file-link:hover { color: #8abcfc; text-decoration: underline; }
/* 办理离职 tab：上部 40% 待离职人员列表 + 下方原有内容 */
.resign-process-layout { display: flex; flex-direction: column; flex: 1; min-height: 0; gap: 12px; }
.resign-pending-wrap { flex: 0 0 40%; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #1f3147; border-radius: 10px; background: rgba(10, 18, 32, 0.4); }
.resign-pending-title { padding: 8px 12px; font-size: 0.82rem; font-weight: 600; color: #9bb9e6; background: #0f1b30; border-bottom: 1px solid #1f3147; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.resign-pending-title i { color: #2f8cf5; }
.resign-pending-scroll { flex: 1; min-height: 0; overflow: auto; }
.resign-pending-scroll table.data-table { width: 100%; min-width: 1180px; }
.resign-pending-scroll th,
.resign-pending-scroll td { padding: 8px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resign-pending-scroll thead th { position: sticky; top: 0; z-index: 1; background: #0f1b30; }
.resign-process-bottom { flex: 1; min-height: 0; display: flex; flex-direction: column; }
/* 下部 60% 分左右：左员工信息表，右离职资料上传 */
.resign-process-split { display: flex; gap: 14px; flex: 1; min-height: 0; }
.resign-process-left,
.resign-process-right { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #1f3147; border-radius: 10px; background: rgba(10, 18, 32, 0.4); }
.resign-process-profile { flex: 1; min-height: 0; overflow: auto; padding: 8px 4px 4px; }
.resign-process-uploads { flex: 1; min-height: 0; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; align-content: flex-start; }
.resign-upload-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 8px; border: 1px solid #2a4a75; background: rgba(15, 27, 48, 0.6); color: #9bb9e6; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.resign-upload-btn:hover { border-color: #2f8cf5; color: #fff; background: rgba(47, 140, 245, 0.15); }
.resign-upload-btn.uploaded { border-color: rgba(34, 197, 94, 0.5); color: #4ade80; background: rgba(34, 197, 94, 0.12); }
.resign-upload-btn.pending { border-color: rgba(251, 191, 36, 0.6); color: #fbbf24; background: rgba(251, 191, 36, 0.12); }
/* 右下角操作按钮 */
.resign-process-actions { display: flex; gap: 10px; justify-content: flex-end; padding: 10px 12px; border-top: 1px solid #1f3147; background: #0f1b30; flex-shrink: 0; }
.resign-process-actions .btn-secondary,
.resign-process-actions .btn-primary { font-size: 0.8rem; padding: 7px 14px; }
/* ========== 职业心理测评（流程管理右侧面板） ========== */
/* 与其它流程一致：标题下方紧贴内容（与"调岗申请"等表单字段的视觉间距一致） */
.career-test-box { display: flex; flex-direction: column; gap: 12px; min-height: 0; height: 100%; }
.career-test-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
/* 答题模式：题目区占满剩余高度，当前页 10 道题纵向均分铺满可视区，避免底部空白与外层滚动条 */
.career-test-body > #ctQuestions { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
.career-test-body > #ctQuestions .ct-q { flex: 1 0 auto; }

/* 题目分组 */
.ct-group { margin-top: 14px; }
.ct-group-title { font-size: 0.88rem; font-weight: 700; color: #eaf0f8; }
.ct-group-desc { color: #7b8fa8; font-size: 0.78rem; margin: 2px 0 8px; }
.ct-legend { display: flex; gap: 18px; color: #5c7189; font-size: 0.72rem; margin-bottom: 8px; }
.ct-q { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; }
.ct-q:nth-child(odd) { background: rgba(47, 140, 245, 0.04); }
.ct-q-text { flex: 1; min-width: 0; color: #cbd5e1; font-size: 0.84rem; line-height: 1.5; }
.ct-opts { display: flex; gap: 6px; flex-shrink: 0; }
.ct-opt { width: 28px; height: 28px; border-radius: 6px; border: 1px solid #2a4a75; background: transparent; color: #8aa0bb; font-size: 0.8rem; cursor: pointer; transition: all 0.15s; }
.ct-opt:hover { border-color: #2f8cf5; color: #fff; }
.ct-opt.active { background: linear-gradient(135deg, #2f8cf5, #1a5fc7); color: #fff; border-color: transparent; }
/* 题目分页 */
.ct-scale-tip { color: #6b7f99; font-size: 0.75rem; margin-bottom: 8px; }
.ct-q-no { color: #6db1f7; font-weight: 700; margin-right: 4px; }
.ct-q-dim { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px; font-size: 0.7rem; color: #9bb9e6; background: rgba(47, 140, 245, 0.1); border: 1px solid rgba(47, 140, 245, 0.25); }
.ct-page-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: 8px; border: 1px solid #2a4a75; background: rgba(15, 27, 48, 0.6); color: #9bb9e6; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.ct-page-btn:hover:not([disabled]) { border-color: #2f8cf5; color: #fff; background: rgba(47, 140, 245, 0.15); }
.ct-page-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.ct-page-info { color: #9bb9e6; font-size: 0.82rem; font-weight: 600; }
/* 答题工具行：进度 + 翻页靠左、提交按钮靠右（同一行） */
.ct-wf-toolbar { display: flex; align-items: center; gap: 12px; margin: 12px 0 2px; flex-wrap: wrap; }
.ct-wf-nav { display: inline-flex; align-items: center; gap: 8px; }
.ct-wf-toolbar .ct-progress { margin-top: 0; }
.ct-wf-toolbar .btn-primary { margin-left: auto; }
/* 防呆：未完成全部题目时提交按钮禁用 */
.ct-wf-toolbar .btn-primary:disabled,
.ct-wf-toolbar .btn-primary:disabled:hover {
    background: #24334d;
    color: #64748b;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.ct-progress { color: #9bb9e6; font-size: 0.82rem; font-weight: 600; }
.ct-progress.done { color: #4ade80; }
.ct-disclaimer { margin-top: 8px; color: #5c7189; font-size: 0.75rem; line-height: 1.7; }
/* 结果 */
.ct-result { display: flex; flex-direction: column; gap: 14px; }
.ct-result-head { font-size: 0.95rem; font-weight: 700; color: #eaf0f8; display: flex; align-items: center; gap: 8px; }
.ct-result-head i { color: #14b8a6; }
.ct-result-person { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 14px; background: #0f1b30; border: 1px solid #1f3147; border-radius: 10px; font-size: 0.85rem; color: #9bb9e6; }
.ct-rp-name { color: #eaf0f8; font-weight: 700; }
.ct-code b { color: #6db1f7; font-size: 1rem; letter-spacing: 1px; }
.ct-result-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 18px; align-items: stretch; }
.ct-radar-box { background: rgba(15, 27, 48, 0.5); border: 1px solid #1f3147; border-radius: 10px; padding: 6px; display: flex; align-items: center; justify-content: center; }
/* 兴趣维度得分表：置于雷达图/性格柱状图正下方，整行横向拉满，6 列等宽分布 */
.ct-result-main > .ct-interest { grid-column: 1 / -1; min-width: 0; }
.ct-radar-score-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.ct-radar-score-table th,
.ct-radar-score-table td { padding: 10px 4px; text-align: center; vertical-align: middle; }
.ct-radar-score-table thead th { font-weight: 400; }
.ct-radar-score-table th .c { display: block; width: 22px; height: 22px; line-height: 22px; margin: 0 auto 4px; border-radius: 50%; background: rgba(47, 140, 245, 0.18); color: #8abcfc; font-size: 0.75rem; font-weight: 700; }
.ct-radar-score-table th .n { display: block; font-size: 0.8rem; color: #9bb9e6; line-height: 1.3; word-break: break-all; }
.ct-radar-score-table tbody td { border-top: 1px solid #1f3147; background: rgba(15, 27, 48, 0.45); }
.ct-radar-score-table td b { display: block; font-size: 1.2rem; color: #eaf0f8; line-height: 1.2; }
.ct-radar-score-table td .m { font-size: 0.62rem; color: #5c7189; }
.ct-block-title { font-size: 0.85rem; font-weight: 700; color: #eaf0f8; margin-bottom: 8px; }
/* 职业性格维度竖向柱状图（右列） */
.ct-vbars { display: flex; flex-direction: column; }
.ct-vbar-chart { display: flex; gap: 10px; height: 260px; }
.ct-vbar-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ct-vbar-area { flex: 1; min-height: 0; display: flex; align-items: flex-end; justify-content: center; padding-top: 24px; }
.ct-vbar { position: relative; width: 58%; max-width: 42px; min-height: 4px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #3d9bff, #1a5fc7); }
.ct-vbar.low { background: linear-gradient(180deg, #fbbf24, #d97706); }
.ct-vbar.high { background: linear-gradient(180deg, #34d399, #15803d); }
.ct-vbar-val { position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); font-size: 0.7rem; font-weight: 700; color: #dbe7f5; white-space: nowrap; }
.ct-vbar-name { margin-top: 6px; text-align: center; font-size: 0.68rem; line-height: 1.3; color: #9bb9e6; word-break: break-word; }
.ct-block { background: rgba(15, 27, 48, 0.5); border: 1px solid #1f3147; border-radius: 10px; padding: 12px 14px; }
.ct-career-row { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.ct-career-tag { flex-shrink: 0; padding: 2px 10px; border-radius: 12px; font-size: 0.72rem; background: rgba(47, 140, 245, 0.18); color: #6db1f7; border: 1px solid rgba(47, 140, 245, 0.4); }
.ct-career-tag.alt { background: rgba(20, 184, 166, 0.15); color: #5eead4; border-color: rgba(20, 184, 166, 0.4); }
.ct-career-item { padding: 3px 10px; border-radius: 6px; font-size: 0.78rem; color: #cbd5e1; background: rgba(47, 140, 245, 0.07); }
.ct-empty { color: #5c7189; font-size: 0.8rem; }
.ct-suggest .ct-block-title i { color: #fbbf24; }
.ct-suggest-text { color: #b6c6da; font-size: 0.82rem; line-height: 1.9; white-space: pre-line; }
.ct-actions { display: flex; justify-content: flex-end; }
/* 员工管理舞台中的职业测试结果查询页：撑满舞台，左右分栏（左：扫码+搜索+记录列表；右：选中人员测评报告） */
#employeeOverviewStage > .career-result-box { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: hidden; padding: 2px; gap: 10px; }
.career-result-box > .career-test-head { flex-shrink: 0; display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; color: #eaf0f8; }
.career-result-box > .career-test-head i { color: #2f8cf5; }
.career-result-box > .career-test-desc { flex-shrink: 0; color: #7b8fa8; font-size: 0.8rem; line-height: 1.7; }
.ct-split { flex: 1 1 auto; min-height: 0; display: flex; gap: 14px; }
.ct-split-left { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ct-split-right { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
/* 面试测评二维码 */
.ct-qr-box { display: flex; align-items: center; gap: 14px; flex-shrink: 0; padding: 12px; background: #0f1b30; border: 1px solid #1f3147; border-radius: 10px; }
.ct-qr-wrap { flex-shrink: 0; width: 100px; height: 100px; background: #fff; border-radius: 8px; padding: 2px; display: flex; align-items: center; justify-content: center; }
.ct-qr-wrap img, .ct-qr-wrap canvas { width: 92px; height: 92px; }
.ct-qr-info { min-width: 0; }
.ct-qr-title { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 700; color: #eaf0f8; margin-bottom: 4px; }
.ct-qr-title i { color: #14b8a6; }
.ct-qr-info p { color: #7b8fa8; font-size: 0.78rem; line-height: 1.7; margin: 0; }
.ct-result-list { flex: 1; min-height: 0; overflow: auto; border: 1px solid #1f3147; border-radius: 10px; background: rgba(10, 18, 32, 0.4); }
.ct-result-list table.data-table { min-width: 460px; }
/* 记录行 = 可选择人员 */
.ct-result-list tr.ct-result-row { cursor: pointer; }
.ct-result-list tr.ct-result-row:hover { background: rgba(47, 140, 245, 0.07); }
.ct-result-list tr.ct-result-row.active { background: rgba(47, 140, 245, 0.16); }
/* 右侧测评报告面板 */
.ct-result-detail { flex: 1; min-height: 0; overflow: auto; border: 1px solid #1f3147; border-radius: 10px; background: rgba(10, 18, 32, 0.4); padding: 14px; }
/* 未选择人员时的占位提示 */
.ct-detail-placeholder { height: 100%; min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #5c7a9a; text-align: center; }
.ct-detail-placeholder i { font-size: 2.4rem; color: #2f8cf5; opacity: 0.75; margin-bottom: 6px; }
.ct-detail-placeholder p { margin: 0; font-size: 0.88rem; }
.ct-detail-placeholder p.sub { font-size: 0.76rem; color: #54677f; }

/* ========== 转正管理卡片：上 40% 待转正列表 + 下 60% 左右分栏 ========== */
.prob-pending-wrap { flex: 0 0 40%; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #1f3147; border-radius: 10px; background: rgba(10, 18, 32, 0.4); }
.prob-pending-title { padding: 8px 12px; font-size: 0.82rem; font-weight: 600; color: #9bb9e6; background: #0f1b30; border-bottom: 1px solid #1f3147; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.prob-pending-title i { color: #2f8cf5; }
.prob-pending-title span { display: inline-flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.prob-pending-scroll { flex: 1; min-height: 0; overflow: auto; }
.prob-pending-scroll table.data-table { width: 100%; min-width: 1180px; }
.prob-pending-scroll th,
.prob-pending-scroll td { padding: 8px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prob-pending-scroll thead th { position: sticky; top: 0; z-index: 1; background: #0f1b30; }
.prob-pending-scroll tr.prob-row { cursor: pointer; }
.prob-pending-scroll tr.prob-row:hover { background: rgba(47, 140, 245, 0.07); }
.prob-pending-scroll tr.prob-row-active { background: rgba(47, 140, 245, 0.16); }
/* 考勤数据卡片 tab */
.att-tab-bar { display: flex; gap: 6px; margin: 4px 0 12px; border-bottom: 1px solid #1f3147; }
.att-tab-bar .att-tab { flex: 1; min-width: 88px; padding: 10px 6px; font-size: 13px; text-align: center; }
.att-pane { display: none; }
.att-pane.active { display: block; }
.att-pane .resume-hint { padding: 20px 0; }
/* 假期管理卡片 tab：假期统计 / 假期设置（独立类名，避免与考勤卡片 .att-tab/.att-pane 冲突） */
.leave-tab-bar { display: flex; gap: 6px; margin: 4px 0 12px; border-bottom: 1px solid #1f3147; }
.leave-tab-bar .leave-tab { flex: 1; min-width: 88px; padding: 10px 6px; font-size: 13px; text-align: center; }
.leave-pane { display: none; }
.leave-pane.active { display: block; }
.leave-pane .resume-hint { padding: 20px 0; }

/* ========== 卡片内「多 tab」统一为入职管理卡片的按钮风格 ==========
   招聘管理 / 考勤数据 / 假期管理 卡片原先用的是横条下划线式 tab
   （.tab-btn 默认 flex:1 等分拉满、无边框、底部 2px 下划线），
   这里统一成：每个 tab 一个独立按钮、靠左排列、选中态蓝色渐变，
   与 .onboard-tab / .resign-tab 的视觉与间距保持一致。 */
.att-tab-bar,
.leave-tab-bar,
.recruit-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #1f3147;
    padding-bottom: 8px;
    margin: 4px 0 10px;
}
.att-tab-bar .att-tab,
.leave-tab-bar .leave-tab,
.recruit-tabs .tab-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border: 1px solid #1f3147;
    border-radius: 8px;
    background: transparent;
    color: #8aa0bb;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.att-tab-bar .att-tab i,
.leave-tab-bar .leave-tab i,
.recruit-tabs .tab-btn i { color: #2f8cf5; }
.att-tab-bar .att-tab:hover,
.leave-tab-bar .leave-tab:hover,
.recruit-tabs .tab-btn:hover { border-color: #2f8cf5; color: #fff; }
.att-tab-bar .att-tab.active,
.leave-tab-bar .leave-tab.active,
.recruit-tabs .tab-btn.active {
    background: linear-gradient(135deg, #2f8cf5, #1a5fc7);
    border-color: transparent;
    color: #fff;
}
.att-tab-bar .att-tab.active i,
.leave-tab-bar .leave-tab.active i,
.recruit-tabs .tab-btn.active i { color: #fff; }
/* 考勤汇总：顶部工具栏（员工下拉 + 两个日期选择器） */
.att-summary-toolbar { display: flex; flex-wrap: nowrap; gap: 14px; align-items: flex-end; margin-bottom: 14px; }
/* 考勤汇总：工具栏右侧「导出Excel」按钮（margin-left:auto 靠右对齐） */
.att-export-btn {
    margin-left: auto;
    height: 34px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #2f8cf5;
    border-radius: 7px;
    color: #8abcfc;
    font-size: 0.85rem;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.15s;
}
.att-export-btn:hover { background: #2f8cf5; color: #0b111e; box-shadow: 0 0 16px rgba(47, 140, 245, 0.5); }
.att-export-btn i { color: #7ee2a8; font-size: 0.9rem; }
.att-export-btn:hover i { color: inherit; }
.att-toolbar-field { display: flex; flex-direction: row; align-items: center; gap: 8px; white-space: nowrap; }
.att-toolbar-field label { font-size: 0.78rem; color: #8fa9cc; }
.att-select, .att-date {
    height: 34px;
    padding: 0 10px;
    background: #0c1726;
    border: 1px solid #284060;
    border-radius: 7px;
    color: #dbe7f5;
    font-size: 0.85rem;
    outline: none;
}
.att-select { width: 180px; max-width: 180px; }
.att-date { min-width: 150px; }
.att-select:focus, .att-date:focus { border-color: #2f8cf5; box-shadow: 0 0 0 2px rgba(47,140,245,0.18); }
/* 考勤汇总：列表（工号/姓名/出勤/加班/请假 + 当月日期列） */
.att-summary-table-wrap { width: 100%; max-height: calc(100vh * 0.6); overflow: auto; border: 1px solid #1f3147; border-radius: 8px; background: rgba(10, 18, 32, 0.4); }
.att-summary-table-wrap table.data-table { width: 100%; margin: 0 auto; table-layout: fixed; border-collapse: collapse; }
.att-summary-table-wrap th,
.att-summary-table-wrap td { padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; border: 1px solid #243a57; }
.att-summary-table-wrap thead th { position: sticky; top: 0; z-index: 1; background: #0f1b30; border-bottom: 1px solid #2f4a6e; }
/* 列宽由表格 HTML 中的 <colgroup><col style="width:XXpx"> 统一控制，CSS 不再单独定义 */
.att-summary-table-wrap th.att-name,
.att-summary-table-wrap td.att-name { text-align: center; }
.att-summary-table-wrap tbody td:first-child { text-align: center; }
/* 加班汇总 tab：左上角月份选择器 + 当月有加班员工的列表（点击加班时长/调休时长查看明细弹窗） */
.att-over-toolbar { display: flex; flex-wrap: nowrap; gap: 14px; align-items: flex-end; margin-bottom: 14px; }
.att-over-toolbar .att-toolbar-field label { min-width: 34px; }
.att-over-table-wrap { width: 100%; max-height: calc(100vh * 0.6); overflow: auto; border: 1px solid #1f3147; border-radius: 8px; background: rgba(10, 18, 32, 0.4); }
.att-over-table-wrap table.data-table { width: 100%; margin: 0 auto; table-layout: fixed; border-collapse: collapse; }
.att-over-table-wrap th,
.att-over-table-wrap td { padding: 7px 10px; white-space: nowrap; text-align: center; border: 1px solid #243a57; }
.att-over-table-wrap thead th { position: sticky; top: 0; z-index: 1; background: #0f1b30; border-bottom: 1px solid #2f4a6e; font-weight: 500; }
.att-over-table-wrap td.att-over-val { font-variant-numeric: tabular-nums; }
.att-over-table-wrap td.att-over-name { font-weight: 600; color: #eaf0f8; }
/* 加班时长 / 调休时长：大于 0 时可点击查看明细弹窗 */
.att-ot-link { background: transparent; border: none; padding: 3px 9px; border-radius: 7px; cursor: pointer; display: inline-flex; align-items: baseline; gap: 2px; color: #6db1f7; font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.att-ot-link:hover { background: rgba(47, 140, 245, 0.16); color: #8abcfc; }
.att-ot-link .att-ot-unit { font-style: normal; font-size: 0.68rem; color: #5c7189; margin-left: 2px; font-weight: 400; }
.att-ot-none { color: #56697f; }
/* 加班/调休类型徽章：加班费蓝 / 转调休金 */
.att-ot-badge { display: inline-flex; align-items: center; font-size: 0.76rem; line-height: 1; padding: 4px 9px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; }
.att-ot-badge.ot-pay { color: #8fd8ff; background: rgba(47, 140, 245, 0.14); border-color: #2f5c92; }
.att-ot-badge.ot-rest { color: #ffd98a; background: rgba(255, 178, 44, 0.12); border-color: #8a6a20; }
/* 加班明细弹窗：加班单记录（编号 + 打卡时间） + 调休时间记录 */
#attOtDetailModal .modal { width: 780px; max-width: 94vw; }
#attOtDetailModal .modal-body { max-height: 66vh; overflow-y: auto; }
.att-ot-detail-sec { border: 1px solid #243a57; border-radius: 10px; background: rgba(15, 27, 48, 0.45); padding: 13px 15px; }
.att-ot-detail-sec + .att-ot-detail-sec { margin-top: 14px; }
.att-ot-detail-title { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; color: #eaf0f8; margin-bottom: 10px; }
.att-ot-detail-title i { color: #2f8cf5; }
.att-ot-detail-title .att-ot-detail-count { font-weight: 400; font-size: 0.78rem; color: #7b8fa8; }
.att-ot-detail-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.att-ot-detail-table th,
.att-ot-detail-table td { padding: 7px 9px; border: 1px solid #243a57; font-size: 0.83rem; text-align: center; word-break: break-all; }
.att-ot-detail-table thead th { background: #0f1b30; font-weight: 500; color: #9bb9e6; }
.att-ot-detail-table tbody tr:nth-child(even) { background: rgba(15, 27, 48, 0.25); }
.att-ot-detail-table td.att-ot-time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.att-ot-detail-table td.att-ot-no { font-variant-numeric: tabular-nums; color: #8fa9cc; font-size: 0.78rem; }
.att-ot-detail-note { display: flex; align-items: center; gap: 8px; color: #7b8fa8; font-size: 0.83rem; padding: 8px 0 4px; }
.att-ot-detail-note i { color: #2f8cf5; }
.att-ot-used { color: #7ee2a8; }
.att-ot-pending { color: #ffcf6e; }
/* 假期汇总 tab：在职员工年假周期与休假统计（点击休假时长查看明细弹窗） */
.att-leave-table-wrap { width: 100%; max-height: calc(100vh * 0.6); overflow: auto; border: 1px solid #1f3147; border-radius: 8px; background: rgba(10, 18, 32, 0.4); }
.att-leave-table-wrap table.data-table { width: max-content; min-width: 100%; margin: 0 auto; table-layout: fixed; border-collapse: collapse; }
.att-leave-table-wrap th,
.att-leave-table-wrap td { padding: 7px 10px; white-space: nowrap; text-align: center; border: 1px solid #243a57; }
.att-leave-table-wrap thead th { position: sticky; top: 0; z-index: 1; background: #0f1b30; border-bottom: 1px solid #2f4a6e; font-weight: 500; }
.att-leave-table-wrap td.att-leave-name { font-weight: 600; color: #eaf0f8; }
.att-leave-table-wrap td.att-leave-cycle { font-variant-numeric: tabular-nums; color: #9bb9e6; }
/* 假期列表：员工信息列（工号/姓名/部门/岗位）收窄为原宽一半，内边距与字号同步紧凑 */
.att-leave-table-wrap th.att-leave-emp-col,
.att-leave-table-wrap td.att-leave-emp-col { padding-left: 3px; padding-right: 3px; font-size: 0.75rem; }
/* 假期统计列表：宽度必须「确定」——表格宽度定死 100% 后，写死的列宽才会被严格执行；
   否则表格按内容自适应，工号/姓名列会被最长内容（如 9 位工号、外籍长姓名）撑开，改宽度看不到效果。
   剩余宽度只分给「没写宽度」的部门/岗位列；超出列宽的内容用省略号显示（完整值在 title 里）。 */
.att-leave-card-wrap table.data-table { width: 100%; min-width: 1200px; table-layout: fixed; }
.att-leave-table-wrap th.att-leave-emp-col,
.att-leave-table-wrap td.att-leave-emp-col { overflow: hidden; text-overflow: ellipsis; }
/* 假期统计：员工筛选输入框（输入姓名/工号后，列表只显示该员工） */
.leave-emp-picker { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.leave-emp-picker > i { color: #2f8cf5; font-size: 0.9rem; }
.leave-emp-input { flex: 0 0 240px; width: 240px; height: 34px; padding: 0 10px; background: #0c1726; border: 1px solid #284060; border-radius: 7px; color: #dbe7f5; font-size: 0.85rem; outline: none; }
.leave-emp-input:focus { border-color: #2f8cf5; box-shadow: 0 0 0 2px rgba(47, 140, 245, 0.18); }
.leave-emp-input::placeholder { color: #6b82a0; }
.att-leave-quota { color: #eaf0f8; font-weight: 700; font-variant-numeric: tabular-nums; }
.att-leave-quota .att-ot-unit { font-style: normal; font-size: 0.68rem; color: #5c7189; margin-left: 2px; font-weight: 400; }
/* 假期明细弹窗 */
#attLeaveDetailModal .modal { width: 760px; max-width: 94vw; }
#attLeaveDetailModal .modal-body { max-height: 66vh; overflow-y: auto; }
.att-leave-summary { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 0.84rem; color: #9bb9e6; }
.att-leave-summary b { color: #6db1f7; font-variant-numeric: tabular-nums; margin: 0 2px; }
.att-leave-status { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 0.76rem; }
.att-leave-status.done { color: #7ee2a8; background: rgba(126, 226, 168, 0.12); border: 1px solid #2f6b4c; }
.att-leave-status.doing { color: #ffcf6e; background: rgba(255, 207, 110, 0.12); border: 1px solid #8a6a20; }
/* 员工打卡 tab：顶部工具栏 + 左右布局（规则详情 | 当月打卡记录） */
.att-punch-toolbar { display: flex; flex-wrap: nowrap; gap: 14px; align-items: flex-end; margin-bottom: 14px; }
.att-punch-toolbar .att-toolbar-field label { min-width: 34px; }
.att-punch-toolbar .att-select { min-width: 168px; width: 168px; }
.att-punch-toolbar .att-date { min-width: 150px; width: 150px; }
.att-punch-body { display: flex; gap: 16px; align-items: flex-start; }
/* 左列宽度 = 工具栏内容总宽（员工下拉210 + 间距14 + 月份控件192），使卡片右缘与月份选择器右缘对齐 */
.att-punch-left { flex: 0 0 416px; min-width: 0; }
/* 右列表格上移 48px（= 工具栏高 34 + 下边距 14），利用工具栏右侧空白使表顶与员工下拉框顶部对齐 */
.att-punch-right { flex: 1 1 auto; min-width: 0; margin-top: -48px; }
/* 打卡记录单元格可点击修改 */
.att-punch-cell.editable { cursor: pointer; transition: background .15s, box-shadow .15s; }
.att-punch-cell.editable:hover { background: rgba(47, 140, 245, 0.18); box-shadow: inset 0 0 0 1px #2f8cf5; }
.att-punch-cell-meta { margin-bottom: 12px; color: #9fb2c8; font-size: 0.85rem; }
/* 左侧：员工 + 打卡规则详情卡片 */
.att-punch-card { border: 1px solid #1f3147; border-radius: 10px; background: rgba(10, 18, 32, 0.4); padding: 14px 16px; }
.att-punch-card + .att-punch-card { margin-top: 14px; }
.att-punch-emp-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid #1f3147; }
.att-punch-avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #2f8cf5, #1b5ec9); }
.att-punch-emp-name { font-size: 1.02rem; font-weight: 700; color: #eaf0f8; }
.att-punch-emp-id { font-size: 0.75rem; color: #7b8fa8; margin-top: 2px; }
.att-punch-kv { display: grid; grid-template-columns: 74px 1fr; gap: 7px 10px; font-size: 0.83rem; }
.att-punch-kv dt { color: #7b8fa8; }
.att-punch-kv dd { margin: 0; color: #cbd8ea; word-break: break-all; }
.att-punch-sec-title { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 700; color: #eaf0f8; margin: 14px 0 10px; }
.att-punch-sec-title i { color: #2f8cf5; }
.att-punch-rule-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 700; color: #7ec2ff; background: rgba(47, 140, 245, 0.12); border: 1px solid #2f5c92; border-radius: 8px; padding: 4px 10px; }
.att-punch-seg { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(15, 27, 48, 0.55); margin-bottom: 6px; }
.att-punch-seg:last-child { margin-bottom: 0; }
.att-punch-seg-label { flex: 0 0 44px; font-size: 0.78rem; color: #8fa9cc; }
.att-punch-seg-time { font-size: 0.85rem; color: #eaf0f8; font-variant-numeric: tabular-nums; letter-spacing: 0.3px; }
.att-punch-seg-off { color: #5a6c82; font-size: 0.78rem; }
/* 右侧：月度打卡记录表 */
.att-punch-table-wrap { max-height: calc(100vh * 0.68); overflow: auto; border: 1px solid #1f3147; border-radius: 8px; background: rgba(10, 18, 32, 0.4); }
/* 表格铺满容器宽度：固定布局 + 100% 宽度，日期/星期/状态列定宽，其余列均分剩余空间 */
.att-punch-table-wrap table.data-table { width: 100%; min-width: 860px; margin: 0; table-layout: fixed; border-collapse: collapse; }
.att-punch-table-wrap thead th:nth-child(1) { width: 58px; }   /* 日期 */
.att-punch-table-wrap thead th:nth-child(2) { width: 62px; }   /* 星期 */
.att-punch-table-wrap thead th:nth-child(11) { width: 88px; }  /* 状态 */
.att-punch-table-wrap th,
.att-punch-table-wrap td { padding: 6px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; border: 1px solid #243a57; font-size: 0.83rem; }
.att-punch-table-wrap thead th { position: sticky; top: 0; z-index: 1; background: #0f1b30; border-bottom: 1px solid #2f4a6e; }
.att-punch-table-wrap tbody td.att-punch-date { color: #8fa9cc; font-variant-numeric: tabular-nums; }
.att-punch-table-wrap tbody td.att-punch-week { color: #7b8fa8; }
.att-st { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.att-st-ok { color: #4ade80; background: rgba(74, 222, 128, 0.1); }
.att-st-late { color: #fbbf24; background: rgba(251, 191, 36, 0.12); }
.att-st-absent { color: #f87171; background: rgba(248, 113, 113, 0.12); }
.att-st-rest { color: #7b8fa8; background: rgba(123, 143, 168, 0.1); }
.att-st-half { color: #38bdf8; background: rgba(56, 189, 248, 0.1); }
.att-st-free { color: #a78bfa; background: rgba(167, 139, 250, 0.1); }
.att-punch-hint { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 160px; color: #7b8fa8; font-size: 0.85rem; }
.att-punch-hint i { color: #2f8cf5; }
/* 考勤设置 tab：左右分栏（打卡规则下拉 + 适用员工列表 | 规则详情预留） */
.att-pane[data-pane="setting"].active { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.att-setting-layout { flex: 1 1 auto; min-height: 0; display: flex; gap: 16px; }
.att-setting-left { flex: 1 1 62%; min-width: 0; display: flex; flex-direction: column; border: 1px solid #1f3147; border-radius: 10px; background: rgba(10, 18, 32, 0.4); overflow: hidden; }
.att-setting-toolbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; flex-shrink: 0; border-bottom: 1px solid #1f3147; background: rgba(15, 27, 48, 0.6); }
.att-setting-toolbar i { color: #2f8cf5; }
.att-setting-toolbar .resume-select { flex: 0 1 340px; }
.att-setting-table-wrap { flex: 1; min-height: 0; overflow: auto; }
.att-setting-table-wrap table.data-table { width: 100%; min-width: 760px; table-layout: fixed; }
.att-setting-table-wrap th,
.att-setting-table-wrap td { padding: 8px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.att-setting-table-wrap thead th { position: sticky; top: 0; z-index: 1; background: #0f1b30; }
.att-setting-table-wrap thead th:nth-child(1) { width: 12%; }
.att-setting-table-wrap thead th:nth-child(2) { width: 11%; }
.att-setting-table-wrap thead th:nth-child(3) { width: 16%; }
.att-setting-table-wrap thead th:nth-child(4) { width: 16%; }
.att-setting-table-wrap thead th:nth-child(5) { width: 16%; }
.att-setting-table-wrap thead th:nth-child(6) { width: 15%; }
.att-setting-table-wrap thead th:nth-child(7) { width: 14%; }
.att-setting-table-wrap .resume-hint { padding: 24px 0; }
.att-setting-right { flex: 0 0 30.4%; min-width: 0; display: flex; flex-direction: column; border: 1px solid #1f3147; border-radius: 10px; background: rgba(10, 18, 32, 0.4); overflow: auto; }
.att-setting-right .resume-hint { min-height: 100%; }
.att-rule-note-title {
    font-weight: 600;
    color: #cfe0f2;
    margin: 14px 0 6px;
}
.att-rule-note-list {
    margin: 0;
    padding-left: 20px;
    font-size: 0.78rem;
    line-height: 1.7;
    color: #9fb2c8;
}
.att-rule-note-list {
    margin: 0;
    padding-left: 20px;
}
.att-rule-note-list li {
    margin-bottom: 4px;
}
/* 考勤设置：员工列表行可点击（弹出修改打卡规则弹窗） */
.att-setting-table-wrap tbody tr.att-rule-row { cursor: pointer; transition: background 0.15s; }
.att-setting-table-wrap tbody tr.att-rule-row:hover { background: rgba(47, 140, 245, 0.08); }
/* 修改打卡规则弹窗：员工信息只读网格 */
.att-rule-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; background: rgba(15, 27, 48, 0.6); border: 1px solid #1f3147; border-radius: 12px; padding: 12px 14px; }
.att-rule-meta > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.att-rule-meta label { font-size: 0.75rem; color: #8fa9cc; }
.att-rule-meta span { font-size: 0.92rem; color: #eaf0f8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att-rule-current { display: flex; align-items: center; gap: 8px; background: #0f1b30; border: 1px solid #28344a; border-radius: 12px; padding: 12px 14px; color: #9bb9e6; font-size: 0.95rem; }
.att-rule-current i { color: #f59e0b; }
/* 右侧：打卡规则设置表单 */
.att-rule-form { flex: 1; min-height: 0; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.att-rule-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.att-rule-line-label { font-size: 0.85rem; color: #9bb9e6; font-weight: 700; flex: 0 0 auto; }
.att-radio { display: inline-flex; align-items: center; gap: 6px; color: #cbd8ea; font-size: 0.88rem; cursor: pointer; }
.att-radio input { accent-color: #2f8cf5; width: 15px; height: 15px; cursor: pointer; }
.att-point-head { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; letter-spacing: 2px; color: #6f87a8; border-bottom: 1px dashed #1c2c44; padding-bottom: 5px; }
.att-point-head i { color: #f59e0b; }
.att-point-head .fa-cloud-sun { color: #60a5fa; }

/* 岗位价值评估卡片：左右布局 */
.job-eval-container { display: flex; gap: 16px; min-height: 500px; }
.job-eval-left { flex: 0 0 40%; display: flex; flex-direction: column; gap: 14px; }
.job-eval-right { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.job-eval-box { border: 1px solid #1f3147; border-radius: 10px; background: rgba(10, 18, 32, 0.4); display: flex; flex-direction: column; overflow: hidden; }

/* 评估得分对比表格 */
.job-eval-table-wrap { overflow: auto; max-width: 100%; }
.job-eval-table { border-collapse: collapse; font-size: 0.78rem; width: max-content; min-width: 100%; }
.job-eval-table th, .job-eval-table td { border: 1px solid #1f3147; padding: 6px 8px; text-align: center; white-space: nowrap; }
.job-eval-table thead th { background: rgba(15, 27, 48, 0.85); color: #8fa9cc; font-weight: 600; position: sticky; top: 0; z-index: 2; }
.job-eval-table tbody td { color: #cbd8ea; background: rgba(10, 18, 32, 0.3); }
.job-eval-table tbody tr:nth-child(2) td { background: rgba(15, 27, 48, 0.4); }
.job-eval-table .sticky-col { position: sticky; left: 0; z-index: 3; background: rgba(15, 27, 48, 0.9) !important; font-weight: 600; color: #eaf0f8; min-width: 100px; }
.job-eval-table .sticky-col-2 { position: sticky; left: 100px; z-index: 3; background: rgba(15, 27, 48, 0.9) !important; font-weight: 600; color: #eaf0f8; min-width: 70px; }
.job-eval-table thead th.sticky-col, .job-eval-table thead th.sticky-col-2 { z-index: 4; background: rgba(15, 27, 48, 0.95) !important; }
.job-eval-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.job-eval-tag.std { background: rgba(47, 140, 245, 0.15); color: #2f8cf5; border: 1px solid rgba(47, 140, 245, 0.3); }
.job-eval-tag.eval { background: rgba(34, 197, 94, 0.15); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.3); }

/* 评估因素详情 */
.job-eval-cat { margin-bottom: 16px; }
.job-eval-cat-title { font-size: 0.92rem; font-weight: 700; color: #2f8cf5; margin-bottom: 8px; padding: 6px 0; border-bottom: 1px solid #1f3147; }
.job-eval-dim { margin-bottom: 12px; border: 1px solid #1f3147; border-radius: 8px; padding: 10px 12px; background: rgba(15, 27, 48, 0.3); }
.job-eval-dim-title { font-size: 0.85rem; font-weight: 600; color: #8fa9cc; margin-bottom: 6px; }
.job-eval-dim-def { font-size: 0.8rem; color: #6f87a8; margin-bottom: 8px; line-height: 1.5; }
.job-eval-levels { display: flex; flex-direction: column; gap: 4px; }
.job-eval-level { display: flex; gap: 8px; align-items: flex-start; font-size: 0.78rem; color: #cbd8ea; padding: 3px 6px; border-radius: 4px; }
.job-eval-level:nth-child(odd) { background: rgba(10, 18, 32, 0.3); }
.job-eval-level-num { flex: 0 0 28px; font-weight: 600; color: #2f8cf5; }
.job-eval-level-score { flex: 0 0 36px; font-weight: 600; color: #f59e0b; }
.job-eval-level-desc { flex: 1; line-height: 1.4; }

/* 逐题评估 */
.job-eval-nav { display: flex; justify-content: space-between; padding: 10px 14px; border-top: 1px solid #1f3147; background: rgba(15, 27, 48, 0.6); flex-shrink: 0; }
.job-eval-nav-inline { display: inline-flex; align-items: center; gap: 8px; }
.job-eval-nav button:disabled { opacity: 0.4; cursor: not-allowed; }
.job-eval-progress { font-size: 0.8rem; color: #8fa9cc; font-weight: 600; }
.job-eval-q-def { font-size: 0.82rem; color: #8fa9cc; line-height: 1.5; margin-bottom: 14px; padding: 8px 10px; background: rgba(15, 27, 48, 0.4); border-radius: 6px; border-left: 3px solid #2f8cf5; }
.job-eval-q-options { display: flex; flex-direction: column; gap: 8px; }
.job-eval-q-option { display: flex; align-items: flex-start; gap: 10px; border: 1px solid #1f3147; border-radius: 8px; padding: 10px 12px; background: rgba(10, 18, 32, 0.3); cursor: pointer; transition: all 0.15s; }
.job-eval-q-option:hover { border-color: #2f8cf5; background: rgba(47, 140, 245, 0.08); }
.job-eval-q-option.selected { border-color: #22c55e; background: rgba(34, 197, 94, 0.1); }
.job-eval-q-opt-level { font-size: 0.8rem; font-weight: 700; color: #2f8cf5; flex: 0 0 auto; white-space: nowrap; }
.job-eval-q-opt-score { font-size: 0.8rem; font-weight: 700; color: #f59e0b; flex: 0 0 auto; white-space: nowrap; }
.job-eval-q-opt-desc { font-size: 0.8rem; color: #cbd8ea; line-height: 1.5; flex: 1 1 auto; }
#jobEvalQuestion { display: flex; flex-direction: column; }
#jobEvalQuestion .job-eval-q-def { flex-shrink: 0; }
#jobEvalQuestion .job-eval-q-options { flex: 1; min-height: 0; }
.job-eval-left .job-eval-box { flex: 1 1 auto; min-height: 0; }
.job-eval-header { display: flex; align-items: center; gap: 10px; padding: 10px 14px; flex-shrink: 0; border-bottom: 1px solid #1f3147; background: rgba(15, 27, 48, 0.6); }
.job-eval-header label { font-size: 0.85rem; color: #8fa9cc; font-weight: 600; white-space: nowrap; }
.job-eval-header .att-select { flex: 1 1 auto; min-width: 0; }
.job-eval-content { flex: 1; min-height: 0; overflow: auto; padding: 12px 14px; }
.job-eval-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 140px; color: #6f87a8; font-size: 0.85rem; text-align: center; }
.job-eval-empty i { color: #2f8cf5; font-size: 1.6rem; }
.job-eval-info-item { display: flex; gap: 8px; margin-bottom: 10px; }
.job-eval-info-item label { flex: 0 0 80px; font-size: 0.82rem; color: #8fa9cc; font-weight: 600; }
.job-eval-info-item .value { flex: 1; font-size: 0.88rem; color: #eaf0f8; line-height: 1.5; }
.job-eval-section { margin-bottom: 14px; }
.job-eval-section-title { font-size: 0.85rem; font-weight: 600; color: #2f8cf5; margin-bottom: 6px; padding-bottom: 4px; border-bottom: 1px dashed #1c2c44; }
.job-eval-section-body { font-size: 0.85rem; color: #cbd8ea; line-height: 1.6; }
.att-point-head .fa-moon { color: #a78bfa; }
.att-rule-point-line { display: flex; align-items: center; gap: 10px; background: rgba(15, 27, 48, 0.5); border: 1px solid #1f3147; border-radius: 8px; padding: 6px 12px; transition: opacity 0.15s, border-color 0.15s; }
.att-rule-point-line .att-rule-time { flex: 0 0 120px; }
.att-rule-point-name { flex: 1; min-width: 0; font-size: 0.86rem; color: #cbd8ea; font-weight: 600; }
.att-point-state { flex: 0 0 40px; font-size: 0.72rem; color: #2f8cf5; text-align: right; }
.att-rule-point-line.att-point-off { opacity: 0.55; border-style: dashed; }
.att-rule-point-line.att-point-off .att-point-state { color: #7b8fa8; }
.att-switch { position: relative; display: inline-flex; flex: 0 0 auto; cursor: pointer; }
.att-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.att-switch-track { width: 36px; height: 20px; border-radius: 999px; background: #2a3652; position: relative; transition: background 0.15s; }
.att-switch-track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #cfdcea; transition: transform 0.15s; }
.att-switch input:checked + .att-switch-track { background: #2f8cf5; }
.att-switch input:checked + .att-switch-track::after { transform: translateX(16px); background: #fff; }
.att-rule-form .form-row { margin: 0; }
.att-rule-form input[type="time"] { color-scheme: dark; }
.att-rule-form input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(0.75); cursor: pointer; }
.att-rule-form input:disabled { opacity: 0.45; cursor: not-allowed; }
.att-rule-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid #1f3147; }
.att-rule-actions .btn-primary,
/* ===== 流程数据页面：左 30% 按钮列 + 右 70% 数据列表（左右均无容器） ===== */
.wfdata-layout {
    display: flex;
    gap: 20px;
    align-items: stretch;
    min-height: 620px;
}
.wfdata-left {
    flex: 0 0 30%;
    max-width: 30%;
    display: flex;
    flex-direction: column;
    padding-top: 4px;
}
.wfdata-btn-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
/* 复用项目统一胶囊按钮（.btn-secondary），仅调整尺寸以适配三列 */
.wfdata-btn {
    width: 100%;
    padding: 9px 4px;
    font-size: 0.82rem;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
}
.wfdata-btn.active {
    background: linear-gradient(135deg, #2f8cf5, #1a5fc7);
    border-color: transparent;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 0 16px rgba(47, 140, 245, 0.4);
}
.wfdata-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wfdata-result-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e5e7eb;
    padding: 2px 2px 8px;
}
.wfdata-result-head i { color: #2f8cf5; }
.wfdata-result-body { flex: 1; overflow: auto; min-height: 420px; max-height: 68vh; }
.wfdata-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 10px;
    border-top: 1px solid #1f3147;
}
.wfdata-actions .btn-primary,
.wfdata-actions .btn-secondary { padding: 9px 18px; font-size: 0.85rem; }
.wfdata-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    min-height: 300px;
    color: #6b7280;
}
.wfdata-placeholder i { font-size: 2rem; color: #2f8cf5; }
.wfdata-tip {
    font-size: 0.8rem;
    color: #7b8fa8;
    margin-bottom: 10px;
    line-height: 1.7;
}
.wfdata-tip.warn { color: #fbbf24; }
.wfdata-table-wrap { overflow: auto; }
.wfdata-table-wrap table.data-table { width: 100%; min-width: 640px; }
.wfdata-table-wrap th,
.wfdata-table-wrap td { padding: 8px 10px; white-space: nowrap; }
.wfdata-table-wrap thead th { position: sticky; top: 0; z-index: 1; background: #0f1b30; }
.wfdata-range-form { display: flex; flex-direction: column; gap: 14px; }
.wfdata-range-row { display: flex; align-items: center; gap: 12px; }
.wfdata-range-row label { color: #9bb9e6; font-size: 0.85rem; min-width: 70px; }
.wfdata-range-row input[type="date"] {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #1f3147;
    background: #0f1b30;
    color: #e5e7eb;
    font-size: 0.9rem;
}

.att-rule-actions .btn-secondary { padding: 9px 18px; font-size: 0.85rem; }
.att-rule-actions .btn-danger { padding: 9px 18px; font-size: 0.85rem; }
.att-rule-del-tip {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.85rem;
    line-height: 1.7;
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 8px;
    padding: 10px 12px;
}
.att-rule-del-tip i { margin-top: 3px; }

/* 员工调岗卡片 - 待办理调岗列表 */
.transfer-list-wrap {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #1f3147;
    border-radius: 10px;
    background: rgba(10, 18, 32, 0.4);
    margin-bottom: 12px;
    max-height: none;
}
.transfer-list-title {
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #9bb9e6;
    background: #0f1b30;
    border-bottom: 1px solid #1f3147;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.transfer-list-title i { color: #2f8cf5; }
.transfer-list-title span { display: inline-flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.transfer-list-scroll { flex: 1; min-height: 0; overflow: auto; }
.transfer-list-scroll table.data-table { width: 100%; table-layout: fixed; }
.transfer-list-scroll th,
.transfer-list-scroll td { padding: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.transfer-list-scroll thead th { position: sticky; top: 0; z-index: 1; background: #0f1b30; }
/* 待办理调岗表：宽度撑满卡片，不出现横向滚动条 */
.transfer-pending-wrap { max-height: none; }
.transfer-pending-scroll table.data-table { width: 100%; table-layout: fixed; }
.transfer-pending-scroll th,
.transfer-pending-scroll td { padding: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 操作列固定宽度，保证按钮完整显示 */
.transfer-pending-scroll thead th:last-child,
.transfer-pending-scroll tbody td:last-child { width: 120px; white-space: nowrap; }
/* 待办理列表下方：左右分区（左=办理调岗，右=查询调岗信息） */
.transfer-split { display: flex; gap: 14px; margin-top: 12px; align-items: flex-start; }
.transfer-split-left,
.transfer-split-right { flex: 1; min-width: 0; }
.transfer-panel-title {
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #9bb9e6;
    background: #0f1b30;
    border: 1px solid #1f3147;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.transfer-panel-title i { color: #2f8cf5; }
/* 调岗办理面板（点击列表行后在下方展开） */
.transfer-detail {
    margin-top: 0;
    border: 1px solid #1f3147;
    border-radius: 0 0 10px 10px;
    background: rgba(10, 18, 32, 0.4);
    padding: 12px;
}
.transfer-query {
    border: 1px solid #1f3147;
    border-radius: 0 0 10px 10px;
    background: rgba(10, 18, 32, 0.4);
    padding: 12px;
}
.transfer-panel-title > span { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 6px; }
.transfer-query-label { color: #7b8fa8; font-size: 0.78rem; font-weight: 400; white-space: nowrap; }
.transfer-panel-title .transfer-query-emp { flex: 0 0 46%; min-width: 120px; }
.transfer-query-emp {
    background: #0f1b30;
    border: 1px solid #1f3147;
    border-radius: 6px;
    color: #e5e7eb;
    font-size: 12px;
    padding: 5px 6px;
}
.transfer-query-result { max-height: 260px; overflow: auto; }
.transfer-query-result table.data-table { width: 100%; }
.transfer-query-result th,
.transfer-query-result td { padding: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 员工调岗卡片：整体间距加大，避免拥挤 */
.transfer-card { padding: 28px 32px; }
.transfer-card .transfer-list-wrap { margin-bottom: 20px; }
.transfer-card .transfer-list-title,
.transfer-card .transfer-panel-title { padding: 12px 16px; font-size: 0.85rem; }
.transfer-card .transfer-list-scroll th,
.transfer-card .transfer-list-scroll td { padding: 11px 12px; }
.transfer-card .transfer-split { margin-top: 22px; gap: 24px; }
.transfer-card .transfer-detail,
.transfer-card .transfer-query { padding: 18px 20px; }
.transfer-card .tp-detail-grid { gap: 18px 22px; }
.transfer-card .tp-detail-item label { margin-bottom: 7px; font-size: 0.8rem; }
.transfer-card .tp-detail-actions { margin-top: 20px; }
.transfer-card .transfer-query-result { max-height: 300px; }
.transfer-card .tp-date,
.transfer-card .tp-dept,
.transfer-card .tp-pos,
.transfer-card .transfer-query-emp { padding: 8px 10px; font-size: 12.5px; }
.tp-detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 14px; }
.tp-detail-item label { display: block; color: #7b8fa8; font-size: 0.78rem; margin-bottom: 4px; }
.tp-detail-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.transfer-pending-scroll tr.tp-row { cursor: pointer; }
.transfer-pending-scroll tr.tp-row:hover { background: rgba(47, 140, 245, 0.07); }
.transfer-pending-scroll tr.tp-row-active { background: rgba(47, 140, 245, 0.16); }
.tp-date,
.tp-dept,
.tp-pos {
    width: 100%;
    box-sizing: border-box;
    background: #0f1b30;
    border: 1px solid #1f3147;
    border-radius: 6px;
    color: #e5e7eb;
    font-size: 12px;
    padding: 4px 6px;
    color-scheme: dark;
}
.tp-confirm-btn { white-space: nowrap; }
.prob-bottom { flex: 1; min-height: 0; display: flex; flex-direction: column; padding-top: 12px; }
.prob-split { display: flex; gap: 14px; flex: 1; min-height: 0; }
.prob-left,
.prob-right { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #1f3147; border-radius: 10px; background: rgba(10, 18, 32, 0.4); }
.prob-profile { flex: 1; min-height: 0; overflow: auto; padding: 8px 4px 4px; }
.prob-uploads { flex: 1; min-height: 0; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; align-content: flex-start; }
.prob-upload-item { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.prob-upload-item label { color: #9bb9e6; font-size: 0.82rem; font-weight: 600; }
.prob-pick-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; border: 1px dashed #2a4a75; background: rgba(15, 27, 48, 0.6); color: #9bb9e6; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.prob-pick-btn:hover { border-color: #2f8cf5; color: #fff; background: rgba(47, 140, 245, 0.15); }
.prob-file-name { color: #7b8fa8; font-size: 0.8rem; }
.prob-file-name.pending { color: #fbbf24; }
.prob-file-name.uploaded { color: #4ade80; }
.prob-upload-tip { color: #5c7189; font-size: 0.75rem; line-height: 1.6; }
.prob-actions { display: flex; gap: 10px; justify-content: flex-end; padding: 10px 12px; border-top: 1px solid #1f3147; background: #0f1b30; flex-shrink: 0; }
.prob-actions .btn-secondary,
.prob-actions .btn-primary { font-size: 0.8rem; padding: 7px 14px; }
.resign-pending-scroll tr.rp-row { cursor: pointer; }
.resign-pending-scroll tr.rp-row:hover { background: rgba(47, 140, 245, 0.07); }
.resign-pending-scroll tr.rp-row-active { background: rgba(47, 140, 245, 0.16); }
.resign-file-btn { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 6px; border: 1px solid rgba(47, 140, 245, 0.5); background: transparent; color: #6db1f7; font-size: 0.75rem; cursor: pointer; }
.resign-file-btn:hover { background: rgba(47, 140, 245, 0.15); color: #8abcfc; }
.resign-query-scroll tr.rq-row { cursor: pointer; }
.resign-query-scroll tr.rq-row:hover { background: rgba(47, 140, 245, 0.07); }
.resign-query-scroll tr.rq-row-active { background: rgba(47, 140, 245, 0.16); }
/* 左右分栏：左 50% 人员登记表 + 文件按钮，右 50% PDF 预览插件 */
.resign-query-layout { display: flex; gap: 14px; flex: 1; min-height: 0; }
.resign-query-left { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.resign-query-profile { flex: 1; min-height: 0; overflow: auto; padding: 8px 4px 4px; }
.resign-query-files-pane { display: flex; flex-direction: column; flex: 0 0 auto; max-height: 200px; border: 1px solid #1f3147; border-radius: 10px; background: rgba(10, 18, 32, 0.4); overflow: hidden; }
.resign-query-files-title { padding: 8px 12px; font-size: 0.82rem; font-weight: 600; color: #9bb9e6; background: #0f1b30; border-bottom: 1px solid #1f3147; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.resign-query-files-title i { color: #2f8cf5; }
.resign-query-files-buttons { padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 8px; overflow: auto; align-content: flex-start; }
.resign-file-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.resign-pdf-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #1f3147; border-radius: 10px; background: rgba(10, 18, 32, 0.4); }
.resign-pdf-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #0f1b30; border-bottom: 1px solid #1f3147; font-size: 0.82rem; color: #eaf0f8; }
.resign-pdf-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.resign-pdf-name i { color: #2f8cf5; margin-right: 6px; }
.resign-pdf-body { flex: 1; min-height: 0; display: flex; background: #0b1728; }
.resign-pdf-frame { flex: 1; width: 100%; height: 100%; border: 0; background: #fff; }
.resign-pdf-img { margin: auto; max-width: 100%; max-height: 100%; object-fit: contain; }

/* ========== 岗位面试 tab（左：候选人列表 + AI 面试题 + 结论；右：简历显示） ========== */
.recruit-pane.active[data-pane="interview"] {
    overflow: hidden;
}
.interview-layout {
    display: flex;
    gap: 16px;
    flex: 1;
    min-height: 0;
}
.interview-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.interview-cand-head,
.ai-question-head {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #9bb9e6;
}
/* 岗位面试：面试岗位下拉（候选列表上方） */
.interview-pos-toolbar {
    flex-shrink: 0;
}
.interview-pos-toolbar .resume-select {
    min-width: 0;
}
.interview-cand-head i,
.ai-question-head i { color: #2f8cf5; }
.ai-question-sub {
    color: #7b8fa8;
    font-weight: 400;
    font-size: 0.78rem;
    margin-left: 4px;
}
.interview-cand-wrap {
    flex: 1.35;
    min-height: 130px;
    overflow: auto;
    border: 1px solid #1f3147;
    border-radius: 10px;
    background: rgba(10, 18, 32, 0.4);
}
/* 列表宽度严格跟随左侧显示区：固定布局 + 百分比列宽，超长内容省略号 */
.interview-cand-wrap table.data-table { width: 100%; min-width: 0; table-layout: fixed; }
.interview-cand-wrap th,
.interview-cand-wrap td { padding: 10px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.interview-cand-wrap thead th:nth-child(1) { width: 20%; }
.interview-cand-wrap thead th:nth-child(2) { width: 24%; }
.interview-cand-wrap thead th:nth-child(3) { width: 10%; }
.interview-cand-wrap thead th:nth-child(4) { width: 18%; }
.interview-cand-wrap thead th:nth-child(5) { width: 28%; }
.interview-cand-wrap thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #0f1b30;
}
.interview-cand-wrap tr.cand-row { cursor: pointer; }
.interview-cand-wrap tr.cand-row:hover { background: rgba(47, 140, 245, 0.07); }
.interview-cand-wrap tr.cand-row-active { background: rgba(47, 140, 245, 0.16); }
.interview-result-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    border: 1px solid;
    white-space: nowrap;
}
.interview-result-tag.none {
    color: #8aa0bb;
    border-color: #31445e;
    background: rgba(120, 140, 160, 0.08);
}
.interview-result-tag.elim {
    color: #f87171;
    border-color: #7f1d1d;
    background: rgba(239, 68, 68, 0.12);
}
.interview-result-tag.second {
    color: #60a5fa;
    border-color: #1e40af;
    background: rgba(59, 130, 246, 0.12);
}
.interview-result-tag.pass {
    color: #4ade80;
    border-color: #166534;
    background: rgba(34, 197, 94, 0.12);
}
.ai-question-box {
    flex: 1;
    min-height: 110px;
    overflow: auto;
    border: 1px solid #1f3147;
    border-radius: 10px;
    background: rgba(10, 18, 32, 0.4);
    padding: 12px 14px;
    color: #b6c6da;
}
.ai-q-loading,
.ai-q-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #7b8fa8;
    text-align: center;
    padding: 22px;
    font-size: 0.86rem;
}
.ai-q-loading i,
.ai-q-empty i { font-size: 1.6rem; color: #2f8cf5; }
.ai-q-empty p { margin: 0; }
.iq-cat {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #eaf0f8;
}
.iq-cat:first-child { margin-top: 0; }
.iq-cat-no {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(47, 140, 245, 0.16);
    border: 1px solid rgba(47, 140, 245, 0.4);
    color: #2f8cf5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}
.iq-list { padding-left: 28px; }
.iq-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 4px 0;
    line-height: 1.7;
    font-size: 0.85rem;
    color: #b6c6da;
}
.iq-q-no {
    color: #2f8cf5;
    font-weight: 600;
    flex-shrink: 0;
}
.interview-result-bar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(18, 30, 50, 0.5);
    border: 1px solid #1f3147;
    border-radius: 10px;
    padding: 9px 14px;
}
.ir-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9bb9e6;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}
.ir-label i { color: #2f8cf5; }
.ir-opt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b6c6da;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
}
.ir-opt input {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #3b82f6;
}
.ir-opt input[value="淘汰"] { accent-color: #ef4444; }
.ir-opt input[value="合格"] { accent-color: #22c55e; }
.ir-opt:has(input:disabled) {
    opacity: 0.45;
    cursor: not-allowed;
}
.ir-current {
    margin-left: auto;
    color: #2f8cf5;
    font-size: 0.85rem;
    white-space: nowrap;
}
.ir-current:empty { display: none; }
.interview-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #1f3147;
    border-radius: 10px;
    background: rgba(10, 18, 32, 0.4);
    overflow: hidden;
}
.interview-detail-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: auto;
}
.interview-detail-body .resume-hint { min-height: 100%; }
.interview-detail-body .resume-card { flex: none; width: 100%; }
/* 面试记录输入行（简历显示区最下方） */
.interview-note-bar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-top: 1px solid #1f3147;
    background: rgba(18, 30, 50, 0.55);
}
.interview-note-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9bb9e6;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}
.interview-note-label i { color: #2f8cf5; }
.interview-note-input {
    flex: 1;
    min-width: 0;
    height: 36px;
    max-height: 96px;
    padding: 6px 12px;
    border: 1px solid #1f3147;
    border-radius: 8px;
    background: rgba(6, 12, 22, 0.6);
    color: #dbe7f5;
    font-size: 0.85rem;
    line-height: 1.5;
    resize: vertical;
    outline: none;
}
.interview-note-input:focus { border-color: rgba(47, 140, 245, 0.6); }
.interview-note-input::placeholder { color: #5c7189; }
.interview-note-input:disabled { opacity: 0.55; }
.interview-note-voice {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #1f3147;
    background: rgba(47, 140, 245, 0.12);
    color: #2f8cf5;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.interview-note-voice:hover:not(:disabled) { background: rgba(47, 140, 245, 0.25); }
.interview-note-voice:disabled { opacity: 0.4; cursor: not-allowed; }
.interview-note-voice:focus { outline: none; }
.interview-note-voice:focus-visible { outline: 2px solid rgba(47, 140, 245, 0.5); outline-offset: 2px; }
.interview-note-voice.recording {
    color: #fff;
    background: #ef4444;
    border-color: #ef4444;
    animation: note-mic-pulse 1.2s ease-in-out infinite;
}
@keyframes note-mic-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
    50% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
}
.interview-note-voice-status {
    color: #ef4444;
    font-size: 0.78rem;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.interview-note-voice-status:empty { display: none; }

@media (max-width: 1100px) {
    .overview-layout { flex-direction: column; height: auto; }
    .overview-menu { width: 100%; position: static; max-height: 260px; }
    .overview-stage { height: auto; overflow: visible; }
}

/* 招聘管理容器（recruit-mode）在窄窗口下仍保持固定高度、左右分栏内部各自滚动 */
@media (max-width: 1100px) {
    .overview-layout:has(#employeeOverviewStage.recruit-mode) {
        flex-direction: row;
        height: 100%;
        min-height: 0;
    }
    .overview-layout:has(#employeeOverviewStage.recruit-mode) .overview-menu {
        width: 148.8px;
        flex-shrink: 0;
        max-height: 100%;
        position: sticky;
        top: 0;
    }
    .overview-layout:has(#employeeOverviewStage.recruit-mode) .overview-stage {
        height: 100%;
        overflow: hidden;
    }
}


/* ========== 劳动合同卡片：左侧员工选择（可输入可下拉） + 右侧合同 PDF 预览 ========== */
.contract-viewer {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    gap: 18px;
    align-items: stretch;
}
.contract-picker {
    /* 左侧显示区：与右侧等分（各 50%），宽度不受下拉框宽度影响 */
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* 「选择员工」标签与下拉框同一行 */
.contract-picker-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.contract-picker-label {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 600;
    color: #9bb9e6;
}

/* 员工选择：输入 + 下拉候选（宽度独立设定，不参与左右分栏计算） */
.emp-combobox {
    position: relative;
    width: 200px;
    max-width: 100%;
}
.emp-combobox-input {
    width: 100%;
    box-sizing: border-box;
    height: 38px;
    padding: 6px 40px 6px 14px;
    border: 1px solid #1f3147;
    border-radius: 10px;
    background: rgba(6, 12, 22, 0.6);
    color: #dbe7f5;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.emp-combobox-input:focus {
    border-color: rgba(47, 140, 245, 0.6);
    box-shadow: 0 0 0 3px rgba(47, 140, 245, 0.15);
}
.emp-combobox-input::placeholder { color: #5c7189; }
.emp-combobox-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #7b8fa8;
    cursor: pointer;
    transition: all 0.2s;
}
.emp-combobox-toggle:hover { color: #6db1f7; background: rgba(47, 140, 245, 0.12); }
.emp-combobox-list {
    display: none;
    position: absolute;
    z-index: 40;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #0d1b2a;
    border: 1px solid #28344a;
    border-radius: 12px;
    box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.75);
    scrollbar-width: thin;
}
.emp-combobox-list.open { display: block; }
.emp-combobox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #cbd8ea;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.emp-combobox-item i { color: #5c7a9a; font-size: 0.78rem; }
.emp-combobox-item:hover,
.emp-combobox-item.active { background: rgba(47, 140, 245, 0.16); color: #eaf0f8; }
.emp-combobox-empty {
    padding: 10px;
    text-align: center;
    color: #5c7189;
    font-size: 0.8rem;
}

/* 员工定薪宽表：呈现为带网格的表格，数字输入框融入单元格 */
#payrollSalaryTable {
    border: 1px solid #1f3147;
    border-collapse: collapse;
}
#payrollSalaryTable th, #payrollSalaryTable td {
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #1f3147;
    padding: 6px 4px;
}
#payrollSalaryTable th {
    background: rgba(47, 140, 245, 0.08);
    color: #8aacd0;
    font-weight: normal;
}
#payrollSalaryTable td .emp-info-input {
    background: transparent;
    border: none;
    text-align: center;
    padding: 4px 2px;
    min-width: 56px;
    color: #e8f0fb;
}
#payrollSalaryTable td .emp-info-input:focus {
    background: rgba(47, 140, 245, 0.12);
    border-radius: 4px;
    outline: none;
}
#payrollSalaryTable td.payroll-cell-display {
    color: #e8f0fb;
    font-weight: normal;
}

/* 右侧 PDF 预览区（与左侧等分，各 50%） */
.contract-pdf-pane {
    flex: 1 1 0;
    min-width: 0;
    min-height: 460px;
    display: flex;
    overflow: hidden;
    border: 1px solid #1f3147;
    border-radius: 14px;
    background: rgba(10, 18, 32, 0.5);
}
.contract-pdf-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
    color: #5c7a9a;
}
.contract-pdf-empty i { font-size: 2.2rem; color: #2f8cf5; opacity: 0.75; }
.contract-pdf-empty p { margin: 0; font-size: 0.88rem; }
.contract-pdf-frame {
    flex: 1;
    width: 100%;
    min-height: 460px;
    border: none;
    background: #fff;
}

@media (max-width: 900px) {
    .contract-viewer { flex-direction: column; }
    .contract-picker { flex: 0 0 auto; min-width: 0; }
    .contract-pdf-pane { min-height: 380px; }
    .contract-pdf-frame { min-height: 380px; }
}

/* ========== 合同到期列表（左侧下方，30 天内到期） ========== */
.contract-expire-block {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}
.contract-expire-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #9bb9e6;
}
.contract-expire-head i { color: #f59e0b; margin-right: 4px; }
.contract-expire-count {
    padding: 2px 9px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 500;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.35);
    white-space: nowrap;
}
.contract-expire-scroll {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 330px;
    overflow: auto;
}
.contract-expire-table {
    width: 100%;
    min-width: 860px;   /* 9 列：容器较窄时横向滚动 */
    font-size: 0.78rem;
}
.contract-expire-table th,
.contract-expire-table td {
    padding: 8px 10px;
    white-space: nowrap;
}
.contract-expire-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #0d1a2e;
}
.contract-expire-row { cursor: pointer; }
.contract-expire-row:hover { background: rgba(47, 140, 245, 0.12) !important; }
.contract-expire-days {
    margin-left: 6px;
    font-size: 0.72rem;
    color: #fbbf24;
}
.contract-expire-empty {
    padding: 16px 10px !important;
    text-align: center;
    color: #5c7189;
}

/* ==================== 员工姓名组合框（可输入筛选 + 下拉选择） ==================== */
.emp-combo-list {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.emp-combo-item {
    padding: 8px 12px;
    font-size: 0.88rem;
    color: #d6e2f3;
    cursor: pointer;
    border-bottom: 1px solid #16283f;
}
.emp-combo-item:last-child { border-bottom: none; }
.emp-combo-item:hover { background: rgba(47, 140, 245, 0.16); }
.emp-combo-empty {
    padding: 12px;
    font-size: 0.85rem;
    color: #5c7189;
    text-align: center;
}

/* ==================== 入职登记表：文档材料按钮 ==================== */
.emp-onboard-block {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}
.emp-doc-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px 10px;
}
.emp-doc-btn {
    padding: 7px 16px;
    border: 1px solid #1f3147;
    border-radius: 18px;
    background: rgba(15, 27, 48, 0.6);
    color: #cfe0f5;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all .15s ease;
}
.emp-doc-btn:hover {
    background: rgba(47, 140, 245, 0.18);
    border-color: #3a6ea5;
    color: #ffffff;
}
.emp-doc-btn.active {
    background: rgba(47, 140, 245, 0.32);
    border-color: #4f8fd6;
    color: #ffffff;
}
/* 修改档案：黄色按钮 */
.btn-archive-edit {
    padding: 8px 18px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a2e;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
}
.btn-archive-edit:hover {
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.45);
    transform: translateY(-1px);
}

/* ===== 员工离职弹窗 ===== */
.emp-leave-emp {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    font-size: 0.88rem;
    color: #9bb9e6;
    background: rgba(15, 27, 48, 0.6);
    border: 1px solid #1f3147;
    border-radius: 8px;
    padding: 10px 12px;
}
.emp-leave-emp b { color: #e5e7eb; }
.emp-leave-status { margin-left: auto; color: #fbbf24; }
.emp-leave-form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.emp-leave-row { display: flex; align-items: flex-start; gap: 10px; }
.emp-leave-row label { min-width: 92px; color: #9bb9e6; font-size: 0.85rem; padding-top: 8px; }
.emp-leave-row input[type="date"],
.emp-leave-row textarea {
    flex: 1;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #1f3147;
    background: #0f1b30;
    color: #e5e7eb;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
}
.emp-leave-docs-title {
    margin: 18px 0 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e5e7eb;
}
.emp-leave-docs-title i { color: #2f8cf5; }
.emp-leave-doc-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #1f3147;
    border-radius: 8px;
    margin-bottom: 8px;
}
.emp-leave-doc-name { flex: 1; font-size: 0.88rem; color: #cbd5e1; }
.emp-leave-doc-name i { color: #2f8cf5; margin-right: 4px; }
.emp-leave-doc-btn {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #293e5a;
    background: transparent;
    color: #9bb9e6;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
}
.emp-leave-doc-btn:hover { border-color: #2f8cf5; color: #e5e7eb; }
.emp-leave-doc-btn.pending { border-color: #fbbf24; color: #fcd34d; }
.emp-leave-doc-btn.uploaded { border-color: #4caf50; color: #86efac; }
.emp-leave-doc-state {
    min-width: 150px;
    text-align: right;
    font-size: 0.78rem;
    color: #7b8fa8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.emp-leave-tip {
    margin-top: 12px;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #fbbf24;
}

/* ========== 合同续签弹窗 ========== */
.contract-renew-emp {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #1f3147;
    border-radius: 12px;
    background: rgba(6, 12, 22, 0.45);
}
.contract-renew-emp-name { font-size: 0.95rem; font-weight: 600; color: #eaf0f8; }
.contract-renew-emp-meta { font-size: 0.78rem; color: #7b8fa8; }
.contract-renew-file { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.contract-renew-file-name { font-size: 0.78rem; color: #7b8fa8; word-break: break-all; }

/* ========== 岗位职责：左侧组织岗位列表 + 右侧详情（左右各 50%） ========== */
/* 该卡片内部左右分栏各自滚动，卡片自身不再出现滚动条（高度由舞台给足） */
#employeeOverviewStage > .glass-card[data-overview-mode="responsibility"] { overflow: hidden; }
.resp-viewer {
    display: grid;
    grid-template-columns: 1fr 1fr;   /* 左右两栏严格各占 50% */
    gap: 18px;
    align-items: stretch;
    flex: 1 1 auto;   /* 吃满卡片显示区剩余高度 */
    min-height: 0;
}
/* 岗位设置 tab（招聘管理）：去掉玻璃卡片容器后，让左右两栏占满屏幕可用高度，各自内部滚动 */
.recruit-tab-pane[data-recruit-pane="position"] .resp-viewer {
    height: calc(100vh - 200px);
    min-height: 420px;
}
.resp-list-pane {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.resp-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #9bb9e6;
}
.resp-list-head i { color: #2f8cf5; margin-right: 4px; }
.resp-list-count { color: #7fb2f5; font-weight: 500; }
.resp-list-tools { display: inline-flex; align-items: center; gap: 8px; }
.resp-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    font-size: 0.74rem;
    font-weight: 500;
    color: #7fb2f5;
    background: rgba(47, 140, 245, 0.14);
    border: 1px solid rgba(47, 140, 245, 0.4);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}
.resp-add-btn:hover { background: rgba(47, 140, 245, 0.3); color: #cfe4ff; }
.resp-add-btn i { color: inherit; margin: 0; }
/* 操作列图标按钮：修改 / 删除 */
.resp-row-edit-btn,
.resp-del-btn {
    padding: 2px 6px;
    font-size: 0.78rem;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}
.resp-row-edit-btn { color: #7fb2f5; }
.resp-row-edit-btn:hover { color: #cfe4ff; background: rgba(47, 140, 245, 0.2); }
.resp-del-btn { color: #f87171; margin-left: 4px; }
.resp-del-btn:hover { color: #fecaca; background: rgba(248, 113, 113, 0.18); }
.resp-list-table td.resp-col-op,
.resp-list-table th.resp-col-op { text-align: center; }
.resp-list-scroll {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;   /* 原固定 560px：改为跟随卡片显示区高度自适应 */
    overflow: auto;
    border: 1px solid #1f3147;
    border-radius: 12px;
    background: rgba(6, 12, 22, 0.35);
}
.resp-list-table {
    width: 100%;
    min-width: 700px;      /* 容器较窄时横向滚动，避免部门名被压扁 */
    table-layout: fixed;   /* 固定布局：部门/岗位列按比例，操作列固定宽度 */
    font-size: 0.78rem;
}
.resp-list-table th,
.resp-list-table td {
    padding: 8px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-right: 1px solid #1f3147;   /* 列分隔竖线 */
}
.resp-list-table th:last-child,
.resp-list-table td:last-child { border-right: none; }
.resp-list-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #0d1a2e;
    border-bottom: 2px solid #293e5a;
}
/* 操作列固定宽度（92px，完整容纳「修改 / 删除」两个图标按钮），其余 5 列按比例占满剩余宽度（五级部门列已移除） */
.resp-list-table thead th:nth-child(1),
.resp-list-table thead th:nth-child(2),
.resp-list-table thead th:nth-child(3),
.resp-list-table thead th:nth-child(4) { width: calc((100% - 92px) * 19 / 92); }
.resp-list-table thead th:nth-child(5) { width: calc((100% - 92px) * 16 / 92); }
.resp-list-table thead th:nth-child(6),
.resp-list-table th.resp-col-op { width: 92px; }
.resp-list-row { cursor: pointer; }
.resp-list-row:hover { background: rgba(47, 140, 245, 0.12) !important; }
.resp-list-row.active { background: rgba(47, 140, 245, 0.2) !important; }
.resp-list-row.active td { color: #fff; }
.resp-col-name { color: #7fb2f5; cursor: pointer; }
.resp-col-name:hover { text-decoration: underline; }
.resp-list-table th.resp-list-headcount,
.resp-list-table td.resp-col-headcount { text-align: center; }
.resp-list-empty {
    padding: 16px 10px !important;
    text-align: center;
    color: #5c7189;
}

/* 右侧详情：上汇报关系 / 中任职资格 / 下岗位职责 */
.resp-detail-pane {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    max-height: none;   /* 原固定 620px：改为跟随卡片显示区高度自适应 */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 16px;
    border: 1px solid #1f3147;
    border-radius: 14px;
    background: rgba(6, 12, 22, 0.35);
}
.resp-empty {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 16px;
    color: #5c7189;
    font-size: 0.84rem;
    text-align: center;
}
.resp-empty i { font-size: 1.6rem; color: #2f8cf5; opacity: 0.7; }
.resp-detail {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1 1 auto;   /* 详情撑满右侧面板，末块「岗位职责」吸收剩余高度 */
    min-height: 0;
}
.resp-detail-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: 1px solid #1f3147;
}
.resp-position-name { font-size: 1rem; font-weight: 600; color: #eaf0f8; }
.resp-dept-path { font-size: 0.76rem; color: #7b8fa8; }
/* 详情区右上角：修改 / 保存 / 取消 */
.resp-head-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}
.resp-edit-btn,
.resp-save-btn,
.resp-cancel-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 7px;
    border: 1px solid transparent;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}
.resp-edit-btn { background: rgba(47, 140, 245, 0.15); border-color: #2f8cf5; color: #9cc6ff; }
.resp-edit-btn:hover { background: rgba(47, 140, 245, 0.28); }
.resp-save-btn { background: linear-gradient(135deg, #2f8cf5, #1a5fc7); color: #fff; }
.resp-save-btn:hover { filter: brightness(1.1); }
.resp-save-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.resp-cancel-btn { background: transparent; border-color: #2a3f5e; color: #7b8fa8; }
.resp-cancel-btn:hover { color: #eaf0f8; border-color: #3d5878; }
/* 编辑态控件：汇报关系 / 任职资格 / 岗位职责 都用同一套输入样式 */
.resp-edit-input,
.resp-edit-textarea {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 1px solid #2f8cf5;
    border-radius: 6px;
    background: rgba(6, 12, 22, 0.85);
    color: #eaf0f8;
    font-size: 0.82rem;
    font-family: inherit;
    line-height: 1.5;
    outline: none;
}
.resp-edit-input:focus,
.resp-edit-textarea:focus { box-shadow: 0 0 0 2px rgba(47, 140, 245, 0.2); }
.resp-edit-textarea { resize: vertical; min-height: 30px; }
/* 「岗位职责」：与上两块同一套呈现 —— 标题标签 + 内容面板，不再用蓝色标题栏卡片 */
.resp-duty-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;   /* 岗位职责块吸收详情区剩余高度 */
    min-height: 0;
}
.resp-duty-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #9bb9e6;
}
.resp-duty-title i { color: #2f8cf5; }
.resp-duty-body {
    flex: 1 1 auto;   /* 内容面板随卡片高度自适应，超高时自身滚动 */
    min-height: 60px;
    overflow: auto;
    padding: 10px 12px;
    border: 1px solid #2a3f5e;
    border-radius: 8px;
    background: rgba(15, 27, 48, 0.7);
    font-size: 0.84rem;
    line-height: 1.75;
    color: #d7e2f0;
    white-space: pre-wrap;
    word-break: break-word;
}
.resp-report-row { display: flex; gap: 10px; padding: 6px 0; align-items: center; }
.resp-report-row + .resp-report-row { border-top: 1px dashed #1f3147; }
.resp-report-label {
    flex: 0 0 66px;
    font-size: 0.78rem;
    color: #7b8fa8;
}
.resp-report-value { flex: 1 1 auto; color: #eaf0f8; }
/* 「汇报关系」：取消外框容器，标题标签 + 两行列表（与任职资格同一套呈现方式） */
.resp-report-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.resp-report-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #9bb9e6;
}
.resp-report-title i { color: #2f8cf5; }
/* 表格式：左标签列 80px（与任职资格同宽）+ 右可编辑单元格，1px 分隔线与任职资格一致 */
.resp-report-table {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1px;
    background: #2a3f5e;
    border: 1px solid #2a3f5e;
    border-radius: 8px;
    overflow: hidden;
}
/* 行只作包裹，真正的格子交给 grid 直接排布 */
.resp-report-table .resp-report-row { display: contents; }
.resp-report-table .resp-report-label,
.resp-report-table .resp-report-cell {
    display: flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 12px;
    background: rgba(15, 27, 48, 0.7);
}
.resp-report-table .resp-report-label {
    justify-content: center;
    background: rgba(47, 140, 245, 0.1);
    color: #9bb9e6;
    font-size: 0.8rem;
    font-weight: 600;
}
/* 值单元格：与任职资格的值列同一字号与缩进 */
.resp-report-table .resp-report-value {
    color: #eaf0f8;
    font-size: 0.84rem;
    line-height: 1.55;
    word-break: break-word;
}
.resp-qual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.resp-qual-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid #1f3147;
    border-radius: 10px;
    background: rgba(15, 27, 48, 0.6);
}
.resp-qual-label { font-size: 0.74rem; color: #7b8fa8; }
.resp-qual-value { font-size: 0.84rem; color: #eaf0f8; word-break: break-word; }
/* 任职资格仿表格布局：4 列结构，首行 2 组「标签+值 / 标签+值」，其余行「标签 + 跨 3 列的值」 */
.resp-qual-table {
    display: grid;
    grid-template-columns: 80px 1fr 80px 2fr;
    gap: 1px;
    background: #2a3f5e;
    border: 1px solid #2a3f5e;
    border-radius: 8px;
    overflow: hidden;
}
.resp-qual-cell {
    padding: 8px 12px;
    background: rgba(15, 27, 48, 0.7);
    display: flex;
    align-items: center;
    min-height: 28px;
    line-height: 1.5;
}
.resp-qual-table .resp-qual-label {
    background: rgba(47, 140, 245, 0.1);
    color: #9bb9e6;
    font-size: 0.8rem;
    font-weight: 600;
    justify-content: center;
}
.resp-qual-table .resp-qual-value {
    color: #eaf0f8;
    font-size: 0.84rem;
    line-height: 1.55;
}
.resp-qual-value--wide { grid-column: span 3; }
/* 任职资格：不要外框容器，只用「标题标签 + 列表」 */
.resp-qual-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.resp-qual-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #9bb9e6;
}
.resp-qual-title i { color: #2f8cf5; }

/* 窄窗口下舞台改为自适应高（卡片不再有定值高度），回退到上限高度，避免列表被无限拉长 */
@media (max-width: 1100px) {
    .resp-viewer { flex: 0 0 auto; }
    .resp-list-scroll { max-height: 420px; }
    .resp-detail-pane { max-height: 560px; }
    .resp-duty-body { max-height: 320px; }
    .recruit-tab-pane[data-recruit-pane="position"] .resp-viewer { height: auto; min-height: 0; }
}
@media (max-width: 900px) {
    .resp-viewer { grid-template-columns: 1fr; }
    .resp-list-pane { flex: 0 0 auto; }
    .resp-qual-grid { grid-template-columns: 1fr; }
    .resp-qual-table { grid-template-columns: 80px 1fr; }
    .resp-qual-value--wide { grid-column: span 2; }
}

/* ========== 入职登记表预览（右栏） ========== */
.regform-wrap {
    background: linear-gradient(180deg, #0d1b2a 0%, #0a1422 100%);
    border: 1px solid #2f8cf5;
    border-radius: 8px;
    padding: 10px 12px 12px;
    color: #eaf0f8;
    font-size: 12px;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.regform-scroll { flex: 1; min-height: 0; overflow: auto; padding-right: 4px; }
.regform-title {
    text-align: center;
    font-size: 18px;
    font-weight: normal;
    color: #ffffff;
    letter-spacing: 4px;
    margin: 0 0 6px;
}
.regform-date-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9bb9e6;
    font-size: 12px;
    margin-bottom: 8px;
    padding: 0 2px;
}
.regform-date-row .regform-emp-name { color: #6db1f7; font-weight: normal; }
.regform-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    color: #eaf0f8;
    font-size: 12px;
    line-height: 1.5;
}
.regform-table td {
    border: 1px solid #2f8cf5;
    padding: 6px 8px;
    text-align: center;
    vertical-align: middle;
    word-break: break-all;
    background: rgba(10, 18, 32, 0.55);
}
.regform-table td.reg-label {
    background: #102a4c;
    color: #9bb9e6;
    font-weight: normal;
    white-space: nowrap;
}
.regform-table td.reg-group {
    background: #102a4c;
    color: #6db1f7;
    font-weight: normal;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 4px;
    width: 36px;
    font-size: 13px;
}
.regform-table td.reg-value { color: #eaf0f8; text-align: left; padding-left: 10px; }
.regform-table td.reg-value:empty::before { content: ' '; }
.regform-table td.reg-full { text-align: left; padding: 6px 10px; color: #cfd9e8; line-height: 1.7; }
.regform-table td.reg-full p { margin: 0 0 6px; }
.regform-table td.reg-full p:last-of-type { margin-bottom: 0; }
.reg-sign-row {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 20px;
    margin-top: 14px;
    color: #eaf0f8;
    white-space: nowrap;
}
.reg-sign-line { display: inline-block; width: 120px; border-bottom: 1px solid #9bb9e6; }
.regform-table td.reg-num { text-align: left; padding-left: 10px; color: #cfd9e8; }
/* 工作经验等区段的表头行 */
.regform-table td.reg-head {
    background: #102a4c;
    color: #9bb9e6;
    font-weight: normal;
    white-space: nowrap;
}
/* 可编辑单元格：去掉内边距由输入框撑满 */
.regform-table td.reg-input-cell { padding: 0; }
.regform-table input.reg-input {
    width: 100%;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: transparent;
    color: #eaf0f8;
    font-size: 12px;
    font-family: inherit;
    font-weight: normal;
    padding: 6px 8px;
    color-scheme: dark;
}
.regform-table input.reg-input::placeholder { color: #5f7a9e; }
.regform-table input.reg-input:focus { background: rgba(47, 140, 245, 0.15); }

/* ========== 系统管理 · 账号管理（姓名选择器 + 账号列表） ========== */
.acct-card { margin-top: 16px; }
/* 标题与筛选工具栏同一行：账号选择下拉框紧跟在「账号管理」标题之后 */
.acct-head { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.acct-head h4 { margin: 0; }
.acct-head .acct-toolbar { flex: 0 0 auto; margin: 0 0 0 auto; }
.acct-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 8px;
}
.acct-combobox { width: 260px; }
.acct-clear-btn { padding: 7px 14px; font-size: 0.82rem; }
.acct-table-wrap { max-height: 460px; overflow: auto; margin-top: 10px; }
/* 固定列宽：压缩「姓名」列，保证部门/角色/状态/创建时间正常显示 */
#acctTable { min-width: 700px; table-layout: fixed; }
#acctTable th,
#acctTable td { padding: 10px 8px; }
#acctTable thead th:nth-child(1) { width: 16%; }
#acctTable thead th:nth-child(2) { width: 11%; }
#acctTable thead th:nth-child(3) { width: 20%; }
#acctTable thead th:nth-child(4) { width: 22%; }
#acctTable thead th:nth-child(5) { width: 11%; }
#acctTable thead th:nth-child(6) { width: 20%; }
#acctTable th:nth-child(6),
#acctTable td:nth-child(6) { white-space: nowrap; }
#acctTable .acct-account { font-weight: 600; color: #8ab4f8; white-space: nowrap; }
#acctTable .acct-dept { color: #b9cbe4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 姓名列固定窄宽，超长姓名省略号 */
#acctTable td:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 账号行可点击 → 打开操作面板 */
.acct-row { cursor: pointer; }
#acctTable tbody .acct-row:hover { background: rgba(47, 140, 245, 0.12); }
.acct-row:focus-visible { outline: 2px solid #2f8cf5; outline-offset: -2px; }
.acct-role-tag {
    display: inline-block;
    margin: 2px 4px 2px 0;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 0.74rem;
    color: #8fd8ff;
    background: rgba(47, 140, 245, 0.14);
    border: 1px solid #2f5c92;
}
.acct-role-empty { color: #5c7189; }
.acct-empty { text-align: center; color: #5c7189; padding: 22px 0; }
/* 无 admin:manage 权限时：账号列表只显示本人，顶部给出说明 */
.acct-self-tip {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    color: #9bb9e6;
    background: rgba(47, 140, 245, 0.08);
    border: 1px solid rgba(47, 140, 245, 0.25);
}
.acct-self-tip i { color: #2f8cf5; margin-right: 6px; }
/* 账号操作弹窗：无权限时的只读提示 */
.acct-act-readonly {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    color: #c8b98a;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.28);
}
.acct-act-readonly i { margin-right: 6px; }
.acct-role-box {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 10px 12px;
    background: #0f1b30;
    border: 1px solid #28344a;
    border-radius: 12px;
}
.acct-role-item { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; color: #cbd8ea; cursor: pointer; }
.acct-role-item input { accent-color: #2f8cf5; }
.acct-form-row { display: flex; gap: 12px; }
.acct-form-row .form-group { flex: 1; min-width: 0; }

/* ---- 点击账号行弹出的「账号操作」面板 ---- */
.acct-act-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(47, 140, 245, 0.16), rgba(15, 27, 48, 0.6));
    border: 1px solid #2a4a75;
}
.acct-act-avatar {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2f8cf5, #1d5fb0);
    box-shadow: 0 6px 16px -6px rgba(47, 140, 245, 0.9);
}
.acct-act-info { flex: 1 1 auto; min-width: 0; }
.acct-act-name { font-size: 0.98rem; font-weight: 700; color: #eaf0f8; }
.acct-act-sub {
    margin-top: 3px;
    font-size: 0.78rem;
    color: #7b8fa8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.acct-act-status {
    flex: 0 0 auto;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #6ee7a8;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.45);
}
.acct-act-status.off {
    color: #94a3b8;
    background: rgba(100, 116, 139, 0.16);
    border-color: rgba(100, 116, 139, 0.5);
}

.acct-act-list { display: flex; flex-direction: column; gap: 10px; }
.acct-act-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    text-align: left;
    border-radius: 12px;
    border: 1px solid #28344a;
    background: rgba(15, 27, 48, 0.6);
    color: #cbd8ea;
    cursor: pointer;
    transition: all 0.2s;
}
.acct-act-btn:hover {
    border-color: #2f8cf5;
    background: rgba(47, 140, 245, 0.14);
    transform: translateX(2px);
}
.acct-act-btn[data-acct-act="del"]:hover {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.16);
}
.acct-act-emoji { flex: 0 0 auto; font-size: 1.05rem; line-height: 1; }
.acct-act-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acct-act-text strong { font-size: 0.9rem; font-weight: 600; color: #eaf0f8; }
.acct-act-text em { font-style: normal; font-size: 0.76rem; color: #7b8fa8; }
.acct-act-arrow { flex: 0 0 auto; font-size: 0.72rem; color: #46596f; }
.acct-act-btn:hover .acct-act-arrow { color: #2f8cf5; }
.acct-act-btn[data-acct-act="del"]:hover .acct-act-arrow { color: #ef4444; }

/* ========== 系统管理 · 左右分栏（左：数据库 + 账号，右：角色管理） ========== */
.admin-split {
    display: grid;
    grid-template-columns: 55% 1fr;
    gap: 20px;
    align-items: start;
}
.admin-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}
.admin-col .glass-card { margin-bottom: 0; }
.admin-col .acct-card { margin-top: 0; }
/* 左栏收窄后压缩账号表格与筛选栏，减少横向滚动 */
.admin-split #acctTable { min-width: 660px; }
.admin-split .acct-combobox { width: 200px; }

/* 左右两栏等高对齐满屏：视口高 - header(64) - 内容区上下内边距(24+28) */
.admin-split .admin-col {
    height: calc(100vh - 116px);
    min-height: 520px;
}
/* 账号管理卡片撑满左栏剩余空间，底边与角色管理卡片齐平 */
.admin-split .admin-col:first-child .acct-card {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.admin-split .acct-table-wrap {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}

/* ---- 角色管理编辑器 ---- */
.rolemgr-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}
.rolemgr-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.rolemgr-head h4 { margin: 0; }

.rolemgr-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 8px;
    max-height: 104px;
    overflow-y: auto;
}
.rolemgr-chips-empty { color: #5c7189; font-size: 0.82rem; }
.rolemgr-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid #2a4a75;
    background: rgba(15, 27, 48, 0.6);
    color: #9bb9e6;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    max-width: 100%;
}
.rolemgr-chip:hover { border-color: #2f8cf5; color: #fff; background: rgba(47, 140, 245, 0.12); }
.rolemgr-chip.active {
    border-color: #2f8cf5;
    color: #fff;
    background: rgba(47, 140, 245, 0.2);
    box-shadow: 0 0 12px -2px rgba(47, 140, 245, 0.6);
}
.rolemgr-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex: 0 0 auto;
}
.rolemgr-chip-dot.off { background: #64748b; }

.rolemgr-chip-meta {
    font-size: 0.72rem;
    color: #7d94ad;
    padding-left: 6px;
    border-left: 1px solid rgba(120, 160, 210, 0.25);
}
.rolemgr-chip.active .rolemgr-chip-meta { color: #cfe6ff; }

.rolemgr-editor {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
    flex: 1 1 auto;
    min-height: 0;
}
/* 角色表单：两行两列，标题与输入框同行显示 */
.rolemgr-form-row { display: flex; gap: 16px; }
.rolemgr-form-row .form-group { flex: 1 1 0; min-width: 0; }
.rolemgr-editor .form-group {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}
.rolemgr-editor .form-group > label {
    flex: 0 0 4.6em;
    white-space: nowrap;
    font-size: 0.78rem;
}
.rolemgr-editor .form-group input,
.rolemgr-editor .form-group select {
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 12px;
    font-size: 0.86rem;
    border-radius: 8px;
}

.rolemgr-perm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}
.rolemgr-perm-label { font-size: 0.82rem; font-weight: 600; color: #9bb9e6; }
.rolemgr-perm-actions { display: flex; align-items: center; gap: 8px; }
.rolemgr-perm-count { font-size: 0.76rem; color: #7b8fa8; }
.rolemgr-mini-btn {
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #2a4a75;
    background: rgba(15, 27, 48, 0.6);
    color: #9bb9e6;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.rolemgr-mini-btn:hover { border-color: #2f8cf5; color: #fff; background: rgba(47, 140, 245, 0.15); }

/* 权限配置 · 页面 Tab 栏 */
.rolemgr-perm-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
    border: 1px solid #28344a;
    border-radius: 12px;
    background: rgba(15, 27, 48, 0.5);
}
.rolemgr-perm-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: #7b8fa8;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.rolemgr-perm-tab i { font-size: 0.76rem; }
.rolemgr-perm-tab em {
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 500;
    color: #5c7189;
    padding: 1px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}
.rolemgr-perm-tab:hover { color: #cbd8ea; background: rgba(47, 140, 245, 0.1); }
.rolemgr-perm-tab.has-picked em { color: #8fd8ff; background: rgba(47, 140, 245, 0.18); }
.rolemgr-perm-tab.active {
    color: #fff;
    background: rgba(47, 140, 245, 0.2);
    border-color: #2f8cf5;
    box-shadow: 0 0 12px -4px rgba(47, 140, 245, 0.9);
}
.rolemgr-perm-tab.active em { color: #fff; background: rgba(47, 140, 245, 0.35); }

.rolemgr-perms {
    flex: 1 1 auto;
    min-height: 170px;
    overflow: auto;
    padding: 12px 14px;
    border: 1px solid #28344a;
    border-radius: 12px;
    background: #0f1b30;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.rolemgr-perms-empty { text-align: center; color: #5c7189; padding: 30px 0; font-size: 0.84rem; }
.rolemgr-perm-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 8px;
}
.rolemgr-perm-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: #cbd8ea;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 8px;
    transition: background 0.2s;
}
.rolemgr-perm-item:hover { background: rgba(47, 140, 245, 0.1); }
.rolemgr-perm-item input { accent-color: #2f8cf5; cursor: pointer; }

/* 勾选区按页面分组的标题 */
.rolemgr-perm-page {
    padding: 10px 4px 12px;
    border-bottom: 1px dashed #22344c;
    scroll-margin-top: 4px;
}
.rolemgr-perm-page:last-child { border-bottom: none; }
.rolemgr-perm-page-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #cfe0f5;
}
.rolemgr-perm-page-title i { color: #2f8cf5; font-size: 0.8rem; }

.rolemgr-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #26364f;
}
.rolemgr-footer .btn-outline-cyber:disabled,
.rolemgr-footer .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== 数据中心：卡片去除底色与边框 ===== */
#module-dashboard .glass-card {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

@media (max-width: 1200px) {
    .admin-split { grid-template-columns: 1fr; }
    .admin-split .admin-col { height: auto; min-height: 0; }
    .admin-split .acct-table-wrap { flex: 0 0 auto; max-height: 460px; }
    .admin-split .admin-col:first-child .acct-card { flex: 0 0 auto; }
    .rolemgr-card { min-height: 520px; }
}

/* ===== 汇总页：人力资源数据大屏 ===== */
.sm-screen {
    position: relative;
    display: grid;
    grid-template-columns: 3fr 4.2fr 3fr;
    gap: 16px;
    height: 100%;
    min-height: 0;
}
.sm-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
}

/* 切角发光卡片 */
.sm-card {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 10px 14px 12px;
    border: 1px solid rgba(46, 106, 199, 0.55);
    background: linear-gradient(180deg, rgba(13, 42, 92, 0.35), rgba(6, 18, 44, 0.55));
    box-shadow: inset 0 0 24px rgba(30, 100, 220, 0.12), 0 0 12px rgba(24, 80, 180, 0.18);
    clip-path: polygon(0 12px, 12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px));
}

/* 卡片标题条（两端斜切横幅） */
.sm-card-title {
    flex-shrink: 0;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(28, 78, 168, 0.08), rgba(42, 118, 226, 0.55), rgba(28, 78, 168, 0.08));
    clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 18px 100%, 0 50%);
    color: #dceaff;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(64, 156, 255, 0.6);
}
.sm-card-title span { display: block; transform: translateY(1px); }

/* 图表占位容器 */
.sm-chart {
    flex: 1 1 0;
    min-height: 0;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sm-chart-hint {
    color: #3c5878;
    font-size: 0.78rem;
    letter-spacing: 1px;
}

/* 汇总页大屏 —— 部门人数（背靠背条形图：左实际人数 / 中部门名称 / 右编制） */
.sm-hbar {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.sm-hbar-legend {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.62rem;
    color: #4f6b91;
    line-height: 1;
}
.sm-hbar-legend > span:nth-child(1) { flex: 1 1 0; text-align: right; }
.sm-hbar-legend > span:nth-child(2) { flex: 0 0 64px; text-align: center; }
.sm-hbar-legend > span:nth-child(3) { flex: 1 1 0; text-align: left; }

.sm-hbar-row {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sm-hbar-name {
    flex: 0 0 64px;
    text-align: center;
    font-size: 0.7rem;
    color: #dbe9ff;
    white-space: nowrap;
    line-height: 1;
}
.sm-hbar-side {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
}
.sm-hbar-side.left { justify-content: flex-end; }
.sm-hbar-side.right { justify-content: flex-start; }
.sm-hbar-block {
    height: 14px;
    min-width: 22px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.66rem;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    overflow: hidden;
    white-space: nowrap;
}
.sm-hbar-block.left {
    background: linear-gradient(90deg, #1b4bb5, #2f7bff);
}
.sm-hbar-block.right {
    background: linear-gradient(90deg, #0e9f82, #17cfa5);
}
/* 实际人数超过编制：左侧柱条转红 */
.sm-hbar-block.left.over-quota {
    background: linear-gradient(90deg, #b91c1c, #ef4444);
}

/* 汇总页大屏 —— 人员留存与流失率（柱状入职/离职 + 折线在职人数） */
.sm-retention {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sm-retention-months {
    flex: 0 0 auto;
    display: flex;
    font-size: 0.58rem;
    color: #5c7ba6;
    line-height: 1;
}
.sm-retention-months > span {
    flex: 1 1 0;
    text-align: center;
    white-space: nowrap;
}
.sm-ret-plot {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
}
.sm-retention-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.sm-ret-labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.sm-ret-label {
    position: absolute;
    transform: translate(-50%, -100%);
    font-size: 0.58rem;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}
.sm-ret-label.hire { color: #7fb0ff; }
.sm-ret-label.leave { color: #ff9a9c; }
.sm-ret-label.active { color: #3ee0b8; font-weight: 600; }
.sm-ret-label.in-bar { color: #ffffff; font-weight: 600; }

/* 汇总页大屏 —— 出勤工时统计（按业务板块的竖向柱状图） */
.sm-vbar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    gap: 8px;
}
.sm-vbar-item {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.sm-vbar-value {
    font-size: 0.66rem;
    font-weight: 600;
    color: #8abcfc;
    white-space: nowrap;
    line-height: 1;
}
.sm-vbar-track {
    flex: 1 1 0;
    width: 100%;
    max-width: 44px;
    display: flex;
    align-items: flex-end;
    background: rgba(26, 45, 74, 0.35);
    border-radius: 5px 5px 0 0;
    overflow: hidden;
}
.sm-vbar-fill {
    width: 100%;
    border-radius: 5px 5px 0 0;
    position: relative;
    background: linear-gradient(180deg, #4d9bff, #1746a0);
    transition: height 0.5s ease;
}
.sm-vbar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent);
}
.sm-vbar-label {
    font-size: 0.68rem;
    color: #9bb9e6;
    white-space: nowrap;
    line-height: 1;
}

/* 中央标题横幅 */
.sm-banner {
    flex-shrink: 0;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(38, 108, 220, 0.5), rgba(10, 32, 78, 0.65));
    clip-path: polygon(26px 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 26px 100%, 0 50%);
}
.sm-banner span {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: #eaf3ff;
    text-shadow: 0 0 18px rgba(64, 156, 255, 0.85);
    transform: translateY(1px);
}

/* 中央插画区：7 个指标环绕插画分布 */
.sm-hero {
    flex: 1.35 1 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sm-ring {
    --k: 1;
    position: relative;
    flex: 1 1 auto;
    height: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 环绕轨道（虚线椭圆） */
.sm-ring::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(370px * var(--k));
    height: calc(230px * var(--k));
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(64, 140, 255, 0.22);
    border-radius: 50%;
    pointer-events: none;
}
.sm-ring-item {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
    transform: translate(-50%, -50%) translate(calc(var(--x) * var(--k)), calc(var(--y) * var(--k)));
}
.sm-ring-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 0 14px rgba(56, 132, 255, 0.55), inset 0 0 8px rgba(255, 255, 255, 0.25);
}
.sm-ring-label { font-size: 0.72rem; color: #9db8dd; white-space: nowrap; line-height: 1.2; }
.sm-ring-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(64, 156, 255, 0.6);
}

/* 中央发光圆环（插画占位） */
.sm-hero-orb {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cfe6ff;
    font-size: 3rem;
    border: 2px solid rgba(90, 165, 255, 0.6);
    background: radial-gradient(circle at 50% 42%, rgba(96, 178, 255, 0.5), rgba(20, 60, 140, 0.22) 55%, transparent 72%);
    animation: smOrbPulse 3s ease-in-out infinite;
}
@keyframes smOrbPulse {
    0%, 100% { box-shadow: 0 0 28px rgba(56, 132, 255, 0.4), inset 0 0 22px rgba(56, 132, 255, 0.3); }
    50% { box-shadow: 0 0 56px rgba(56, 132, 255, 0.7), inset 0 0 38px rgba(56, 132, 255, 0.5); }
}

/* 三个总数卡 */
.sm-total-row {
    flex-shrink: 0;
    display: flex;
    gap: 12px;
}
.sm-total {
    flex: 1 1 0;
    text-align: center;
    padding: 10px 8px 12px;
    border: 1px solid rgba(46, 106, 199, 0.55);
    background: linear-gradient(180deg, rgba(24, 66, 140, 0.45), rgba(8, 22, 54, 0.55));
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%, 0 10px);
}
.sm-total-label { font-size: 0.82rem; color: #b9d2f2; margin-bottom: 4px; }
.sm-total-value {
    font-size: 1.65rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 0 12px rgba(64, 156, 255, 0.75);
}

/* 窄屏回退：三列改纵向滚动 */
@media (max-width: 1100px) {
    .sm-screen {
        grid-template-columns: 1fr;
        height: auto;
    }
    .sm-col { min-height: 320px; }
    .sm-ring { --k: 0.72; min-height: 260px; }
    .sm-hero-orb { width: 110px; height: 110px; font-size: 2.2rem; }
}

/* ==================== 员工管理：员工信息表（仿岗位设置·任职资格风格） ==================== */
/* 整体纵向堆叠：分区标题栏 + 网格 + 工作经验小表，无外层容器边框/底色 */
.emp-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
/* 离职标注：基础信息标题后的“（XXXX年XX月XX日离职）” */
.emp-leave-tag {
    margin-left: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #ff8a8a;
    letter-spacing: 0;
}
/* 分区标题栏 / 标签与值单元格 复用 .resp-qual-* 系列（与岗位设置·任职资格一致） */
/* 员工信息表：每行列 3 对（6 列），标签列加宽以单行显示“身份证号码”等 */
.emp-info-wrap .resp-qual-table {
    grid-template-columns: 104px 1fr 104px 1fr 104px 1fr;
}
/* 宽字段独占整行：标签占第 1 列，值跨剩余 5 列 */
.emp-info-wrap .resp-qual-value--wide {
    grid-column: span 5;
}
/* 行高缩小约 30% */
.emp-info-wrap .resp-qual-cell {
    padding: 5px 10px;
}
/* 网格内的输入框：透明背景融入暗色格子 */
.emp-info-input {
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid #16283f;
    border-radius: 4px;
    color: #eaf0f8;
    padding: 5px 8px;
    font-size: 0.84rem;
    outline: none;
}
.emp-info-input:focus {
    border-color: #3a6ea5;
}
.emp-info-input::placeholder {
    color: #4a5d75;
}
/* 工作经验小表：沿用任职资格同款暗色格子；固定列宽，开始/结束时间列缩半，余量给公司名称 */
.emp-exp-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    background: rgba(15, 27, 48, 0.7);
}
.emp-exp-table th:nth-child(1),
.emp-exp-table td:nth-child(1) { width: 13%; }
.emp-exp-table th:nth-child(2),
.emp-exp-table td:nth-child(2) { width: 13%; }
.emp-exp-table th:nth-child(3),
.emp-exp-table td:nth-child(3) { width: 48%; }
.emp-exp-table th:nth-child(4),
.emp-exp-table td:nth-child(4) { width: 26%; }
.emp-exp-table th {
    background: rgba(47, 140, 245, 0.1);
    color: #9bb9e6;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    padding: 7px 10px;
    border: 1px solid #1f3147;
}
.emp-exp-table td {
    padding: 6px 8px;
    border: 1px solid #1f3147;
}
/* 窄屏回退：员工信息表退化为 2 列（标签+值），宽字段跨 2 列 */
@media (max-width: 1100px) {
    .emp-info-wrap .resp-qual-table { grid-template-columns: 104px 1fr; }
    .emp-info-wrap .resp-qual-value--wide { grid-column: span 2; }
}
