/* Focused V1368 changes; existing business controls and handlers are retained. */
html body #er1368-alert-dialog.er1368-alert-backdrop{display:flex!important;align-items:center!important;justify-content:center!important;padding:20px 14px!important}
html body #er1368-alert-dialog .er1368-alert-dialog[role="dialog"]{display:block!important;position:relative!important;inset:auto!important;width:min(100%,470px)!important;max-width:470px!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 40px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;margin:0!important;overflow-y:auto!important;overflow-x:hidden!important;flex:0 1 auto!important;border-radius:20px!important;padding:28px 20px 20px!important;box-sizing:border-box!important}
.er1368-alert-card{box-sizing:border-box;width:100%;border:1px solid #c2d2b3;border-radius:14px;background:#e8efdd;color:#234b35;padding:17px;margin:12px 0;box-shadow:none}
.er1368-alert-card.amber{background:#f1ead7;border-color:#d7c69d}.er1368-alert-heading{display:flex;align-items:center;gap:12px}.er1368-bell{width:38px;height:38px;background:#326346;color:#fff;display:grid;place-items:center;border-radius:11px;flex:none}.er1368-bell svg{width:20px;height:20px}.er1368-alert-heading small,.er1368-kicker{font-size:10px;letter-spacing:.08em;font-weight:750;color:#587448}.er1368-alert-heading h3{font-size:15px;line-height:1.35;margin:4px 0 0;color:#234b35}.er1368-alert-detail,.er1368-alert-caption{font-size:12px;line-height:1.55;color:#57664e;margin:10px 0 12px}.er1368-alert-actions{display:flex;flex-wrap:wrap;gap:8px}.er1368-alert-actions button{background:#2c6445;color:#fff;border:1px solid #2c6445;border-radius:8px;padding:10px 12px;min-height:42px;font-size:12px;font-weight:700;cursor:pointer}.er1368-alert-actions button+button{background:#f5f5e9;color:#355439;border-color:#becdae}.er1368-alert-actions button:disabled{opacity:.65;cursor:wait}.er1368-alert-backdrop{position:fixed;inset:0;z-index:2147480000;background:#17362480;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(3px)}.er1368-alert-dialog{position:relative;box-sizing:border-box;width:min(100%,470px);max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;padding:28px 23px 20px;border:1px solid #bccaaf;border-radius:20px;background:#f4f2e6;box-shadow:0 20px 60px #0a281c40}.er1368-alert-dialog h2{margin:12px 25px 18px 0;font-size:26px;line-height:1.2;color:#214d37}.er1368-alert-close{position:absolute;top:12px;right:12px;width:36px;height:36px;border:1px solid #d0d8c4;border-radius:50%;color:#385738;background:#e8eedf;font-size:23px;cursor:pointer}.er1368-alert-later{width:100%;padding:11px;border:1px solid #cbd5be;border-radius:9px;background:#e9eeda;color:#3c5b3b;font-weight:700;cursor:pointer}.er1368-settings-guide{font-size:12px;line-height:1.6;color:#53634c}.er1368-settings-guide h3{font-size:14px;color:#294e34;margin:16px 0 8px}.er1368-settings-guide p{margin:9px 0 16px}.er1368-alert-dialog button:focus-visible,.er1368-alert-card button:focus-visible{outline:3px solid #688f59;outline-offset:2px}
@media(max-width:760px){.er1368-alert-backdrop{padding:calc(16px + env(safe-area-inset-top,0px)) 14px calc(16px + env(safe-area-inset-bottom,0px))}.er1368-alert-dialog{padding:25px 18px 18px;max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}}
/* Shift essentials fit together; optional fields expand on demand. */
html body.modal-open.ww-app-visible[data-modal-type="shift"] #modalHost#modalHost .er1368-shift .er1367-form-grid{gap:10px!important}
html body.modal-open.ww-app-visible[data-modal-type="shift"] #modalHost#modalHost .er1368-shift .er1367-form-column{gap:10px!important}
html body.modal-open.ww-app-visible[data-modal-type="shift"] #modalHost#modalHost .er1368-shift .er1367-main{gap:0!important}
html body.modal-open.ww-app-visible[data-modal-type="shift"] #modalHost#modalHost .er1368-shift .er1367-form-column>.er932-section{padding:11px!important}
html body.modal-open.ww-app-visible[data-modal-type="shift"] #modalHost#modalHost .er1368-shift .er932-label{margin-bottom:8px!important}
html body.modal-open.ww-app-visible[data-modal-type="shift"] #modalHost#modalHost .er1368-shift .er932-hours{margin:9px 0 0!important;padding:8px!important;min-height:0!important;background:#e4ecd7!important}
html body.modal-open.ww-app-visible[data-modal-type="shift"] #modalHost#modalHost .er1368-shift .er932-hours small{display:none!important}
html body.modal-open.ww-app-visible[data-modal-type="shift"] #modalHost#modalHost .er1368-shift .er1337-total-time{padding:9px!important;margin-top:10px!important;min-height:0!important}
html body.modal-open.ww-app-visible[data-modal-type="shift"] #modalHost#modalHost .er1368-shift .er1021-onsite-note{font-size:10px!important;margin:7px 0 0!important;line-height:1.3!important}
html body.modal-open.ww-app-visible[data-modal-type="shift"] #modalHost#modalHost .er1368-shift .er1367-publish-row{grid-template-columns:1fr!important;margin-top:10px!important;gap:0!important}
html body.modal-open.ww-app-visible[data-modal-type="shift"] #modalHost#modalHost .er1368-shift .er1367-publish{padding:10px!important}
.er1368-shift-options{display:block;width:100%;margin:10px 0 0;border:1px solid #c7d6b9;border-radius:10px;background:#e9efdf;color:#3b5b36;overflow:hidden}.er1368-shift-options>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;cursor:pointer;min-height:52px;box-sizing:border-box}.er1368-shift-options>summary::-webkit-details-marker{display:none}.er1368-shift-options summary strong{display:block;font-size:12px}.er1368-shift-options summary small{display:block;font-size:10px;margin-top:4px;color:#6b7c5d}.er1368-shift-options summary>b{font-size:20px}.er1368-shift-options[open] summary>b{transform:rotate(180deg)}.er1368-options-content{display:grid;gap:10px;padding:0 11px 11px}.er1368-options-content>.er1367-instructions{padding:10px!important;margin:0!important}.er1368-options-content .er1367-section-heading p{margin-bottom:7px}
html body.modal-open.ww-app-visible[data-modal-type="shift"] #modalHost#modalHost .er1368-shift textarea#m_notes{height:85px!important;min-height:85px!important;font-size:16px!important}
html body.modal-open.ww-app-visible[data-modal-type="shift"] #modalHost#modalHost .er1368-shift .er1367-colour{padding:10px!important;min-height:45px!important}.er1368-repeat .er932-trigger{margin:0!important}
@media(max-width:900px){html body.modal-open.ww-app-visible[data-modal-type="shift"] #modalHost#modalHost .er1368-shift .er1367-form-grid{grid-template-columns:1fr!important}html body.modal-open.ww-app-visible[data-modal-type="shift"] #modalHost#modalHost .er1368-shift .er1367-form-column{gap:9px!important}html body.modal-open.ww-app-visible[data-modal-type="shift"] #modalHost#modalHost .er1368-shift .modal-body{padding:10px!important}}
/* Mobile messaging occupies the usable viewport with one independent scroller. */
/* Admin desktop employee timesheet: distinguish pay totals and review states. */
@media(min-width:1024px){
 html body #page .er1366-payroll-clock .er1366-pay-totals{border:0!important;gap:10px!important;background:transparent!important;overflow:visible!important}
 html body #page .er1366-payroll-clock .er1366-pay-totals>div{border:1px solid #b9cdaa!important;border-top:4px solid #5a8149!important;border-radius:11px!important;background:#dce9ce!important;padding:13px 15px!important}
 html body #page .er1366-payroll-clock .er1366-pay-totals>div:nth-child(2){background:#e4e6d3!important;border-color:#c7cdb0!important;border-top-color:#8a9565!important}
 html body #page .er1366-payroll-clock .er1366-pay-totals>div:nth-child(3){background:#d5e6dc!important;border-color:#aac9b4!important;border-top-color:#3d7a59!important}
 html body #page .er1366-payroll-clock .er1366-pay-totals>div:nth-child(4){background:#f0e2c0!important;border-color:#d7c18b!important;border-top-color:#b58c3e!important}
 html body #page .er1366-payroll-clock .er1366-pay-totals span{color:#526548!important;font-weight:700!important}.er1366-payroll-clock .er1366-pay-totals small{color:#64724e!important}
 html body #page .er1366-payroll-clock .er1366-pay-table th{background:#315f43!important;color:#f6f4df!important;padding-top:12px!important;padding-bottom:12px!important;border-bottom-color:#315f43!important}
 html body #page .er1366-payroll-clock .er1366-pay-row{--pay-bg:#eef0e2;--pay-line:#b3c09e;--pay-ink:#3e5b3c}
 html body #page .er1366-payroll-clock .er1366-pay-row[data-pay-status="approved"]{--pay-bg:#e0ecd3;--pay-line:#6d9654;--pay-ink:#365b2e}
 html body #page .er1366-payroll-clock .er1366-pay-row[data-pay-status="paid"]{--pay-bg:#dce9df;--pay-line:#52836c;--pay-ink:#2b5b44}
 html body #page .er1366-payroll-clock .er1366-pay-row[data-pay-status="pending"]{--pay-bg:#f3e9cc;--pay-line:#bd9747;--pay-ink:#785b27}
 html body #page .er1366-payroll-clock .er1366-pay-row:is([data-pay-status="flagged"],[data-pay-status="declined"]){--pay-bg:#f0e0d4;--pay-line:#ad7857;--pay-ink:#7d4c34}
 html body #page .er1366-payroll-clock .er1366-pay-row td{background:var(--pay-bg)!important;border-bottom:1px solid #bdcba9!important;padding-top:12px!important;padding-bottom:12px!important}
 html body #page .er1366-payroll-clock .er1366-pay-row td:first-child{border-left:4px solid var(--pay-line)!important;color:var(--pay-ink)!important}
 html body #page .er1366-payroll-clock .er1366-pay-row :is(input,textarea){background:#f8f8ec!important;border-color:#bccca8!important;color:#2a4732!important}
 html body #page .er1366-payroll-clock .er1366-pay-row select{background:var(--pay-bg)!important;border:1px solid var(--pay-line)!important;color:var(--pay-ink)!important;font-weight:750!important}
 html body #page .er1366-payroll-clock .er1366-pay-row :is(input,textarea,select):focus{outline:2px solid #507c48!important;outline-offset:1px!important;box-shadow:none!important}
 html body #page .er1366-payroll-clock .er1366-pay-row.dirty td:last-child{box-shadow:inset -4px 0 #b48a34!important}
 html body #page .er1366-payroll-clock .er1366-pay-row.dirty .er1366-save-state{color:#795720!important;font-weight:700!important}
 html body #page .er1366-payroll-clock .er1366-empty-row td{background:#e9ecdf!important;color:#77836b!important}
 html body #page .er1366-payroll-clock .er1366-missing-row td{background:#ede3d1!important;color:#7c6343!important}
 .er1368-pay-legend{display:flex;align-items:center;flex-wrap:wrap;gap:13px;font-size:11px;color:#4f6648}.er1368-pay-legend>span{display:flex;align-items:center;gap:5px;font-weight:700}.er1368-pay-legend>span:before{content:'';width:8px;height:8px;border-radius:50%;background:#6d9654}.er1368-pay-legend>.paid:before{background:#52836c}.er1368-pay-legend>.pending:before{background:#bd9747}.er1368-pay-legend>.flagged:before{background:#ad7857}.er1368-pay-legend small{margin-left:auto;color:#748267;font-size:10px}
}
@media(max-width:1023px){.er1368-pay-legend{display:none}}
html body.ww-chat-active #app #page .cv-row,html body.ww-chat-active #app #page .msg{animation:none!important;transition:none!important;transform:none!important;will-change:auto!important}
html body.ww-chat-active #app #page .cv-threads{overflow-anchor:none!important;scroll-behavior:auto!important;overscroll-behavior:contain!important}
@media(max-width:1023px){
 html.er1319-root body.er1319.ww-chat-active.chat-thread-open #app#app#app > .shell > nav.wwnav{display:none!important}
 html body.ww-chat-active:not(.chat-thread-open) #app :is(.content,#page){padding-left:0!important;padding-right:0!important}
 html body.ww-chat-active:not(.chat-thread-open) #app #page .chat-list :is(.cv-head,.cv-search,.er1020-chat-filters){width:calc(100% - 24px)!important;box-sizing:border-box!important;min-width:0!important;max-width:calc(100% - 24px)!important}
 html body.ww-chat-active:not(.chat-thread-open) #app #page .chat-shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border-radius:0!important;gap:0!important}
 html body.ww-chat-active:not(.chat-thread-open) #app #page .chat-list.cv-list{width:100%!important;max-width:none!important;border-radius:0!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;min-height:0!important;background:#eef0e1!important}
 html body.ww-chat-active:not(.chat-thread-open) #app #page .chat-list :is(.cv-head,.cv-search,.er1020-chat-filters){margin-left:12px!important;margin-right:12px!important;flex-shrink:0!important}
 html body.ww-chat-active:not(.chat-thread-open) #app #page .cv-threads{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;margin:0!important;padding:0 10px 12px!important;width:100%!important;box-sizing:border-box!important}
 html body.ww-chat-active #app #page .cv-row{width:100%!important;max-width:none!important;min-height:88px!important;padding:12px!important;margin:0 0 8px!important;border-radius:12px!important;background:#f8f7ed!important;box-shadow:none!important;border:1px solid #d7decb!important}
 html body.ww-chat-active #app #page .cv-preview{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.4!important;min-height:18px!important}
 html body.ww-chat-active.chat-thread-open .topbar,html body.ww-chat-active.chat-thread-open :is(.mobile-nav,.bottom-nav,.bottomnav,.bn,.wwnav){display:none!important}
 html body.ww-chat-active.chat-thread-open #app #page .chat-shell.show-thread{position:fixed!important;inset:0!important;top:0!important;bottom:auto!important;height:var(--er1368-chat-height,100dvh)!important;max-height:none!important;min-height:0!important;width:100%!important;display:flex!important;padding:0!important;margin:0!important;border-radius:0!important;z-index:1000!important;overflow:hidden!important}
 html body.ww-chat-active.chat-thread-open #app #page .chat-shell .chat-thread{width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;border-radius:0!important;margin:0!important;padding:0!important}
 html body.ww-chat-active.chat-thread-open #app #page .chat-thread .chat-thread-head{height:auto!important;min-height:70px!important;flex:0 0 auto!important;padding:calc(12px + var(--er1328-safe-top,env(safe-area-inset-top,0px))) 12px 12px!important;box-sizing:border-box!important}
 html body.ww-chat-active.chat-thread-open #app #page .chat-thread .chat-scroll#chatScroll{flex:1 1 0!important;height:0!important;min-height:0!important;max-height:none!important;width:100%!important;padding:14px 10px!important;margin:0!important;justify-content:flex-start!important;overflow-y:auto!important;overscroll-behavior:contain!important;scroll-behavior:auto!important;overflow-anchor:none!important}
 html body.ww-chat-active.chat-thread-open #app #page .chat-thread .msg{max-width:92%!important;min-width:0!important;gap:7px!important;margin-left:0!important;margin-right:0!important}.chat-thread .msg .bubble{overflow-wrap:anywhere!important}
 html body.ww-chat-active.chat-thread-open #app #page .chat-thread .chat-composer{position:relative!important;inset:auto!important;width:100%!important;flex:0 0 auto!important;min-height:62px!important;height:auto!important;max-height:none!important;box-sizing:border-box!important;margin:0!important;padding:9px 10px calc(9px + var(--er1328-safe-bottom,env(safe-area-inset-bottom,0px)))!important;transition:none!important;animation:none!important}
 html body.ww-chat-active.chat-thread-open #app #page .chat-thread #chatInput{font-size:16px!important;min-width:0!important}
}
