/* Shared H5 navigation and account shell. */
@font-face{font-family:HHMobileSymbols;font-style:normal;font-weight:400;src:url('../fonts/mobile-navigation-symbols.woff2') format('woff2');font-display:block}
.hh-mobile-symbol{font-family:HHMobileSymbols;font-weight:normal;font-style:normal;font-size:20px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';-webkit-font-smoothing:antialiased;flex:none}
.hh-mobile-navigation{display:none}
.hh-mobile-navigation[hidden]{display:none!important}
.hh-company-navigation{display:none}
/* The supplied profile cards, with real identity/balance and existing actions. */
.hh-mobile-account{--mobile-surface:#faf8ff;--mobile-ink:#131b2e;--mobile-muted:#464554;max-width:600px;margin:0 auto;padding:16px 16px 24px;background:var(--mobile-surface);color:var(--mobile-ink);font-family:var(--hh-ui-font);font-size:14px;line-height:22px}
.hh-mobile-account [hidden]{display:none!important}
.hh-mobile-account-profile{display:flex;align-items:center;gap:8px;padding:16px;border-radius:12px;background:#fff;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a;margin-bottom:16px}
.hh-mobile-account-profile img{width:56px;height:56px;object-fit:cover;border-radius:50%;background:#eaedff;box-shadow:0 1px 3px #0000001a}
.hh-mobile-account-profile>div{min-width:0}
.hh-mobile-account-profile strong{display:block;font-size:16px;line-height:24px;font-weight:700;overflow-wrap:anywhere}
.hh-mobile-account-profile>div>span{display:block;color:#464554;font-family:ui-monospace,monospace;font-size:12px;line-height:18px}
.hh-mobile-account-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}
.hh-mobile-account-links{padding:16px;display:flex;flex-direction:column;gap:4px}
.hh-mobile-account-links>a,.hh-mobile-account-links>button,.hh-mobile-account-logout>button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;width:100%;padding:10px 8px;border:0;border-radius:8px;background:transparent;text-align:left;font:inherit;font-size:15px;line-height:24px;font-weight:500;color:#131b2e;text-decoration:none;cursor:pointer;box-sizing:border-box}
.hh-mobile-account a:active,.hh-mobile-account button:active{background:#f2f3ff}
.hh-mobile-account a:focus-visible,.hh-mobile-account button:focus-visible{outline:2px solid #4648d4;outline-offset:-2px}
.hh-mobile-account .hh-mobile-symbol{color:#464554;font-size:20px}
.hh-mobile-account-wallet{display:flex;align-items:center;gap:6px;color:#464554;font:12px/18px ui-monospace,monospace}
.hh-mobile-account-logout{padding:16px;margin:0;border-top:1px solid #eaedff}
.hh-mobile-account-logout>button{font-weight:400}
.hh-mobile-account-heading{padding:16px;border-bottom:1px solid #eaedff}
.hh-mobile-account-heading>button{display:flex;align-items:center;gap:8px;min-height:44px;padding:0;border:0;background:transparent;color:#131b2e;cursor:pointer}
.hh-mobile-account-heading .hh-mobile-symbol{font-size:24px;color:#131b2e}
.hh-mobile-account-heading strong{font-size:16px;line-height:24px;font-weight:700}
.hh-mobile-account-commission{margin-left:auto;padding:2px 8px;background:#ffdada;color:#ba0035;border-radius:9999px;font:700 12px/18px ui-monospace,monospace}
@media(max-width:1023px){
 html.hh-mobile-nav-preview{--hh-mobile-nav-safe-bottom:0px;--hh-mobile-nav-height:calc(49px + var(--hh-mobile-nav-safe-bottom))}
 html.hh-mobile-nav-preview body{height:auto;min-height:100dvh;padding-bottom:calc(var(--hh-mobile-nav-height) + 16px);box-sizing:border-box}
 html.hh-mobile-nav-preview body[data-pc-header-preview] #hh-navbar,html.hh-mobile-nav-preview #hh-navbar,html.hh-mobile-nav-preview .hh-site-accent,html.hh-mobile-nav-preview #mobileMenuOverlay{display:none!important}
 html.hh-mobile-nav-preview .pay-sidebar-layout{--platform-header-height:0px!important}
 html.hh-mobile-nav-preview .tasks-workspace{--task-header-height:0px!important}
 html.hh-mobile-nav-preview:has(.hh-mobile-account),html.hh-mobile-nav-preview:has(.hh-mobile-account) body{background:#faf8ff}
 html.hh-mobile-nav-preview #hh-main:has(.hh-mobile-account){max-width:none;margin:0;padding:0}
 html.hh-mobile-nav-preview body:has(.hh-mobile-account)>footer{display:none}
 .hh-mobile-navigation{display:block;position:fixed;bottom:0;left:0;right:0;width:100%;z-index:50;padding-bottom:var(--hh-mobile-nav-safe-bottom);background:#fff;box-shadow:inset 0 1px 0 #e2e8f0;color:#666666;font-family:var(--hh-ui-font)}
 .hh-mobile-navigation-items{display:flex;align-items:center;height:49px;padding-bottom:5px;box-sizing:border-box}
 .hh-mobile-navigation-items>a{display:flex;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:center;min-height:44px;gap:2px;color:inherit;text-decoration:none;font-size:11px;line-height:14px;font-weight:400;white-space:nowrap;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
 .hh-mobile-navigation-icon{display:flex;flex:none;width:24px;height:24px;align-items:center;justify-content:center}
 .hh-mobile-navigation-icon>.hh-mobile-symbol{font-size:22px}
 .hh-mobile-navigation-icon--store{--hh-mobile-navigation-image:url('../img/mobile-navigation/store.png')}
 .hh-mobile-navigation-icon--tasks{--hh-mobile-navigation-image:url('../img/mobile-navigation/task.png')}
 .hh-mobile-navigation-icon--music{--hh-mobile-navigation-image:url('../img/mobile-navigation/music.png')}
 .hh-mobile-navigation-icon--company{--hh-mobile-navigation-image:url('../img/more/opc.png')}
 .hh-mobile-navigation-icon--profile{--hh-mobile-navigation-image:url('../img/mobile-navigation/profile.png')}
 .hh-mobile-navigation-icon--store,.hh-mobile-navigation-icon--tasks,.hh-mobile-navigation-icon--music,.hh-mobile-navigation-icon--profile,.hh-mobile-navigation-icon--company{background:currentColor;-webkit-mask:var(--hh-mobile-navigation-image) center/contain no-repeat;mask:var(--hh-mobile-navigation-image) center/contain no-repeat}
 .hh-mobile-navigation-icon.hh-mobile-navigation-icon--company{-webkit-mask-size:32px;mask-size:32px}
 .hh-mobile-navigation-items>a[aria-current=page]{color:#4f46e5;font-weight:600}
 .hh-mobile-navigation-items>a:focus-visible{outline:2px solid #4f46e5;outline-offset:-2px;border-radius:6px}
 html.hh-mobile-nav-preview #opcpay-app .hh-back-top{bottom:calc(var(--hh-mobile-nav-height) + 24px)}
 html.hh-mobile-nav-preview #hh-music-bar{bottom:calc(var(--hh-mobile-nav-height) + 12px)!important}
 html.hh-mobile-nav-preview #hh-music-bar-pill{bottom:calc(var(--hh-mobile-nav-height) + 24px)!important}

 .hh-company-navigation:not([hidden]){
  display:flex;max-width:600px;margin:12px auto;padding:4px;box-sizing:border-box;
  width:calc(100% - 32px);gap:4px;border:1px solid #dfe8fb;
  border-radius:var(--hh-ui-radius-surface);background:#edf3ff;
 }
 .hh-company-navigation>a{
  display:flex;flex:1 1 0;min-width:0;min-height:var(--hh-ui-target);align-items:center;
  justify-content:center;gap:6px;padding:4px;border-radius:12px;box-sizing:border-box;
  color:#314661;text-decoration:none;white-space:nowrap;
  font:600 15px/22px var(--hh-ui-font);touch-action:manipulation;
 }
 .hh-company-navigation>a[aria-current=page]{background:#1664f3;color:#fff;box-shadow:0 2px 4px #163d8f26}
 .hh-company-navigation-icon{display:flex;flex:none;align-items:center;justify-content:center;width:20px;height:20px}
 .hh-company-navigation-icon.hh-mobile-navigation-icon--company{-webkit-mask-size:25px;mask-size:25px}
 .hh-company-navigation-icon>.hh-mobile-symbol{font-size:18px}
}
/* Keep the document itself still; scroll content without collapsing browser UI.
   Browser-owned controls cannot be forced by web content; real devices vary. */
@media(max-width:1023px){
 html.hh-mobile-scroll-locked{height:100%;overflow:hidden;overscroll-behavior-y:none}
 html.hh-mobile-scroll-locked body{position:fixed;inset:0;height:auto;min-height:0;padding-bottom:0;overflow:hidden;overscroll-behavior-y:none}
 html.hh-mobile-scroll-locked #hh-page-scroll{position:fixed;inset:0 0 var(--hh-mobile-nav-height);overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scroll-padding-bottom:16px;padding-bottom:16px;box-sizing:border-box}
 html.hh-mobile-scroll-locked #hh-page-scroll>#hh-main{min-height:0}
 html.hh-mobile-scroll-locked #hh-page-scroll:has(.hh-mobile-account)>footer{display:none}
}
@media(max-width:1023px){
 html.hh-mobile-scroll-locked[style*="overflow: hidden"] #hh-page-scroll,
 html.hh-mobile-scroll-locked body[style*="overflow: hidden"] #hh-page-scroll{overflow-y:hidden}
}
@media(max-width:1023px){
 html.hh-mobile-scroll-locked body:has(#opcpay-app) #hh-page-scroll>footer{display:none}
}

/* Browser tabs already end above their toolbar; reserve gesture space only
   when installed and opened without browser chrome. Keep offsets in sync. */
@media(max-width:1023px) and (display-mode:standalone){
 html.hh-mobile-nav-preview{--hh-mobile-nav-safe-bottom:env(safe-area-inset-bottom,0px)}
}
@media(max-width:1023px) and (display-mode:fullscreen){
 html.hh-mobile-nav-preview{--hh-mobile-nav-safe-bottom:env(safe-area-inset-bottom,0px)}
}
