/* Isolated mobile-only left navigation; desktop header and right drawers stay intact. */
.account-header > .menu-toggle { display: none; }
html.mobile-nav-open, html.mobile-nav-open body { overflow: hidden; overscroll-behavior: none; }
dialog.mobile-nav-drawer {
  position: fixed; inset: 0 auto 0 0; margin: 0; padding: 0;
  width: min(86vw, 360px); min-width: 0; max-width: 100vw;
  height: 100vh; height: 100dvh; max-height: none;
  border: 0; border-radius: 0 22px 22px 0; background: #fff; color: #102431;
  box-shadow: 18px 0 70px #06131d33; overflow: hidden;
  transform: translateX(-102%); transition: transform 260ms cubic-bezier(.22,.7,.25,1);
}
dialog.mobile-nav-drawer:not([open]) { display: none; }
dialog.mobile-nav-drawer[open] { display: flex; flex-direction: column; }
dialog.mobile-nav-drawer.is-open { transform: translateX(0); }
dialog.mobile-nav-drawer::backdrop { background: #07131b00; backdrop-filter: blur(0); transition: background 260ms, backdrop-filter 260ms; }
dialog.mobile-nav-drawer.is-open::backdrop { background: #07131b80; backdrop-filter: blur(3px); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; padding: calc(28px + env(safe-area-inset-top)) 24px 27px; border-bottom: 1px solid #e4eaee; }
.mobile-nav-brand { font-size: 27px; font-weight: 800; letter-spacing: 4px; line-height: 1; }
.mobile-nav-brand span { display: block; font-size: 7px; font-weight: 500; letter-spacing: 5px; margin-top: 9px; }
.mobile-nav-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #e1e8ed; border-radius: 50%; background: #f5f8fa; color: #243e50; font: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.mobile-nav-caption { flex: 0 0 auto; margin: 29px 24px 9px; font-size: 9px; font-weight: 700; letter-spacing: 2px; color: #7a929f; }
.mobile-nav-content { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.mobile-nav-drawer nav.mobile-nav-links { display: flex; position: static; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; width: auto; padding: 0 24px 24px; margin: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; color: #102431; font-size: 16px; font-weight: 600; }
.mobile-nav-drawer .mobile-nav-links > :is(a, button) { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 62px; padding: 17px 0; border: 0; border-bottom: 1px solid #e7edf0; border-radius: 0; text-align: left; line-height: 1.65; }
.mobile-nav-drawer .mobile-nav-links > [hidden] { display: none !important; }
.mobile-nav-drawer .mobile-nav-links > [aria-current="page"] { color: #3b7b9e; }
.mobile-nav-foot { flex: 0 0 auto; margin: 0; padding: 23px 24px calc(27px + env(safe-area-inset-bottom)); background: #f3f6f8; color: #758a97; font-size: 11px; line-height: 1.9; }
.mobile-nav-drawer :focus-visible { outline: 2px solid #4e9ecf; outline-offset: 3px; }
@media (max-width: 900px) {
  #header.mobile-nav-ready > nav { display: none; }
  #header.mobile-nav-ready .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; }
}
@media (max-width: 760px) {
  .account-header.mobile-nav-ready { flex-wrap: nowrap; }
  .account-header.mobile-nav-ready > nav { display: none; }
  .account-header.mobile-nav-ready > .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin-left: auto; border: 1px solid #dce5eb; border-radius: 50%; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  dialog.mobile-nav-drawer, dialog.mobile-nav-drawer::backdrop { transition: none; }
}
.motion-off .mobile-nav-drawer, .motion-off .mobile-nav-drawer::backdrop { transition: none; }
