.timesheets{--sheet-today:#f5f0d9}.timesheet-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.timesheet-heading h1{font-size:38px;font-weight:300;margin:0}.timesheet-actions,.timesheet-dates,.timesheet-options{display:flex;align-items:center;gap:12px}.timesheet-actions .button{min-height:36px}.timesheet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.timesheet-dates>.icon-button{border:0;background:transparent;color:var(--rv-blue);font-size:23px}.timesheet-dates summary{font-size:17px;cursor:pointer;list-style:none}.timesheet-dates summary strong{color:var(--rv-blue);margin-right:7px}.sheet-date-picker,.sheet-filters{position:relative}.sheet-date-picker[open]>.form-field,.sheet-date-picker[open]>.button{position:absolute;z-index:6;background:var(--rv-surface);left:0;top:38px;width:240px;border:1px solid var(--rv-border);padding:15px}.sheet-date-picker[open]>.button{top:130px}.timesheet-options>.form-field{margin:0;max-width:235px}.timesheet-options>.form-field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.timesheet-options select{background:transparent;color:var(--rv-blue);border:0}.timesheet-options option{background:var(--rv-surface);color:var(--rv-ink)}.sheet-filters summary{cursor:pointer;list-style:none;padding:10px;color:var(--rv-blue);white-space:nowrap}.sheet-filters form{position:absolute;right:0;top:40px;width:300px;max-height:70vh;overflow:auto;padding:20px;background:var(--rv-surface);border:1px solid var(--rv-border);box-shadow:0 8px 25px #0003;z-index:6}.timesheet-grid-wrap{overflow:auto;border:1px solid var(--rv-border);background:var(--rv-surface)}.timesheet-grid{width:100%;min-width:1150px;border-spacing:0;table-layout:fixed;border-collapse:separate}.timesheet-grid th,.timesheet-grid td{vertical-align:top;text-align:left;border-right:1px solid var(--rv-border);border-bottom:1px solid var(--rv-border);font-size:12px;padding:12px 10px}.timesheet-grid tr>:last-child{border-right:0}.timesheet-grid thead th{color:var(--rv-blue);text-align:center;font-weight:500;text-transform:uppercase;font-size:12px;position:sticky;top:0;background:var(--rv-surface);z-index:2}.timesheet-grid thead small{display:block;font-size:11px;margin-top:5px}.timesheet-grid tr>:first-child{width:215px;position:sticky;left:0;z-index:1;background:var(--rv-surface)}.timesheet-grid thead th:first-child{z-index:3;text-align:left}.timesheet-grid tbody th{font-weight:500;line-height:1.6}.timesheet-grid .avatar{display:inline-grid;vertical-align:middle;margin-right:8px;width:30px;height:30px}.timesheet-grid .sheet-today{background:var(--sheet-today)}.timesheet-grid tbody td{position:relative;min-height:85px;height:100px}.sheet-day-total{display:block;font-size:16px;font-weight:500;margin-bottom:12px;font-variant-numeric:tabular-nums}.sheet-day-total small,.sheet-row-total small{font-size:9px;color:var(--rv-muted)}.sheet-entry{display:block;width:100%;background:transparent;color:var(--rv-ink);text-align:left;border:0;border-left:3px solid var(--rv-blue);padding:5px 7px;font-size:11px;margin:6px 0;cursor:pointer}.sheet-entry.approved{border-left-color:#60a278}.sheet-entry:hover{background:var(--rv-hover)}.sheet-entry span,.sheet-entry strong,.sheet-entry small{display:block;line-height:1.65;overflow-wrap:anywhere}.sheet-entry strong{font-weight:500}.sheet-entry small{color:var(--rv-muted);font-size:10px}.sheet-row-total{font-size:16px!important;white-space:nowrap}.sheet-add{opacity:0;display:block;width:100%;min-height:25px;background:transparent;border:0;color:var(--rv-blue);cursor:pointer}.timesheet-grid td:hover .sheet-add,.sheet-add:focus-visible{opacity:1}.sheet-time-off{display:block;background:var(--rv-hover);padding:8px;margin:5px 0;color:var(--rv-muted);font-size:11px}.timesheet-grid tfoot td,.timesheet-grid tfoot th{font-weight:600;padding:16px 10px;border-bottom:0}.timesheet-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:15px 0;font-size:12px;color:var(--rv-muted)}.time-fields{border:0;padding:0;margin:0 0 15px}.time-fields legend{font-size:15px;margin-bottom:14px}.time-fields details{font-size:11px;margin:10px 0}.time-fields details summary{cursor:pointer;color:var(--rv-blue);margin-bottom:10px}.time-fields:disabled{opacity:.7}.time-break-row{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:start;padding:12px 0;border-bottom:1px solid var(--rv-border)}.time-break-row>details{grid-column:1/-1;margin-top:0}.time-break-row .button{margin-top:23px;padding:10px}.time-break-row .form-field{margin:0}.clock-week-tabs{display:flex;align-items:center;border-bottom:1px solid var(--rv-border)}.clock-week-tabs button{padding:16px;border:0;background:transparent;color:var(--rv-muted);cursor:pointer}.clock-week-tabs button[aria-selected=true]{color:var(--rv-blue);box-shadow:inset 0 -3px var(--rv-blue)}.clock-week-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:15px}.clock-week-toolbar .icon-button{color:var(--rv-blue);font-size:18px;background:transparent}.clock-week-summary{padding:14px;display:flex;flex-wrap:wrap;gap:18px;font-size:12px;border-top:1px solid var(--rv-border)}.clock-week-summary strong{display:block;font-size:17px;margin-top:5px}.clock-week-grid .clock-week-today{background:var(--rv-hover)}
[data-theme=dark] .timesheets{--sheet-today:#353321}
.workspace-main:has(.timesheets){max-width:none}.workspace-shell .workspace-main>.content:has(.timesheets){padding:26px 15px}
@media(max-width:900px){.timesheet-heading h1{font-size:30px}.timesheet-toolbar{align-items:flex-start;flex-direction:column}.timesheet-options{justify-content:flex-end;width:100%}.timesheet-options>.form-field{max-width:160px}.timesheet-heading .button{font-size:11px;padding:9px}.timesheet-actions{gap:6px}.timesheet-dates{gap:7px}.timesheet-dates summary{font-size:14px}.timesheet-grid tr>:first-child{width:155px}.timesheet-grid{min-width:1100px}.sheet-add{opacity:1}.timesheet-footer{flex-wrap:wrap;justify-content:center}.workspace-shell .workspace-main>.content:has(.timesheets){padding-bottom:90px}.time-break-row{grid-template-columns:1fr auto}.time-break-row>.form-field{grid-column:1}.time-break-row>.button{grid-column:2;grid-row:1/3}.clock-week-toolbar{flex-wrap:wrap}}
@media print{.timesheet-toolbar,.timesheet-actions,.timesheet-footer button,.sheet-add{display:none!important}.timesheet-grid-wrap{overflow:visible;border:1px solid #aaa}.timesheet-grid{min-width:0;width:100%}.timesheet-grid tr>:first-child{width:120px}.timesheet-grid th,.timesheet-grid td{font-size:9px;padding:6px;color:#000;background:#fff!important}.sheet-entry{font-size:8px;color:#000}.sheet-entry small{color:#333}.timesheet-heading h1{font-size:25px}.timesheet-grid .avatar{display:none}}

.sheet-filter-strip{padding:8px;background:var(--rv-hover);margin-bottom:8px}.sheet-employee-filter{position:relative;width:230px}.sheet-employee-filter summary{padding:9px;background:var(--rv-surface);color:var(--rv-muted);font-size:12px;list-style:none;cursor:pointer}.sheet-employee-filter>div{position:absolute;top:38px;left:0;width:300px;max-height:55vh;overflow:auto;background:var(--rv-surface);border:1px solid var(--rv-border);padding:15px;z-index:7;box-shadow:0 8px 24px #0003}.sheet-employee-filter label[hidden]{display:none}.sheet-zone{position:relative}.sheet-zone summary{color:var(--rv-blue);font-size:13px;cursor:pointer;list-style:none;white-space:nowrap}.sheet-zone>.form-field{position:absolute;right:0;top:30px;width:300px;background:var(--rv-surface);border:1px solid var(--rv-border);padding:14px;z-index:7}.timesheet-grid thead th{text-align:left}.timesheet-grid tbody td{padding:0;height:180px}.sheet-cell-summary{padding:8px;min-height:118px}.sheet-pending{background:#fbfbdc;border-radius:0 0 5px 5px}.sheet-row-total{padding:8px;min-height:118px}.timesheet-grid .sheet-row-total{font-size:20px!important;font-weight:400}.sheet-day-total{font-size:20px;font-weight:400;margin-bottom:8px}.timesheet-options .icon-button{background:transparent;border:0;color:var(--rv-blue)}.timesheet-options svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}[data-theme=dark] .sheet-pending{background:#373a24}.timesheet-entry-backdrop{align-items:flex-start!important;justify-content:center!important;padding:28px 16px 0}.timesheet-entry-modal{width:600px!important;max-width:100%;height:calc(100vh - 28px)!important;border-radius:7px 7px 0 0}.timesheet-entry-modal .drawer-head{padding:36px 40px 24px}.timesheet-entry-modal .drawer-head h2{font-size:25px;font-weight:300}.timesheet-entry-modal .drawer-body{padding:10px 40px 30px}.timesheet-entry-modal .drawer-foot{display:flex;justify-content:space-between;gap:15px;padding:20px 40px}.timesheet-entry-modal .form-field input,.timesheet-entry-modal .form-field select{min-height:34px;padding:7px 9px;border-radius:4px}.timesheet-entry-modal .time-fields>legend{font-size:12px;font-weight:500}.compact-shift{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.compact-shift .form-field{margin:0;min-width:0;flex:1}.compact-shift .form-field:first-child{flex:1.25}.compact-shift input{font-size:11px;width:100%}.compact-shift>span{font-size:11px}.time-entry-modal .shift-advanced{margin-top:10px}.time-entry-total{display:block;font-size:14px;margin:12px 0 25px}.timesheet-entry-modal .assignment-checkboxes{margin:25px 0}.time-entry-identity{font-size:13px;margin-bottom:20px}.time-file-drop{position:relative;border:1px dashed var(--rv-border);background:var(--rv-hover);padding:20px;min-height:130px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;cursor:pointer}.time-file-drop input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.time-file-drop.dragging{outline:2px solid var(--rv-blue)}
@media(max-width:650px){.timesheet-entry-backdrop{padding:0}.timesheet-entry-modal{height:100vh!important;border-radius:0}.timesheet-entry-modal .drawer-head{padding:20px}.timesheet-entry-modal .drawer-body{padding:10px 20px 25px}.timesheet-entry-modal .drawer-foot{padding:15px 20px}.compact-shift .form-field{flex:1 1 95px}.compact-shift .form-field:first-child{flex:1 1 100%}.sheet-employee-filter>div{width:280px}.sheet-zone>.form-field{right:-80px;width:260px}}
@media print{.sheet-filter-strip{display:none}.sheet-pending{background:#fff!important}.timesheet-grid tbody td{height:auto}.sheet-cell-summary,.sheet-row-total{min-height:0}}

/* Match the existing slate/blue workspace palette inside the centered editor. */
.timesheet-entry-modal,.timesheet-entry-modal .drawer-head,.timesheet-entry-modal .drawer-body,.timesheet-entry-modal .drawer-foot{background:var(--rv-surface)!important;color:var(--rv-ink)!important;border-color:var(--rv-border)!important}.timesheet-entry-modal .form-field,.timesheet-entry-modal .subtle-note,.time-notes-counter{color:var(--rv-muted)!important}.timesheet-entry-modal .form-field input,.timesheet-entry-modal .form-field select,.timesheet-entry-modal .form-field textarea{background:var(--rv-bg)!important;color:var(--rv-ink)!important;border-color:var(--rv-border)!important}.timesheet-entry-modal .button:not(.secondary){background:var(--rv-blue)!important;color:#10202f!important}.timesheet-entry-modal .button.secondary{background:var(--rv-hover)!important;color:var(--rv-ink)!important;border-color:var(--rv-border)!important}.timesheet-entry-modal .add-time-break{border:0!important;background:transparent!important;color:var(--rv-blue)!important;padding:5px 20px;margin:0 0 12px}.timesheet-entry-modal .shift-advanced{margin:8px 0;font-size:10px}.timesheet-entry-modal .time-fields>legend{margin-bottom:5px}.timesheet-entry-modal .form-field{margin-bottom:18px}.timesheet-entry-modal .compact-shift .form-field{margin-bottom:0}.time-people-picker{position:relative;margin:0!important}.time-people-picker>summary,.search-select-trigger{list-style:none;display:block;width:100%;text-align:left;padding:8px 10px;min-height:34px;border:1px solid var(--rv-border);border-radius:4px;background:var(--rv-bg);color:var(--rv-ink)!important;font-size:12px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0!important}.time-people-picker>div{position:absolute;top:36px;left:0;right:0;z-index:8;background:var(--rv-surface);padding:10px;border:1px solid var(--rv-border);box-shadow:0 8px 20px #0005}.timesheet-entry-modal .assignment-checkboxes{border:0;padding:0;margin:8px 0;max-height:180px;overflow:auto}.timesheet-entry-modal .assignment-checkboxes label{padding:6px;margin:0;min-height:30px}.timesheet-entry-modal .assignment-checkboxes label[hidden]{display:none}.time-notes-counter{font-size:10px;margin-top:5px}.search-select{position:relative}.search-select-popup{position:absolute;top:36px;left:0;right:0;z-index:9;padding:8px;background:var(--rv-surface);border:1px solid var(--rv-border);box-shadow:0 8px 20px #0005}.search-select-popup>input{width:100%;margin-bottom:7px}.search-select-popup>[role=listbox]{max-height:180px;overflow:auto}.search-select-popup [role=option]{display:block;text-align:left;width:100%;background:transparent;color:var(--rv-ink);padding:8px;font-size:12px}.search-select-popup [role=option]:hover,.search-select-popup [role=option]:focus,.search-select-popup [aria-selected=true]{background:var(--rv-hover);color:var(--rv-blue)}.search-select-popup [role=option][hidden],.search-select-popup[hidden]{display:none}.timesheet-entry-modal .time-file-drop{min-height:115px}.timesheet-entry-modal .form-field textarea{min-height:75px}

.timesheet-entry-modal .drawer-head{padding-bottom:12px}.timesheet-entry-modal .drawer-body{padding-top:0}.timesheet-entry-modal .button.secondary.add-time-break{background:transparent!important;border:0!important;color:var(--rv-blue)!important;min-height:0;padding:3px 20px;margin:0 0 10px}.timesheet-entry-modal .shift-advanced{margin:5px 0}.timesheet-entry-modal .time-fields>.form-field:has([name=timezone])>span{display:none}.timesheet-entry-modal .time-fields>.form-field:has([name=timezone]) .search-select-trigger{width:auto;border:0;background:transparent;padding:5px 0;min-height:0;color:var(--rv-muted)!important}.shift-repeat-options[hidden],.shift-week-days[hidden]{display:none}.shift-week-days{display:flex;gap:7px;margin:10px 0}.shift-week-days label{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:11px}.shift-repeat-options{padding:10px 0}.timesheet-entry-modal #shift-form{display:block}.timesheet-entry-modal #shift-form .form-field{margin:18px 0}.timesheet-entry-modal #shift-form .compact-shift .form-field{margin:0}.timesheet-entry-modal #shift-form .time-fields{margin:0}.timesheet-entry-modal #shift-form .assignment-checkboxes{margin:5px 0}

/* Editors must remain above the fixed mobile navigation. */
.backdrop{z-index:100}#toast{z-index:120}

.approvals-page{width:100%}.approval-selection{display:flex;align-items:center;gap:12px;margin:22px 0 14px;font-size:13px;color:var(--rv-muted)}.approval-table{width:100%;min-width:1000px}.approval-table th{text-transform:uppercase;color:var(--rv-blue);font-weight:500}.approval-table th,.approval-table td{padding:18px 12px;text-align:right;white-space:nowrap}.approval-table th:nth-child(-n+3),.approval-table td:nth-child(-n+3),.approval-table th:last-child,.approval-table td:last-child{text-align:left}.approval-table .avatar{display:inline-grid;width:27px;height:27px;margin-right:8px;font-size:10px}.approval-table .record-link{display:block;font-size:11px;background:none;border:0;color:var(--rv-blue);padding:4px 0}.approval-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.approval-filters>.form-field{min-width:170px;margin:0}.approval-filters .sheet-employee-filter{align-self:center}.approval-filters [data-approval-person][hidden]{display:none}.workspace-main:has(.approvals-page){max-width:none}.workspace-shell .workspace-main>.content:has(.approvals-page){padding:26px 15px}@media(max-width:650px){.approval-selection{flex-wrap:wrap}.approval-selection .button{font-size:11px}.approval-filters{align-items:stretch}.approval-filters>.form-field{width:100%}.approvals-page .timesheet-dates summary{font-size:12px}}

#overlay .drawer,#overlay .drawer-head,#overlay .drawer-body,#overlay .drawer-foot{background:var(--rv-surface)!important;color:var(--rv-ink)!important;border-color:var(--rv-border)!important}#overlay .form-field{color:var(--rv-muted)}#overlay .form-field input,#overlay .form-field select,#overlay .form-field textarea{background:var(--rv-bg)!important;color:var(--rv-ink)!important;border-color:var(--rv-border)!important}#overlay .button:not(.secondary){background:var(--rv-blue)!important;color:#10202f!important}#overlay .button.secondary,#overlay .icon-button{background:var(--rv-hover)!important;color:var(--rv-ink)!important;border-color:var(--rv-border)!important}
.compact-shift.is-all-day{grid-template-columns:minmax(0,1fr)}.compact-shift.is-all-day>*:not(:first-child),.all-day-hidden{display:none!important}
.timesheet-entry-modal .form-field .assignment-checkboxes label{display:flex;align-items:center;gap:9px;justify-content:flex-start}.timesheet-entry-modal .form-field .assignment-checkboxes input[type=checkbox]{width:16px;min-width:16px;height:16px;min-height:16px;padding:0;margin:0;flex:0 0 16px;accent-color:var(--rv-blue)}.timesheet-entry-modal .form-field .assignment-checkboxes label>span{flex:1;min-width:0;white-space:normal;word-break:normal}
.search-select-popup{top:calc(100% + 4px);display:flex;flex-direction:column;box-sizing:border-box;max-height:min(320px,calc(100dvh - 16px));overflow:hidden}
.search-select-popup[hidden]{display:none}
.search-select-popup>input{flex:0 0 auto;min-width:0;font-size:16px}
.search-select-popup>[role=listbox]{flex:1 1 auto;min-height:0;max-height:240px;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
.search-select-popup [role=option]{box-sizing:border-box;min-height:44px;white-space:normal;overflow-wrap:anywhere;touch-action:pan-y}
