/* V1 mobile-only polish. Keep desktop layout and application state logic unchanged. */
@media (max-width:780px){
  /* Logged-in account controls must stay usable in the five-item bottom navigation. */
  .sidebar .account-menu{
    height:100%;
  }
  .sidebar .account-menu > .nav-item{
    height:100%;
  }
  .sidebar .account-pop{
    display:block;
    position:fixed;
    left:auto;
    right:12px;
    bottom:84px;
    width:min(200px,calc(100vw - 24px));
    padding:7px;
    background:#fff;
    border:1px solid #e3e8f0;
    border-radius:14px;
    box-shadow:0 14px 36px rgba(20,35,60,.16);
    z-index:90;
  }

  /* Application follow-up banners sit above the 72px mobile navigation. */
  #nb-application-handoff-root .nb-ah-banner,
  #nb-application-handoff-root .nb-ah-success{
    left:16px;
    right:16px;
    bottom:84px;
    width:auto;
    max-width:none;
  }
}
