/* AppVault mobile navigation V6 — load last, scoped to phone/tablet only. */
@media (max-width:990px) {
  body.av-superprof-v2 .avsp-header-inner {
    display:flex; align-items:center; justify-content:space-between;
    gap:10px; min-width:0;
  }
  body.av-superprof-v2 .avsp-brand {order:0; min-width:0; flex:0 1 auto; max-width:min(268px, 32%);}
  body.av-superprof-v2 .avsp-brand .av-logo-img {width:auto;height:auto;max-width:100%;object-fit:contain;}
  body.av-superprof-v2 .avsp-brand .av-logo-text {font-size:clamp(15px,4.3vw,23px);white-space:nowrap;letter-spacing:-.06em;}
  body.av-superprof-v2 .avsp-header-search {order:1; flex:1 1 auto; min-width:0;max-width:none;}
  body.av-superprof-v2 .avsp-header-actions {order:2;flex:0 0 auto; margin-left:auto;}
  body.av-superprof-v2 .av-mobile-menu-btn {
    width:44px;height:44px;min-width:44px;min-height:44px;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
    border:1px solid #e4e7eb;border-radius:12px;background:#fff;
    padding:9px;position:relative;z-index:1;
  }
  body.av-superprof-v2 .av-mobile-menu-btn span {width:21px;height:2px;background:#20252b;flex:none;transform:none;}
  body.av-superprof-v2 .av-mobile-menu-btn:focus-visible,
  body.av-superprof-v2 .av-mobile-drawer button:focus-visible,
  body.av-superprof-v2 .av-mobile-drawer a:focus-visible {outline:2px solid #f36c21;outline-offset:2px;}
  body.av-superprof-v2 .av-mobile-drawer {
    left:auto;right:0;top:0;bottom:0;
    width:min(390px,calc(100vw - 28px));max-width:100%;height:100vh;height:100dvh;
    z-index:3001;transform:translateX(102%);border-radius:0;
    overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
    box-shadow:-12px 0 35px rgba(13,24,38,.15);
    padding-bottom:calc(24px + env(safe-area-inset-bottom,0px));
    visibility:hidden;pointer-events:none;
    transition:transform .25s ease, visibility 0s linear .25s;
  }
  body.av-superprof-v2 .av-mobile-drawer.open {transform:translateX(0);visibility:visible;pointer-events:auto;transition:transform .25s ease;}
  body.av-superprof-v2 .av-mobile-drawer[inert] {pointer-events:none;}
  body.av-superprof-v2 .av-drawer-overlay {
    position:fixed;inset:0;z-index:3000;background:rgba(10,18,28,.48);
    display:block;opacity:0;visibility:hidden;pointer-events:none;
    transition:opacity .25s ease,visibility 0s linear .25s;
  }
  body.av-superprof-v2 .av-drawer-overlay.open {opacity:1;visibility:visible;pointer-events:auto;transition:opacity .25s ease;}
  body.av-superprof-v2 .av-mobile-drawer-header {min-height:70px;padding:13px 19px;gap:18px;}
  body.av-superprof-v2 .av-mobile-drawer-header .av-topbar-logo {max-width:calc(100% - 60px);min-width:0;}
  body.av-superprof-v2 .av-mobile-drawer-header .av-logo-img {max-width:225px;max-height:44px;width:auto;height:auto;}
  body.av-superprof-v2 .av-mobile-drawer-close {
    display:grid;place-items:center;flex:none;width:44px;height:44px;
    padding:0;border:1px solid #e5e7eb;border-radius:11px;background:#fff;
    font-size:29px;line-height:1;color:#2c3239;
  }
  body.av-superprof-v2 .avsp-mobile-quick {padding:16px 18px 13px;gap:10px;}
  body.av-superprof-v2 .avsp-mobile-quick a {min-height:44px;display:flex;align-items:center;justify-content:center;}
  body.av-superprof-v2 .av-mobile-menu-nav {min-width:0; padding-bottom:12px;}
  body.av-superprof-v2 .av-mobile-nav-list {padding:0 15px 15px;margin:0;list-style:none;}
  body.av-superprof-v2 .av-mobile-nav-list .av-menu-item {min-width:0;border:0;margin:0;}
  body.av-superprof-v2 .av-mobile-nav-list .av-mobile-menu-row {
    display:flex;align-items:stretch;min-width:0;
    border-bottom:1px solid #edf0f2;border-radius:0;
  }
  body.av-superprof-v2 .av-mobile-nav-list .av-mobile-menu-row > .av-menu-link {
    flex:1 1 auto;min-width:0;max-width:100%;margin:0;
    display:flex;align-items:center;justify-content:flex-start;
    padding:13px 10px;min-height:48px;line-height:1.45;
    font-family:Inter,sans-serif;font-size:15px;font-weight:600;
    color:#262e36;background:transparent;border:0;border-radius:0;
    overflow-wrap:anywhere;white-space:normal;
  }
  body.av-superprof-v2 .av-mobile-nav-list .av-mobile-menu-row > .av-menu-link::after {content:none!important;display:none!important;}
  body.av-superprof-v2 .av-mobile-nav-list .av-mobile-menu-row > .av-menu-link:hover {color:#f36c21;}
  body.av-superprof-v2 .av-mobile-nav-list .av-submenu-toggle {
    display:flex;align-items:center;justify-content:center;
    flex:0 0 44px;width:44px;min-height:44px;align-self:center;
    margin:0 2px 0 5px;padding:0;
    border:0;background:transparent;color:#30343c;cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  body.av-superprof-v2 .av-mobile-nav-list .av-submenu-symbol {
    position:relative;display:block;width:18px;height:18px;
  }
  body.av-superprof-v2 .av-mobile-nav-list .av-submenu-symbol::before,
  body.av-superprof-v2 .av-mobile-nav-list .av-submenu-symbol::after {
    content:'';position:absolute;top:50%;left:50%;display:block;
    width:14px;height:2px;background:currentColor;border-radius:2px;
    transform:translate(-50%,-50%);
  }
  body.av-superprof-v2 .av-mobile-nav-list .av-submenu-symbol::after {transform:translate(-50%,-50%) rotate(90deg);transition:transform .15s;}
  body.av-superprof-v2 .av-mobile-nav-list .av-submenu-toggle[aria-expanded="true"] .av-submenu-symbol::after {transform:translate(-50%,-50%) rotate(0);}
  body.av-superprof-v2 .av-mobile-nav-list .av-dropdown-menu {
    display:none;position:static;opacity:1;visibility:visible;pointer-events:auto;
    margin:0;padding:0 0 6px 15px;border:0;background:#fff;
    box-shadow:none;transform:none!important;min-width:0;width:100%;
  }
  body.av-superprof-v2 .av-mobile-nav-list .av-dropdown-menu[hidden] {display:none!important;}
  body.av-superprof-v2 .av-mobile-nav-list .has-children.open > .av-dropdown-menu:not([hidden]) {display:block;}
  body.av-superprof-v2 .av-mobile-nav-list .av-dropdown-menu .av-mobile-menu-row > .av-menu-link {
    font-size:14px;line-height:1.45;font-weight:500;padding:12px 9px;
  }
  body.av-superprof-v2 .av-mobile-nav-list .av-dropdown-depth-1 .av-mobile-menu-row > .av-menu-link {font-size:13.5px;}
  body.av-superprof-v2 .av-mobile-nav-list .active > .av-mobile-menu-row > .av-menu-link {color:#e66b1b;}
}
@media (max-width:400px){
 body.av-superprof-v2 .avsp-brand {max-width:30%;}
 body.av-superprof-v2 .avsp-header-inner {padding-inline:10px;gap:7px;}
 body.av-superprof-v2 .avsp-header-search input {font-size:11px;}
 body.av-superprof-v2 .av-mobile-menu-btn {min-width:42px;width:42px;height:42px;min-height:42px;}
}
@media (min-width:991px){
 body.av-superprof-v2 .av-mobile-drawer, body.av-superprof-v2 .av-drawer-overlay {visibility:hidden!important;pointer-events:none!important;}
}
@media (prefers-reduced-motion:reduce){
 body.av-superprof-v2 .av-mobile-drawer, body.av-superprof-v2 .av-drawer-overlay {transition:none!important;}
}
