/* CommonHand V90.21.3 — Clean Provider Header
   Restores the original V90.21 one-row provider header and only trims the
   controls that caused overflow. No application/payment/matching logic. */

body.business-v13-mode{
  overflow-x:hidden;
}
body.business-v13-mode #businessV13Header,
body.business-v13-mode #businessV13App,
body.business-v13-mode .business-v13-shell,
body.business-v13-mode .business-v13-view{
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
body.business-v13-mode .business-v13-header{
  height:72px;
  min-height:72px;
}
body.business-v13-mode .business-v13-inner{
  width:100%;
  max-width:1240px;
  height:72px;
  min-height:72px;
  margin:0 auto;
  padding:0 18px;
  display:flex;
  align-items:center;
  gap:14px;
  box-sizing:border-box;
}
body.business-v13-mode .business-v13-brand{
  flex:0 0 auto;
}
body.business-v13-mode .business-v13-nav{
  display:flex;
  align-items:center;
  flex:1 1 auto;
  min-width:0;
  gap:2px;
  overflow:visible;
}
body.business-v13-mode .business-v13-nav button{
  flex:0 1 auto;
  min-width:0;
  padding:10px 8px;
  font-size:13.25px;
  white-space:nowrap;
}
body.business-v13-mode .business-v13-account{
  flex:0 0 auto;
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
}
/* The full provider name duplicated the role already known on this screen and
   consumed ~150px. Keep the avatar + logout; remove only this redundant block. */
body.business-v13-mode .business-v13-account-name{
  display:none!important;
}
body.business-v13-mode .business-v13-avatar{
  width:34px;
  height:34px;
  border-radius:10px;
}
body.business-v13-mode #launchBusinessLogout{
  flex:0 0 auto;
  white-space:nowrap;
  padding:8px 10px;
}
/* Notifications remains in the top-right, but as a compact bell instead of a
   full-width purple pill that steals room from provider navigation. */
body.business-v13-mode #v77cNotifyBtn{
  position:static!important;
  inset:auto!important;
  margin:0!important;
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  border-radius:11px!important;
  box-shadow:none!important;
  display:none;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  font-size:0!important;
  white-space:nowrap!important;
}
body.business-v13-mode #v77cNotifyBtn.show{
  display:inline-flex!important;
}
body.business-v13-mode #v77cNotifyBtn::before{
  content:"🔔";
  font-size:17px;
  line-height:1;
}
body.business-v13-mode #v77cNotifyBtn .v78-notify-label{
  display:none!important;
}
body.business-v13-mode #v77cNotifyCount{
  position:absolute;
  transform:translate(13px,-13px);
  min-width:17px;
  height:17px;
  padding:0 4px;
  font-size:9px;
  border:2px solid #fff;
}

/* Normal laptops: trim spacing, never add a second row. */
@media (min-width:701px) and (max-width:1240px){
  body.business-v13-mode .business-v13-inner{
    padding-left:12px;
    padding-right:12px;
    gap:9px;
  }
  body.business-v13-mode .business-v13-brand{
    font-size:18px;
  }
  body.business-v13-mode .business-v13-brand .mark{
    width:28px;
    height:28px;
    margin-right:6px;
  }
  body.business-v13-mode .business-v13-nav{
    gap:0;
  }
  body.business-v13-mode .business-v13-nav button{
    padding-left:6px;
    padding-right:6px;
    font-size:12px;
  }
}

/* At the narrow edge of desktop, keep the page fixed and make only the nav
   horizontally scrollable as a last resort. No content is clipped and the
   document itself never migrates sideways. */
@media (min-width:701px) and (max-width:980px){
  body.business-v13-mode .business-v13-nav{
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    -ms-overflow-style:none;
    overscroll-behavior-x:contain;
  }
  body.business-v13-mode .business-v13-nav::-webkit-scrollbar{display:none}
  body.business-v13-mode .business-v13-nav button{
    flex:0 0 auto;
    font-size:12px;
  }
}

/* Existing V90.18 mobile navigation owns phone-sized screens. */
@media (max-width:700px){
  body.business-v13-mode .business-v13-inner{
    height:72px;
    min-height:72px;
    gap:10px;
    padding:0 10px;
  }
  body.business-v13-mode .business-v13-nav{display:none!important}
  body.business-v13-mode .business-v13-account{margin-left:auto}
}
