.staff-selected-employee-card .employee-settings-grid { align-items:start; }
.weekly-working-hours-card .weekly-hours-head { display:none !important; }
.weekly-working-hours-card .weekly-hours-row,
.new-employee-weekly-hours .new-weekly-hours-row {
 display:grid !important; grid-template-columns:90px 22px minmax(130px,1fr) minmax(130px,1fr) minmax(120px,1fr) 48px;
 align-items:center; gap:8px; padding:10px 0; border-bottom:1px solid #e0e8ed;
}
.weekly-working-hours-card .weekly-hours-row > label,
.new-weekly-hours-row > label { display:flex !important; align-items:center; gap:6px; margin:0 !important; min-width:0; }
.weekly-working-hours-card .weekly-hours-row input[type=time],
.new-weekly-hours-row input[type=time] { width:94px !important; min-width:0 !important; max-width:100%; padding:7px 5px !important; margin:0 !important; }
.weekly-working-hours-card .weekly-hours-row select,
.new-weekly-hours-row select { width:82px !important; min-width:0 !important; padding:7px 4px !important; margin:0 !important; }
.weekly-working-hours-card .weekly-working-toggle input,
.new-weekly-hours-row .weekly-working-toggle input { width:17px !important; margin:0 !important; }
.hours-field-label { display:block; font-size:12px; flex:none; }
.weekly-working-hours-card .weekly-day { font-size:13px !important; }
.weekly-working-hours-card .weekly-paid { font-size:13px; text-align:right; }
.staff-selected-employee-card .weekly-working-hours-card { grid-column:1 / -1; }
@media(min-width:1400px) {
 .staff-selected-employee-card .employee-settings-grid { display:grid !important; grid-template-columns:minmax(180px,1fr) minmax(160px,.85fr) minmax(600px,2.8fr) minmax(190px,1fr) !important; gap:12px; }
 .staff-selected-employee-card .weekly-working-hours-card { grid-column:auto; }
}
@media(max-width:700px) {
 .weekly-working-hours-card .weekly-hours-row { grid-template-columns:90px 22px minmax(0,1fr) !important; gap:8px; }
 .weekly-working-hours-card .weekly-hours-row > label:not(.weekly-working-toggle) { grid-column:3; }
 .weekly-working-hours-card .weekly-day { grid-row:1 / span 3; align-self:center; }
 .weekly-working-hours-card .weekly-working-toggle { grid-column:2; grid-row:1 / span 3; }
 .weekly-working-hours-card .weekly-paid { grid-column:3; text-align:left; }
}
/* Keep the accessible checkbox label hidden despite older label styles. */
.weekly-working-hours-card .weekly-working-toggle > span,
.new-weekly-hours-row .weekly-working-toggle > span {
 position:absolute !important; width:1px !important; height:1px !important;
 padding:0 !important; margin:-1px !important; overflow:hidden !important;
 clip:rect(0,0,0,0) !important; clip-path:inset(50%) !important;
 white-space:nowrap !important; border:0 !important;
}
.weekly-working-hours-card .weekly-paid,
.new-weekly-hours-row .weekly-paid { display:none !important; }
.weekly-working-hours-card .weekly-hours-row {
 grid-template-columns:90px 22px minmax(130px,1fr) minmax(130px,1fr) minmax(120px,1fr);
}
@media(max-width:700px) {
 .weekly-working-hours-card .weekly-hours-row { grid-template-columns:90px 22px minmax(0,1fr) !important; }
}
