/* Approved employee design: shared login photograph, native task actions and forms. */
@media screen {
.employee-design{--employee-navy:#092b50;--employee-line:#dce8f2;--employee-soft:#f1f7fc;display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100svh;background:var(--employee-soft);color:#183b62;max-width:none;margin:0;padding:0}
.employee-design,.employee-design button,.employee-design input,.employee-design select,.employee-design textarea{font-family:"Thmanyah Sans",system-ui,-apple-system,"Segoe UI",sans-serif}
.employee-design button{font-size:15px;font-weight:500;line-height:1.5;transition:background-color .18s,color .18s,border-color .18s}
.employee-design button:focus-visible{outline:3px solid #38b9ba;outline-offset:3px}
.employee-design .sidebar{position:sticky;top:0;height:100svh;display:flex;flex-direction:column;background:#082644;padding:38px 16px 24px;border:0;box-shadow:none;z-index:45;transform:none;width:auto;inset-inline:auto}
.employee-design .brand{display:flex;flex-direction:column;gap:10px;padding:20px 8px 38px;color:#fff;font-size:24px;text-align:center;line-height:1.5;white-space:normal}
.employee-design .brand>svg{width:40px;height:40px;stroke-width:1.5}.employee-design .brand small{font-size:15px;color:#aec8df;font-weight:400}
.employee-design .sidebar nav{display:flex;flex-direction:column;gap:10px}.employee-design .nav-item{width:100%;min-height:64px;display:flex;align-items:center;gap:16px;text-align:right;padding:14px 14px;border:0;border-inline-start:3px solid transparent;border-radius:10px;background:transparent;color:#dce8f3;font-size:17px;font-weight:400}
.employee-design .nav-item>svg{width:23px;height:23px;stroke-width:1.6;flex:none}.employee-design .nav-item.active{color:#fff;background:#164760;border-inline-start-color:#54dfd0;box-shadow:none}.employee-design .nav-item:hover{background:#ffffff12;color:#fff}
.employee-design .nav-item.logout{margin-top:auto;border-top:1px solid #a4c5dc30;border-radius:0;padding-top:24px}.employee-design .mobile-close,.employee-design .menu-button{display:none!important}
.employee-design .workspace{position:relative;min-width:0;padding:0;margin:0;background:var(--employee-soft);width:100%;overflow:clip}
.employee-page-header{position:relative;height:390px;overflow:hidden;isolation:isolate;background:#103556}.employee-page-header.compact{height:270px}
.employee-photo-base{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 58%;z-index:-3;filter:brightness(.68)}
.employee-photo-building{position:absolute;inset-block:0;right:0;height:100%;width:min(620px,56%);object-fit:cover;object-position:right center;z-index:-2;mask-image:linear-gradient(to right,transparent,#000 32%);-webkit-mask-image:linear-gradient(to right,transparent,#000 32%)}
.employee-hero-copy{position:absolute;left:5%;top:40%;width:49%;text-align:right;color:#fff}.employee-hero-copy h1{font-size:clamp(34px,3.5vw,58px);font-weight:700;line-height:1.5;margin:0 0 8px;overflow-wrap:anywhere}.employee-hero-copy p{font-size:21px;line-height:1.8;margin:0;color:#f2f7fc}
.employee-wave{position:absolute;bottom:-1px;left:0;width:100%;height:50px}.employee-design .topbar{position:absolute;left:28px;top:22px;right:auto;width:auto;min-height:0;padding:0;display:flex;gap:12px;border:0;box-shadow:none;background:none;z-index:10}.employee-design .employee-profile{display:none}
.employee-design .notification-button{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid #c8dce075;border-radius:14px;background:#092b50b3;color:#fff}.employee-design .notification-button svg{width:22px;height:22px}
.employee-design .dashboard-content{padding:0 30px 38px;max-width:none;display:flex;flex-direction:column;gap:20px;margin:0;min-width:0}.employee-design .page-heading{padding:20px 0 0;margin:0}.employee-view-tasks .page-heading{display:none}.employee-design .page-heading h1{font-size:26px}.employee-design .page-heading p{font-size:15px;color:#5c748d}
.employee-shift-summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid var(--employee-line);border-radius:14px;padding:20px 24px;margin:0;box-shadow:0 4px 14px #12396203;min-width:0}
.employee-shift-name{display:flex;align-items:center;gap:18px}.employee-shift-name>svg{box-sizing:content-box;flex:none;padding:12px;border-radius:12px;background:#eaf5ff;color:#176aaf}.employee-shift-name>div{display:flex;flex-direction:column;gap:4px}.employee-shift-name strong{font-size:21px}.employee-shift-name span{font-size:17px;color:#42658a}.employee-shift-name small{font-size:13px;color:#6b8196}
.employee-shift-state{display:flex;align-items:center;gap:22px;color:#42658a;font-size:16px}.employee-shift-badge{border-radius:12px;padding:12px 22px;background:#edf2f7;color:#4c657e;font-weight:500}.employee-shift-badge.started{background:#e4f7ef;color:#17674c}.employee-started-time{border-inline-start:1px solid var(--employee-line);padding-inline-start:20px}
.employee-design .task-section{display:block;border:1px solid var(--employee-line);border-radius:14px;background:#fff;padding:24px;margin:0;box-shadow:0 4px 14px #12396203;min-width:0}.employee-task-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.employee-task-heading>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:240px}.employee-task-heading h2{display:flex;align-items:center;gap:12px;font-size:27px;line-height:1.5;margin:0;color:#123657}.employee-task-heading h2 svg{width:28px;height:28px}.employee-task-heading span{font-size:14px;color:#4d6781}.employee-task-heading progress{width:260px;height:7px;appearance:none;border:0;border-radius:10px;overflow:hidden;background:#e7eef5;color:#1b7c60}.employee-task-heading progress::-webkit-progress-bar{background:#e7eef5;border-radius:10px}.employee-task-heading progress::-webkit-progress-value{background:#238361;border-radius:10px}.employee-task-heading progress::-moz-progress-bar{background:#238361;border-radius:10px}
.employee-schedule-link{display:flex;align-items:center;gap:8px;color:#1767b3;background:none;border:0;padding:8px 0;text-align:left}
.employee-design .employee-task-list{display:flex;flex-direction:column;gap:8px}.employee-design .task-row{display:grid;grid-template-columns:38px minmax(150px,1fr) 176px minmax(160px,auto);align-items:center;gap:15px;min-height:72px;padding:12px 18px;background:#fff;border:1px solid #e5edf4;border-radius:12px;box-shadow:none;opacity:1;margin:0;position:relative}
.employee-design .task-check{width:32px;height:36px;background:transparent;color:#173a63;border:0;border-radius:6px;padding:3px;display:flex;align-items:center;justify-content:center;box-shadow:none}.employee-design .task-check:disabled{opacity:1;color:#173a63;cursor:default}.employee-design .task-row.is-complete .task-check{color:#18785a;background:none}
.employee-design .task-title{font-size:18px;line-height:1.7;font-weight:500;color:#173a63;text-decoration:none;min-width:0;overflow-wrap:anywhere}.employee-task-status{display:flex;align-items:center;justify-content:center;gap:8px;padding:7px 12px;border-radius:10px;font-size:14px;background:#f0f3f6;color:#526577;white-space:nowrap;justify-self:center}.employee-task-status.complete{background:#e6f7ef;color:#187554}.employee-task-status.draft{background:#e7f1ff;color:#1d63a6}
.employee-design .task-row>.inventory-task-button,.employee-design .task-row>.rifd-task-button,.employee-design .task-row>.room-env-dual-actions{justify-self:end;margin:0}.employee-design .inventory-task-button,.employee-design .rifd-task-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:8px 16px;border:1px solid #3971aa;border-radius:10px;background:#fff;color:#155a9d;font-size:14px;box-shadow:none;max-width:100%;white-space:normal}
.employee-design .task-row:has(.employee-task-status.draft)>.inventory-task-button{background:#123c69;color:#fff;border-color:#123c69}.employee-design .task-row button:disabled{cursor:not-allowed}.employee-design .task-row>.inventory-task-button:disabled,.employee-design .task-row>.rifd-task-button:disabled{opacity:.5}
.employee-design .room-env-dual-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px;max-width:320px}.employee-design .task-time{font-size:12px;color:#657d92;text-align:left}.employee-draft-note{display:flex;align-items:center;gap:10px;background:#eef7fd;color:#496b8c;border-radius:10px;margin:16px 0 0;padding:14px 16px;font-size:14px;line-height:1.8}.employee-draft-note svg{flex:none}
.employee-design .shift-comment{margin:20px 0 0;padding:18px 0 0;border:0;border-top:1px solid var(--employee-line);border-radius:0;background:none;box-shadow:none}.employee-design .autosave-note{color:#6a8297;font-size:12px;margin:14px 0 0}.employee-design .identity-confirmation{border:1px solid var(--employee-line);border-radius:14px;background:#fff;padding:28px;box-shadow:none}.employee-design .identity-confirmation button{min-height:46px}.employee-design .primary-button{background:#163e6a;color:#fff;border:1px solid #163e6a;border-radius:10px}.employee-design .secondary-button{border-radius:10px}
.employee-schedule{background:#fff;border:1px solid var(--employee-line);border-radius:14px;padding:24px}.employee-schedule h2{font-size:23px;margin:0 0 20px}.employee-schedule-list{display:flex;flex-direction:column}.employee-schedule-row{display:grid;grid-template-columns:1.4fr 1fr 1fr 130px;gap:20px;padding:20px 12px;border-bottom:1px solid #e5edf4;align-items:center}.employee-schedule-row.current{background:#f0f7fc}.employee-schedule-row small{color:#1b6d55}.employee-design .empty-state{color:#61778b;line-height:1.8}
.employee-design .narcotic-shell,.employee-design .narcotic-inventory{min-width:0;max-width:100%;border-radius:14px}.employee-design .narcotic-table-wrap{max-width:100%;overflow:auto}.employee-design .sync-error,.employee-design .sync-banner.error{color:#9e3436;line-height:1.8}
body:has(.employee-design){margin:0;background:#f1f7fc;padding-bottom:0}.pharmacy-portal-nav:has(+.employee-design){position:absolute;top:22px;left:92px;right:auto;z-index:20;width:auto;padding:0;border:0;background:none;margin:0;box-shadow:none}.pharmacy-portal-nav:has(+.employee-design)>strong,.pharmacy-portal-nav:has(+.employee-design)>span{display:none}.pharmacy-portal-nav:has(+.employee-design)>button{background:#092b50b3;border:1px solid #c8dce075;color:#fff;border-radius:12px;min-height:48px}
@media(min-width:901px){.employee-design .sidebar.is-open{transform:none}}
@media(max-width:1200px){.employee-design{grid-template-columns:210px minmax(0,1fr)}.employee-design .sidebar{padding:24px 12px}.employee-design .brand{font-size:22px}.employee-design .nav-item{font-size:15px;gap:10px}.employee-design .dashboard-content{padding-inline:20px}.employee-design .task-section{padding:18px}.employee-design .task-row{grid-template-columns:30px minmax(120px,1fr) 132px minmax(120px,auto);gap:10px;padding:12px}.employee-design .task-title{font-size:16px}.employee-design .room-env-dual-actions{max-width:170px}.employee-hero-copy p{font-size:17px}.employee-shift-state{gap:12px;font-size:14px}.employee-shift-badge{padding:10px 12px}}
@media(max-width:900px){
.employee-design{display:block;padding-bottom:92px}.employee-design .sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;inset-inline:0;width:100%;height:auto;min-height:0;padding:6px 8px max(8px,env(safe-area-inset-bottom));z-index:60;border-radius:14px 14px 0 0;display:block;transform:none!important;overflow:visible}.employee-design .brand{display:none}.employee-design .sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding-inline-end:52px}.employee-design .nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px 2px;min-height:61px;border-inline-start:0;border-top:2px solid transparent;font-size:11px;line-height:1.4;text-align:center;border-radius:8px}.employee-design .nav-item svg{width:20px;height:20px}.employee-design .nav-item.active{border-top-color:#54dfd0}.employee-design .nav-item.logout{position:absolute;right:8px;bottom:16px;width:44px;min-height:44px;height:44px;padding:10px;border:0;margin:0}.employee-design .logout span{display:none}
.employee-page-header{height:300px}.employee-page-header.compact{height:220px}.employee-photo-building{width:70%;object-position:right center;mask-image:linear-gradient(to right,transparent,#000 30%)}.employee-hero-copy{left:6%;top:36%;width:55%}.employee-hero-copy h1{font-size:32px;line-height:1.5}.employee-hero-copy p{font-size:15px;line-height:1.8}.employee-design .topbar{top:15px;left:16px}.employee-design .notification-button{width:42px;height:42px}.employee-design .dashboard-content{padding:0 16px 28px;gap:16px}.employee-shift-summary{padding:18px;gap:14px;flex-wrap:wrap}.employee-shift-name{gap:12px}.employee-shift-name strong{font-size:19px}.employee-shift-name span{font-size:15px}.employee-shift-state{width:100%;justify-content:space-between}.employee-shift-badge{padding:9px 14px;font-size:14px}.employee-started-time{padding-inline-start:10px;font-size:13px}.employee-task-heading{align-items:flex-start;gap:12px}.employee-task-heading>div{min-width:0;flex:1}.employee-task-heading h2{font-size:24px}.employee-task-heading progress{width:100%;max-width:240px}.employee-schedule-link{font-size:12px!important;max-width:105px;text-align:left}.employee-design .task-section{padding:16px}.employee-design .task-row{grid-template-columns:28px minmax(0,1fr) auto;gap:8px;min-height:100px;padding:12px}.employee-design .task-title{font-size:16px;line-height:1.6}.employee-task-status{font-size:11px;padding:6px 7px;gap:4px;max-width:118px;white-space:normal;text-align:center}.employee-task-status svg{width:14px;flex:none}.employee-design .task-row>.inventory-task-button,.employee-design .task-row>.rifd-task-button,.employee-design .task-row>.room-env-dual-actions,.employee-design .task-row>.task-time{grid-column:2/4;justify-self:stretch;text-align:center;max-width:none}.employee-design .room-env-dual-actions{display:grid;grid-template-columns:1fr 1fr}.employee-design .inventory-task-button,.employee-design .rifd-task-button{font-size:13px;padding:8px;min-height:42px}.employee-design .task-check{width:28px}.employee-draft-note{font-size:12px;padding:12px}.employee-schedule{padding:16px}.employee-schedule-row{grid-template-columns:1fr 1fr;gap:8px;padding:16px 8px;font-size:14px}.employee-design .history-row{min-width:0}.pharmacy-portal-nav:has(+.employee-design){left:70px;top:15px}.pharmacy-portal-nav:has(+.employee-design)>button{min-height:42px;font-size:12px}
}
@media(max-width:420px){.employee-page-header{height:250px}.employee-photo-building{width:75%;object-fit:cover}.employee-hero-copy{top:32%;width:58%;left:5%}.employee-hero-copy h1{font-size:27px}.employee-hero-copy p{font-size:13px;max-width:185px}.employee-design .dashboard-content{padding-inline:10px}.employee-design .task-section{padding:12px}.employee-shift-summary{padding:16px}.employee-shift-name strong{font-size:18px}.employee-design .task-title{font-size:14px}.employee-task-status{max-width:92px}.employee-design .nav-item{font-size:10px}}
@media(prefers-reduced-motion:reduce){.employee-design *{transition:none!important;animation:none!important}}
}
@media print{.employee-page-header,.employee-task-heading .employee-schedule-link{display:none!important}}

@media screen and (max-width:900px){
.employee-design .sidebar nav{padding-inline-end:0;padding-inline-start:0}
.employee-design .nav-item.logout{position:fixed;top:15px;right:14px;bottom:auto;width:42px;height:42px;min-height:42px;padding:10px;background:#092b50c9;color:#fff;border:1px solid #c8dce075;border-radius:12px}
.employee-design .task-row>.room-env-dual-actions{width:100%;display:flex!important;flex-direction:row!important;flex-wrap:wrap;justify-content:stretch;align-items:stretch}
.employee-design .room-env-dual-actions>button{flex:1 1 115px;width:auto;white-space:normal}
}

@media screen{
.employee-design .task-row:has(.employee-task-status.draft) .room-env-dual-actions>button:first-child{background:#123c69;color:#fff;border-color:#123c69}
.employee-idle-design{position:relative;max-width:none;margin:0;padding:0;background:#f1f7fc;min-height:100svh;color:#183b62}.employee-idle-design .idle-topbar{position:absolute;left:24px;top:20px;width:auto;background:none;border:0;box-shadow:none;padding:0}.employee-idle-design .employee-profile{display:none}.employee-idle-design .idle-topbar button{background:#103c65d9;color:#fff;border:1px solid #cee2f17a;border-radius:12px}.employee-idle-design .idle-content{margin:0;padding:24px;max-width:none}.employee-idle-design .page-heading{margin-top:0}.employee-idle-design .empty-state,.employee-idle-design .history-list{background:#fff;border:1px solid #dce8f2;border-radius:14px;padding:24px}
}
@media screen and (min-width:901px){
.employee-photo-base{mask-image:linear-gradient(to right,#000 44%,transparent 60%);-webkit-mask-image:linear-gradient(to right,#000 44%,transparent 60%)}
.employee-photo-building{width:min(740px,62%);mask-image:linear-gradient(to right,transparent,#000 20%);-webkit-mask-image:linear-gradient(to right,transparent,#000 20%)}
}

/* Independent refrigerator reading: its status never inherits room completion. */
.fridge-task-title{display:flex;flex-direction:column;gap:5px;min-width:0}.fridge-task-title strong{font-size:16px}.fridge-task-title small{font-size:13px;color:#5c748b;line-height:1.7}.fridge-task-error{grid-column:1/-1;line-height:1.8}.fridge-task-error button{margin-inline-start:12px}.fridge-recorder{font-size:14px;line-height:1.8;color:#42658a}.fridge-temperature-task{border-inline-start:3px solid #33a991!important}
