/* V1390: fewer visual dividers, room for clients/notes, deliberate editing. */
@media(min-width:1024px){
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table{min-width:980px!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table col.client{width:188px!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table col.source{width:46px!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table col.time{width:88px!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table col.km{width:85px!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table col.travel{width:91px!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table col.save{width:110px!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table tbody td{height:28px!important;padding:1px 5px!important;line-height:1.15!important;border-bottom:1px solid #edf0eb!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table thead th{font-size:10px!important;letter-spacing:.01em!important;text-transform:none!important;color:#59705f!important;background:#f5f8f3!important;padding:7px 5px!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table :is(input:not([type=hidden]),textarea[name=notes]){border:1px solid transparent!important;background:transparent!important;box-shadow:none!important;color:#344d3c!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table input[name=client]{font-weight:600!important;cursor:text!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table input[readonly]{cursor:text!important;color:#475e4c!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table input[readonly]::-webkit-calendar-picker-indicator{display:none!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table :is(input:not([type=hidden]),textarea[name=notes]):hover{border-color:#d8e2d4!important;background:#fff!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table :is(input:not([type=hidden]),textarea[name=notes]):focus{border-color:#5f8963!important;background:#fff!important;outline:2px solid #dbe9d6!important;outline-offset:0!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table .er1390-time-active{background:#fff!important;border-color:#5f8963!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table .er1367-add-row :is(input:not([type=hidden]),textarea){border-color:#ccdac5!important;background:#fff!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1390-day-continuation .er1366-day-cell>:is(strong,small){visibility:hidden!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-day-cell{border-right:1px solid #e1e8dc!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1389-source-cell{text-align:center!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1390-source{display:inline-grid!important;place-items:center!important;width:26px!important;height:24px!important;min-height:24px!important;padding:3px!important;border:0!important;border-radius:5px!important;background:#edf4e9!important;color:#426747!important;box-shadow:none!important;vertical-align:middle!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1390-source svg{display:block!important;width:18px!important;height:18px!important;flex:0 0 18px!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1390-source.employee-edit{background:#fff2dc!important;color:#996b24!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1390-source.admin-edit{background:#e9eff6!important;color:#446683!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1390-source.employee-manual{background:#f5eee4!important;color:#936b3c!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1390-source.admin-manual{background:#eaf0f5!important;color:#486c80!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1390-source:is(.unknown,.automatic){background:#f1f1ec!important;color:#75806e!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll button.er1390-source:focus-visible{outline:2px solid #315f44!important;outline-offset:2px!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-row:not(.dirty) [data-action=er1366-save]{visibility:hidden!important;pointer-events:none!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-row.dirty [data-action=er1366-save]{background:#315f44!important;color:#fff!important;border-color:#315f44!important;visibility:visible!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1389-day-start:not(:first-child)>td{border-top:2px solid #ccdcca!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1387-table-heading>div:first-child{display:flex!important;align-items:baseline!important;gap:12px!important;min-width:0!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1390-edit-hint{font-size:10px!important;color:#71816f!important;font-weight:400!important;white-space:nowrap!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1387-table-heading [data-action=er1390-choose-entry]{background:#315f44!important;color:#fff!important;border-color:#315f44!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1387-table-heading [data-action=er1390-source-legend]{color:#56705a!important;border-color:transparent!important;background:transparent!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1387-pay-footer{min-height:38px!important;padding:3px 10px!important;gap:8px!important;border-top:1px solid #dce6d6!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1387-pay-footer>span{max-width:120px!important;font-size:9px!important;line-height:1.4!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1388-day-totals{gap:2px!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1388-day-totals>span{gap:5px!important;min-height:28px!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1388-day-totals .er1390-day-add{display:inline-grid!important;place-items:center!important;width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important;padding:0!important;border:1px solid #dbe5d6!important;border-radius:5px!important;background:#f2f6ef!important;color:#4e7553!important;font-size:16px!important;font-weight:500!important;line-height:1!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1388-day-totals .er1390-day-add:hover{color:#fff!important;background:#315f44!important;border-color:#315f44!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-work-cell .er1366-row-hours{font-size:11px!important;font-weight:650!important;color:#365d3d!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-missing-row td{height:32px!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table .er1366-live-row td{font-size:11px!important;}
}
@media(min-width:1024px) and (min-height:850px){
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table tbody td{height:34px!important;padding-top:3px!important;padding-bottom:3px!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table :is(input:not([type=hidden]),textarea[name=notes]){font-size:13px!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table input[type=time]{font-size:12px!important;}
html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-work-cell .er1366-row-hours{font-size:12px!important;}
}
@media(min-width:1024px) and (max-width:1279px){html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1390-edit-hint{display:none!important;}}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-dialog{width:min(580px,100%)!important;max-width:580px!important;max-height:calc(var(--er1380-visible-height,100dvh) - 24px - var(--er1328-safe-top,env(safe-area-inset-top,0px)) - var(--er1328-safe-bottom,env(safe-area-inset-bottom,0px)))!important;min-height:0!important;display:flex!important;flex-direction:column!important;background:#fff!important;border:1px solid #d6e2d1!important;border-radius:14px!important;overflow:hidden!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-dialog .modal-body{padding:20px!important;min-height:0!important;flex:1 1 auto!important;overflow-y:auto!important;background:#fff!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-dialog :is(.modal-head,.modal-foot){flex-shrink:0!important;background:#fff!important;padding:14px 20px!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-dialog .modal-head{border-bottom:1px solid #e2e9df!important;color:#31503a!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-dialog .modal-head h2{font-size:21px!important;color:#31503a!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-dialog .modal-x{height:42px!important;width:42px!important;min-height:42px!important;background:#f1f5ed!important;color:#47654b!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-dialog .modal-foot{border-top:1px solid #e2e9df!important;gap:10px!important;display:flex!important;justify-content:flex-end!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-dialog .modal-foot .btn{min-height:44px!important;padding:10px 18px!important;font-size:14px!important;border-radius:8px!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-entry-chooser>p{font-size:14px!important;line-height:1.6!important;color:#65755f!important;margin:0 0 18px!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-entry-chooser>label{display:block!important;font-size:13px!important;font-weight:600!important;color:#4d674d!important;margin:18px 0 8px!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-entry-chooser>input{width:100%!important;min-width:0!important;min-height:46px!important;border:1px solid #d3dfcd!important;background:#fff!important;color:#2e4a35!important;border-radius:8px!important;padding:10px!important;font-size:16px!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-choose-days{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:7px!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-choose-days>button{display:grid!important;gap:6px!important;justify-items:center!important;padding:12px 3px!important;border:1px solid #dae4d4!important;border-radius:9px!important;background:#f7f9f4!important;color:#4f7052!important;min-width:0!important;min-height:90px!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-choose-days>button:hover{background:#e6f0df!important;border-color:#6b9169!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-choose-days span{font-size:10px!important;text-transform:uppercase!important;letter-spacing:.04em!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-choose-days strong{font-size:22px!important;line-height:1.1!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-choose-days small{font-size:10px!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-entry-chooser .er1390-add-help{font-size:12px!important;margin:14px 0 0!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-symbol-legend>div{display:flex!important;align-items:flex-start!important;gap:13px!important;padding:12px 0!important;border-bottom:1px solid #edf1e9!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-symbol-legend .er1390-source{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;flex:0 0 36px!important;border-radius:9px!important;background:#edf4e9!important;color:#426747!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-symbol-legend .er1390-source svg{width:22px!important;height:22px!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-symbol-legend .employee-edit{background:#fff2dc!important;color:#996b24!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-symbol-legend :is(.admin-edit,.admin-manual){background:#e9eff6!important;color:#446683!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-symbol-legend .employee-manual{background:#f5eee4!important;color:#936b3c!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-symbol-legend :is(.unknown,.automatic){background:#f1f1ec!important;color:#75806e!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-symbol-legend h3{font-size:14px!important;line-height:1.5!important;color:#304e37!important;margin:0 0 3px!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-symbol-legend p{font-size:12px!important;line-height:1.6!important;color:#6a7964!important;margin:0!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-symbol-legend>p{margin-top:16px!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-admin-change{padding:15px!important;margin:0 0 18px!important;border:1px solid #d3dfec!important;border-radius:10px!important;background:#f4f7fb!important;color:#3c5d76!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-admin-change>div{display:flex!important;align-items:center!important;gap:8px!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-admin-change svg{width:20px!important;height:20px!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-admin-change>p{margin:7px 0 12px!important;font-size:12px!important;line-height:1.5!important;color:#667d90!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-admin-change dl{margin:0 0 14px!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-admin-change dl>div{display:grid!important;grid-template-columns:65px minmax(0,1fr)!important;gap:8px!important;margin:8px 0!important;font-size:12px!important;line-height:1.6!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-admin-change dd{display:flex!important;gap:7px!important;flex-wrap:wrap!important;margin:0!important;overflow-wrap:anywhere!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-admin-change dd>span{color:#7d8b96!important;text-decoration:line-through!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-admin-change .btn{min-height:40px!important;padding:8px 12px!important;border:1px solid #cbd9e5!important;background:#fff!important;color:#3c5d76!important;font-size:12px!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-history-link{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;margin-top:16px!important;min-height:44px!important;width:100%!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-history-link svg{width:20px!important;height:20px!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost :has(.er1390-dialog) .modal-overlay{top:var(--er1380-view-top,0px)!important;height:var(--er1380-visible-height,100dvh)!important;max-height:var(--er1380-visible-height,100dvh)!important;padding:calc(12px + var(--er1328-safe-top,env(safe-area-inset-top,0px))) 12px calc(12px + var(--er1328-safe-bottom,env(safe-area-inset-bottom,0px)))!important;align-items:center!important;box-sizing:border-box!important;}
html.er1390-refined body #app#app#app#app#app .er1390-admin-marker{display:inline-flex!important;align-items:center!important;gap:5px!important;width:fit-content!important;max-width:100%!important;padding:4px 7px!important;margin-top:7px!important;border:1px solid #dbe4ee!important;border-radius:5px!important;background:#f0f5fa!important;color:#4c6980!important;font-size:10px!important;font-weight:600!important;line-height:1.3!important;}
html.er1390-refined body #app#app#app#app#app .er1390-admin-marker svg{width:14px!important;height:14px!important;flex:0 0 14px!important;}
@media(max-width:599px){html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-choose-days{grid-template-columns:repeat(4,minmax(0,1fr))!important;}html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-dialog .modal-body{padding:16px!important;}}
@media(min-width:1024px){
 html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table td>input:not([type=hidden]){display:block!important;vertical-align:middle!important;}
 html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1390-source{display:grid!important;margin:0 auto!important;}
 html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-work-cell .er1366-row-hours{display:block!important;}
 html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table thead th:nth-child(3){text-align:center!important;}
}
@media(min-width:1024px){
 html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table .er1366-day-cell>small{font-size:8px!important;line-height:10px!important;margin:0!important;}
}
/* Longer audit callouts must not move a mobile dialog under the phone status area. */
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost :is(.er1390-employee-record,.er1387-history-modal){display:flex!important;flex-direction:column!important;min-height:0!important;max-height:calc(var(--er1380-visible-height,100dvh) - 24px - var(--er1328-safe-top,env(safe-area-inset-top,0px)) - var(--er1328-safe-bottom,env(safe-area-inset-bottom,0px)))!important;overflow:hidden!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .modal-overlay:has(.er1390-employee-record,.er1387-history-modal){top:var(--er1380-view-top,0px)!important;height:var(--er1380-visible-height,100dvh)!important;max-height:var(--er1380-visible-height,100dvh)!important;padding:calc(12px + var(--er1328-safe-top,env(safe-area-inset-top,0px))) 12px calc(12px + var(--er1328-safe-bottom,env(safe-area-inset-bottom,0px)))!important;align-items:center!important;box-sizing:border-box!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost :is(.er1390-employee-record,.er1387-history-modal)>.modal-body{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost :is(.er1390-employee-record,.er1387-history-modal)>:is(.modal-head,.modal-foot){flex-shrink:0!important;}
html.er1390-refined body #modalHost#modalHost#modalHost#modalHost#modalHost .er1390-employee-record>.modal-body{background:#fff!important;}
@media(min-width:1024px){
 html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table col.client{width:200px!important;}
 html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1366-pay-table col.source{width:54px!important;}
 html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1390-time-wrap{display:block!important;position:relative!important;height:24px!important;min-width:0!important;}
 html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1390-time-face{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;padding:2px 5px!important;color:#475e4c!important;font:400 12px/18px system-ui,sans-serif!important;pointer-events:none!important;white-space:nowrap!important;}
 html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1390-time-wrap:has(input:not([readonly])) .er1390-time-face{display:none!important;}
 html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1390-time-wrap input[readonly]{color:transparent!important;-webkit-text-fill-color:transparent!important;}
 html.er1390-refined body #app#app#app#app#app .er1390-payroll .er1390-time-wrap input{width:100%!important;display:block!important;}
}
