.employee-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.employee-toolbar h3{margin:0}.employee-toolbar p,.employee-toolbar small{color:#64748b}.employee-week{display:block;max-width:300px;margin:18px 0;color:#475569;font-size:14px}.employee-week input,.employee-week select{display:block;width:100%;padding:12px;border:1px solid #dce3ec;border-radius:10px;background:white;color:#1e293b;font:inherit;box-sizing:border-box;margin-top:7px}.employee-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 24px}.employee-totals>div,.employee-shift,.employee-note{background:#fff;border:1px solid #e1e7ee;border-radius:14px;padding:18px}.employee-totals span{display:block;color:#64748b;font-size:13px}.employee-totals strong{display:block;font-size:26px;margin-top:8px}.employee-shifts,.employee-notes{display:grid;gap:12px}.employee-status{font-size:13px;color:#475569}.employee-site{font-weight:600}.employee-site small{display:block;font-weight:400;color:#64748b;margin-top:5px}.employee-shift dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.employee-shift dt{font-size:13px;color:#64748b}.employee-shift dd{margin:6px 0 0;font-weight:600}.employee-shift details{font-size:14px;color:#475569}.employee-note p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.employee-empty{padding:24px;color:#64748b;text-align:center;border:1px dashed #ccd5df;border-radius:14px}.employee-job-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}.employee-job-actions .btn{min-height:44px}.employee-upload-status{font-size:14px;color:#475569;overflow-wrap:anywhere}.employee-upload-status:empty{display:none}#crewNoteDialog label{display:block;font-weight:600;margin-bottom:8px}#crewNoteDialog textarea{box-sizing:border-box;width:100%;border:1px solid #dce3ec;border-radius:10px;padding:12px;font:inherit;resize:vertical}#generalNoteMessage{color:#b42318}#crewNoteDialog [type=submit]{min-height:46px}@media(max-width:600px){.employee-totals{gap:8px}.employee-totals>div{padding:13px 10px}.employee-totals span{font-size:12px}.employee-totals strong{font-size:23px}.employee-shift dl{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-toolbar .btnrow{display:flex;flex-wrap:wrap;gap:6px}.employee-week{max-width:none}.employee-job-actions .btn{flex:1 1 40%}}

.hours-person{border:0;background:transparent;color:#1e3a5f;font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:4px;cursor:pointer;padding:8px 0;min-height:40px;text-align:left}.hours-person:focus-visible{outline:2px solid #c82036;outline-offset:4px}#workerHoursDialog{width:min(900px,calc(100vw - 32px));max-width:900px;max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box}#workerHoursDialog .dialog-heading{position:sticky;top:-24px;background:#fff;z-index:1;padding:8px 0}

.employee-date-range{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:18px 0}.employee-date-range .employee-week{flex:1;min-width:145px;max-width:none;margin:0}.employee-date-range .btn{min-height:46px;margin:0}.employee-date-range [role=alert]{flex-basis:100%;margin:0}.employee-date-range [role=alert]:empty{display:none}.employee-day-shift+.employee-day-shift{border-top:1px solid #e1e7ee;margin-top:18px;padding-top:8px}.employee-clock-pair,.employee-day-total{grid-template-columns:repeat(2,minmax(0,1fr))!important}.employee-day-total{border-top:1px solid #e1e7ee;padding-top:16px}@media(max-width:420px){.employee-date-range .btn{width:100%}}
.employee-add-day{margin-top:12px;min-height:44px}.missed-day-dialog label{display:block;font-weight:600;margin:14px 0 6px}.missed-day-dialog input,.missed-day-dialog textarea{display:block;box-sizing:border-box;width:100%;padding:12px;border:1px solid #dce3ec;border-radius:10px;background:#fff;color:#1e293b;font:inherit}.missed-day-dialog textarea{resize:vertical}.missed-day-times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.missed-day-dialog [type=submit]{min-height:46px}@media(max-width:540px){.missed-day-times{grid-template-columns:repeat(2,minmax(0,1fr))}.missed-day-times label:last-child{grid-column:1/-1}}

#workerHoursDialog[open]{display:flex;flex-direction:column;overflow:hidden;padding:0;position:fixed}
#workerHoursDialog .hours-window-header{position:relative;top:0;flex-shrink:0;margin:0;padding:18px 24px;border-bottom:1px solid #e1e7ee;gap:12px;flex-wrap:wrap}
.hours-window-title,.hours-window-controls{display:flex;align-items:center;gap:8px}.hours-window-title{flex:1;min-width:0}.hours-window-title h2{margin:0;overflow-wrap:anywhere}.hours-window-controls{margin-left:auto}.hours-window-body{min-height:0;overflow:auto;padding:20px 24px 30px;overscroll-behavior:contain}
#workerHoursDialog.hours-window-floating{margin:0;max-width:none;max-height:none}.hours-window-resize{position:absolute;right:0;bottom:0;width:30px;height:30px;border:0;background:#e9eef4;color:#475569;border-radius:10px 0 0 0;cursor:nwse-resize;touch-action:none;font-size:22px}.hours-window-dragging{user-select:none}.employee-no-clock{background:#f8fafc;padding:14px 18px}.employee-no-clock p{margin-bottom:0;font-size:13px}.hours-window-resize:focus-visible,.hours-window-move:focus-visible{outline:2px solid #bd263d;outline-offset:-3px}
@media(min-width:900px){.hours-window-header,.hours-window-move{cursor:grab;touch-action:none}.hours-window-dragging .hours-window-header{cursor:grabbing}}
@media(max-width:899px){.hours-window-move,.hours-window-controls [data-hours-window-expand],.hours-window-controls [data-hours-window-reset],.hours-window-resize{display:none}.hours-window-title h2{font-size:22px}#workerHoursDialog .hours-window-header{padding:16px}.hours-window-body{padding:16px}.hours-window-controls{margin-left:0}}
