/* V54 staff workspace layout: independent toolbars and legible controls */
.staff-main .ths-staff-heading{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:16px!important;margin-bottom:14px!important}
.staff-main .ths-staff-heading>div:nth-child(2){flex:1 1 300px;min-width:0}
.staff-main .ths-staff-heading>div:last-child{flex:0 1 350px;min-width:230px;margin-left:auto!important;display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
.staff-main .ths-staff-heading .tabs{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.staff-main .ths-staff-heading .tab,.staff-main .ths-staff-heading .btn{min-height:40px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.staff-main .ths-bulk-toolbar{display:grid!important;grid-template-columns:minmax(190px,1fr) auto auto auto;align-items:end!important;gap:9px 10px!important;padding:14px!important;margin:8px 0 16px!important;background:#f2f7fa!important;border:1px solid #dbe6ee!important;border-radius:15px!important;width:100%;box-sizing:border-box}
.staff-main .ths-bulk-toolbar .ths-bulk-label{grid-column:1/-1;font-size:14px;font-weight:800;color:#173b4a}
.staff-main .ths-bulk-toolbar .input{width:100%!important;min-width:0!important;margin:0!important;min-height:42px}
.staff-main .ths-bulk-toolbar .btn{min-height:42px;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;margin:0!important;line-height:1.2}
.staff-main .ths-bulk-toolbar .ths-bulk-hint{grid-column:1/-1;grid-row:4;color:#516477;font-size:13px}
.staff-main .ths-bulk-toolbar [data-bulk-apply]{grid-column:2;grid-row:2}
.staff-main .ths-bulk-toolbar [data-export-selected][data-export-format="csv"]{grid-column:3;grid-row:2}
.staff-main .ths-bulk-toolbar [data-export-selected][data-export-format="pdf"]{grid-column:4;grid-row:2}
.staff-main .ths-bulk-toolbar .input{grid-column:1;grid-row:2}
.staff-main .ths-bulk-toolbar .btn.btn-light{background:#075e68!important;color:white!important;border-color:#075e68!important}
.staff-main .ths-bulk-toolbar .btn.btn-light:hover{background:#064b53!important}
.staff-main .table-wrap thead input[type="checkbox"]{width:18px;height:18px;accent-color:#0d8791}
.staff-main .table-wrap thead th:first-child{min-width:56px;width:56px;text-align:center}
.staff-main .table-wrap td:first-child{text-align:center}
@media(max-width:1120px){.staff-main .ths-staff-heading>div:last-child{justify-content:flex-start;margin-left:0!important;flex-basis:100%}}
@media(max-width:800px){.staff-main .ths-bulk-toolbar{grid-template-columns:1fr 1fr!important}.staff-main .ths-bulk-toolbar .input{grid-column:1/-1;grid-row:2}.staff-main .ths-bulk-toolbar [data-bulk-apply]{grid-column:1/-1;grid-row:3}.staff-main .ths-bulk-toolbar [data-export-selected][data-export-format="csv"]{grid-column:1;grid-row:4}.staff-main .ths-bulk-toolbar [data-export-selected][data-export-format="pdf"]{grid-column:2;grid-row:4}.staff-main .ths-bulk-toolbar .ths-bulk-hint{grid-column:1/-1;grid-row:5}}
@media(max-width:420px){.staff-main .ths-staff-heading .h1{font-size:clamp(26px,8vw,40px)!important}.staff-main .ths-bulk-toolbar{grid-template-columns:1fr!important}.staff-main .ths-bulk-toolbar [data-export-selected][data-export-format="csv"]{grid-column:1;grid-row:4}.staff-main .ths-bulk-toolbar [data-export-selected][data-export-format="pdf"]{grid-column:1;grid-row:5}.staff-main .ths-bulk-toolbar .ths-bulk-hint{grid-row:6}}
