html{-webkit-text-size-adjust:100%}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}.module-screen{position:relative;background:linear-gradient(135deg,#dcebf4,#cfe3ef);padding-bottom:54px}.module-system-version{position:absolute;top:auto;bottom:16px;left:20px;color:#315c76;font-size:12px;font-weight:800;direction:rtl}.module-head-actions{display:flex;align-items:center;gap:8px}.module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;direction:ltr}.module-card{min-height:108px;padding:16px;gap:14px;direction:rtl}.module-card .module-icon{width:54px;height:54px;font-size:28px}.module-tool-icon{inline-size:46px;block-size:46px;min-inline-size:46px;padding:0!important;display:grid!important;place-items:center;font-size:1.2rem}.module-tool-icon>.home-tool-icon{display:block;width:32px;height:32px;max-width:32px;max-height:32px;overflow:visible}.module-tool-icon>.home-settings-icon{width:31px;height:31px}.module-groups{display:grid;gap:16px}.module-group{padding:15px;border:1px solid #afd0df;border-radius:20px;background:rgba(255,255,255,.66);box-shadow:0 8px 25px rgba(24,78,112,.08)}.module-group>h2{margin:0 0 12px;color:#174e78;font-size:18px}.module-group .module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.module-group-inventory .module-grid,.module-group-garden .module-grid,.module-group-returns .module-grid{grid-template-columns:minmax(240px,430px)}body.module-dark .module-screen{background:linear-gradient(135deg,#0c2536,#153d56);color:#eaf6fb}body.module-dark .module-head h1,body.module-dark .module-group>h2{color:#f3fbff}body.module-dark .module-group{background:rgba(7,27,40,.76);border-color:#315f77}body.module-dark .module-card{background:#163f58;color:#f6fbfe;border-color:#47758c}body.module-dark .module-card small,body.module-dark .module-system-version{color:#bed7e4}
.searchable-select-control{position:relative;width:100%;min-width:0}.searchable-select-native{position:absolute!important;inset-inline-start:1px!important;bottom:1px!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important}.searchable-select-input{display:block;width:100%;min-width:0;min-height:40px;padding:8px 42px 8px 11px;border:1px solid #c9dce8;border-radius:10px;background:#fff;color:#173f58;font:inherit;line-height:1.3;outline:none}.searchable-select-input:focus{border-color:#4292c0;box-shadow:0 0 0 3px rgba(43,139,194,.13)}.searchable-select-input:disabled{cursor:not-allowed;background:#edf2f5;color:#81939f}.searchable-select-input::-webkit-search-cancel-button{margin-inline-start:4px}.searchable-select-toggle{position:absolute;left:6px;right:auto;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:8px;background:transparent;color:#315f79;line-height:1;cursor:pointer}.searchable-select-toggle::before{content:"";display:block;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .18s ease}.searchable-select-control.open .searchable-select-toggle::before{transform:translateY(2px) rotate(225deg)}.searchable-select-toggle:hover,.searchable-select-toggle:focus-visible{background:#e7f3f9;outline:none}.searchable-select-options{display:none;position:absolute;z-index:10050;top:calc(100% + 6px);inset-inline-start:0;inset-inline-end:auto;width:max-content;min-width:max(100%,300px);max-width:min(480px,calc(100vw - 32px));max-height:min(420px,62vh);overflow:auto;padding:7px;border:1px solid #aacbdc;border-radius:13px;background:#fff;box-shadow:0 18px 38px rgba(18,68,96,.24)}.searchable-select-control.open{z-index:10040}.searchable-select-control.open .searchable-select-options{display:grid;gap:4px}.searchable-select-option{width:100%;min-height:42px;padding:10px 13px;border:0;border-radius:8px;background:#fff;color:#173f58;font:inherit;text-align:right;white-space:normal;overflow-wrap:anywhere;cursor:pointer}.searchable-select-option:hover,.searchable-select-option:focus,.searchable-select-option[aria-selected="true"]{background:#eaf5fb;color:#0f5f8d;outline:none}.searchable-select-option:disabled{color:#9baab3;cursor:not-allowed}.searchable-select-empty{min-width:260px;padding:13px;color:#718995;text-align:center;font-size:13px}
.system-home-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0;border-radius:13px;text-decoration:none;font-size:27px;font-weight:800;line-height:1;color:#174e78;background:#fff;border:1px solid #c9dce8;box-shadow:0 4px 12px rgba(23,78,120,.08);cursor:pointer}
.searchable-select-input{padding:8px 11px 8px 42px}
.system-home-button:hover{background:#eaf4fa;color:#0c3c5d}
.shift-clock-button{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;min-width:48px;padding:0;border-radius:50%;font-size:29px;line-height:1;color:#fff;background:#1676a7;border:2px solid #fff;box-shadow:0 6px 18px rgba(18,80,118,.24);z-index:5}
.system-shortcuts{position:relative;z-index:6;display:flex;align-items:center;gap:7px;flex:0 0 auto}.employees-header-actions .shift-clock-button{position:static;transform:none}
.app-shell .topbar>.system-shortcuts{position:relative!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important}.app-shell .topbar>.system-shortcuts>#back-modules,.app-shell .topbar>.system-shortcuts>#attendance-top{position:static!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;margin:0!important}
.attendance-entry-wrap{display:flex;justify-content:center;margin:-8px auto 24px}.attendance-priority-card{width:min(620px,100%);border:2px solid #1e82b7;box-shadow:0 14px 36px rgba(22,99,142,.16)}
.active-shifts-panel{display:flex;align-items:stretch;flex-direction:column;gap:6px;width:min(292px,100%);margin:0 0 14px auto;padding:9px 10px;border:1px solid #abcddd;border-radius:13px;background:linear-gradient(135deg,#f7fcff,#e6f3f9);box-shadow:0 4px 12px rgba(20,87,124,.08);font-size:12px;line-height:1.25}
.active-shifts-panel[hidden]{display:none!important}.active-shifts-title{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:800;color:#174e78}.active-shifts-title:before{content:'●';color:#23a36d;font-size:11px}.active-shifts-list{display:flex;align-items:stretch;flex-direction:column;gap:4px}.active-shift-chip{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;min-height:30px;padding:5px 7px;border-radius:9px;background:#fff;border:1px solid #cae0eb;color:#21475c;font-size:12px;font-weight:700;text-decoration:none}.active-shift-chip small{font-size:10px;font-weight:500;color:#638091}.active-shift-whatsapp:hover{border-color:#25b96b;background:#f1fff7;color:#12623a}.active-shifts-empty{font-size:11px;color:#688392}
.active-shift-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px}.active-shift-contact-actions{display:flex;gap:3px}.active-shift-contact-button{display:grid;place-items:center;width:30px;height:30px;border:1px solid #b9d3df;border-radius:8px;background:#fff;color:#174e78;text-decoration:none;font-size:14px;box-shadow:0 2px 5px rgba(20,87,124,.06)}.active-shift-contact-button.call:hover{border-color:#398cc0;background:#eef8fd}.active-shift-contact-button.whatsapp{border-color:#78c99c;color:#087747;background:#effbf4}.active-shift-contact-button.whatsapp:hover{border-color:#25a85e;background:#daf5e5}
.attendance-access-requests{width:min(720px,100%);margin:0 auto 18px;padding:14px;border:2px solid #e3a528;border-radius:16px;background:#fffaf0;box-shadow:0 7px 20px rgba(151,101,13,.12)}.attendance-access-requests[hidden]{display:none!important}.attendance-access-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.attendance-access-heading>div{display:grid;gap:2px}.attendance-access-heading strong{color:#6f4705}.attendance-access-heading small{color:#7e6c4e}.attendance-access-heading>span{display:grid;place-items:center;min-width:30px;height:30px;border-radius:999px;background:#d88712;color:#fff;font-weight:900}.attendance-access-request-list{display:grid;gap:8px}.attendance-access-request-list article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid #efd7a5;border-radius:11px;background:#fff}.attendance-access-request-list article>div:first-child{display:grid;gap:3px}.attendance-access-request-list article small{color:#7a6c55}.attendance-access-request-list article>div:last-child{display:flex;gap:6px}
.cohen-global-image-close{position:fixed;z-index:2147483647;top:max(10px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));display:grid;place-items:center;width:48px;height:48px;padding:0;border:2px solid rgba(255,255,255,.85);border-radius:14px;background:#123f64;color:#fff;font:900 30px/1 Tahoma,Arial,sans-serif;box-shadow:0 8px 24px rgba(0,0,0,.38);cursor:pointer}
.module-push-settings-dialog{width:min(920px,calc(100vw - 24px));max-height:92vh;overflow:hidden}.module-push-settings-dialog[open]{display:flex;flex-direction:column}.module-push-settings-dialog>.modal-head,.module-push-settings-dialog>.modal-actions{flex:0 0 auto}.module-push-settings-body{display:grid;gap:22px;flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.custom-push-composer,.automatic-push-settings{padding:18px;border:1px solid #d4e4ec;border-radius:15px;background:#f8fcfe}.push-settings-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.push-setting-card{padding:13px;border:1px solid #d6e5ed;border-radius:12px;background:#fff}.push-setting-card>label{display:block;margin-top:8px}.push-setting-card textarea{min-height:72px}
.module-settings-section{border:1px solid #d3e4ec;border-radius:16px;background:#fff;overflow:visible}.module-settings-section>summary{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:2px 10px;padding:16px;cursor:pointer;list-style:none}.module-settings-section>summary::-webkit-details-marker{display:none}.module-settings-section>summary>span{grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#eaf5fa;font-size:20px}.module-settings-section>summary>strong{font-size:16px;color:#173f59}.module-settings-section>summary>small{font-size:12px;color:#698293}.module-settings-section>summary:after{content:'⌄';position:absolute;left:24px;font-size:20px;color:#3e718e}.module-settings-section[open]>summary:after{transform:rotate(180deg)}.module-settings-section-body{display:grid;gap:16px;padding:0 16px 16px;border-top:1px solid #e1ebf0}.module-settings-section-body>*:first-child{margin-top:16px}.module-settings-wide-action{justify-self:start}.module-admin-settings{display:grid;gap:14px}.module-admin-settings>label{display:grid;gap:6px}.module-admin-settings textarea{width:100%;resize:vertical}.module-whatsapp-contact-manager{display:grid;gap:14px;padding:15px;border:1px solid #d8e7ee;border-radius:14px;background:#f8fcfe}.module-whatsapp-contact-manager h3,.module-whatsapp-contact-manager p{margin:0}.module-whatsapp-contact-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:10px}.module-whatsapp-contact-form label{display:grid;gap:6px;min-width:0}.module-whatsapp-contact-form input{width:100%;min-width:0}.module-whatsapp-contact-form-actions{display:flex;gap:8px}.module-whatsapp-contact-list{display:grid;gap:8px}.module-whatsapp-contact-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #d9e7ed;border-radius:12px;background:#fff}.module-whatsapp-contact-row strong,.module-whatsapp-contact-row small{display:block}.module-whatsapp-contact-row-actions{display:flex;gap:6px}.module-whatsapp-contact-row-actions .btn{min-height:38px;padding:8px 11px}.module-whatsapp-dialog{width:min(660px,calc(100vw - 24px))}.module-whatsapp-fields{padding:14px;border:1px solid #d8e7ee;border-radius:14px;background:#f8fcfe}.module-whatsapp-recipient{display:grid;grid-template-columns:1fr;gap:10px;padding:14px;border:1px solid #bee0d0;border-radius:14px;background:#f4fcf8}.module-whatsapp-recipient label{display:grid;gap:6px;min-width:0}.module-whatsapp-recipient select,.module-whatsapp-recipient input{width:100%;min-width:0}
@supports(padding:max(0px)){
  .module-screen,.attendance-page,.employees-page{padding-top:max(24px,env(safe-area-inset-top));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:max(38px,env(safe-area-inset-bottom));padding-left:max(12px,env(safe-area-inset-left))}
  .sidebar{padding-bottom:max(18px,env(safe-area-inset-bottom))}
}

/* Main settings: keep collapsed-topic arrows anchored and retire brightness controls everywhere. */
.module-settings-section>summary{position:relative;padding-inline-start:52px}
.module-settings-section>summary:after{left:20px;top:50%;translate:0 -50%}
.cohen-theme-toggle,#module-theme-toggle{display:none!important}
@media(min-width:651px){.module-group-inventory .module-grid{grid-template-columns:repeat(2,minmax(240px,430px));max-width:880px}}
@media(max-width:800px){
  .topbar{justify-content:flex-start!important;gap:7px}.topbar .top-actions{margin-inline-start:auto}
}

/* Shared light/dark switch used beside the Home and attendance shortcuts. */
.cohen-theme-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;border:1px solid #b8d1df;border-radius:12px;background:#fff;color:#174b70;font:800 20px/1 Tahoma,Arial,sans-serif;cursor:pointer}
html.cohen-dark body{background:#101b25!important;color:#eaf4fb!important}
html.cohen-dark body:not(.module-dark){--ink:#eaf4fb;--muted:#a9bfce;--line:#365064;--panel:#172734;--surface:#172734;--bg:#101b25;--addit-ink:#eaf4fb;--addit-muted:#a9bfce;--addit-line:#365064}
html.cohen-dark body:not(.module-dark) header,html.cohen-dark body:not(.module-dark) aside,html.cohen-dark body:not(.module-dark) main,html.cohen-dark body:not(.module-dark) section,html.cohen-dark body:not(.module-dark) article,html.cohen-dark body:not(.module-dark) dialog,html.cohen-dark body:not(.module-dark) .card,html.cohen-dark body:not(.module-dark) .panel{border-color:#365064}
html.cohen-dark body:not(.module-dark) input,html.cohen-dark body:not(.module-dark) textarea,html.cohen-dark body:not(.module-dark) select,html.cohen-dark body:not(.module-dark) .searchable-select-control{background:#13232f!important;color:#f2f8fc!important;border-color:#466277!important}
html.cohen-dark body:not(.module-dark) option{background:#13232f;color:#f2f8fc}
html.cohen-dark body:not(.module-dark) .addit-layout,html.cohen-dark body:not(.module-dark) .inventory-main,html.cohen-dark body:not(.module-dark) .logistics-main{background:#101b25!important}
html.cohen-dark body:not(.module-dark) .addit-lists-panel,html.cohen-dark body:not(.module-dark) .addit-detail,html.cohen-dark body:not(.module-dark) .addit-dialog,html.cohen-dark body:not(.module-dark) .addit-item,html.cohen-dark body:not(.module-dark) .addit-category-section,html.cohen-dark body:not(.module-dark) .addit-settings-content,html.cohen-dark body:not(.module-dark) .addit-placement-panel{background:#172734!important;color:#eaf4fb!important}
html.cohen-dark body:not(.module-dark) .cohen-theme-toggle{background:#233b4c;color:#ffd978;border-color:#4a6679}

/* Shared image cropper used by every image file input in every system. */
body:has(.cohen-image-cropper[open]){overflow:hidden}
.cohen-image-cropper{width:min(860px,calc(100vw - 24px));max-width:none;max-height:94dvh;padding:0;border:0;border-radius:18px;background:#f7fbfd;color:#163f58;overflow:hidden;box-shadow:0 24px 70px rgba(7,42,62,.42);font-family:Tahoma,Arial,sans-serif;direction:rtl}
.cohen-image-cropper::backdrop{background:rgba(4,24,36,.76);backdrop-filter:blur(3px)}
.cohen-image-cropper[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.cohen-crop-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid #c9dce7;background:#fff}.cohen-crop-head>div{display:grid;gap:2px;min-width:0}.cohen-crop-head strong{font-size:18px}.cohen-crop-head small{max-width:62vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6a8391}.cohen-crop-close{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;padding:0;border:1px solid #c7dbe6;border-radius:11px;background:#eef6fa;color:#174e6e;font-size:27px;cursor:pointer}
.cohen-crop-body{display:grid;justify-items:center;gap:11px;min-height:0;padding:14px 16px;overflow:auto}.cohen-crop-stage{position:relative;display:grid;place-items:center;width:100%;min-height:0;border-radius:14px;background:repeating-conic-gradient(#dce5ea 0 25%,#f5f8fa 0 50%) 50%/22px 22px;overflow:hidden;touch-action:none}.cohen-crop-stage canvas{display:block;width:auto;height:auto;max-width:100%;max-height:61dvh;cursor:crosshair;touch-action:none;box-shadow:0 4px 18px rgba(7,42,62,.2)}.cohen-crop-stage canvas:active{cursor:grabbing}
.cohen-crop-help{margin:0;color:#587583;font-size:13px;text-align:center;max-width:720px}.cohen-crop-tools,.cohen-crop-aspects{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.cohen-crop-tools button,.cohen-crop-aspects button{min-height:36px;padding:6px 13px;border:1px solid #bad2df;border-radius:9px;background:#fff;color:#214e67;font:700 13px Tahoma,Arial,sans-serif;cursor:pointer}.cohen-crop-tools button{min-width:142px;border-color:#7db9d8;background:#e8f6fd;color:#075f91;font-size:14px}.cohen-crop-tools button:first-child{direction:ltr}.cohen-crop-tools button:last-child{direction:ltr}.cohen-crop-tools button:active{transform:translateY(1px);background:#d2eefb}.cohen-crop-aspects button.active{border-color:#197bae;background:#197bae;color:#fff}.cohen-crop-aspects [data-crop-reset]{border-style:dashed}
.cohen-crop-actions{display:flex;justify-content:flex-start;gap:9px;padding:12px 16px;border-top:1px solid #c9dce7;background:#fff}.cohen-crop-actions button{min-height:42px;padding:9px 18px;border:1px solid #bad0dc;border-radius:10px;background:#fff;color:#214e67;font:800 14px Tahoma,Arial,sans-serif;cursor:pointer}.cohen-crop-actions .cohen-crop-confirm{border-color:#1679ac;background:#1679ac;color:#fff}
@media(max-width:700px){.cohen-image-cropper{inset:0;width:100vw;height:100dvh;max-height:none;margin:0;border-radius:0}.cohen-crop-head{padding:max(10px,env(safe-area-inset-top)) 10px 9px}.cohen-crop-body{padding:9px 8px;gap:8px}.cohen-crop-stage canvas{max-height:47dvh}.cohen-crop-help{font-size:11px}.cohen-crop-tools,.cohen-crop-aspects{gap:5px}.cohen-crop-tools button{min-width:132px;min-height:38px;padding:5px 9px;font-size:13px}.cohen-crop-aspects button{min-height:34px;padding:5px 10px;font-size:12px}.cohen-crop-zoom{grid-template-columns:auto minmax(0,1fr)}.cohen-crop-actions{padding:9px 10px max(9px,env(safe-area-inset-bottom))}.cohen-crop-actions button{flex:1;min-height:46px}}

/* Direct attendance actions on the systems home screen. */
.attendance-entry-wrap{display:flex;justify-content:center;margin:-8px auto 24px}
.attendance-priority-card{direction:ltr;display:grid!important;grid-template-columns:112px minmax(0,1fr) 112px!important;grid-template-areas:"out main in";align-items:stretch;width:min(720px,100%)!important;min-height:100px;padding:9px!important;gap:9px;text-align:center!important;border:2px solid #1e82b7;border-radius:22px;background:#fff;box-shadow:0 14px 36px rgba(22,99,142,.16)}
.attendance-main-link{grid-area:main;direction:rtl;display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:12px;min-width:0;padding:10px 14px;border:0;border-radius:15px;background:transparent;color:#123e5a;text-align:right;cursor:pointer}.attendance-main-link .module-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e5f5fc;color:#1676a7;font-size:25px}.attendance-main-link strong,.attendance-main-link small{display:block}.attendance-main-link strong{font-size:18px}.attendance-main-link small{margin-top:5px;color:#678493;font-size:12px}
.main-attendance-action{display:grid;place-items:center;min-height:76px;padding:10px;border:0;border-radius:15px;color:#fff;font:800 17px/1.2 Tahoma,Arial,sans-serif;cursor:pointer;box-shadow:0 5px 13px rgba(28,70,92,.15)}.main-attendance-action:disabled{opacity:.38;cursor:not-allowed;box-shadow:none}.attendance-check-in{grid-area:in;background:#168a58}.attendance-check-out{grid-area:out;background:#c23a42}
@media(max-width:600px){.attendance-entry-wrap{margin:0 auto 18px}.attendance-priority-card{grid-template-columns:70px minmax(0,1fr) 70px!important;min-height:88px;padding:6px!important;gap:5px;border-radius:18px}.attendance-main-link{grid-template-columns:36px minmax(0,1fr);gap:7px;padding:7px 5px}.attendance-main-link .module-icon{width:36px;height:36px;border-radius:11px;font-size:19px}.attendance-main-link strong{font-size:13px;line-height:1.3}.attendance-main-link small{font-size:10px;line-height:1.3}.main-attendance-action{min-height:66px;padding:6px;font-size:13px;border-radius:12px}}
@media(max-width:600px){
  .module-groups{gap:11px}.module-group{padding:11px;border-radius:16px}.module-group>h2{text-align:center;font-size:16px;margin-bottom:9px}.module-group .module-grid,.module-group-inventory .module-grid,.module-group-garden .module-grid,.module-group-returns .module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.module-card{min-height:116px;padding:11px 7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center}.module-card .module-icon{width:45px;height:45px;font-size:23px}.module-card strong{font-size:14px;line-height:1.25}.module-card small,.module-card>b{display:none}.module-head{margin-bottom:16px;align-items:flex-start}.module-head-actions{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center}.module-tool-icon,.module-employee-shortcut{inline-size:42px;block-size:42px;min-inline-size:42px;flex-basis:42px}.module-group-inventory .module-card,.module-group-garden .module-card,.module-group-returns .module-card{grid-column:auto}.module-system-version{bottom:9px;left:12px}
  .attendance-entry-wrap{margin:0 auto 18px}.attendance-priority-card{width:min(310px,100%);min-height:92px;display:grid;grid-template-columns:48px minmax(0,1fr);text-align:right;align-items:center;padding:14px}.attendance-priority-card small{display:block;font-size:12px}.attendance-priority-card strong{font-size:17px}.attendance-priority-card>b{display:none}
  .system-shortcuts{gap:5px}.system-shortcuts .system-home-button,.system-shortcuts .shift-clock-button,.employees-header-actions .system-home-button,.employees-header-actions .shift-clock-button{width:42px;height:42px;min-width:42px}.system-shortcuts .shift-clock-button,.employees-header-actions .shift-clock-button{font-size:25px}
  input,select,textarea{font-size:16px}
  .searchable-select-input{min-height:44px;font-size:16px}.searchable-select-options{width:min(360px,calc(100vw - 24px));min-width:100%;max-width:calc(100vw - 24px);max-height:min(360px,58vh)}.searchable-select-option{min-height:44px;font-size:15px}
  .active-shifts-panel{width:min(300px,100%);margin:0 auto 12px;padding:8px 9px}.active-shifts-list{width:100%}.active-shift-chip{width:100%;justify-content:space-between}.active-shift-contact-button{width:30px;height:30px}
  .push-settings-list{grid-template-columns:1fr}.module-push-settings-body{padding:12px;gap:10px}.custom-push-composer,.automatic-push-settings{padding:12px}.module-settings-section>summary{padding:13px}.module-settings-section-body{padding:0 12px 12px}.module-whatsapp-contact-manager{padding:11px}.module-whatsapp-contact-form{grid-template-columns:1fr}.module-whatsapp-contact-form-actions{flex-wrap:wrap}.module-whatsapp-contact-row{grid-template-columns:1fr}.module-whatsapp-contact-row-actions{justify-content:flex-start}.module-whatsapp-fields{grid-template-columns:1fr}.module-whatsapp-recipient{padding:11px}
  .attendance-access-requests{padding:11px}.attendance-access-request-list article{align-items:stretch;flex-direction:column}.attendance-access-request-list article>div:last-child{display:grid;grid-template-columns:1fr 1fr}.attendance-access-request-list .btn{width:100%}
}

/* 1.51.32: Cohen Center login identity and universal calculator. */
.auth-screen{grid-template-columns:minmax(360px,.9fr) minmax(430px,1.1fr);direction:ltr}.auth-brand,.auth-card{direction:rtl}.auth-brand{position:relative;display:flex;min-height:520px;flex-direction:column;align-items:center;justify-content:center;gap:22px;text-align:center}.auth-brand-logo{display:block;width:138px;height:138px;border-radius:30px;filter:drop-shadow(0 14px 24px rgba(8,55,86,.18))}.auth-brand-copy h1{margin:0;color:#fff;font:800 clamp(29px,3vw,46px)/1.22 Tahoma,Arial,sans-serif}.auth-brand-copy p{margin:13px 0 0;color:rgba(255,255,255,.9);font:700 20px/1.5 Tahoma,Arial,sans-serif}.auth-brand-copyright{position:absolute;inset-inline:0;bottom:22px;margin:0;color:rgba(255,255,255,.78);font:600 13px/1.4 Tahoma,Arial,sans-serif}.auth-card>.eyebrow{font:800 20px/1.35 Tahoma,Arial,sans-serif;letter-spacing:0}.auth-card>h2{font-family:Tahoma,Arial,sans-serif;font-size:clamp(26px,2.5vw,34px);line-height:1.25}.calculator-launch{font-family:Tahoma,Arial,sans-serif}.calculator-dialog{width:min(390px,calc(100vw - 24px))}.calculator-body{padding:18px}.calculator-display{width:100%;height:72px;padding:10px 16px;border:1px solid #b8d3e1;border-radius:14px;background:#f5fbfe;color:#123f5a;font:800 32px/1 Tahoma,Arial,sans-serif;text-align:left;direction:ltr}.calculator-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:14px;direction:ltr}.calculator-key{min-height:58px;border:1px solid #c5dbe6;border-radius:13px;background:#fff;color:#173f58;font:800 21px/1 Tahoma,Arial,sans-serif;cursor:pointer}.calculator-key:hover{background:#edf7fb}.calculator-key.operator{background:#e3f2f9;color:#0c6494}.calculator-key.utility{background:#eef2f4;color:#526e7c}.calculator-key.equals{background:#1676a7;color:#fff;border-color:#1676a7}.calculator-key.zero{grid-column:span 2}.calculator-dialog::backdrop{background:rgba(10,39,56,.42)}
@media(max-width:800px){
  .auth-screen{grid-template-columns:1fr;grid-template-areas:"brand" "form";align-content:start;padding:18px 14px 34px}.auth-brand{display:flex!important;grid-area:brand;min-height:170px;padding:18px 12px 34px;gap:10px}.auth-card{grid-area:form;width:min(100%,480px);margin:-20px auto 0;z-index:1}.auth-brand-logo{width:66px;height:66px;border-radius:17px}.auth-brand-copy h1{font-size:21px}.auth-brand-copy p{margin-top:5px;font-size:14px}.auth-brand-copyright{bottom:12px;font-size:10px}.auth-card>.eyebrow{font-size:17px}.auth-card>h2{font-size:25px}.calculator-dialog[open]{max-height:calc(100dvh - 18px);margin:auto}.calculator-key{min-height:54px}.calculator-launch{width:100%}
}
.auth-brand .auth-brand-copy p{margin:13px 0 0;color:rgba(255,255,255,.9);font:700 20px/1.5 Tahoma,Arial,sans-serif}.auth-brand p.auth-brand-copyright{position:absolute;inset-inline:0;bottom:22px;margin:0;color:rgba(255,255,255,.78);font:600 13px/1.4 Tahoma,Arial,sans-serif}
@media(max-width:800px){.auth-brand .auth-brand-copy p{margin-top:5px;font-size:14px}.auth-brand p.auth-brand-copyright{bottom:12px;font-size:10px}}

/* Mobile login: compact, readable and safe on narrow/short phone screens. */
@media(max-width:800px){
  html,body{max-width:100%;overflow-x:hidden}
  .auth-screen{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    min-height:100vh;
    min-height:100dvh;
    padding:max(10px,env(safe-area-inset-top)) 12px max(18px,env(safe-area-inset-bottom));
    gap:0;
    direction:rtl;
    overflow-y:auto;
  }
  .auth-brand{
    order:1;
    display:flex!important;
    width:100%;
    min-height:0;
    padding:18px 14px 30px;
    border-radius:22px 22px 14px 14px;
    gap:8px;
    flex:0 0 auto;
  }
  .auth-brand-logo{width:58px;height:58px;border-radius:15px}
  .auth-brand-copy{width:100%;min-width:0}
  .auth-brand-copy h1{font-size:clamp(18px,5.6vw,23px);line-height:1.28;overflow-wrap:anywhere}
  .auth-brand .auth-brand-copy p{margin-top:4px;font-size:13px;line-height:1.35}
  .auth-brand p.auth-brand-copyright{position:static;margin:2px 0 0;font-size:10px;line-height:1.25}
  .auth-card{
    order:2;
    position:relative;
    z-index:2;
    align-self:center;
    width:100%;
    max-width:460px;
    margin:-15px auto 0;
    padding:22px 18px;
    border-radius:20px;
    gap:13px;
    direction:rtl;
  }
  .auth-card>.eyebrow{margin:0;font-size:14px}
  .auth-card>h2{margin:0;font-size:clamp(21px,6.5vw,27px);line-height:1.25}
  .auth-card>.muted{margin:0;font-size:13px;line-height:1.45}
  .auth-card label{gap:6px;font-size:13px}
  .auth-card input{min-height:48px;padding:11px 12px;font-size:16px}
  .auth-card .btn.wide{min-height:48px;padding:11px 14px}
  .auth-card small{font-size:11px;line-height:1.35;direction:rtl}
}
@media(max-width:380px){
  .auth-screen{padding-inline:8px}
  .auth-brand{padding:14px 10px 25px}.auth-brand-logo{width:50px;height:50px}
  .auth-card{padding:18px 14px;gap:11px}.auth-card>h2{font-size:21px}
}

/* Global light/dark switch shared by every system header. */
.cohen-theme-toggle{inline-size:44px;block-size:44px;min-inline-size:44px;padding:0!important;display:inline-grid!important;place-items:center;font-size:21px!important;line-height:1;border-radius:12px!important}
.top-actions a.ghost{display:inline-grid;place-items:center;inline-size:44px;block-size:44px;padding:0;text-decoration:none;font-size:22px}
html.cohen-dark body:not(.module-dark),body.cohen-dark:not(.module-dark){background:#0d2637!important;color:#eaf4fa!important}
html.cohen-dark body:not(.module-dark) .topbar,body.cohen-dark:not(.module-dark) .topbar{background:#071c2b!important;color:#f5fbff!important}
html.cohen-dark body:not(.module-dark) :is(.panel,.card,.modal-card,.dialog-card,.inventory-panel,.summary-card,.list-card,.category-card,.employee-card,.return-card,.supplier-card),body.cohen-dark:not(.module-dark) :is(.panel,.card,.modal-card,.dialog-card,.inventory-panel,.summary-card,.list-card,.category-card,.employee-card,.return-card,.supplier-card){background:#15384d!important;color:#eff8fc!important;border-color:#3b6378!important}
html.cohen-dark body:not(.module-dark) :is(input,select,textarea,.searchable-select-trigger),body.cohen-dark:not(.module-dark) :is(input,select,textarea,.searchable-select-trigger){background:#102f42!important;color:#f6fbfe!important;border-color:#55788b!important}
html.cohen-dark body:not(.module-dark) :is(.muted,small,.subtitle,.meta),body.cohen-dark:not(.module-dark) :is(.muted,small,.subtitle,.meta){color:#bed4df!important}
html.cohen-dark body:not(.module-dark) :is(table,th,td),body.cohen-dark:not(.module-dark) :is(table,th,td){border-color:#3b6378!important}
html.cohen-dark body:not(.module-dark) th,body.cohen-dark:not(.module-dark) th{background:#102f42!important;color:#f4f9fc!important}

/* Repair status colors stay visible on native status controls and badges. */
.table-status.status-WAREHOUSE,.dashboard-status.status-WAREHOUSE,.status-badge.status-WAREHOUSE{background:#7d8986!important;color:#fff!important}.table-status.status-SENT_TO_SUPPLIER,.dashboard-status.status-SENT_TO_SUPPLIER,.status-badge.status-SENT_TO_SUPPLIER{background:#e5bc36!important;color:#332a08!important}.table-status.status-RETURNED_FROM_SUPPLIER,.dashboard-status.status-RETURNED_FROM_SUPPLIER,.status-badge.status-RETURNED_FROM_SUPPLIER{background:#e9922b!important;color:#30200b!important}.table-status.status-DELIVERED,.dashboard-status.status-DELIVERED,.status-badge.status-DELIVERED{background:#2f9a68!important;color:#fff!important}.table-status.status-REJECTED,.dashboard-status.status-REJECTED,.status-badge.status-REJECTED{background:#d44b47!important;color:#fff!important}

/* 1.51.49: final phone login flow with separated cards and a true page footer. */
.auth-mobile-copyright{display:none}
#login-screen[hidden]{display:none!important}
@media(max-width:800px){
  .auth-screen{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    min-height:100dvh!important;
    padding:max(10px,env(safe-area-inset-top)) 10px max(12px,env(safe-area-inset-bottom))!important;
    gap:12px!important;
    overflow-y:auto!important;
  }
  .auth-brand{
    order:1!important;
    width:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:14px 12px!important;
    border-radius:18px!important;
    gap:7px!important;
    flex:0 0 auto!important;
  }
  .auth-brand p.auth-brand-copyright{display:none!important}
  .auth-card{
    order:2!important;
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    align-self:center!important;
    width:100%!important;
    max-width:460px!important;
    margin:0 auto!important;
    padding:20px 16px!important;
    border-radius:18px!important;
    gap:12px!important;
    flex:0 0 auto!important;
  }
  .auth-card label{display:grid!important;grid-template-columns:1fr!important;width:100%!important;min-width:0!important}
  .auth-card input{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important}
  .auth-mobile-copyright{
    display:block;
    order:3;
    width:100%;
    margin:auto 0 0;
    padding:10px 8px 2px;
    color:rgba(255,255,255,.86);
    font:600 11px/1.4 Tahoma,Arial,sans-serif;
    text-align:center;
  }
}

.attendance-priority-card[hidden],.main-attendance-action[hidden]{display:none!important}
body.module-dark .attendance-priority-card{background:#163e57;color:#f4fbff;border-color:#447087}body.module-dark .attendance-main-link{color:#f4fbff}body.module-dark .attendance-main-link small{color:#bdd6e3}
@media(max-width:600px){.attendance-main-link strong{font-size:13px!important}.attendance-main-link small{font-size:10px!important}}

/* Shared portal for searchable selects: never clipped by cards, dialogs or tables. */
.searchable-select-options.searchable-select-portal{display:grid!important;gap:4px;position:fixed!important;z-index:2147483000!important;box-sizing:border-box;min-width:170px;overflow:auto;overscroll-behavior:contain;direction:rtl}
dialog.searchable-select-portal-host{overflow:visible!important}
body.module-dark .searchable-select-options.searchable-select-portal{background:#173f58;border-color:#4f7488;color:#f5fbff}.searchable-select-options.searchable-select-portal .searchable-select-option{min-width:0}

/* Keep choice controls as wide as their longest choice, without stretching across the screen. */
.searchable-select-control{width:min(100%,var(--searchable-select-width,100%));max-width:100%}
.system-main-circle{
  inline-size:42px!important;
  block-size:42px!important;
  min-inline-size:42px!important;
  padding:0!important;
  border-radius:50%!important;
  display:inline-grid!important;
  place-items:center;
  line-height:1;
  text-decoration:none;
}

/* Brightness modes were retired in favor of the per-user design picker. */
.cohen-theme-toggle,#module-theme-toggle{display:none!important}
.module-settings-section>summary{position:relative;padding-inline-start:52px!important}
.module-settings-section>summary:after{left:20px;top:50%;translate:0 -50%}
.module-logout-icon{
  color:#b42318!important;
  border-color:#efaaa5!important;
  background:#fff1f0!important;
  font-size:28px!important;
  font-weight:900!important;
  line-height:1!important;
}
.module-logout-icon:hover{background:#ffe0de!important}
#module-screen #welcome-title{
  font-size:clamp(.88rem,1vw,1rem)!important;
  font-weight:700!important;
  line-height:1.3!important;
  margin-block:2px!important;
}
@media(max-width:600px){#module-screen #welcome-title{font-size:.86rem!important}}
