/* GaliVue V5.1.159 R13 — authenticated compact paint invariant + More menu.
   No Plan & Usage geometry ownership and no lifecycle-auth workaround. */
@media (max-width:1100px){
  /* The Boot Gateway/app synchronize this hint from authoritative auth. If Safari
     restores stale auth-layer classes, authenticated workspace presentation wins. */
  html[data-galivue-surface="workspace"][data-galivue-v5-auth-hint="authenticated"] #loginDialog,
  html[data-galivue-surface="workspace"][data-galivue-v5-auth-hint="authenticated"] #signupDialog,
  html[data-galivue-surface="workspace"][data-galivue-v5-auth-hint="authenticated"] #verifyEmailDialog,
  html[data-galivue-surface="workspace"][data-galivue-v5-auth-hint="authenticated"] #resetPasswordDialog{
    display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;
  }

  html.gv51159-compact-nav-owner #gv3963MoreMenu{display:none!important;pointer-events:none!important}

  body>#gv51159MorePortal.gv51159-more-portal{
    position:fixed!important;
    right:clamp(16px,3vw,28px)!important;
    bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;
    z-index:2147483200!important;
    display:grid!important;
    width:min(238px,calc(100vw - 32px))!important;
    padding:7px!important;
    border:1px solid #ddd8ce!important;
    border-radius:17px!important;
    background:#fffdf9!important;
    box-shadow:0 18px 46px rgba(28,26,21,.24)!important;
    box-sizing:border-box!important;
    isolation:isolate!important;
  }
  body>#gv51159MorePortal.gv51159-more-portal button{
    width:100%!important;min-height:48px!important;margin:0!important;padding:9px 11px!important;
    display:flex!important;align-items:center!important;gap:10px!important;border:0!important;border-radius:12px!important;
    background:transparent!important;color:#171713!important;font-family:inherit!important;font-size:.78rem!important;
    font-weight:900!important;line-height:1.2!important;text-align:left!important;
  }
  body>#gv51159MorePortal.gv51159-more-portal button:hover,
  body>#gv51159MorePortal.gv51159-more-portal button:focus-visible{background:#f2efe7!important;outline:none!important}
  body>#gv51159MorePortal.gv51159-more-portal .gv3963-more-icon{
    width:34px!important;height:34px!important;flex:0 0 34px!important;display:grid!important;place-items:center!important;
    border:1px solid #dfe8bf!important;border-radius:11px!important;background:#f5ffd7!important;
  }
  body>#gv51159MorePortal.gv51159-more-portal .gv3963-more-icon svg{
    width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;
    stroke-linecap:round!important;stroke-linejoin:round!important;
  }
}
