.hr-module .ph1{background:var(--accent-glow);color:var(--accent)}.hr-module .ph2{background:var(--green-dim);color:var(--green)}.hr-module .ph3{background:var(--purple-dim);color:var(--purple)}
.hr-module .btn{display:flex;align-items:center;gap:6px;padding:6px 14px;border-radius:var(--rs);font-size:12px;font-weight:600;cursor:pointer;border:none;transition:var(--t)}
.hr-module .btn-p{background:var(--accent);color:#05121f}.hr-module .btn-p:hover{background:#5dbce0}
.hr-module .btn-g{background:transparent;color:var(--text-2);border:1px solid var(--border)}.hr-module .btn-g:hover{border-color:var(--accent-dim);color:var(--text)}
.hr-module .btn-d{background:var(--red-dim);color:var(--red);border:1px solid rgba(240,82,98,.3)}
.hr-module .card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--r);padding:20px}
.hr-module .card-sm{padding:14px 16px}
.hr-module .ch{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.hr-module .ct{font-size:13px;font-weight:700}.hr-module .cs{font-size:11px;color:var(--text-2);margin-top:2px}
.hr-module .grid{display:grid;gap:16px}
.hr-module .g2{grid-template-columns:1fr 1fr}.hr-module .g3{grid-template-columns:1fr 1fr 1fr}.hr-module .g4{grid-template-columns:repeat(4,1fr)}
.hr-module .g12{grid-template-columns:1fr 2fr}.hr-module .g21{grid-template-columns:2fr 1fr}
.hr-module .kpi{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--r);padding:18px 20px;position:relative;overflow:hidden}
.hr-module .kpi::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;border-radius:var(--r) var(--r) 0 0}
.hr-module .kpi-bl::before{background:var(--accent)}.hr-module .kpi-gr::before{background:var(--green)}.hr-module .kpi-am::before{background:var(--amber)}.hr-module .kpi-rd::before{background:var(--red)}.hr-module .kpi-pu::before{background:var(--purple)}
.hr-module .kpi-ic{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:16px;margin-bottom:12px}
.hr-module .kpi-v{font-size:28px;font-weight:800;line-height:1}.hr-module .kpi-l{font-size:11px;color:var(--text-2);margin-top:4px}
.hr-module .kpi-tr{font-size:10.5px;margin-top:8px;display:flex;align-items:center;gap:4px}
.hr-module .tr-up{color:var(--green)}.hr-module .tr-dn{color:var(--red)}.hr-module .tr-ne{color:var(--text-2)}
.hr-module .tw{overflow-x:auto;border-radius:var(--r);border:1px solid var(--border)}
.hr-module table{width:100%;border-collapse:collapse;font-size:12px}
.hr-module thead tr{background:var(--bg-hover)}
.hr-module th{padding:14px 16px;text-align:start;font-size:11px;font-weight:700;letter-spacing:.03em;color:var(--text);text-transform:uppercase;border-bottom:1px solid var(--border)}
.hr-module td{padding:14px 16px;border-bottom:1px solid var(--border);color:var(--text)}
.hr-module tr:last-child td{border-bottom:none}
.hr-module .badge{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:4px;font-size:10px;font-weight:700}
.hr-module .b-gr{background:var(--green-dim);color:var(--green)}.hr-module .b-rd{background:var(--red-dim);color:var(--red)}
.hr-module .b-am{background:var(--amber-dim);color:var(--amber)}.hr-module .b-bl{background:var(--accent-glow);color:var(--accent)}
.hr-module .b-pu{background:var(--purple-dim);color:var(--purple)}.hr-module .b-tl{background:var(--teal-dim);color:var(--teal)}.hr-module .b-gy{background:rgba(255,255,255,.06);color:var(--text-2)}
.hr-module .av{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0}
.hr-module .av-bl{background:var(--accent-glow);color:var(--accent);border:1px solid rgba(74,175,214,.3)}
.hr-module .av-gr{background:var(--green-dim);color:var(--green)}.hr-module .av-pu{background:var(--purple-dim);color:var(--purple)}
.hr-module .av-am{background:var(--amber-dim);color:var(--amber)}.hr-module .av-tl{background:var(--teal-dim);color:var(--teal)}
.hr-module .av-lg{width:48px;height:48px;font-size:17px}
.hr-module .fg{margin-bottom:14px}
.hr-module label{display:block;font-size:11px;font-weight:600;color:var(--text-2);margin-bottom:5px;text-transform:uppercase;letter-spacing:.04em}
.hr-module input, .hr-module select, .hr-module textarea{width:100%;background:var(--bg-base);border:1px solid var(--border);border-radius:var(--rs);padding:9px 12px;font-size:12.5px;color:var(--text);outline:none;transition:var(--t);font-family:inherit}
.hr-module input:focus, .hr-module select:focus, .hr-module textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-glow)}
.hr-module select option{background:var(--bg-card)}
.hr-module .ov{position:fixed;inset:0;background:rgba(7,13,26,.85);z-index:200;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(4px)}
.hr-module .modal{position:relative;top:auto;left:auto;display:block;height:auto;overflow-x:visible;background:var(--bg-card);border:1px solid var(--border-lt);border-radius:14px;width:min(560px,92vw);max-height:85vh;overflow-y:auto;box-shadow:0 24px 60px rgba(0,0,0,.6)}
.hr-module .mh{padding:20px 24px 16px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}
.hr-module .mt{font-size:14px;font-weight:700}
.hr-module .mc-btn{width:28px;height:28px;border-radius:6px;border:1px solid var(--border);background:none;color:var(--text-2);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:15px;transition:var(--t)}
.hr-module .mc-btn:hover{background:var(--red-dim);color:var(--red)}
.hr-module .mb{padding:20px 24px}.hr-module .mf{padding:14px 24px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:10px}
.hr-module .pb{height:6px;background:var(--border);border-radius:3px;overflow:hidden}
.hr-module .pf{height:100%;border-radius:3px;transition:width .4s ease}
.hr-module .tl{position:relative;padding-left:24px}
.hr-module .tl::before{content:"";position:absolute;left:7px;top:4px;bottom:4px;width:1px;background:var(--border)}
.hr-module .tli{position:relative;margin-bottom:16px}
.hr-module .tld{position:absolute;left:-21px;top:3px;width:10px;height:10px;border-radius:50%;border:2px solid}
.hr-module .tl-gr .tld{border-color:var(--green);background:var(--green-dim)}
.hr-module .tl-bl .tld{border-color:var(--accent);background:var(--accent-glow)}
.hr-module .tl-am .tld{border-color:var(--amber);background:var(--amber-dim)}
.hr-module .tll{font-size:11.5px;font-weight:600}.hr-module .tlm{font-size:10.5px;color:var(--text-2);margin-top:2px}
.hr-module .ob{background:var(--bg-card);border:1px solid var(--border-lt);border-radius:8px;padding:10px 14px;min-width:100px;text-align:center;transition:var(--t);cursor:pointer}
.hr-module .ob:hover{border-color:var(--accent)}.hr-module .ob.root{border-color:var(--accent);background:var(--accent-glow)}
.hr-module .on{font-size:11.5px;font-weight:700}.hr-module .os{font-size:10px;color:var(--text-2);margin-top:2px}
.hr-module .bc{display:flex;flex-direction:column;gap:8px}
.hr-module .bcr{display:flex;align-items:center;gap:10px}
.hr-module .bcl{font-size:11px;color:var(--text-2);width:90px;flex-shrink:0;text-align:right}
.hr-module .bct{flex:1;height:8px;background:var(--border);border-radius:4px;overflow:hidden}
.hr-module .bcf{height:100%;border-radius:4px}
.hr-module .bcv{font-size:11px;font-weight:700;width:38px;flex-shrink:0}
.hr-module .sc{padding:6px 4px;border-radius:4px;font-size:10px;font-weight:600;text-align:center;cursor:pointer;transition:var(--t)}
.hr-module .sc-d{background:var(--green-dim);color:var(--green)}.hr-module .sc-n{background:var(--purple-dim);color:var(--purple)}
.hr-module .sc-o{background:var(--border);color:var(--text-3)}.hr-module .sc-l{background:var(--amber-dim);color:var(--amber)}
.hr-module .sh{font-size:9.5px;color:var(--text-3);text-align:center;padding:4px 2px}
.hr-module .lc{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
.hr-module .lch{font-size:9.5px;font-weight:700;color:var(--text-3);text-align:center;padding:4px}
.hr-module .lcd{padding:6px 4px;border-radius:5px;font-size:11px;text-align:center;cursor:pointer;transition:var(--t);position:relative}
.hr-module .lcd:hover{background:var(--bg-hover)}.hr-module .lcd.tod{background:var(--accent-glow);color:var(--accent);font-weight:700}
.hr-module .lcd.onl{background:var(--amber-dim);color:var(--amber)}
.hr-module .di{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}
.hr-module .di:last-child{border-bottom:none}
.hr-module .dico{width:32px;height:32px;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0}
.hr-module .pb2{background:linear-gradient(135deg,var(--bg-card) 0%,var(--bg-hover) 100%);border:1px solid var(--border-lt);border-radius:var(--r);padding:16px 20px;margin-bottom:20px;display:flex;align-items:center;gap:14px}
.hr-module .pn{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:900;flex-shrink:0}
.hr-module #toast{position:fixed;bottom:24px;right:24px;z-index:999;display:flex;flex-direction:column;gap:8px}
.hr-module .ti{background:var(--bg-card);border:1px solid var(--border-lt);border-radius:9px;padding:12px 16px;box-shadow:0 8px 24px rgba(0,0,0,.4);display:flex;align-items:center;gap:10px;font-size:12.5px;min-width:260px;animation:sIn .25s ease}
@keyframes sIn{from{transform:translateX(60px);opacity:0}to{transform:translateX(0);opacity:1}}
.hr-module .t-s{border-left:3px solid var(--green)}.hr-module .t-e{border-left:3px solid var(--red)}.hr-module .t-i{border-left:3px solid var(--accent)}
.hr-module .div{height:1px;background:var(--border);margin:16px 0}
.hr-module .tag{display:inline-flex;align-items:center;padding:2px 7px;border-radius:4px;font-size:10px;font-weight:600;background:var(--bg-hover);color:var(--text-2);border:1px solid var(--border)}
.hr-module .er{display:flex;align-items:center;gap:10px}
.hr-module .st{font-size:18px;font-weight:800;margin-bottom:4px}
.hr-module .ss{font-size:12px;color:var(--text-2);margin-bottom:20px}
.hr-module .ir{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--border);font-size:12px}
.hr-module .ir:last-child{border-bottom:none}
.hr-module .il{color:var(--text-2);font-weight:600}.hr-module .iv{color:var(--text);text-align:right}
.hr-module .ab{border-radius:var(--rs);padding:10px 14px;font-size:12px;display:flex;align-items:flex-start;gap:9px;margin-bottom:14px}
.hr-module .ab-r{background:var(--red-dim);border:1px solid rgba(240,82,98,.25);color:var(--red)}
.hr-module .ab-a{background:var(--amber-dim);border:1px solid rgba(245,166,35,.25);color:var(--amber)}
.hr-module .ab-b{background:var(--accent-glow);border:1px solid rgba(74,175,214,.25);color:var(--accent)}

[dir="rtl"] .hr-module th, [dir="rtl"] .hr-module td { text-align: right !important; }
[dir="ltr"] .hr-module th, [dir="ltr"] .hr-module td { text-align: left !important; }
