/* Linked employee identity, shared by Production and embedded Sales. */
#employeeIdentity425{display:flex;align-items:center;gap:10px;min-width:0;max-width:min(480px,42vw);color:#fff;flex:0 1 auto}
#employeeIdentity425>div:last-child{min-width:0}#employeeIdentity425 b{display:block;font-size:11px;line-height:1.25;overflow-wrap:anywhere}#employeeIdentity425 small{display:block;font-size:10px;line-height:1.3;color:#eef3ff}#employeeIdentity425 [hidden]{display:none!important}.portalLabel425{font-size:13px;white-space:nowrap}
body.employeeLinked425 #identity,body.employeeLinked425 #asof,body.employeeLinked425 #salesIdentity414{display:none!important}
body.salesHeader425 #salesIdentity414{display:none!important}body.salesHeader425:not(.employeeLinked425) #identity{display:block!important}body.salesHeader425>header,body.hubTheme422.salesHeader425>header{background:linear-gradient(110deg,#061b32,#0c2b50)!important}
body.hubTheme422:not(.salesHeader425)>header{background:linear-gradient(110deg,#061b32,#0c2b50)!important}
@media(max-width:750px){#employeeIdentity425{max-width:50vw;gap:6px}.portalLabel425{display:none}#employeeIdentity425 b{font-size:10px}#employeeIdentity425 small{font-size:9px}#employeeIdentity425 .employeePhoto414{width:30px;flex-basis:30px;height:36px}}
/* Screen branding must never appear behind badges, labels or printed reports. */
@media print{
 html,body,body.hubTheme422,body.reportsNavigation423{background:#fff!important;background-image:none!important;background-color:#fff!important;background-attachment:initial!important;margin:0!important;padding:0!important;min-height:0!important;height:auto!important;overflow:visible!important;--shell-offset:0px!important}
 body::before,body::after,html::before,html::after{display:none!important;background:none!important;content:none!important}
 #shellRail361,#shellDrawer361,#shellBackdrop361,#hubWorkspaces422,#workspaceNavigation423,#mainTabsTrigger414,#recoveryArea,#nav,body>header{display:none!important}
 #printArea{background:#fff!important;background-image:none!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;position:static!important;box-shadow:none!important}
 #printArea .employeeBadge35,#printArea .posLabel312,#printArea .label{background:#fff!important;background-image:none!important;box-shadow:none!important}
}

.roleBox430{border:1px solid #d6dfef;border-radius:8px;padding:12px;margin:10px 0;background:#fff}.roleBoxOptions430{padding:10px 0 0 25px}.roleBox430 label,#roleReportList430 label,#roleSalesBody430>label{display:inline-flex;align-items:center;gap:7px;margin:7px 14px 7px 0}#roleForm430 fieldset{margin:14px 0;border:1px solid #cbd6e6;border-radius:8px;padding:14px}#roleReportList430{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.roleBox430 [hidden],#roleForm430 [hidden]{display:none!important}

button[aria-busy="true"]::before{content:"";display:inline-block;width:.85em;height:.85em;margin-right:7px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-.12em;animation:refreshSpin430 .75s linear infinite}@keyframes refreshSpin430{to{transform:rotate(360deg)}}

/* Full-width role administration: one permission matrix, one role per user. */
#setupForm:has(#roleForm430),#setupForm:has(.userCard405),#setupList{width:100%;max-width:none;min-width:0;box-sizing:border-box}
.userCard405,#roleForm430{width:100%;max-width:none;box-sizing:border-box;padding:clamp(16px,1.5vw,28px);background:#fff;border:1px solid #d9e3f1;border-radius:12px;margin-top:16px}
#setupForm .userCard405 [hidden],#roleForm430 [hidden]{display:none!important}
.userCard405>.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));align-items:start;gap:16px}
#assignedRoleBox430{min-width:0}#assignedRoleBox430 p{font-size:.875rem;margin:6px 0}
#roleForm430 h2,.userCard405 h2{margin-top:0}#roleForm430>.field{max-width:560px}#roleForm430 fieldset{padding:16px;margin:20px 0;min-width:0}#roleForm430 legend{font-size:1.1rem;font-weight:700}#roleForm430 label{display:inline-flex;align-items:center;gap:8px}#roleForm430 input[type=checkbox],#roleForm430 input[type=radio]{width:18px;height:18px;flex-shrink:0;accent-color:#214f9d}
.roleTableWrap431{width:100%;overflow-x:auto}.roleTable431{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.9rem}.roleTable431 th,.roleTable431 td{padding:11px 8px;border-bottom:1px solid #e1e7f0;text-align:center;vertical-align:middle}.roleTable431 thead th{background:#edf3fa;color:#15365b;white-space:normal}.roleTable431 th:first-child{width:23%;text-align:left}.roleTable431 tbody th{font-weight:600}.roleTable431 tbody tr.roleSelected431{background:#f5f9ff}.roleChoice431 span{display:none}.roleReports431{padding-top:14px}.roleReports431>label{font-size:1rem}.roleSalesChoices431{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;padding:14px 0}.roleActions431{display:flex;gap:10px}.roleForm431 .muted{line-height:1.5}.roleForm431 #roleSalesBody430>.field{max-width:560px}
@media(max-width:760px){.roleTable431{min-width:720px}.roleTable431 th:first-child{width:190px}.userCard405>.grid{grid-template-columns:1fr}#roleForm430 fieldset{padding:10px}#roleReportList430{grid-template-columns:1fr}.roleActions431{position:sticky;bottom:0;background:#fff;padding:10px 0}.roleTable431 th,.roleTable431 td{padding:12px 6px}}
#main:has(#roleForm430),#main:has(.userCard405),#main:has(#setupTable){width:100%;max-width:none;margin-right:0;box-sizing:border-box}#main>.panel:has(#setupTable){width:100%;max-width:none;box-sizing:border-box}
/* Login only: override the legacy 1450px main-content limit. */
@media screen{body.loginMode400>#main{max-width:none!important}}

/* Scanning-only workspace: remove only its redundant navigation banners. */
body.scanOnlyWorkspace435 #workspaceNavigation423,body.scanOnlyWorkspace435 #pageTrail401,body.scanOnlyWorkspace435 #roleBack430{display:none!important}
.userCard405 .sidebarSetting435{display:flex;align-items:center;gap:9px;margin:16px 0}
.roleTable431 .scanTabsDisabled435{color:#8290a3;background:#f3f5f8}.roleTable431 .scanTabsDisabled435 input{opacity:.45}
body.hubTheme422 #shellPin361:disabled{cursor:default;opacity:.8}

/* Bottom ribbon lock; pin stays separate inside the expanded drawer. */
body.hubTheme422 #shellRail361 #shellLock436{position:absolute;bottom:12px;left:4px;width:36px;height:36px;min-height:36px;padding:7px;border:1px solid #ffffff30;border-radius:7px;color:#f0c536;background:#ffffff08;display:grid;place-items:center;transition:opacity .12s}
body.hubTheme422 #shellRail361 #shellLock436:hover,body.hubTheme422 #shellRail361 #shellLock436:focus-visible{background:#ffffff18;border-color:#e5b533;outline:2px solid #e5b533;outline-offset:1px}
body.sidebarLocked436 #shellLock436{opacity:0}body.sidebarLocked436 #shellRail361:hover #shellLock436,body.sidebarLocked436 #shellLock436:focus-visible{opacity:1}
body.hubTheme422 .shellDrawerHead361{margin-top:auto;display:flex;justify-content:flex-end}
body.hubTheme422 #shellPin361.shellPin436{width:36px;height:36px;min-height:36px;padding:8px;display:grid;place-items:center;border-radius:7px;color:#f1f5ff}
body.sidebarLocked436 #shellDrawer361{visibility:hidden!important;pointer-events:none!important;transform:translateX(-110%)!important}
@media(prefers-reduced-motion:reduce){body.hubTheme422 #shellLock436{transition:none}}
body.hubTheme422 #shellPin361.shellPin436::before{content:none!important}

/* Pin state is visible without relying on the tooltip. */
body.hubTheme422 #shellPin361.shellPin436[data-pinned="true"]{color:#ffd25a;background:#e5b53324;border:1px solid #e5b533}
body.hubTheme422 #shellPin361.shellPin436[data-pinned="false"]{color:#e0e8f4;background:transparent;border:1px solid #ffffff35}
