/* MOON v5.0.3: dashboard actions, employee records and time navigation. */
body #jobs-card .moon-job.job-card-live{display:grid!important;grid-template-columns:minmax(0,1fr) 132px!important;gap:12px!important;align-items:start}
body #jobs-card .moon-job .job-main{width:auto!important;grid-column:1;min-width:0}
body #jobs-card .moon-job .row-actions{grid-column:2;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:5px!important;min-width:0!important;width:132px!important;max-width:132px!important;margin:0!important}
body #jobs-card .moon-job .row-actions button{width:100%!important;min-width:0!important;white-space:normal!important}
body #employee-time-card .time-week-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center;gap:12px}
.time-period-left,.time-period-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.time-period-right{justify-content:flex-end}
body #employee-time-card #time-week-label{text-align:center!important;margin:0!important;justify-self:center}
body #employee-time-card #open-employee-records{background:var(--acceptance-color,#58ad54)!important;border-color:var(--acceptance-color,#58ad54)!important;color:#101619!important;font-weight:800}
#open-employee-records[hidden]{display:none!important}
body #employee-time-card #v5-leave-controls [data-management-note]{min-width:160px!important;max-width:180px;padding:8px 12px!important;font-size:.73rem!important}
.employee-records-window{width:min(1550px,96vw)!important;max-width:1550px!important}
.employee-profile-window{width:min(920px,96vw)!important;max-width:920px!important}
.employee-records-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}
.user-access-group{margin:0 0 22px}.user-access-group h4{margin:0 0 12px;color:var(--amber);font-family:var(--mono,monospace)}
.employee-profile-details{border:1px solid var(--line);border-radius:5px;padding:14px;margin:0;min-width:0}
.employee-profile-details legend{color:var(--muted);font:700 .72rem var(--mono,monospace);text-transform:uppercase;padding:0 8px}
.employee-profile-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.employee-profile-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:14px;margin-top:14px}
.employee-profile-actions>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin-left:auto}
.employee-profile-status{min-height:1.3em;margin:0;color:var(--amber)}
body[data-employee-account="false"] #employee-time-card .time-clock-buttons,body[data-employee-account="false"] #v5-leave-controls{display:none!important}
@media(max-width:1050px){body #employee-time-card .time-week-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}body #employee-time-card #time-week-label{grid-column:1/-1;grid-row:1}.time-period-left,.time-period-right{grid-row:2}}
@media(max-width:700px){body #jobs-card .moon-job.job-card-live{display:block!important}body #jobs-card .moon-job .row-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-end!important;width:100%!important;max-width:none!important;margin-top:8px!important}body #jobs-card .moon-job .row-actions button{width:auto!important;min-width:105px!important}.employee-profile-form .form-grid{grid-template-columns:1fr!important}.employee-profile-actions{align-items:flex-end}.employee-profile-actions>div{gap:5px}.time-period-left,.time-period-right{gap:6px}body #employee-time-card .time-week-toolbar{gap:8px!important}.employee-records-window .user-roster-head,.user-access-group .user-roster-head{display:none!important}}
