.hr-tabs,.hr-toolbar,.hr-actions{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:0 0 20px}.hr-tabs{padding-bottom:14px;border-bottom:1px solid var(--line)}.hr-toolbar .field{min-width:180px;margin:0}.hr-balances{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:20px 0}.hr-balances article{padding:18px;border:1px solid var(--line);border-radius:8px;background:#fff}.hr-balances strong,.hr-balances small{display:block}.hr-balances strong{font-size:24px;margin-top:10px}.hr-overdue td{background:#fff3df}.hr-day-notice{margin-bottom:20px}.hr-actions button,.hr-tabs button{min-height:44px}.hr-tabs button{white-space:normal}@media(max-width:600px){.hr-toolbar>*{flex:1;min-width:0!important}.hr-tabs{display:grid;grid-template-columns:1fr 1fr}.hr-actions>*{flex:1 1 180px}}

.hr-urgent td{background:#fff4e5}.hr-soon td{background:#fffbea}
/* Compact dossier navigation and actions on desktop; retain touch sizes on mobile. */
@media(min-width:901px){
 .personnel-view .hr-tabs{gap:6px;flex-wrap:nowrap;overflow-x:auto;align-items:center}
 .personnel-view .hr-tabs>button{flex:0 0 auto;min-height:34px;padding:8px 10px;font-size:11px;line-height:1.3;white-space:nowrap}
 .personnel-view .hr-actions{gap:6px;align-items:center}
 .personnel-view .hr-actions>button{min-height:34px;padding:8px 9px;font-size:11px;line-height:1.3;white-space:nowrap;flex:0 0 auto}
}
@media(pointer:coarse){.personnel-view .hr-tabs>button,.personnel-view .hr-actions>button{min-height:44px}}
