/* V1452.174 — scoped Add Shift Schedule & Publishing and anchored time wheels */
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er163-publishing{background:#fffefa!important;border-color:#dfe4da!important;border-radius:12px!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er163-publishing>summary{background:#eef2e6!important;min-height:44px!important;padding:10px 12px!important;color:#284d30!important;font-size:14px!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er163-publishing-body{padding:10px!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-publishing-settings{display:flex!important;flex-direction:column!important;gap:9px!important;background:#fff!important;padding:0!important;margin:0!important;min-width:0!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-publishing-settings>section.er174-repeat-row,
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-publishing-settings>section.er174-colour-row{display:grid!important;grid-template-columns:90px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;margin:0!important;min-height:40px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-publishing-settings>section.er174-repeat-row>h3,
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-publishing-settings>section.er174-colour-row>h3{font:600 12px/1.3 system-ui!important;color:#35483d!important;margin:0!important;padding:0!important;text-align:left!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-repeat-row .er1372-repeat-trigger{width:100%!important;min-height:37px!important;height:auto!important;border-radius:7px!important;border:1px solid #d7ddd3!important;background:#f6f3eb!important;padding:8px 10px!important;display:flex!important;justify-content:space-between!important;color:#273e2d!important;font:700 12px/1.2 system-ui!important;text-align:left!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-colour-row .er932-colour-row{display:flex!important;align-items:center!important;gap:7px!important;width:100%!important;min-height:37px!important;height:37px!important;margin:0!important;padding:4px 8px!important;background:#f6f3eb!important;border:1px solid #d8ddd4!important;border-radius:7px!important;box-shadow:none!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-colour-row .er932-colour-row>.left{display:flex!important;align-items:center!important;gap:7px!important;flex:1!important;min-width:0!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-colour-row .er932-colour-row>.left b{font-size:12px!important;color:#293b2f!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-colour-row .er932-colour-row>.left .dot{width:20px!important;height:20px!important;min-width:20px!important;border-radius:6px!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-colour-row .er932-colour-row>button[data-action="toggle-shift-colour"]{display:block!important;flex:0 0 auto!important;border:0!important;background:transparent!important;color:#2d5933!important;padding:3px!important;font-weight:700!important;font-size:12px!important;text-decoration:underline!important;text-underline-offset:2px!important;min-width:0!important;width:auto!important;height:auto!important;box-shadow:none!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-notification-region{display:block!important;min-height:0!important;margin:0!important;padding:9px!important;border:1px solid #e1e5db!important;border-radius:9px!important;background:#fffefa!important;box-shadow:none!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-notification-region>label[for="m_status"],
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-notification-region>#m_status,
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-notification-region .er932-vis{display:none!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-notice-ui{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,110px)!important;align-items:center!important;gap:6px 8px!important;width:100%!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-notice-ui .er174-notify-label{grid-column:1 / -1!important;display:flex!important;align-items:center!important;gap:8px!important;background:transparent!important;margin:0!important;padding:0!important;border:0!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-notice-ui .er174-notify-label input{width:18px!important;height:18px!important;flex:0 0 18px!important;accent-color:#3c6d37!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-notice-ui .er174-notify-label span{display:grid!important;gap:1px!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-notice-ui .er174-notify-label strong{font-size:12px!important;color:#314c35!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-notice-ui .er174-notify-label small{font-size:10px!important;color:#6b796d!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-notice-ui .er145221-contact-status{grid-column:1 / -1!important;order:1!important;margin:0!important;padding:0!important;font-size:10px!important;color:#778276!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-notice-ui #er43-notice-method{grid-column:1!important;grid-row:2!important;display:block!important;width:100%!important;min-height:37px!important;background:#fff!important;color:#2e4a35!important;border:1px solid #d7e0d1!important;border-radius:7px!important;padding:7px 8px!important;font-size:12px!important;font-weight:650!important;min-width:0!important}
html body[data-modal-type="shift"] #modalHost .er164-approved-design .er174-notice-ui #er41-notify-setup{grid-column:2!important;grid-row:2!important;display:block!important;width:100%!important;min-height:37px!important;border-radius:7px!important;background:#fffefa!important;border:1px solid #d7e0d1!important;padding:7px!important;color:#295736!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important}
.er174-time-overlay{position:fixed;inset:0;z-index:2147483610;background:transparent;pointer-events:auto}
.er174-time-pop{position:fixed;background:#fafcf9;border:1px solid #d1dfd0;border-radius:16px;box-shadow:0 14px 30px #223c2c2c;overflow:hidden;max-height:calc(100dvh - 20px);color:#24452e;display:flex;flex-direction:column;isolation:isolate}
.er174-time-top{display:grid;gap:9px;padding:12px 12px 9px;border-bottom:1px solid #e2e8df;background:#f9fbf8}
.er174-time-top strong{font:750 14px/1.2 system-ui;text-align:center}
.er174-time-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.er174-time-actions button{min-height:34px;border-radius:9px;border:1px solid #d2ded2;background:#fff;color:#496451;font:700 13px system-ui}
.er174-time-actions button[data-er174-time="done"]{border-color:#265938;background:#265938;color:#fff}
.er174-wheel-wrap{height:205px;position:relative;display:grid;grid-template-columns:1fr 1fr .95fr;gap:3px;padding:0 13px;background:#fbfcfa;overflow:hidden}
.er174-wheel-highlight{position:absolute;z-index:1;pointer-events:none;top:calc(50% - 21px);left:10px;right:10px;height:42px;background:#e0f0e7;border:1px solid #bddec5;border-radius:9px}
.er174-wheel-col{height:205px;min-height:0;overflow-y:scroll;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none;position:relative;z-index:2;padding-top:81.5px;padding-bottom:81.5px;touch-action:pan-y;scroll-behavior:auto}
.er174-wheel-col::-webkit-scrollbar{display:none}
.er174-wheel-option{width:100%;height:42px;min-height:42px;display:flex;align-items:center;justify-content:center;background:transparent;border:0;scroll-snap-align:center;color:#6d7d71;font:500 17px/1 system-ui;font-variant-numeric:tabular-nums;white-space:nowrap}
.er174-wheel-option.active{font-size:21px;font-weight:800;color:#194b31}
/* Calendar is a small centered modal, never a full-screen picker. */
.er173-calendar-overlay{display:grid!important;place-items:center!important;padding:15px!important}
.er173-calendar-sheet{width:min(395px,calc(100vw - 24px))!important;max-height:min(615px,calc(100dvh - 32px))!important;height:auto!important;border-radius:20px!important;box-shadow:0 16px 42px #071e1649!important}
.er173-calendar-top{height:62px!important;flex:0 0 62px!important;background:#fffefa!important;color:#1e3e2b!important;border-bottom:1px solid #e5ebe5!important}
.er173-calendar-top button{color:#254c35!important}
.er173-calendar-content{padding:14px 15px!important;overflow:auto!important}
.er173-calendar-sheet footer{padding:10px 15px 15px!important}
@media(max-width:700px){.er173-calendar-overlay{display:grid!important;place-items:center!important;padding:12px!important}.er173-calendar-sheet{width:min(395px,calc(100vw - 24px))!important;height:auto!important;max-height:calc(100dvh - 30px)!important;border-radius:20px!important;box-shadow:0 16px 42px #071e1649!important}.er173-calendar-content{flex:0 1 auto!important;padding:14px!important}.er173-calendar-day{font-size:14px!important}}
/* Live notification contact method and email settings screens. */
.er174-config-overlay{position:fixed;inset:0;z-index:2147483611;background:rgba(10,28,17,.42);display:grid;place-items:center;padding:12px}
.er174-config-sheet{width:min(430px,100%);height:min(690px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);display:flex;flex-direction:column;border-radius:15px;overflow:hidden;background:#fffdfa;box-shadow:0 15px 45px #1f312d46}
.er174-config-sheet header{height:64px;background:#2b4e31;color:#fff;display:flex;align-items:center;gap:12px;padding:11px 17px;flex:0 0 64px}
.er174-config-sheet header button{border:0;background:transparent;color:#fff;font-size:29px;width:32px;min-height:32px}
.er174-config-sheet header strong{font-size:17px;font-weight:750}
.er174-config-content{flex:1 1 auto;overflow:auto;padding:16px}
.er174-config-sheet footer{flex:0 0 auto;padding:12px 15px 17px;border-top:1px solid #e3e8e1}
.er174-config-sheet footer button{min-height:44px;width:100%;background:#2b5b2d;color:white;font-weight:720;border:0;border-radius:9px}
.er174-config-list{display:grid;gap:4px}
.er174-config-option{display:flex;align-items:center;gap:14px;border:0;border-bottom:1px solid #e1e5dd;background:transparent;padding:13px 10px;text-align:left;min-height:52px;color:#2e402e}
.er174-config-option.selected{background:#eef1d8;border-radius:9px}
.er174-config-radio{height:19px;width:19px;border-radius:50%;border:2px solid #a5afa3;background:white}
.er174-config-option.selected .er174-config-radio{border:6px solid #3c723b}
.er174-config-option strong{font-size:14px}
.er174-config-form{display:grid;gap:15px}
.er174-config-form>label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#2d392f}
.er174-config-form input:not([type=checkbox]),.er174-config-form select{min-height:43px;width:100%;border:1px solid #d2dcd0;border-radius:8px;padding:9px 11px;background:#fff;font-size:13px;color:#2d3e2e}
.er174-config-form .er174-config-switch{display:flex;align-items:center;justify-content:space-between;gap:10px}
.er174-config-form .er174-config-switch input{height:22px;width:39px;accent-color:#366c3a}
.er174-config-form p{font-size:12px;color:#607165;line-height:1.5;margin:0}
.er174-check-provider{padding:10px;border:1px solid #cedbc8;border-radius:8px;background:#eff3ec;color:#2f5f33;font-size:13px;font-weight:700}
@media(max-width:700px){.er174-config-overlay{padding:0;display:block}.er174-config-sheet{width:100%;height:100dvh;max-height:100dvh;border-radius:0}.er174-config-sheet footer{padding-bottom:calc(16px + env(safe-area-inset-bottom))}}
