.employees-panel{padding:26px;max-width:1380px;margin:auto;color:#f4f7fb}.employees-v2-hero{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px}.employees-v2-hero h1{margin:4px 0;font-size:32px;color:#fff}.employees-v2-hero p{margin:0;color:#aeb9c9}.employees-v2-hero small{color:#8fa7c4;font-weight:900;letter-spacing:.05em}.employees-header-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.employees-panel button,.employees-panel select{cursor:pointer}.employees-panel .primary{background:#315dce!important;border-color:#4c76df!important}.employee-points-open,.employee-bonus-open{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:8px;padding:10px 12px;color:#fff;border:1px solid #6074ff;background:#3448d8;font-weight:800}.employee-bonus-open.compact{background:#142a45;border-color:#315b89;padding:9px 10px}.employees-branches{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.employees-branch{display:flex;gap:9px;align-items:center;background:#0d1725;color:#cbd7e8;border:1px solid #2a3b52;border-radius:10px;padding:11px 15px;font-weight:900}.employees-branch.active{background:linear-gradient(135deg,#2858ed,#4a35ff);border-color:#6277ff;color:#fff}.employees-branch small{background:#1d2c44;border-radius:999px;padding:3px 7px}.employees-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 22px}.employees-stats article{background:linear-gradient(180deg,#111d2f,#0c1726);border:1px solid #24364c;border-radius:13px;padding:16px;display:flex;align-items:center;gap:12px}.employees-stats .stat-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#123a31;color:#5be2a4;font-weight:900}.employees-stats b{display:block;font-size:24px;line-height:1.05}.employees-stats small{display:block;color:#91a2b8;margin-top:3px}.employees-v2-tabs{display:flex;gap:4px;border-bottom:1px solid #24354a;overflow-x:auto;margin-bottom:16px}.employees-v2-tabs button{border:0;background:none;color:#aab8cb;padding:11px 13px;font-weight:900;white-space:nowrap}.employees-v2-tabs button.active{color:#65a1ff;border-bottom:3px solid #4386ff}.employees-soon{font-size:10px;background:#3b2d63;color:#d0c1ff;border-radius:999px;padding:2px 6px;margin-left:4px}.employees-notice{min-height:18px;color:#8eb9ff;margin-bottom:8px}.employees-v2-list{display:grid;gap:11px}.employee-v2-row{display:grid;grid-template-columns:minmax(280px,2fr) minmax(180px,1fr) 120px 140px 42px;gap:14px;align-items:center;background:linear-gradient(180deg,#101b2c,#0c1726);border:1px solid #273950;border-radius:12px;padding:14px 16px}.employee-v2-person{display:flex;align-items:center;gap:12px;min-width:0}.employee-avatar{flex:0 0 auto;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#6d44ff,#315cff);font-weight:900;color:#fff}.employee-avatar.large{width:54px;height:54px}.employee-name-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.employee-v2-person b{font-size:15px}.employee-v2-person small{display:block;color:#98a9bd;margin-top:3px}.employee-status{font-size:11px;font-weight:800}.employee-status.ok{color:#52dfa0}.employee-status.off{color:#f39b9b}.employee-skills{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.employee-skills span{background:#1c2d46;color:#dce8f9;border:1px solid #2d4668;border-radius:999px;padding:4px 7px;font-size:11px}.employee-v2-meta small{display:block;color:#92a4ba}.employee-v2-meta b{display:block;margin-top:4px;font-size:13px}.employee-more{width:36px;height:36px;border:1px solid #315072;background:#13243a;color:#fff;border-radius:8px;font-weight:900}.employees-empty{border:1px dashed #354c69;border-radius:12px;padding:24px;background:#0b1624}.candidate-v2-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px}.candidate-v2-card{background:linear-gradient(180deg,#101b2c,#0c1726);border:1px solid #273950;border-radius:12px;padding:15px}.candidate-v2-card>header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.candidate-v2-card p{color:#aab8c9;min-height:54px}.candidate-meta{display:flex;justify-content:space-between;gap:8px;color:#879ab3;font-size:11px}.candidate-v2-card footer{margin-top:12px}.candidate-v2-card select{width:100%;background:#101f33;color:#fff;border:1px solid #2f4a6b;border-radius:8px;padding:9px}.candidate-badge{font-size:11px;background:#3e31c0;border-radius:999px;padding:4px 7px;white-space:nowrap}.employee-editor{position:fixed;z-index:60;right:24px;top:24px;bottom:24px;width:min(440px,calc(100vw - 48px));overflow:auto;background:#0d1827;color:#f4f7fb;border:1px solid #33465f;border-radius:16px;padding:22px;box-shadow:0 18px 60px #0008}.employee-editor header,.employee-editor footer{display:flex;justify-content:space-between;gap:12px;align-items:center}.employee-editor header small{color:#8fa7c4;font-weight:900}.employee-editor label{display:grid;gap:6px;margin:16px 0}.employee-editor input,.employee-editor select,.employee-editor textarea{padding:10px;background:#091321;color:#fff;border:1px solid #405571;border-radius:8px}.employee-editor fieldset{border:1px solid #33465f;border-radius:10px;margin:16px 0}.employee-editor fieldset label{display:block;margin:10px}.employee-details{position:fixed;z-index:50;right:0;top:0;bottom:0;width:min(560px,100vw);background:#0a1524;color:#f4f7fb;border-left:1px solid #33465f;padding:22px;overflow:auto;box-shadow:-18px 0 60px #0009}.employee-details>header{display:flex;justify-content:space-between;gap:16px}.employee-details>header>button{border:0;background:none;color:#fff;font-size:28px}.employee-details h2{margin:3px 0}.employee-details p{margin:0;color:#aab8c9}.drawer-tabs{display:flex;gap:12px;overflow:auto;border-bottom:1px solid #26394f;margin:18px 0}.drawer-tabs span{padding:10px 1px;color:#97a7bb;font-size:12px;white-space:nowrap}.drawer-tabs span.active{color:#67a1ff;border-bottom:2px solid #4986ff}.drawer-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px}.drawer-summary article{background:#101d2e;border:1px solid #2a405a;border-radius:10px;padding:13px}.drawer-summary small{display:block;color:#92a5bc}.drawer-summary b{display:block;margin-top:4px}.drawer-skills{margin:14px 0}.employee-details-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.employee-details button,.employee-details-actions a{background:#17304f;color:#fff;border:1px solid #315577;border-radius:8px;padding:9px 11px;text-decoration:none}.employee-calendar-toolbar{display:flex;align-items:center;justify-content:center;gap:20px;margin:22px 0}.employee-calendar-weekdays,.employee-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.employee-calendar-weekdays span{text-align:center;color:#aeb9c9;padding:6px}.employee-calendar-day{min-height:82px;background:#101d2d;border:1px solid #273950;border-radius:8px;padding:6px}.employee-calendar-day.empty{background:transparent;border-color:transparent}.employee-calendar-event{display:grid;gap:2px;margin-top:5px;padding:4px 5px;border-radius:6px;background:#243b64;font-size:10px}.employee-calendar-event.absence{background:#49334f}.employee-calendar-event span{color:#d7dfeb}.employees-secondary-card{display:flex;justify-content:space-between;gap:18px;border:1px dashed #3a5373;border-radius:13px;padding:22px;background:#0b1624}.employees-secondary-card small{color:#8fa7c4;font-weight:900}.employees-secondary-card h2{margin:4px 0}.employees-secondary-card p{color:#a8b7ca;max-width:780px}.distribution-hooks{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:280px}.distribution-hooks span{background:#102035;border:1px solid #29405c;border-radius:9px;padding:11px}.state{color:#aab8c9}@media(max-width:980px){.employees-stats{grid-template-columns:1fr 1fr}.employee-v2-row{grid-template-columns:1fr 1fr}.employee-more{justify-self:end}.distribution-hooks{min-width:0}}@media(max-width:700px){.employees-panel{padding:14px}.employees-v2-hero{display:block}.employees-header-actions{margin-top:12px}.employees-stats{grid-template-columns:1fr 1fr}.employee-v2-row{grid-template-columns:1fr}.employee-bonus-open.compact{justify-self:start}.employee-editor{inset:8px;width:auto}.employee-details{width:100%}.employee-calendar-day{min-height:62px;padding:4px}.employee-calendar-event span{display:none}.candidate-v2-grid{grid-template-columns:1fr}.employees-secondary-card{display:block}.distribution-hooks{grid-template-columns:1fr 1fr;margin-top:14px}}
.absence-date-range{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-hint{display:block;color:#8fa7c4;margin-top:-6px;margin-bottom:12px}.employee-calendar-day.has-absence{background:#2a1833;border-color:#70477b}.employee-calendar-event.absence{background:#65406f!important;color:#fff;min-height:34px;align-content:center}.schedule-overview{border:1px solid #2d415b;border-radius:14px;background:#0b1624;padding:18px}.schedule-overview>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.schedule-overview h2{margin:4px 0}.schedule-overview p{margin:0;color:#9eb0c5}.schedule-nav{display:flex;gap:8px}.schedule-nav button{width:38px;height:38px;border-radius:8px;background:#17304f;color:#fff;border:1px solid #315577}.schedule-scroll{overflow:auto;padding-bottom:6px}.schedule-grid{display:grid;grid-template-columns:170px minmax(920px,1fr);gap:6px;min-width:1090px}.schedule-days{display:grid;grid-template-columns:repeat(31,minmax(28px,1fr));gap:3px}.schedule-head span{text-align:center;color:#8fa1b8;font-size:11px;padding:4px 0}.schedule-person{display:flex;align-items:center;font-weight:800;padding:7px 8px;background:#101d2d;border-radius:7px}.schedule-cell{height:38px;border:1px solid #263a52;border-radius:6px;background:#0e1a29;display:grid;place-items:center;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-cell.shift{background:#153353;border-color:#2f5c88;color:#d9ecff}.schedule-cell.absence{background:#5a3864;border-color:#8b5b96;color:#fff;font-weight:800}.schedule-legend{display:flex;gap:18px;flex-wrap:wrap;margin-top:14px;color:#9fb0c4;font-size:12px}.schedule-legend span{display:flex;gap:7px;align-items:center}.schedule-legend i{width:16px;height:12px;border-radius:3px;display:inline-block}.schedule-legend i.shift{background:#153353;border:1px solid #2f5c88}.schedule-legend i.absence{background:#5a3864;border:1px solid #8b5b96}@media(max-width:700px){.absence-date-range{grid-template-columns:1fr}.schedule-grid{grid-template-columns:120px minmax(920px,1fr)}}

.absence-summary{margin-top:18px;border-top:1px solid #283b52;padding-top:16px}.absence-summary h3{margin:0 0 10px}.absence-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.absence-summary-grid article{background:#101d2e;border:1px solid #2a405a;border-radius:10px;padding:12px}.absence-summary-grid article.pending{border-color:#6b5790;background:#1b1730}.absence-summary-grid small{display:block;color:#92a5bc}.absence-summary-grid b{display:block;margin-top:5px;font-size:20px}.absence-summary.loading{color:#92a5bc}.absence-date-help{display:block;color:#91a4ba;margin-top:-8px}@media(max-width:700px){.absence-summary-grid{grid-template-columns:1fr 1fr}}

/* Continuous multi-day absence ranges */
.employee-calendar-day{position:relative;overflow:visible}
.employee-calendar-event.absence{display:flex;align-items:center;min-height:30px;margin-top:7px;padding:5px 8px;background:#6a3d72;border:1px solid #8b5a95;position:relative;z-index:2;overflow:visible}
.employee-calendar-event.absence b{font-size:10px;white-space:nowrap;position:relative;z-index:3}
.employee-calendar-event.absence-start{margin-right:-12px;border-radius:7px 0 0 7px;border-right:0}
.employee-calendar-event.absence-middle{margin-left:-12px;margin-right:-12px;border-radius:0;border-left:0;border-right:0}
.employee-calendar-event.absence-end{margin-left:-12px;border-radius:0 7px 7px 0;border-left:0}
.employee-calendar-event.absence-single{border-radius:7px}
.schedule-days{gap:3px}
.schedule-cell.absence{position:relative;z-index:2;overflow:visible;display:flex;align-items:center;justify-content:flex-start;padding:0 5px;background:#5a3864;border-color:#8b5b96}
.schedule-cell.absence span{white-space:nowrap;font-size:9px;font-weight:800;position:relative;z-index:3}
.schedule-cell.absence-start{margin-right:-4px;border-radius:6px 0 0 6px;border-right:0}
.schedule-cell.absence-middle{margin-left:-4px;margin-right:-4px;border-radius:0;border-left:0;border-right:0}
.schedule-cell.absence-end{margin-left:-4px;border-radius:0 6px 6px 0;border-left:0}
.schedule-cell.absence-single{border-radius:6px}
