/* Calendar-first HR shell. Five areas, contextual tabs, five-item mobile dock. */
.hr-workstation .hr-hub{grid-template-columns:204px minmax(0,1fr);grid-template-rows:64px 48px minmax(0,1fr)}
.hr-hub>.view-section{grid-row:3;padding:24px 28px}
.hr-sidebar{grid-row:1/-1;padding:28px 14px 18px;gap:0;border-color:#e8ecf1}
.hr-hub-brand{font-size:25px;margin:0 14px 36px}.hr-hub-brand small{font-size:11px;letter-spacing:.3px;color:#9aa3af}
#hrPrimaryNavigation{display:flex;flex-direction:column;gap:7px}
#hrPrimaryNavigation>button{width:100%;min-height:46px;padding:12px 14px;border-radius:10px;gap:12px;font-size:13px;font-weight:500;color:#768192;box-shadow:none!important}
#hrPrimaryNavigation svg{width:19px;height:19px;flex:none}
#hrPrimaryNavigation>button>span{font:inherit;color:inherit;width:auto}
#hrPrimaryNavigation>button.active{color:#236dc2;background:#edf4fc;font-weight:600}
.hr-sidebar-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:18px 8px 0}
.hr-sidebar-bottom>button{font-size:11px;padding:8px;min-height:40px;font-weight:500;color:#8290a1}
.hr-sidebar-bottom .hr-sidebar-help{padding:8px 0;margin:0;font-size:10px;color:#9ba5b3}
.hr-hub-topbar{grid-column:2;grid-row:1;padding:0 28px;gap:18px;border-color:#edf0f4;background:#fff}
.hr-hub-topbar>#hrWorkspaceLabel{font-size:13px;color:#7b8797;font-weight:500}
.hr-hub-topbar form{max-width:360px;margin-left:auto;flex:1}
.hr-hub-topbar input{background:#f8fafc!important;border-color:#edf0f4!important;font-size:11px;border-radius:9px;padding:10px 12px}
.hr-hub-topbar button{background:#f5f7fa;font-size:11px;border-radius:8px;min-height:38px}
.hr-hub-topbar .hr-access-label{display:none}
#hrContextNav{grid-column:2;grid-row:2;display:flex;align-items:stretch;gap:24px;overflow-x:auto;scrollbar-width:none;padding:0 28px;background:#fff;border-bottom:1px solid #e8edf3;min-width:0}
#hrContextNav::-webkit-scrollbar{display:none}
#hrContextNav button{flex:none;position:relative;background:none;border:0;border-radius:0;font:inherit;font-size:12px;color:#8a94a3;padding:0 1px;min-height:47px;cursor:pointer;white-space:nowrap;box-shadow:none!important}
#hrContextNav button.active{color:#2869b3;font-weight:600}
#hrContextNav button.active::after{content:'';position:absolute;height:2px;border-radius:2px;background:#397fc8;left:0;right:0;bottom:0}
.hr-hub .hr-workspace-nav{display:none}
#shiftPlannerView>.module-header{margin-bottom:18px;gap:14px}
#shiftPlannerView>.module-header h1{font-size:27px;letter-spacing:-.8px}
#shiftPlannerView>.module-header .eyebrow{display:none}
.hr-workstation .hr-hub .module-screen{grid-template-rows:auto minmax(0,1fr)}
.hr-hub #shiftPlannerView{display:block}
@media(max-width:1200px){.hr-workstation .hr-hub{grid-template-columns:180px minmax(0,1fr)}.hr-hub>.view-section{padding:22px}.hr-hub-topbar{padding:0 22px}#hrContextNav{padding:0 22px;gap:20px}.hr-sidebar{padding:24px 10px 16px}.hr-hub-brand{font-size:23px;margin-left:12px}#hrPrimaryNavigation>button{padding:12px;font-size:12px}}
@media(max-width:700px){
 .hr-workstation .hr-hub{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:62px 46px minmax(0,1fr);height:100dvh;padding:0 0 calc(66px + env(safe-area-inset-bottom));overflow:hidden}
 .hr-hub-topbar{grid-column:1;grid-row:1;padding:0 16px;gap:10px;height:auto;min-height:62px;flex-wrap:nowrap}
 .hr-hub-topbar>#hrWorkspaceLabel{font-size:12px;max-width:90px;overflow:hidden;text-overflow:ellipsis}
 .hr-hub-topbar form{max-width:none;min-width:0}.hr-hub-topbar form button{display:none}.hr-hub-topbar input{font-size:11px;padding:10px;width:100%;min-width:0}
 .hr-hub-topbar>#hrHubLogout{font-size:10px;padding:8px;min-height:36px;flex:none}
 #hrContextNav{grid-column:1;grid-row:2;gap:20px;padding:0 16px;min-height:46px}#hrContextNav button{font-size:11px;min-height:45px}
 .hr-hub>.view-section{grid-column:1;grid-row:3;padding:18px 14px;height:100%;overflow:auto;min-height:0}
 .hr-sidebar{position:fixed;left:0;right:0;bottom:0;height:calc(66px + env(safe-area-inset-bottom));padding:0 8px env(safe-area-inset-bottom);z-index:30;border:0;border-top:1px solid #e5eaf0;background:#fffffff7;display:block;overflow:visible}
 .hr-sidebar .hr-hub-brand,.hr-sidebar-bottom{display:none}
 #hrPrimaryNavigation{height:66px;display:flex;flex-direction:row;gap:2px;align-items:center;justify-content:space-around;overflow:visible}
 #hrPrimaryNavigation>button{flex:1;min-width:0;max-width:86px;height:54px;min-height:54px;padding:6px 2px;display:flex;flex-direction:column;justify-content:center;gap:4px;border-radius:10px;font-size:9px;white-space:nowrap}
 #hrPrimaryNavigation svg{width:20px;height:20px}#hrPrimaryNavigation>button.active{background:#f0f6fe}
 .hr-workstation #activityFeedRoot{bottom:calc(82px + env(safe-area-inset-bottom))!important;top:auto!important;right:14px!important;left:auto!important}
 .hr-workstation .toast{bottom:calc(82px + env(safe-area-inset-bottom));max-width:calc(100vw - 28px)}
 #shiftPlannerView>.module-header{margin-bottom:14px;align-items:center}#shiftPlannerView>.module-header h1{font-size:23px}
}
@media(prefers-reduced-motion:reduce){#hrContextNav{scroll-behavior:auto}}

/* The calendar is one destination; specialist tools are secondary. */
#hrContextNav.hr-calendar-context{overflow:visible;z-index:8}
.hr-calendar-more{margin-left:auto;align-self:center;position:relative;font-size:11px;color:#8b98aa}
.hr-calendar-more>summary{list-style:none;cursor:pointer;padding:12px 3px;white-space:nowrap}.hr-calendar-more>summary::after{content:'⌄';margin-left:8px}.hr-calendar-more>summary::-webkit-details-marker{display:none}
.hr-calendar-more>div{position:absolute;right:0;top:40px;min-width:245px;padding:7px;background:#fff;border:1px solid #e5eaf1;border-radius:12px;box-shadow:0 12px 35px #26395112;z-index:10}
#hrContextNav .hr-calendar-more button{display:block;width:100%;min-height:40px;text-align:left;padding:10px;font-size:11px;border-radius:7px;color:#788ba2}
#hrContextNav .hr-calendar-more button:hover{background:#f3f7fc}#hrContextNav .hr-calendar-more button.active::after{display:none}
