body.nb-site .nb-header .nb-mega-nav .nb-drawer-heading,body.nb-site .nb-header .nb-mobile-home,body.nb-site .nb-header .nb-drawer-open{display:none}
body.nb-site .nb-header .nb-mega-panel[hidden],body.nb-site .nb-header .nb-drawer-backdrop[hidden]{display:none!important}
body.nb-site .nb-header .nb-mega-panel{padding:14px;border-radius:0 0 14px 14px;box-shadow:0 16px 36px #071d4538;max-height:var(--nb-menu-height,65vh);overflow:auto;overscroll-behavior:contain}
body.nb-site .nb-header .nb-mega-grid{grid-template-columns:repeat(var(--nb-cols),minmax(0,1fr));gap:12px}
body.nb-site .nb-header .nb-mega-group{padding:12px;min-width:0;border-radius:12px;background:linear-gradient(145deg,#e9f2ff,#fff);border:1px solid #cbdcf2}
body.nb-site .nb-header .nb-mega-group:nth-child(2){background:linear-gradient(145deg,#e2f7ed,#fff);border-color:#c0e4d2}
body.nb-site .nb-header .nb-mega-group:nth-child(3){background:linear-gradient(145deg,#fff0d3,#fff);border-color:#eed6a4}
body.nb-site .nb-header .nb-mega-group a{font-size:13px;line-height:1.35;padding:7px;color:#102e50!important;white-space:normal;text-decoration:none}
body.nb-site .nb-header .nb-mega-group a:hover,body.nb-site .nb-header .nb-mega-group a.nb-active-page{background:#fff0ca!important;color:#08264b!important}
body.nb-site .nb-header .nb-mega-group h3{font-size:15px}
body.nb-site .nb-header .nb-mega-icon{height:27px;flex-basis:27px}
.nb-home-updates{padding-block:22px}.nb-home-updates-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px}.nb-update-card{display:flex;align-items:center;gap:13px;padding:19px;border-radius:14px;color:#12315c!important;background:linear-gradient(135deg,#e2eeff,#f6faff);border:1px solid #c6dcf6;text-decoration:none!important;box-shadow:0 5px 18px #173c7010}.nb-update-card:nth-child(3n+2){background:linear-gradient(135deg,#fff0cc,#fffaf0);border-color:#efd49a}.nb-update-card:nth-child(3n){background:linear-gradient(135deg,#dcf5e8,#f6fffb);border-color:#b9e4d1}.nb-update-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:11px;background:#1459a8;color:white;flex-shrink:0;font-size:20px}.nb-update-card:nth-child(3n+2) .nb-update-icon{background:#9b6509}.nb-update-card:nth-child(3n) .nb-update-icon{background:#08775e}.nb-update-card strong,.nb-update-card small{display:block}.nb-update-card>i{margin-left:auto}.nb-update-card:hover{box-shadow:0 9px 24px #173c7028}
@media(min-width:1200px){body.nb-site .nb-header .nb-board-nav .nb-drawer{display:flex!important}body.nb-site .nb-header .nb-mega-panel{position:absolute;top:100%;left:var(--nb-menu-left,12px)!important;right:auto!important;transform:none!important;width:var(--nb-menu-width,340px)!important}body.nb-site .nb-header .nb-board-nav .nb-mega-nav{overflow:visible}}
@media(max-width:1199.98px){body.nb-site .nb-header .nb-board-nav .nb-drawer-open,body.nb-site .nb-header .nb-mobile-home{display:inline-flex;align-items:center;gap:8px;color:white!important;text-decoration:none}body.nb-site .nb-header .nb-board-nav>.nb-wrap{display:flex;justify-content:space-between;align-items:center}body.nb-site .nb-header .nb-board-nav .nb-drawer{display:none!important;position:fixed!important;inset:0 auto 0 0;width:min(88vw,380px);max-height:none!important;height:100dvh;overflow:auto!important;background:#08264b;padding:0 12px 30px!important;z-index:1202;box-shadow:12px 0 40px #05172e55;overscroll-behavior:contain}body.nb-site .nb-header .nb-board-nav .nb-drawer.is-open{display:block!important;animation:nb-drawer-in .2s ease-out}body.nb-site .nb-header .nb-drawer-backdrop:not([hidden]){display:block!important;position:fixed;inset:0;background:#04172b99;z-index:1201}body.nb-site .nb-header .nb-mega-nav .nb-drawer-heading{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:#08264b;color:white;padding:16px 6px;z-index:2;border-bottom:1px solid #ffffff25}body.nb-site .nb-header .nb-drawer-close{border:1px solid #ffffff55;color:white;background:transparent;border-radius:8px;width:38px;height:38px;font-size:24px}body.nb-site .nb-header .nb-drawer .navbar-nav{display:block!important;width:100%;margin:0!important}body.nb-site .nb-header .nb-drawer .nav-link{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 8px!important;color:white!important}body.nb-site .nb-header .nb-drawer .nb-mega-panel{position:static!important;width:100%!important;transform:none!important;max-height:none;box-shadow:none;padding:8px;margin-bottom:8px}body.nb-site .nb-header .nb-drawer .nb-mega-grid{grid-template-columns:1fr}body.nb-drawer-lock{overflow:hidden!important}.nb-home-updates{padding-block:14px}}
@keyframes nb-drawer-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}@media(prefers-reduced-motion:reduce){body.nb-site .nb-header .nb-drawer.is-open{animation:none!important}}

/* Mobile drawer: keep the entire menu above the fixed bottom app bar. */
@media(max-width:1199.98px){
  body.nb-site.nb-drawer-lock .nb-header{z-index:1300!important;overflow:visible!important;}
  body.nb-site.nb-drawer-lock .nbv-mobile{visibility:hidden!important;pointer-events:none!important;}
  body.nb-site.nb-drawer-lock{overflow:hidden!important;overscroll-behavior:none;}
  body.nb-site .nb-header .nb-board-nav .nb-drawer.is-open{
    box-sizing:border-box!important;top:0!important;bottom:0!important;
    height:100vh!important;height:100dvh!important;min-height:0!important;
    max-height:100vh!important;max-height:100dvh!important;
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    overflow:hidden!important;padding:0!important;
  }
  body.nb-site .nb-header .nb-board-nav .nb-drawer .nb-drawer-heading{
    flex:0 0 auto;position:relative!important;top:auto!important;
    padding:16px 14px!important;padding-top:calc(16px + env(safe-area-inset-top,0px))!important;
  }
  body.nb-site .nb-header .nb-board-nav .nb-drawer .navbar-nav{
    flex:1 1 auto!important;min-height:0!important;max-height:none!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;
    touch-action:pan-y;padding:8px 12px calc(28px + env(safe-area-inset-bottom,0px))!important;
    box-sizing:border-box!important;
  }
  body.nb-site .nb-header .nb-board-nav .nb-drawer .nb-mega-panel:not([hidden]){
    max-height:none!important;overflow:visible!important;position:static!important;
  }
  body.nb-site .nb-header .nb-board-nav .nb-drawer .nb-mega-item{overflow:visible!important;}
  body.nb-site .nb-header .nb-board-nav .nb-drawer .navbar-nav>li:last-child{margin-bottom:12px!important;}
}

/* Premium mobile quick navigation — retains existing PHP links. */
@media(max-width:767.98px){
 body.nb-site{--nb-bottom-space:calc(94px + env(safe-area-inset-bottom,0px));padding-bottom:var(--nb-bottom-space)!important;}
 body.nb-site nav.nbv-mobile{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:2px;position:fixed!important;inset:auto 8px calc(7px + env(safe-area-inset-bottom,0px)) 8px!important;width:auto!important;box-sizing:border-box;min-height:70px;padding:7px 4px 5px!important;background:linear-gradient(125deg,#071c40,#10467b)!important;border:1px solid #41658d;border-radius:19px;box-shadow:0 8px 30px #071c4055;z-index:1041;overflow:visible!important;}
 body.nb-site nav.nbv-mobile>a{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:56px;padding:4px 1px!important;border-radius:12px;color:#f6f9ff!important;text-decoration:none!important;font-family:Inter,system-ui,sans-serif;font-size:10px!important;font-weight:700;line-height:1.2;white-space:nowrap;-webkit-tap-highlight-color:transparent;}
 body.nb-site nav.nbv-mobile>a>i{display:grid;place-items:center;width:34px;height:30px;border-radius:9px;font-size:18px!important;color:#e6efff!important;background:#ffffff15;}
 body.nb-site nav.nbv-mobile>a:nth-child(2)>i{color:#bce8ff!important;}
 body.nb-site nav.nbv-mobile>a:nth-child(4)>i{color:#b4f3de!important;}
 body.nb-site nav.nbv-mobile>a:nth-child(5)>i{color:#e4d9ff!important;}
 body.nb-site nav.nbv-mobile>a:nth-child(3){position:relative;padding-top:0!important;gap:3px;color:#ffda73!important;}
 body.nb-site nav.nbv-mobile>a:nth-child(3)>i{width:48px;height:48px;margin-top:-21px;border:3px solid #fff1c2;border-radius:50%;background:linear-gradient(145deg,#ffe080,#ffb800)!important;color:#08264b!important;font-size:21px!important;box-shadow:0 5px 14px #00152d55;}
 body.nb-site nav.nbv-mobile>a:hover,body.nb-site nav.nbv-mobile>a:focus-visible,body.nb-site nav.nbv-mobile>a[aria-current=page]{background:#ffffff20;color:#ffdb7a!important;}
 body.nb-site nav.nbv-mobile>a:focus-visible{outline:2px solid #ffca40;outline-offset:-2px;}
 body.nb-site .nb-wa,body.nb-site #backToTop{bottom:calc(104px + env(safe-area-inset-bottom,0px))!important;}
 body.nb-site .nb-footer{padding-bottom:24px!important;}
 body.nb-site.nb-drawer-lock nav.nbv-mobile{display:none!important;}
 body.nb-site.nb-drawer-lock .nb-wa,body.nb-site.nb-drawer-lock #backToTop{visibility:hidden!important;pointer-events:none!important;}
}
@media(min-width:768px){body.nb-site nav.nbv-mobile{display:none!important;}}
