.tmjr-operative-settings{margin-top:20px;padding:20px;border:1px solid var(--tmjr-user-panel-border,#dbe3ef);border-radius:14px;background:var(--tmjr-user-panel-bg,#fff);color:var(--tmjr-user-text,#172033)}
.tmjr-timesheet-subtabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0;padding:12px;border:1px solid var(--tmjr-user-panel-border,#dbe3ef);border-radius:12px;background:var(--tmjr-user-panel-bg,#fff)}
.tmjr-timesheet-subtabs .button{border-radius:8px;padding:4px 12px;text-decoration:none}
.tmjr-timesheet-subtabs .button:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.tmjr-timesheet-settings-panel{padding:16px;border:1px solid var(--tmjr-user-panel-border,#dbe3ef);border-radius:12px;background:var(--tmjr-user-panel-bg,#fff);color:var(--tmjr-user-text,inherit)}
.tmjr-timesheet-settings-panel>.tmjr-operative-settings{margin-top:0}
.tmjr-pay-setup-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;align-items:end;margin:12px 0}
.tmjr-pay-setup-grid label,.tmjr-pay-schedule label{display:flex;flex-direction:column;gap:5px}
.tmjr-pay-rate-group{margin:12px 0;border:1px solid var(--tmjr-user-panel-border,#dbe3ef);border-radius:10px;padding:12px}
.tmjr-pay-rate-group>summary,.tmjr-pay-profile>summary{list-style:none;cursor:pointer;display:inline-flex;padding:8px 12px;border:1px solid var(--tmjr-user-panel-border,#cbd5e1);border-radius:8px;background:var(--tmjr-user-input-bg,#f3f6fb);font-weight:600;color:inherit}
.tmjr-pay-rate-group>summary:focus-visible,.tmjr-pay-profile>summary:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.tmjr-pay-rate-group input[type=number]{min-width:88px;width:100%}
.tmjr-pay-profile[open]{min-width:min(680px,75vw);padding:12px;border:1px solid var(--tmjr-user-panel-border,#dbe3ef);border-radius:10px;background:var(--tmjr-user-panel-bg,#fff)}
.tmjr-pay-profile .tmjr-modern-check{display:flex;flex-direction:row;align-items:center}
.tmjr-pay-schedule{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:10px;margin-block:12px}
.tmjr-pay-schedule>div{padding:10px;border:1px solid var(--tmjr-user-panel-border,#dbe3ef);border-radius:8px}
.tmjr-fixed-pay-row [data-tmjr-rule-hide]{display:none!important}
.tmjr-fixed-pay-row label[hidden]{display:none!important}
.tmjr-fixed-pay-row .tmjr-timesheet-manual-pay-row{grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:start!important}
.tmjr-fixed-pay-row .tmjr-timesheet-manual-pay-row>label,.tmjr-fixed-pay-row .tmjr-timesheet-manual-pay-row>.tmjr-subs-field,.tmjr-fixed-pay-row .tmjr-timesheet-manual-pay-row>.tmjr-manual-on-call-group{grid-column:auto!important;min-width:0}
.tmjr-fixed-pay-row .tmjr-timesheet-manual-pay-row>.tmjr-manual-checks{grid-column:1/-1!important}
.tmjr-fixed-pay-summary[hidden]{display:none!important}
.tmjr-fixed-pay-summary{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:baseline;padding:12px;margin-top:10px;border:1px solid var(--tmjr-user-panel-border,#cbd5e1);border-left:3px solid #2563eb;border-radius:9px;background:var(--tmjr-user-input-bg,#f7faff);color:var(--tmjr-user-text,#172033)}
.tmjr-fixed-pay-summary>strong,.tmjr-fixed-pay-summary>small{flex-basis:100%}
.tmjr-pay-rule-error,.tmjr-pay-rule-issues{color:var(--tmjr-user-text,#172033);border-left:3px solid #c2410c;padding-left:10px}
html body dialog.tmjr-pay-profile-modal{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(680px,calc(100vw - 32px))!important;max-width:680px!important;min-width:0!important;height:fit-content;max-height:calc(100dvh - 48px);overflow:auto;padding:24px;border:1px solid var(--tmjr-user-panel-border,#cbd5e1);border-radius:16px;background:var(--tmjr-user-panel-bg,#fff);color:var(--tmjr-user-text,#172033);box-shadow:0 24px 80px #0005}
.tmjr-pay-profile-modal .tmjr-pay-schedule{grid-template-columns:repeat(2,minmax(0,1fr))}
.tmjr-pay-copy-tools{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:12px;margin:12px 0;border:1px solid var(--tmjr-user-panel-border,#dbe3ef);border-radius:10px;background:var(--tmjr-user-input-bg,#f3f6fb)}
.tmjr-pay-copy-tools label{display:flex;flex-direction:column;gap:5px;min-width:180px}
.tmjr-pay-copy-tools p{flex-basis:100%;margin:0}
.tmjr-pay-audit-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.tmjr-pay-audit-heading h3{margin:0}
.tmjr-pay-audit-modal td,.tmjr-pay-audit-modal th{white-space:normal;overflow-wrap:anywhere}
.tmjr-pay-profile-modal::backdrop{background:#0f172a99}
.tmjr-pay-profile-modal input,.tmjr-pay-profile-modal select{box-sizing:border-box;width:100%;min-height:38px;padding:8px;border:1px solid var(--tmjr-user-panel-border,#cbd5e1);border-radius:8px;background:var(--tmjr-user-input-bg,#fff);color:inherit}
.tmjr-pay-profile-modal input[type=checkbox]{width:18px;min-height:18px}
.tmjr-pay-profile-modal .tmjr-modern-check{display:flex;flex-direction:row;align-items:center}
.tmjr-pay-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.tmjr-fixed-pay-row .tmjr-manual-on-call-group{grid-template-columns:1fr!important}
@media(max-width:700px){.tmjr-pay-profile[open]{min-width:0;max-width:85vw}.tmjr-pay-schedule{grid-template-columns:1fr}.tmjr-pay-setup-grid{grid-template-columns:1fr}}
@media(max-width:900px){.tmjr-fixed-pay-row .tmjr-timesheet-manual-pay-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.tmjr-fixed-pay-row .tmjr-timesheet-manual-pay-row{grid-template-columns:1fr!important}}
@media(max-width:520px){.tmjr-pay-profile-modal .tmjr-pay-schedule{grid-template-columns:1fr}}

/* Worked depot belongs beside the customer, before the client selection. */
@media(min-width:1101px){
 body .tmjr-timesheet-manual-sheet-form[data-tmjr-fixed-pay="1"] .tmjr-timesheet-manual-work-row,body.hatton-assist-body.tmjr-timesheets-app-page .tmjr-timesheet-manual-sheet-form[data-tmjr-fixed-pay="1"] .tmjr-timesheet-manual-work-row{grid-template-columns:repeat(20,minmax(0,1fr))!important;align-items:start}
 .tmjr-timesheet-manual-sheet-form[data-tmjr-fixed-pay="1"] .tmjr-timesheet-manual-work-row>label{grid-column:span 4}
 .tmjr-timesheet-manual-sheet-form[data-tmjr-fixed-pay="1"] .tmjr-timesheet-manual-work-row>label:nth-child(n+6){grid-column:span 5}
}
.tmjr-timesheet-app-form [data-tmjr-fixed-pay-summary]{display:none}

.tmjr-pay-rule-issues[hidden],.tmjr-pay-rule-issues [hidden]{display:none!important}
.tmjr-pay-rule-issues .tmjr-button{margin-right:8px}

.tmjr-pay-rule-issues [data-pay-setup-status]{line-height:1.6}
.tmjr-pay-rule-issues [data-pay-setup-recheck][aria-busy="true"]{cursor:wait;opacity:.75}

.tmjr-pay-profile-modal [data-pay-profile-status]:not(:empty){padding:10px 12px;border:1px solid var(--tmjr-user-panel-border,#dbe3ef);border-radius:8px;line-height:1.5}
