/*
 * NTIMA OS v13.9.7 — member header full-width and compact sticky chrome.
 *
 * Presentation only. The member dashboard header and secondary sticky header
 * use the full visual viewport width. Their vertical footprint is reduced
 * without changing navigation items, notification badges, routes or behaviour.
 */

/* Home/dashboard header: anchor directly to the visual viewport instead of the
 * former 980px fixed-header cap. This removes unused side space in desktop PWA
 * windows and keeps the mobile header edge-to-edge without using 100vw gutters. */
.wfms-member-v1082.wfms-dashboard-view .wfms-v1082-header{
  left:0!important;
  right:0!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  transform:none!important;
  padding-top:calc(8px + env(safe-area-inset-top,0px))!important;
  padding-bottom:44px!important;
}

.wfms-member-v1082.wfms-dashboard-view .wfms-v1082-header::after{
  height:54px!important;
}

.wfms-member-v1082.wfms-dashboard-view .wfms-v1082-greeting{
  margin-top:8px!important;
}

.wfms-member-v1082.wfms-dashboard-view .wfms-v1082-greeting h1{
  margin-bottom:3px!important;
}

/* Secondary pages: full-width, shorter sticky navigation. */
.wfms-member-v1082 .wfms-v1089-secondary-nav{
  left:0!important;
  right:0!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  transform:none!important;
  padding-top:calc(4px + env(safe-area-inset-top,0px))!important;
  padding-bottom:4px!important;
}

.wfms-member-v1082 .wfms-v1089-secondary-track{
  gap:7px!important;
  padding:0 clamp(10px,2.2vw,24px)!important;
}

.wfms-member-v1082 .wfms-v1089-nav-chip{
  min-height:34px!important;
  padding:5px 10px!important;
  gap:6px!important;
  font-size:11.5px!important;
}

.wfms-member-v1082 .wfms-v1089-nav-chip i{
  width:18px!important;
  height:18px!important;
}

.wfms-member-v1082 .wfms-v1089-nav-chip svg{
  width:17px!important;
  height:17px!important;
}

.wfms-member-v1082 .wfms-v1089-chip-badge{
  top:-4px!important;
  right:-3px!important;
  min-width:17px!important;
  height:17px!important;
  padding:0 4px!important;
  font-size:8px!important;
}

@media(max-width:760px){
  .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-header{
    padding-top:calc(5px + env(safe-area-inset-top,0px))!important;
    padding-left:12px!important;
    padding-right:12px!important;
    padding-bottom:38px!important;
  }

  .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-header::after{
    height:47px!important;
  }

  .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-greeting{
    margin-top:4px!important;
  }

  .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-greeting h1{
    font-size:23px!important;
  }

  .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-logo,
  .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-logo img{
    width:42px!important;
    height:42px!important;
    max-width:42px!important;
    max-height:42px!important;
    flex-basis:42px!important;
  }

  .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-header-actions .wfms-bell,
  .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-header-actions .wfms-account-toggle,
  .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-header-actions .wfms-top-avatar{
    width:37px!important;
    height:37px!important;
  }

  .wfms-member-v1082 .wfms-v1089-secondary-nav{
    padding-top:calc(3px + env(safe-area-inset-top,0px))!important;
    padding-bottom:3px!important;
  }

  .wfms-member-v1082 .wfms-v1089-secondary-track{
    gap:6px!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }

  .wfms-member-v1082 .wfms-v1089-nav-chip{
    min-height:32px!important;
    padding:4px 9px!important;
    font-size:11px!important;
  }
}

@media(max-width:370px){
  .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-header{
    padding-left:10px!important;
    padding-right:10px!important;
    padding-bottom:36px!important;
  }

  .wfms-member-v1082.wfms-dashboard-view .wfms-v1082-greeting h1{
    font-size:21px!important;
  }
}

@media print{
  .wfms-member-v1082 .wfms-v1089-secondary-nav,
  .wfms-member-v1082 .wfms-v1082-header{display:none!important}
}
