/* VestPilot cohesive navigation (step 1): bottom tab bar + section switcher. */
.vpt-bar{position:fixed;left:0;right:0;bottom:0;z-index:900;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:rgba(246,245,241,.82);
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid rgba(18,20,23,.2);
  font-family:Inter,system-ui,-apple-system,sans-serif}
.vpt-bar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:48px;
  border-radius:14px;color:#5E636B;font-size:11px;font-weight:600;text-decoration:none;letter-spacing:.1px}
.vpt-bar a:hover{color:#121417}
.vpt-bar a[aria-current="page"]{color:#121417}
.vpt-bar a[aria-current="page"] svg{filter:drop-shadow(0 0 8px rgba(18,20,23,.45))}
.vpt-bar a:focus-visible,.vpt-sub a:focus-visible{outline:2px solid #121417;outline-offset:2px}
@media (min-width:900px){
  .vpt-bar{left:50%;right:auto;bottom:16px;width:min(520px,calc(100% - 32px));transform:translateX(-50%);
    border:1px solid rgba(18,20,23,.25);border-radius:22px;padding:6px;box-shadow:0 18px 40px rgba(0,0,0,.45)}
  .vpt-bar a{flex-direction:row;gap:8px;font-size:13px;min-height:44px}
}
body.vpt-on{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
@media (min-width:900px){body.vpt-on{padding-bottom:92px}}
body.vpt-on .vp-help-launch{bottom:calc(84px + env(safe-area-inset-bottom))!important}
@media (min-width:900px){body.vpt-on .vp-help-launch{bottom:24px!important}}
/* Sign-in screen stays clean */
body.vp-auth-open .vpt-bar,body.vp-auth-open .vpt-sub{display:none!important}
body.vp-auth-open.vpt-on{padding-bottom:0}

.vpt-sub{position:relative;z-index:5;font-family:Inter,system-ui,-apple-system,sans-serif}
.vpt-sub[hidden]{display:none}
.vpt-sub-in{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:10px 16px;max-width:1180px;margin:0 auto}
.vpt-sub-in::-webkit-scrollbar{display:none}
.vpt-sub a{flex:none;display:inline-flex;align-items:center;min-height:36px;padding:0 15px;border-radius:18px;
  border:1px solid rgba(18,20,23,.22);background:rgba(255,255,255,.55);color:#121417;font-size:13px;font-weight:600;
  text-decoration:none;white-space:nowrap;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.vpt-sub a:hover{color:#121417;border-color:rgba(18,20,23,.45)}
.vpt-sub a[aria-current="page"]{background:linear-gradient(90deg,#121417,#121417);color:#FFFFFF;border-color:transparent}

/* ☰ menu group headings */
#feature-menu .vpt-menu-head{grid-column:1/-1;margin:14px 2px 2px;font-size:11px;font-weight:700;letter-spacing:1.4px;
  text-transform:uppercase;color:#121417}
#feature-menu .vpt-menu-head:first-child{margin-top:4px}
@media (prefers-reduced-motion:reduce){.vpt-sub-in{scroll-behavior:auto}}
