/* Employee-only WebView navigation: no changes to administrator/CEO desktop menus. */
@media(max-width:1300px){
 body.nw-employee-mobile-nav-active #nwEmployeeWorkNav{
  position:relative!important;display:block!important;z-index:4!important;visibility:visible!important;
  margin:8px 12px 12px!important;padding:12px!important;border-radius:15px!important;
  border:1px solid #d8e4f3!important;background:#fff!important;
  box-shadow:0 4px 15px rgba(26,55,96,.06)!important;min-width:0!important;
  pointer-events:auto!important;touch-action:pan-y!important;
 }
 body.nw-employee-mobile-nav-active .nw-employee-work-head{display:flex!important;gap:8px;align-items:baseline;justify-content:space-between;padding:2px 3px 11px}
 body.nw-employee-mobile-nav-active .nw-employee-work-head b{font-size:16px;font-weight:900;color:#183c70}
 body.nw-employee-mobile-nav-active .nw-employee-work-head small{font-size:11px;color:#6b788a}
 body.nw-employee-mobile-nav-active .nw-employee-work-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
 body.nw-employee-mobile-nav-active .nw-employee-work-link{
  display:flex!important;flex-direction:column;align-items:center;justify-content:center;
  text-decoration:none!important;gap:6px;min-height:64px;min-width:0;
  border:1px solid #dce5f0!important;border-radius:11px!important;
  background:#f8fbff!important;color:#27476e!important;box-sizing:border-box;
  touch-action:manipulation!important;cursor:pointer;pointer-events:auto!important;
  -webkit-tap-highlight-color:rgba(15,95,207,.15)!important;
 }
 body.nw-employee-mobile-nav-active .nw-employee-work-link>span{font-size:20px;line-height:1}
 body.nw-employee-mobile-nav-active .nw-employee-work-link>b{font-size:11px;max-width:100%;font-weight:850;white-space:normal;text-align:center;line-height:1.3;overflow-wrap:break-word}
 body.nw-employee-mobile-nav-active .nw-employee-work-link[aria-current=page]{background:#e9f2ff!important;border-color:#90b9eb!important;color:#1453a2!important}
 body.nw-employee-mobile-nav-active .nw-employee-work-link:active{transform:scale(.97)}
}
@media(max-width:420px){
 body.nw-employee-mobile-nav-active .nw-employee-work-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
 body.nw-employee-mobile-nav-active .nw-employee-work-link{min-height:68px!important;padding:7px 2px!important}
 body.nw-employee-mobile-nav-active .nw-employee-work-link>b{font-size:10px!important}
}
@media print{#nwEmployeeWorkNav{display:none!important}}

/* One employee menu: suppress the legacy launcher and duplicate footer dock. */
@media(max-width:1300px){
 body.nw-employee-mobile-nav-active #topPrimaryMenu,
 body.nw-employee-mobile-nav-active #bottomQuick{display:none!important}
}

/* 20261013 employee colorful menu: light portal background and vivid app icons. */
@media(max-width:1300px){
 body.nw-employee-mobile-nav-active{background:#edf4fb!important}
 body.nw-employee-mobile-nav-active #nwEmployeeWorkNav{
  background:linear-gradient(135deg,#fff 0%,#f2f8ff 58%,#ecfaf7 100%)!important;
  border:1px solid #dae7f4!important;border-radius:20px!important;
  box-shadow:0 8px 24px rgba(44,79,116,.07)!important;padding:16px 12px!important;
 }
 body.nw-employee-mobile-nav-active .nw-employee-work-head{padding-bottom:15px}
 body.nw-employee-mobile-nav-active .nw-employee-work-link{
  --menu-start:#4195ff;--menu-end:#4266df;--menu-tint:#eef5ff;
  min-height:100px!important;padding:12px 4px!important;gap:10px!important;
  background:linear-gradient(150deg,#fff,var(--menu-tint))!important;
  border-color:#e1e9f2!important;border-radius:15px!important;
  box-shadow:0 3px 10px rgba(44,70,104,.04);
 }
 body.nw-employee-mobile-nav-active .nw-employee-work-link[data-nw-employee-page=schedule]{--menu-start:#35b5ef;--menu-end:#2385d7;--menu-tint:#eefaff}
 body.nw-employee-mobile-nav-active .nw-employee-work-link[data-nw-employee-page=attendance]{--menu-start:#40d3b8;--menu-end:#16a687;--menu-tint:#edfbf6}
 body.nw-employee-mobile-nav-active .nw-employee-work-link[data-nw-employee-page=payroll]{--menu-start:#ab8df2;--menu-end:#7750d3;--menu-tint:#f6f1ff}
 body.nw-employee-mobile-nav-active .nw-employee-work-link[data-nw-employee-page=receipts]{--menu-start:#ffc268;--menu-end:#ed9232;--menu-tint:#fff8ec}
 body.nw-employee-mobile-nav-active .nw-employee-work-link[data-nw-employee-page=org]{--menu-start:#57cbd9;--menu-end:#269daf;--menu-tint:#eefbfc}
 body.nw-employee-mobile-nav-active .nw-employee-work-link[data-nw-employee-page=notices]{--menu-start:#ff94a2;--menu-end:#e36180;--menu-tint:#fff1f5}
 body.nw-employee-mobile-nav-active .nw-employee-work-link[data-nw-employee-page=chat]{--menu-start:#738eea;--menu-end:#5362c5;--menu-tint:#f1f3ff}
 body.nw-employee-mobile-nav-active .nw-employee-work-link>span{
  display:flex;align-items:center;justify-content:center;width:44px;height:44px;
  border-radius:13px;background:linear-gradient(140deg,var(--menu-start),var(--menu-end));
  color:#fff;box-shadow:0 5px 11px rgba(42,75,116,.16),inset 0 1px 0 rgba(255,255,255,.3);
 }
 body.nw-employee-mobile-nav-active .nw-employee-work-link>span svg{width:27px;height:27px;display:block}
 body.nw-employee-mobile-nav-active .nw-employee-work-link>b{color:#314766!important;font-weight:800}
 body.nw-employee-mobile-nav-active .nw-employee-work-link[aria-current=page]{
  background:linear-gradient(140deg,#eaf3ff,#e3efff)!important;border-color:#9dbfe9!important;
  box-shadow:0 0 0 1px rgba(83,139,213,.12);
 }
}

/* 20261013 employee profile bar: portrait, identity and real destination actions. */
@media(max-width:1300px){
 body.nw-employee-mobile-nav-active #nwEmployeeProfileBar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 16px;background:#fff;border-bottom:1px solid #edf1f7;min-height:66px;box-sizing:border-box;
 }
 body.nw-employee-mobile-nav-active .nw-employee-identity{display:flex;align-items:center;gap:10px;min-width:0}
 body.nw-employee-mobile-nav-active .nw-employee-avatar{
  width:42px;height:42px;flex:0 0 42px;display:flex;align-items:center;justify-content:center;overflow:hidden;
  border-radius:50%;background:#e4eef9;color:#40638d;font-weight:800;border:2px solid #edf4fc;
 }
 body.nw-employee-mobile-nav-active .nw-employee-avatar img{width:100%;height:100%;object-fit:cover;object-position:center 25%}
 body.nw-employee-mobile-nav-active .nw-employee-identity-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
 body.nw-employee-mobile-nav-active .nw-employee-identity-copy b{font-size:14px;color:#27384f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:145px}
 body.nw-employee-mobile-nav-active .nw-employee-identity-copy small{font-size:11px;color:#8190a3}
 body.nw-employee-mobile-nav-active .nw-employee-header-actions{display:flex;align-items:center;gap:5px;flex-shrink:0}
 body.nw-employee-mobile-nav-active .nw-employee-header-actions button{
  position:relative;width:36px;height:36px;padding:7px;border:0;border-radius:10px;
  background:#f6f8fc;color:#61728a;display:flex;align-items:center;justify-content:center;touch-action:manipulation;
 }
 body.nw-employee-mobile-nav-active .nw-employee-header-actions svg{width:22px;height:22px}
 body.nw-employee-mobile-nav-active .nw-employee-header-actions .notice-unread-badge{
  position:absolute;right:-2px;top:-3px;min-width:15px;height:15px;padding:0 3px;margin:0;font-size:9px;
 }
 body.nw-employee-mobile-nav-active .company-header .header-end,
 body.nw-employee-mobile-nav-active #headerRoleCard{display:none!important}
 body.nw-employee-mobile-nav-active .company-header{grid-template-columns:54px minmax(0,1fr)!important}
 body.nw-employee-mobile-nav-active .company-header .company-brand{justify-self:center!important}
}

/* Keep the menu button above the centered logo hit area. */
@media(max-width:1300px){
 body.nw-employee-mobile-nav-active .company-header .header-start{position:relative!important;z-index:5!important;pointer-events:auto!important}
 body.nw-employee-mobile-nav-active #hamb{position:relative!important;z-index:6!important;min-width:44px!important;min-height:44px!important;pointer-events:auto!important;touch-action:manipulation!important}
 body.nw-employee-mobile-nav-active #hamb svg{pointer-events:none!important}
}
