.shared-login{max-width:620px;margin:8vh auto;padding:32px;background:white;border:1px solid #d6e3de;border-radius:18px;color:#203c32}.shared-login h1{font-size:30px;line-height:1.35}.shared-login p{line-height:1.75}.shared-kicker{font-weight:700;color:#2b7056;letter-spacing:.05em}.shared-login form{display:grid;gap:18px;margin:26px 0}.shared-login label{display:grid;gap:8px;font-weight:600}.shared-login input{min-height:46px;padding:10px;border:1px solid #adc6bb;border-radius:8px;font-size:17px}.shared-notice{background:#f4eee2;border-left:4px solid #bd7323;padding:14px 18px}.shared-notice p{margin-bottom:0}.shared-muted{color:#687c73;font-size:14px}.shared-banner{padding:12px 24px;background:#eef5f0;border-bottom:1px solid #c5dace;font-weight:600;color:#315e4b}#login-status{color:#b23630;margin:0}.shared-login button{padding:12px;font-size:17px}#shared-person{padding:7px;color:#477160;font-weight:700}body[data-shared-role="sales"] #planner-nav,body[data-shared-role="sales"] [data-shared-parts],body[data-shared-role="sales"] [data-shared-backup],body[data-shared-role="sales"] [data-case-receive],body:not([data-shared-role="sales"]) #sales-nav,body:not([data-shared-role="sales"]) [data-shared-progress],body:not([data-shared-role="manager"]) [data-shared-backup]{display:none!important}body[data-shared-role="sales"] a[href*="full-production"]{display:none!important}@media(max-width:700px){.shared-login{margin:16px;padding:22px}.shared-login h1{font-size:25px}}
.shared-banner+header [data-shared-board]{font-weight:800}
[data-staff-blocked],[data-staff-role-hidden]{display:none!important}
/* Compact role workspaces. Only navigation and disclosure; no business state. */
.staff-workspace-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:14px 24px;background:#fff;border-bottom:1px solid #d5e0db;color:#20372f}
.staff-workspace-tabs[hidden]{display:none!important}
.staff-workspace-tabs>strong{margin-right:10px;font-size:14px}
.staff-workspace-tabs a{display:inline-block;text-decoration:none;color:#286549;padding:8px 12px;border:1px solid #d5e0db;border-radius:6px;font-size:14px;line-height:1.5;min-height:40px;box-sizing:border-box}
.staff-workspace-tabs a[aria-current="page"]{background:#286549;color:white;border-color:#286549}
.staff-workspace-tabs details{position:relative;font-size:14px;background:white;border:1px solid #d5e0db;border-radius:6px;padding:8px 12px}
.staff-workspace-tabs summary{cursor:pointer;min-height:22px}.staff-workspace-tabs details a{margin:8px 5px 0 0}.staff-workspace-tabs>small{flex-basis:100%;color:#687c73;font-size:12px}
.staff-sidebar-layout #staff-work.staff-home-work{padding:0;margin:24px 0;background:transparent;border:0}
.staff-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.staff-action-card{display:flex;flex-direction:column;gap:12px;padding:24px;background:#f6faf7;border:1px solid #c9dbcf;border-left:4px solid #286549;border-radius:8px;text-decoration:none;color:#20372f}
.staff-action-card strong{font-size:22px;line-height:1.5}.staff-action-card span{font-size:14px;line-height:1.6;color:#597063}.staff-action-card:hover{background:#edf5ef;border-color:#286549}
.staff-home-more{margin-top:24px;padding:16px 0;border-top:1px solid #d5e0db}.staff-home-more>summary{font-weight:650;cursor:pointer}
.staff-more-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid #edf2ee}.staff-more-row strong{min-width:100px;font-size:14px}.staff-more-row a{color:#286549;font-size:14px;padding:6px}
.staff-workspace-tabs :is(a,summary):focus-visible,.staff-home-work :is(a,summary):focus-visible{outline:3px solid #a26918;outline-offset:3px}
@media(max-width:700px){.staff-action-grid{grid-template-columns:1fr}.staff-action-card{padding:18px}.staff-action-card strong{font-size:20px}.staff-workspace-tabs{padding:12px 14px}.staff-workspace-tabs>strong{width:100%}}
@media print{.staff-workspace-tabs{display:none!important}}
.staff-sidebar-layout .p-workflow,.staff-sidebar-layout .pw-remainder-entry{display:none!important}
.staff-sidebar-layout .wh-tabs{align-items:flex-start}.staff-low-frequency{padding:8px 12px;border:1px solid #d5e0db;border-radius:6px;background:white}.staff-low-frequency summary{cursor:pointer;font-weight:600}.staff-low-frequency button{margin:8px 6px 0 0}.staff-production-history{margin:12px 0}.pw-head-more{position:relative;padding:8px 12px;border:1px solid #d5e0db;border-radius:7px}.pw-head-more summary{cursor:pointer}.pw-head-more[hidden]{display:none!important}.pw-head-more a{display:block;margin-top:12px;color:#286549}.pw-head-more button{margin-top:12px}
[data-shared-unavailable]{color:#66756e!important;text-decoration:none!important;cursor:not-allowed}
body[data-shared-role="production"] #planner-nav,body[data-shared-role="packaging"] #planner-nav,body[data-shared-role="production"] [data-shared-parts],body[data-shared-role="packaging"] [data-shared-parts]{display:none!important}

/* Only the shared staff trial uses this shell. Legacy sessions keep their own navigation. */
body.staff-sidebar-layout{--staff-sidebar-width:244px;padding:58px 0 0 var(--staff-sidebar-width);background:#f3f6f4}
body.staff-sidebar-layout.staff-sidebar-closed{padding-left:0}
.staff-sidebar-layout>.app-header{position:fixed;inset:0 auto 0 0;z-index:50;width:var(--staff-sidebar-width);height:100dvh;box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:26px 16px 16px;background:#fff;border:0;border-right:1px solid #d5e0db;box-shadow:none;overflow-y:auto}
.staff-sidebar-layout>.app-header[hidden]{display:none!important}
.staff-sidebar-layout .staff-brand{display:block;font-size:25px;font-weight:850;letter-spacing:.07em;color:#20372f;text-decoration:none;padding:0 12px}
.staff-brand-caption{color:#596b63;font-size:13px;margin:5px 12px 18px}
.staff-sidebar-layout .fs-header-links{display:flex;flex-direction:column;align-items:stretch;gap:4px;flex:1;flex-wrap:nowrap}
.staff-sidebar-layout .staff-nav-section{margin:0;padding:12px 0 8px;border:0;border-top:1px solid #e2eae5;border-radius:0;background:transparent;box-shadow:none;min-width:0}
.staff-sidebar-layout .staff-nav-section:first-child{border-top:0;padding-top:0}
.staff-sidebar-layout .staff-nav-section-title{margin:0 0 5px;padding:5px 12px;color:#60746a;font-size:12px;font-weight:750;line-height:1.5;letter-spacing:.02em}
.staff-sidebar-layout .fs-header-links a:not([data-staff-role-hidden]){display:block!important;box-sizing:border-box;min-height:40px;margin:0;padding:9px 12px;border:0;border-left:3px solid transparent;border-radius:5px;color:#314b3f;background:transparent;text-decoration:none;font-size:15px;font-weight:650;line-height:1.45;box-shadow:none;overflow-wrap:anywhere}
.staff-sidebar-layout #sales-nav:not([data-staff-role-hidden]){display:block!important}
.staff-sidebar-layout .fs-header-links a[data-staff-role-hidden]{display:none!important}
.staff-sidebar-layout .fs-header-links a:hover{background:#f1f6f3;color:#204d38}
.staff-sidebar-layout .fs-header-links a[aria-current="page"]{background:#e7f2eb;color:#20573d;border-left-color:#286549;font-weight:800}
.staff-sidebar-layout .staff-nav-group{margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.staff-sidebar-layout .staff-nav-group>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;box-sizing:border-box;padding:10px 12px;border-radius:5px;color:#3a5146;font-size:15px;font-weight:750;line-height:1.45;list-style:none;cursor:pointer;overflow-wrap:anywhere}
.staff-nav-group>summary::-webkit-details-marker{display:none}
.staff-nav-group>summary::after{content:'';width:6px;height:6px;flex:none;margin-right:3px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg)}
.staff-nav-group[open]>summary::after{transform:rotate(45deg)}
.staff-sidebar-layout .staff-nav-group>summary:hover{background:#f1f6f3}
.staff-sidebar-layout .staff-nav-current-group>summary{color:#20573d;background:#f1f7f3}
.staff-sidebar-layout .staff-nav-children{display:flex;flex-direction:column;gap:2px;margin:0 0 6px 14px;padding-left:7px;border-left:1px solid #d5e0db}
.staff-sidebar-layout .staff-nav-children a:not([data-staff-role-hidden]){font-size:14px;font-weight:500}
.staff-sidebar-footer{display:flex;flex-direction:column;gap:6px;flex-shrink:0;margin-top:18px;padding:14px 0 0;border-top:1px solid #d5e0db;font-size:14px;color:#20372f}
.staff-sidebar-footer>strong,.staff-sidebar-footer>.staff-account{padding:0 12px}
.staff-account{font-size:12px;color:#596b63;overflow-wrap:anywhere}
.staff-sidebar-footer .staff-nav-children>a{color:#286549;min-height:40px;box-sizing:border-box;padding:9px 8px;line-height:1.5;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.staff-toolbar{position:fixed;inset:0 0 auto var(--staff-sidebar-width);height:58px;z-index:45;display:flex;align-items:center;gap:18px;box-sizing:border-box;padding:8px 24px;background:#fff;border-bottom:1px solid #d5e0db;color:#20372f}
.staff-sidebar-closed .staff-toolbar{left:0}
#staff-menu-toggle{padding:8px 12px;min-height:40px;border:1px solid #c3d4ca;border-radius:6px;background:#fff;color:#286549;font:inherit;font-size:14px;white-space:nowrap;cursor:pointer}
#staff-current-page{font-size:15px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.staff-local-badge{margin-left:auto;font-size:12px;color:#596b63;white-space:nowrap}
.staff-sidebar-layout .shared-banner{margin:0;padding:10px 24px;font-size:13px;font-weight:500}
.staff-sidebar-layout>.shared-login{margin:32px auto;max-width:880px;width:calc(100% - 48px);box-sizing:border-box;border-radius:10px}
.staff-sidebar-layout #staff-work{margin:24px 0;padding:6px 18px;border-left:3px solid #286549;background:#f1f7f3}
.staff-sidebar-layout .urgency-queue{min-width:1040px}
.staff-sidebar-layout .urgency-queue th:nth-child(1){width:19%}
.staff-sidebar-layout .urgency-queue th:nth-child(2){width:21%}
.staff-sidebar-layout .urgency-queue th:nth-child(3){width:11%}
.staff-sidebar-layout .urgency-queue th:nth-child(4){width:19%}
.staff-sidebar-layout .urgency-queue th:nth-child(5){width:19%}
.staff-sidebar-layout .urgency-queue th:nth-child(6){width:11%}
.staff-sidebar-layout .urgency-queue :is(th,td){white-space:normal;overflow-wrap:anywhere}
.staff-sidebar-layout :is(.app-header,.staff-toolbar) :is(a,button,summary):focus-visible{outline:3px solid #a26918;outline-offset:2px}
.staff-sidebar-shade{position:fixed;inset:0;z-index:46;background:rgba(20,40,29,.35)}
.staff-sidebar-shade[hidden]{display:none}
@media(max-width:900px){
 body.staff-sidebar-layout{padding-left:0}
 .staff-sidebar-layout>.app-header{top:58px;height:calc(100dvh - 58px);width:min(280px,calc(100vw - 48px));box-shadow:8px 0 24px #20372f24}
 .staff-toolbar{left:0;z-index:55;padding:8px 14px;gap:12px}
 .staff-sidebar-shade{top:58px}
 body.staff-drawer-open{overflow:hidden}
 .staff-local-badge{display:none}
 .staff-sidebar-layout>.shared-login{width:calc(100% - 28px);margin:18px 14px;padding:22px}
 .staff-sidebar-layout .shared-banner{padding:10px 14px}
}
@media print{
 body.staff-sidebar-layout,body.staff-sidebar-layout.staff-sidebar-closed{padding:0!important;background:white;overflow:visible}
 .staff-sidebar-layout>.app-header,.staff-toolbar,.staff-sidebar-shade,.staff-sidebar-layout>.shared-banner{display:none!important}
}
