.nbt-mobile-bar,
.nbt-mobile-more:not([open]) {
  display:none;
}

@media (max-width:991px) {
  html.nbt-mobile-nav-ready {
    --nbt-mobile-nav-height:calc(64px + env(safe-area-inset-bottom, 0px));
    scroll-padding-bottom:var(--nbt-mobile-nav-height);
  }
  html.nbt-mobile-nav-ready body {
    padding-bottom:var(--nbt-mobile-nav-height);
  }
  html.nbt-mobile-nav-ready #masthead .mob-hamburger,
  html.nbt-mobile-nav-ready #site-navigation,
  html.nbt-mobile-nav-ready #nbt-app-dock {
    display:none!important;
  }
  html.nbt-mobile-nav-ready .js-scrolltop {
    bottom:calc(var(--nbt-mobile-nav-height) + 10px)!important;
  }
  html.nbt-mobile-nav-open,
  html.nbt-mobile-nav-open body {
    overflow:hidden;
  }
  .nbt-mobile-bar:not([hidden]) {
    position:fixed;
    z-index:2147481900;
    inset:auto 0 0;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    box-sizing:border-box;
    padding:3px max(4px,env(safe-area-inset-right,0px)) calc(4px + env(safe-area-inset-bottom,0px)) max(4px,env(safe-area-inset-left,0px));
    border-top:1px solid #dbe6f0;
    background:#fff;
    box-shadow:0 -4px 18px #1a3e5b14;
    font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  }
  .nbt-mobile-bar.is-editing {
    display:none;
  }
  .nbt-mobile-bar > :is(a,button) {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    min-width:0;
    min-height:56px;
    margin:0;
    padding:3px 1px;
    border:0;
    border-radius:9px;
    background:transparent;
    color:#344b62;
    font:650 clamp(10px,3vw,12px)/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;
    text-align:center;
    text-decoration:none;
    white-space:normal;
    cursor:pointer;
  }
  .nbt-mobile-bar > :is(a[aria-current],button.is-current,button[aria-expanded="true"]) {
    background:#eaf4fd;
    color:#154f82;
  }
  .nbt-mobile-bar > :is(a,button) > span {
    max-width:100%;
  }
  .nbt-mobile-dots {
    height:22px;
    font-size:15px;
    line-height:22px;
    letter-spacing:2px;
  }
  .nbt-mobile-more[open] {
    position:fixed;
    inset:auto 0 0;
    box-sizing:border-box;
    width:min(100%,520px);
    max-width:100%;
    max-height:calc(100% - 16px);
    margin:0 auto;
    overflow:auto;
    overscroll-behavior:contain;
    padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));
    border:0;
    border-radius:18px 18px 0 0;
    background:#fff;
    color:#243951;
    font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
    box-shadow:0 -8px 32px #193c5b33;
    animation:nbt-mobile-more-enter .18s ease-out;
  }
  .nbt-mobile-more::backdrop {
    background:#142a4290;
  }
  .nbt-mobile-more-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:6px;
  }
  .nbt-mobile-more-heading h2 {
    float:none;
    width:auto;
    margin:0;
    font-size:19px;
  }
  .nbt-mobile-more-heading button {
    min-width:44px;
    min-height:44px;
    border:0;
    border-radius:9px;
    background:#eff4f8;
    color:#344b62;
    font-size:24px;
    line-height:1;
    cursor:pointer;
  }
  .nbt-mobile-more-links {
    margin:0;
    padding:0;
    list-style:none;
  }
  .nbt-mobile-more-links a {
    display:flex;
    align-items:center;
    box-sizing:border-box;
    min-height:46px;
    padding:8px 12px;
    border-radius:9px;
    color:#254f76;
    font-weight:650;
    text-decoration:none;
  }
  .nbt-mobile-more-links a[aria-current] {
    background:#eaf4fd;
  }
}
@keyframes nbt-mobile-more-enter {
  from { transform:translateY(100%); }
  to { transform:translateY(0); }
}
@media (prefers-reduced-motion:reduce) {
  .nbt-mobile-more[open] { animation:none; }
}
