/* HR workspace, workspace switcher and HR access groups. Logical properties only, so the same rules serve left-to-right and right-to-left. */
.ws-switch-box{display:inline-flex;align-items:center;gap:.4rem;margin-inline-end:.6rem}
.ws-switch-box[hidden]{display:none}
.ws-switch-label{font-size:12px;opacity:.75}
.ws-switch-box select{min-height:34px;border:1px solid var(--border,#d6d9de);border-radius:10px;padding:0 .6rem;background:#fff;font:inherit}
.ws-muted{opacity:.75;font-size:13px}
.ws-chip{display:inline-block;margin:.1rem .25rem;padding:.1rem .55rem;border:1px solid var(--border,#c9ced6);border-radius:999px;font-size:12px}
.ws-chip.on{background:#dff3e3;color:#1d5a2b;border-color:#9fd0aa}
.ws-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.6rem}
.ws-counts{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.6rem;margin:.4rem 0 .8rem}
.ws-count{border:1px solid var(--border,#d6d9de);border-radius:12px;padding:.6rem .8rem;display:flex;flex-direction:column;gap:.15rem}
.ws-count b{font-size:22px}.ws-count span{font-size:12px;opacity:.8}
.ws-tbl{width:100%;border-collapse:collapse}
.ws-tbl th,.ws-tbl td{padding:.4rem .5rem;border-bottom:1px solid var(--border,#e0e3e8);text-align:start;vertical-align:top}
.ws-tbl small{display:inline}
.ws-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.6rem;align-items:end;margin:.6rem 0}
.ws-form .full-width{grid-column:1/-1}
.ws-form[hidden]{display:none}
.ws-list{list-style:none;margin:.4rem 0;padding:0;display:grid;gap:.3rem}
.ws-denied{max-width:640px}
.ws-notice{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin:.6rem 23px 0;padding:.6rem .9rem;border:1px solid #e0b64a;background:#fff6dc;border-radius:12px}
.ws-notice[hidden]{display:none}
#hrHome .panel,#hrGrantsPanel{margin-bottom:1rem}
#hrGrantsPanel select[multiple]{min-height:6rem}
button.danger{border-color:#c0392b;color:#c0392b}
@media(max-width:760px){
  .ws-switch-box{margin-inline-end:.3rem}.ws-switch-label{display:none}
  .ws-tbl{display:block;overflow-x:auto}
  .ws-counts{grid-template-columns:repeat(2,1fr)}
  .ws-notice{margin:.5rem 12px 0}
}
/* Tablet widths: the workspace switcher must not push the header actions (language, sign-out) past the viewport edge. */
@media(max-width:1000px){
  .ws-switch-label{display:none}
  .ws-switch-box{margin-inline-end:.3rem}
  .ws-switch-box select{max-width:8.5rem;min-height:34px;padding:0 .4rem;text-overflow:ellipsis}
}
/* HR workspace tabs (Home, Employees, Schedules, Evaluations, Appointments, Vehicles, Reports) */
.hrw-tabs{display:flex;gap:.35rem;flex-wrap:wrap;margin-top:.6rem}
.hrw-tabs button{border:1px solid rgba(0,0,0,.12);background:#fff;border-radius:.5rem;padding:.4rem .9rem;font:inherit;cursor:pointer}
.hrw-tabs button.on{background:#e8f9d4;border-color:#72cc1b;color:#2d5206;font-weight:600}
#hhPendingList{list-style:none;padding:0;margin:0}#hhPendingList li{display:flex;gap:.6rem;align-items:center;padding:.35rem 0;border-bottom:1px solid rgba(0,0,0,.08)}#hhPendingList b{min-width:2rem;text-align:center;font-size:1.1rem}
@media(max-width:760px){.hrw-tabs button{flex:1 1 40%}}
