.hr-not-ready{border-left:4px solid #d97706;max-width:760px;line-height:1.55}.hr-not-ready strong{color:#9a3412}.hr-not-ready p{margin:.6rem 0 0;color:var(--muted)}
.hr-stats{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:.7rem;margin-bottom:.85rem}.hr-stats .card{padding:.8rem 1rem;display:flex;flex-direction:column;gap:.3rem}.hr-stats span{font-size:12px;color:var(--muted)}.hr-stats strong{font-size:23px;color:var(--accent)}
.hr-nearest{display:flex;align-items:center;gap:.8rem;padding:.9rem 1rem;margin-bottom:1rem;border-left:4px solid #d97706}.hr-nearest.is-overdue{border-left-color:#dc2626}.hr-nearest>i{font-size:23px;color:#d97706}.hr-nearest div{display:flex;flex-direction:column;gap:.2rem}.hr-nearest span{font-size:13px;color:var(--muted)}
.hr-toolbar{display:flex;gap:.6rem;margin-bottom:.75rem}.hr-toolbar input{flex:1;min-width:130px;border:1px solid var(--border);border-radius:7px;padding:.55rem .7rem;background:var(--surface);color:var(--text)}.hr-list{padding:0;overflow:hidden}.hr-list td{vertical-align:middle}
.hr-details{margin-top:1rem;padding:1rem}.hr-detail-head,.hr-period-head,.hr-period-title{display:flex;justify-content:space-between;align-items:center;gap:.6rem;flex-wrap:wrap}.hr-detail-head h3,.hr-period-head h4{margin:0}.hr-fields{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:.65rem;margin:.8rem 0}.hr-field{display:flex;flex-direction:column;gap:.3rem;font-size:11px;font-weight:700;color:var(--muted)}.hr-field input,.hr-field textarea,.hr-schedule input,.hr-return input{min-height:34px;padding:.4rem .55rem;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);font:inherit;font-size:12px}.hr-check{display:inline-flex;align-items:center;gap:.4rem;font-size:12px;color:var(--text)}.hr-actions{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin:.65rem 0}
.hr-period-head{margin-top:1.4rem;padding-top:1rem;border-top:1px solid var(--border)}.hr-period{border:1px solid var(--border);border-radius:9px;padding:.8rem;margin-top:.7rem}.hr-period-title strong{font-size:13px}.hr-leaves{margin-top:.9rem;border-top:1px solid var(--border);padding-top:.75rem}.hr-leaves>strong{font-size:12px}.hr-leave{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;border-bottom:1px solid var(--border);padding:.55rem 0}.hr-leave>div{min-width:180px;flex:1;display:flex;flex-direction:column;gap:.15rem;font-size:12px}.hr-leave span:not(.badge),.hr-leave small{color:var(--muted)}.hr-return{display:flex;align-items:center;gap:.3rem;font-size:11px}.hr-schedule{display:flex;align-items:end;gap:.5rem;flex-wrap:wrap;margin-top:.75rem}.hr-schedule label{display:flex;flex-direction:column;gap:.25rem;font-size:11px;color:var(--muted)}.hr-schedule label:nth-child(3),.hr-schedule label:nth-child(4){flex:1;min-width:150px}.hr-legal-note{margin:1rem 0}
.hr-schedule select{min-height:34px;padding:.4rem .55rem;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);font:inherit;font-size:12px}
.hr-calculated{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;margin-top:1rem;padding:.8rem 1rem;border:1px solid #bdd8f1;border-left:4px solid #2563eb;border-radius:8px;background:#eff6ff;color:#183b66}.hr-calculated strong{font-size:13px}.hr-calculated span{font-size:12px;line-height:1.45}.hr-prior-due{color:#9a5a00;margin-top:.2rem}
.hr-absence{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;border:1px solid var(--border);border-radius:8px;padding:.65rem;margin-top:.55rem}.hr-absence>div{min-width:200px;flex:1;display:flex;flex-direction:column;gap:.15rem;font-size:12px}.hr-absence span:not(.badge),.hr-absence small{color:var(--muted)}.hr-absence-form{border-top:1px solid var(--border);padding-top:.75rem}
@media(max-width:900px){.hr-stats{grid-template-columns:repeat(2,minmax(130px,1fr))}.hr-fields{grid-template-columns:repeat(2,minmax(130px,1fr))}}@media(max-width:570px){.hr-stats,.hr-fields{grid-template-columns:1fr}.hr-toolbar{flex-wrap:wrap}.hr-toolbar input{width:100%}}
