.bi-hr-department{color-scheme:light;--ink:#0f172a;--muted:#64748b;--blue:#0369a1;--line:#e2e8f0;--bg:#f8fafc}
.bi-hr-department *{box-sizing:border-box}
.bi-hr-department{margin:0;background:var(--bg);color:var(--ink);font:14px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.bi-hr-department button,.bi-hr-department input,.bi-hr-department select,.bi-hr-department textarea{font:inherit}
.bi-hr-department a{color:var(--blue);text-underline-offset:3px}
.bi-hr-department button,.bi-hr-department a,.bi-hr-department input,.bi-hr-department select,.bi-hr-department textarea,.bi-hr-department summary{outline-offset:4px}
.bi-hr-department button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);border-radius:7px;padding:8px 14px;min-height:38px}
.bi-hr-department button:hover{border-color:#7dd3fc;background:#f0f9ff}
.bi-hr-department button:disabled{cursor:wait;opacity:.55}
.bi-hr-department button.primary{background:var(--blue);border-color:var(--blue);color:white}
.bi-hr-department button.danger{color:#b91c1c}
.bi-hr-department input,.bi-hr-department select,.bi-hr-department textarea{border:1px solid #cbd5e1;background:white;border-radius:6px;padding:8px 10px;min-height:40px;width:100%;color:var(--ink)}
.bi-hr-department textarea{min-height:84px;resize:vertical}
.bi-hr-department h1,.bi-hr-department h2,.bi-hr-department h3,.bi-hr-department p{margin:0}
.bi-hr-department h1{font-size:28px;line-height:1.3;letter-spacing:-.8px}
.bi-hr-department h2{font-size:17px}
.bi-hr-department h3{font-size:15px}
.bi-hr-department .py-content{padding:28px;max-width:1600px;min-width:0}
.bi-hr-department .py-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.bi-hr-department .py-heading p{color:var(--muted);margin-top:6px}
.bi-hr-department .py-actions{display:flex;gap:8px;flex-wrap:wrap}
.bi-hr-department .py-tag{font-size:12px;padding:3px 8px;border-radius:5px;background:#e0f2fe;color:#27272a;white-space:nowrap}
.bi-hr-department .py-notice{border:1px solid #fde68a;background:#fffbeb;color:#854d0e;padding:12px 16px;border-radius:8px;margin-bottom:16px;font-size:13px}
.bi-hr-department .py-notice.error{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.bi-hr-department .py-panel{background:white;border:1px solid var(--line);border-radius:9px;padding:20px;margin-bottom:18px}
.bi-hr-department .py-panel>p{color:var(--muted);margin-top:6px}
.bi-hr-department .py-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.bi-hr-department .py-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}
.bi-hr-department .py-metric{background:white;border:1px solid var(--line);border-radius:9px;padding:18px}
.bi-hr-department .py-metric span,.bi-hr-department .py-metric small{display:block;color:var(--muted);font-size:12px}
.bi-hr-department .py-metric strong{display:block;font-size:25px;line-height:1.4;margin:8px 0;font-variant-numeric:tabular-nums}
.bi-hr-department .py-filters{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:14px;align-items:end}
.bi-hr-department .py-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}
.bi-hr-department .py-scroll{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:7px;margin-top:16px}
.bi-hr-department table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}
.bi-hr-department th{text-align:left;background:var(--bg);color:#27272a;font-weight:500}
.bi-hr-department td,.bi-hr-department th{padding:12px 14px;border-bottom:1px solid var(--line);max-width:360px;overflow-wrap:anywhere}
.bi-hr-department td.wrap{white-space:normal;min-width:160px}
.bi-hr-department tr:last-child td{border-bottom:0}
.bi-hr-department td button{min-height:32px;padding:4px 10px}
.bi-hr-department tbody tr:hover{background:#f8fafc}
.bi-hr-department .py-empty{padding:44px 20px;text-align:center;color:var(--muted)}
.bi-hr-department .py-pagination{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:16px;font-size:12px;color:var(--muted)}
.bi-hr-department .py-status{font-size:12px;padding:3px 7px;border-radius:4px;background:#f1f5f9}
.bi-hr-department .py-status.committed{background:#eff6ff;color:#27272a}
.bi-hr-department .py-status.withdrawn{background:#fee2e2;color:#991b1b}
.bi-hr-department .py-loading{padding:48px;color:var(--muted)}
.bi-hr-department .py-steps{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0;color:var(--muted);font-size:12px}
.bi-hr-department .py-steps span{background:#f1f5f9;border-radius:5px;padding:5px 9px}
.bi-hr-department .py-muted{color:var(--muted);font-size:12px}
.bi-hr-department .py-source{margin-top:18px}
@media(max-width:1000px){.bi-hr-department .py-content{padding:20px}
.bi-hr-department .py-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
.bi-hr-department .py-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.bi-hr-department .py-content{padding:18px 12px}
.bi-hr-department .py-heading{align-items:flex-start;flex-direction:column;gap:10px}
.bi-hr-department h1{font-size:24px}
.bi-hr-department .py-panel{padding:16px}
.bi-hr-department .py-filters{grid-template-columns:1fr}
.bi-hr-department .py-metric{padding:14px}
.bi-hr-department .py-metric strong{font-size:21px}
.bi-hr-department .py-panel-head{align-items:flex-start;flex-direction:column}
.bi-hr-department .py-actions{width:100%}
.bi-hr-department .py-actions button{flex:1}
.bi-hr-department .py-pagination{justify-content:center}
.bi-hr-department td,.bi-hr-department th{padding:10px}}
@media(prefers-reduced-motion:reduce){.bi-hr-department *,.bi-hr-department *::before,.bi-hr-department *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.bi-hr-department :focus-visible{outline:2px solid var(--blue)}
.bi-hr-department button{transition:background-color .16s,border-color .16s,transform .16s}
.bi-hr-department button:active:not(:disabled){transform:translateY(1px)}
.bi-hr-department .num{text-align:right;font-variant-numeric:tabular-nums}
.bi-hr-department .py-up{color:#9a3412}
.bi-hr-department .py-down{color:#27272a}
.bi-hr-department .py-source-note details{margin-top:12px}
.bi-hr-department .py-source-note summary{cursor:pointer;color:var(--blue)}
.bi-hr-department .py-skeleton i{display:block;height:24px;margin:16px 0;border-radius:4px;background:#e2e8f0;opacity:.65}
.bi-hr-department .py-skeleton i:nth-child(2){width:82%}
.bi-hr-department .py-skeleton i:nth-child(3){width:65%}
.bi-hr-department .py-scroll:focus-visible{outline:2px solid var(--blue)}
.bi-hr-department{width:100%;max-width:none;margin:0;font:14px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#27272a;--ink:#0f172a;--muted:#64748b;--blue:#0369a1;--line:#e2e8f0;--bg:#f8fafc}.bi-hr-department .py-content{padding:0;max-width:none;width:100%}.bi-hr-department .py-heading h1{font-size:28px}.bi-hr-department .py-source-note p{overflow-wrap:anywhere}.bi-hr-department a{overflow-wrap:anywhere}.bi-hr-department .py-scroll table{min-width:780px}
