/* Loaded after legacy styles; desktop navigation keeps its existing layout. */
.affi-mobile-toolbar,.affi-menu-backdrop{display:none}
body.affi-mobile-menu{padding-left:0!important;padding-top:64px!important}
body.affi-mobile-menu.affi-menu-open{overflow:hidden}
body.affi-mobile-menu .affi-mobile-toolbar{position:fixed;inset:0 0 auto;z-index:1003;height:64px;box-sizing:border-box;display:flex;align-items:center;gap:14px;padding:8px 16px;background:#102e59;color:#fff;box-shadow:0 2px 10px #102e5926}
body.affi-mobile-menu .affi-mobile-toolbar strong{font-size:18px;color:#fff;line-height:1.3}
body.affi-mobile-menu #affiMobileMenuToggle{display:grid;place-items:center;width:46px;height:46px;flex:none;margin:0;padding:0;border:1px solid #ffffff55;border-radius:12px;background:#ffffff14;color:#fff;font:26px/1 Arial,sans-serif;cursor:pointer}
body.affi-mobile-menu #affiMobileMenuToggle:focus-visible{outline:3px solid #ffd029;outline-offset:2px}
body.affi-mobile-menu .affi-menu-backdrop:not([hidden]){display:block;position:fixed;inset:64px 0 0;z-index:1001;background:#071b3b80;touch-action:none}
body.affi-mobile-menu .affi-menu-panel{position:fixed!important;inset:64px auto 0 0!important;z-index:1002!important;box-sizing:border-box;width:min(320px,calc(100vw - 48px))!important;height:calc(100dvh - 64px)!important;max-height:none!important;margin:0!important;padding:16px!important;overflow-y:auto!important;overscroll-behavior:contain;background:linear-gradient(160deg,#0c2347,#1c4f9b)!important;color:#fff;transform:translateX(-105%);visibility:hidden;box-shadow:6px 0 24px #071b3b33;border:0;border-radius:0}
body.affi-mobile-menu.affi-menu-open .affi-menu-panel{transform:none;visibility:visible}
body.affi-mobile-menu #memberSidebarToggle{display:none!important}
body.affi-mobile-menu #memberMainNav:not([hidden]),body.affi-mobile-menu #nav.affi-menu-panel{display:flex!important;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:6px;font-size:15px}
body.affi-mobile-menu #memberMainNav :is(button,a),body.affi-mobile-menu #nav.affi-menu-panel button{display:flex;align-items:center;justify-content:flex-start!important;gap:10px!important;width:100%;min-height:46px;box-sizing:border-box;padding:10px 12px!important;font-size:15px!important;line-height:1.5;white-space:normal;text-align:left;color:#e4efff;background:transparent;border-radius:12px}
body.affi-mobile-menu #nav.affi-menu-panel button[aria-current=page]{background:#e4f6fa;color:#102b59}
body.affi-mobile-menu #memberMainNav .member-menu-label{display:block!important}
body.affi-mobile-menu #memberMainNav .member-menu-icon{display:inline-flex!important;flex:none}
body.affi-mobile-menu .affi-menu-panel .brand-heading{display:flex!important;align-items:center;flex-direction:column;gap:4px}
body.affi-mobile-menu .affi-menu-panel .brand-logo{display:block!important;width:96px!important;height:96px!important;object-fit:contain}
body.affi-mobile-menu .affi-menu-panel .brand-heading small{display:block!important}
body.affi-mobile-menu .affi-menu-panel>p{display:none!important}
body.affi-mobile-menu #sidebarIdentity:not([hidden]){display:block!important;padding:12px 4px!important;margin:8px 0!important;overflow-wrap:anywhere}
body.affi-mobile-menu #sidebarIdentity :is(strong,span){display:block!important}
body.affi-mobile-menu.affi-admin-menu>header{display:none}
body.affi-mobile-menu.affi-member-menu>main{margin-left:0!important;width:auto;min-width:0}
