/* Always-visible mobile navigation entry and a compact, accessible drawer. */
.bm-mobile-menu-toggle { display: none; }
.bm-mobile-menu-overlay[hidden] { display: none !important; }
.bm-mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 22000;
  background: rgba(11, 24, 38, .45);
  padding: max(18px, env(safe-area-inset-top)) 12px 18px;
  overflow: auto;
  box-sizing: border-box;
}
.bm-mobile-menu-dialog {
  width: min(100%, 460px);
  max-height: min(78dvh, 700px);
  margin: 30px auto 0;
  padding: 14px;
  border: 1px solid #bddad8;
  border-radius: 18px;
  background: #f8fcfb;
  box-shadow: 0 18px 50px rgba(10, 36, 49, .32);
  overflow-y: auto;
  box-sizing: border-box;
}
.bm-mobile-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #153e4d;
  font-size: 17px;
  margin: 0 0 12px;
}
.bm-mobile-menu-close {
  border: 1px solid #b6d4d1;
  border-radius: 10px;
  background: #fff;
  color: #13394a;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 18px;
}
.bm-mobile-menu-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.bm-mobile-menu-links a {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 54px;
  padding: 9px 11px;
  border: 1px solid #d1e3e3;
  border-radius: 12px;
  background: #fff;
  color: #183d53 !important;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}
.bm-mobile-menu-links a[aria-current="page"] { background:#e2f4eb; border-color:#94bfae; }
.bm-mobile-menu-links a:focus-visible, .bm-mobile-menu-toggle:focus-visible,
.bm-mobile-menu-close:focus-visible { outline: 3px solid #1a8d95; outline-offset: 2px; }
@media(max-width:720px) {
  .bc-header .bc-subnav .bm-mobile-menu-toggle {
    display: inline-flex !important;
    position: sticky;
    left: 0;
    z-index: 20;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 73px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #91bcb2;
    border-radius: 12px;
    background: #e4f5ec;
    color: #174d4b;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
  }
}

/* In the installed app, a sticky toggle covered the first navigation link
   when that link was scrolled into view. Keep each control in normal flow. */
@media(max-width:720px) {
  html.bc-installed-app .bc-header .bc-subnav .bm-mobile-menu-toggle {
    position:relative;
    left:auto;
  }
}

@media(max-width:720px) {
  html.bc-installed-app .bc-header .bc-subnav {
    scroll-behavior:auto!important;
    scroll-snap-type:none!important;
    overflow-anchor:none;
  }
}
