
/* ADRA shared WPLMS header: opaque contrast and compact navigation — 2026-11-18 */
body.theme-wplms .pusher > header {
  background:#004f4e!important;
  background-image:none!important;
  color:#fff!important;
  border-bottom:2px solid #b8872f!important;
}
body.theme-wplms .pusher > header > .container-fluid {
  width:100%!important;max-width:1600px!important;margin:0 auto!important;padding:0 24px!important;
}
body.theme-wplms .pusher > header #logo {
  width:auto!important;min-width:0!important;margin:0!important;padding:10px 0!important;
}
body.theme-wplms .pusher > header #logo img {
  width:96px!important;height:96px!important;max-width:96px!important;max-height:96px!important;object-fit:contain!important;
}
body.theme-wplms .pusher > header nav.menu-main-menu-container {
  background:transparent!important;
}
body.theme-wplms .pusher > header nav.menu-main-menu-container > ul.menu > li > a,
body.theme-wplms .pusher > header nav.menu-main-menu-container > ul.menu > li > a strong {
  color:#fff!important;text-shadow:none!important;font-size:18px!important;line-height:1.35!important;
}
body.theme-wplms .pusher > header nav.menu-main-menu-container > ul.menu > li > a:hover,
body.theme-wplms .pusher > header nav.menu-main-menu-container > ul.menu > li > a:hover strong,
body.theme-wplms .pusher > header nav.menu-main-menu-container > ul.menu > li.current-menu-item > a,
body.theme-wplms .pusher > header nav.menu-main-menu-container > ul.menu > li.current-menu-item > a strong {
  color:#f4d77d!important;
}
body.theme-wplms .pusher > header nav.menu-main-menu-container a:focus-visible {
  outline:2px solid #f4d77d!important;outline-offset:3px!important;
}
@media(min-width:769px) {
  body.theme-wplms .pusher > header > .container-fluid > .row {
    display:flex!important;align-items:center!important;flex-wrap:nowrap!important;margin:0!important;
  }
  body.theme-wplms .pusher > header > .container-fluid > .row > div:first-child {
    width:132px!important;flex:0 0 132px!important;padding:0!important;
  }
  body.theme-wplms .pusher > header > .container-fluid > .row > div:last-child {
    width:calc(100% - 132px)!important;flex:1 1 0!important;min-width:0!important;padding:12px 0!important;
  }
  body.theme-wplms .pusher > header nav.menu-main-menu-container > ul.menu {
    gap:4px 22px!important;row-gap:4px!important;column-gap:22px!important;margin:0!important;padding:0!important;
  }
  body.theme-wplms .pusher > header nav.menu-main-menu-container > ul.menu > li > a {
    padding:6px 0!important;
  }
  body.theme-wplms .pusher > header nav.menu-main-menu-container li.menu-item-has-children > ul.sub-menu {
    top:100%!important;
  }
  body.theme-wplms .pusher > header nav.menu-main-menu-container li.menu-item-has-children::after {
    height:12px!important;
  }
}
@media(max-width:768px) {
  body.theme-wplms .pusher > header > .container-fluid {padding:0 16px!important;}
  body.theme-wplms .pusher > header > .container-fluid > .row {display:flex!important;align-items:center!important;flex-wrap:nowrap!important;margin:0!important;}
  body.theme-wplms .pusher > header > .container-fluid > .row > div:first-child {width:104px!important;flex:0 0 104px!important;padding:0!important;}
  body.theme-wplms .pusher > header > .container-fluid > .row > div:last-child {width:calc(100% - 104px)!important;flex:1 1 0!important;min-width:0!important;padding:0!important;}
  body.theme-wplms .pusher > header #trigger {left:0!important;right:auto!important;width:44px!important;height:44px!important;min-width:44px!important;padding:10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;}
  body.theme-wplms .pusher > header #logo img {width:72px!important;height:72px!important;max-width:72px!important;max-height:72px!important;}
}

/* ADRA VibeBP app navigation readability — 2026-11-18 */
body.vibebp_my_profile {--adra-app-toolbar:0px;}
body.vibebp_my_profile.admin-bar {--adra-app-toolbar:32px;}
body.vibebp_my_profile #wpadminbar {position:fixed!important;top:0!important;}
body.vibebp_my_profile #vibebp_member {
  top:var(--adra-app-toolbar)!important;height:calc(100vh - var(--adra-app-toolbar))!important;height:calc(100dvh - var(--adra-app-toolbar))!important;padding-top:0!important;box-sizing:border-box!important;
}
#vibebp_member .profile_grid_header {
  box-sizing:border-box!important;position:sticky!important;top:0!important;width:100%!important;max-width:100%!important;margin:0!important;padding:10px 16px!important;min-height:64px!important;height:auto!important;background:#fff!important;color:#173b3f!important;border-bottom:1px solid #c5d7d5!important;z-index:120!important;gap:12px!important;
}
#vibebp_member .profile_grid_header .start_block {display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important;flex:1 1 auto!important;}
#vibebp_member .profile_grid_header .end_block {display:flex!important;align-items:center!important;gap:12px!important;flex:0 0 auto!important;}
#vibebp_member .profile_grid_header .start_block > span {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:auto!important;min-width:44px!important;height:44px!important;padding:7px 10px!important;border:1px solid #779594!important;border-radius:6px!important;color:#173b3f!important;background:#fff!important;flex-shrink:0!important;cursor:pointer!important;
}
#vibebp_member .profile_grid_header .start_block > span > span:last-child {
  display:block!important;position:static!important;transform:none!important;writing-mode:horizontal-tb!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;background:transparent!important;color:inherit!important;font:600 13px/1.3 Arial,Helvetica,sans-serif!important;white-space:nowrap!important;
}
#vibebp_member .profile_grid_header .dashboard_intro h3 {color:#173b3f!important;font-size:20px!important;line-height:1.3!important;margin:0!important;}
#vibebp_member .profile_grid_header :is(.vibebp-cart,.tours_wrapper,.notifications) {color:#174c50!important;}
#vibebp_member .profile_menu .bp-menu.is_active {background:#f4d77d!important;color:#173b3f!important;}
#vibebp_member .profile_menu .bp-menu.is_active span {color:inherit!important;}
#vibebp_member .profile_menu .bp-menu.is_active svg {fill:currentColor!important;}
#vibebp_member .dark_theme .profile_grid_header {background:#123f43!important;color:#fff!important;border-color:#5f8587!important;}
#vibebp_member .dark_theme .profile_grid_header :is(.dashboard_intro h3,.vibebp-cart,.tours_wrapper,.notifications) {color:#fff!important;}
@media(max-width:782px) {body.vibebp_my_profile.admin-bar {--adra-app-toolbar:46px;}}
@media(max-width:768px) {
  #vibebp_member .profile_grid_header {padding:8px 12px!important;gap:8px!important;}
  #vibebp_member .profile_grid_header .start_block {gap:8px!important;}
  #vibebp_member .profile_grid_header .end_block {gap:10px!important;}
  #vibebp_member .profile_menu {
    top:auto!important;bottom:0!important;height:calc(76px + env(safe-area-inset-bottom,0px))!important;min-height:76px!important;padding-bottom:env(safe-area-inset-bottom,0px)!important;box-sizing:border-box!important;background:#004f4e!important;
  }
  #vibebp_member .profile_menu :is(.menu_items,.menu_bottom) {height:76px!important;align-items:stretch!important;}
  #vibebp_member .profile_menu :is(.bp-menu,.external_link,.menu_bottom .menu_item) {width:84px!important;min-width:84px!important;min-height:76px!important;box-sizing:border-box!important;padding:6px 4px!important;flex:0 0 84px!important;color:#fff!important;}
  #vibebp_member .profile_menu .bp-menu > span,
  #vibebp_member .profile_menu .bp-menu > span > span,
  #vibebp_member .profile_menu .external_link > span,
  #vibebp_member .profile_menu .external_link > span > span {
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:100%!important;height:auto!important;
  }
  #vibebp_member .profile_menu .bp-menu > span > span > span:last-child,
  #vibebp_member .profile_menu .external_link > span > span > span:last-child,
  #vibebp_member .profile_menu .menu_bottom .menu_item > span:last-child {
    display:block!important;font:600 11px/1.2 Arial,Helvetica,sans-serif!important;color:inherit!important;text-align:center!important;white-space:normal!important;max-width:80px!important;
  }
  #vibebp_member .profile_menu .menu_bottom .menu_item {display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:4px!important;}
  #vibebp_member .profile_menu .menu_items {width:max-content!important;flex-shrink:0!important;}
  #vibebp_member .profile_grid {padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;}
}

/* Resolve higher-specificity VibeBP positioning and hidden-label rules. */
body.theme-wplms.vibebp_my_profile #vibebp_member {padding-top:0!important;}
#vibebp_member .profile_grid_header {flex-wrap:nowrap!important;align-items:center!important;}
#vibebp_member .profile_grid_header .start_block {width:auto!important;flex-wrap:nowrap!important;}
#vibebp_member .profile_grid_header .start_block > span > span {opacity:1!important;visibility:visible!important;}
#vibebp_member .profile_menu .menu_items .bp-menu.is_active {color:#173b3f!important;opacity:1!important;}
#vibebp_member .profile_menu .menu_items .bp-menu.is_active span {color:inherit!important;}
#vibebp_member .profile_menu .menu_items .bp-menu.is_active svg path {fill:#173b3f!important;}
@media(max-width:480px) {#vibebp_member .profile_grid_header .drag_to_refresh {display:none!important;}}

/* Keep the admin account row on one line and align the app panel control. */
body.theme-wplms #wpadminbar li#wp-admin-bar-adra-visible-logout > a.ab-item {width:auto!important;padding-left:6px!important;padding-right:6px!important;font-size:13px!important;min-width:0!important;letter-spacing:0!important;}
#vibebp_member .profile_grid_header .start_block {margin:0!important;}
@media(max-width:782px) {
 body.theme-wplms #wpadminbar ul#wp-admin-bar-root-default {float:left!important;width:auto!important;}
 body.theme-wplms #wpadminbar li#wp-admin-bar-adra-visible-logout > a.ab-item {padding-left:4px!important;padding-right:4px!important;}
}

/* Account menus must not depend on custom-theme color variables. */
body.theme-wplms #wpadminbar {position:fixed!important;top:0!important;}
body.theme-wplms :is(#headertop,#vibebp_member) .user_menu {
 background:#fff!important;background-image:none!important;color:#173b3f!important;opacity:1!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;isolation:isolate;
 border:1px solid #b6ccca!important;border-top:3px solid #b8872f!important;border-radius:8px!important;
 box-shadow:0 12px 32px rgba(0,30,35,.22)!important;box-sizing:border-box!important;
 width:min(280px,calc(100vw - 24px))!important;min-width:0!important;padding:8px!important;
}
body.theme-wplms :is(#headertop,#vibebp_member) .user_menu .usermenu_content {
 background:#fff!important;opacity:1!important;
}
body.theme-wplms :is(#headertop,#vibebp_member) .user_menu a {
 background:#fff!important;color:#173b3f!important;text-shadow:none!important;opacity:1!important;
 border:0!important;box-shadow:none!important;min-height:44px!important;padding:10px 12px!important;
 font:600 14px/1.4 Arial,Helvetica,sans-serif!important;white-space:normal!important;text-transform:none!important;
}
body.theme-wplms :is(#headertop,#vibebp_member) .user_menu a:hover,
body.theme-wplms :is(#headertop,#vibebp_member) .user_menu a:focus-visible {
 background:#e4f2ef!important;color:#123f43!important;outline:2px solid #b8872f!important;outline-offset:-2px!important;
}
@media(max-width:768px) {
 body.theme-wplms.logged-in:not(.vibebp_my_profile) .pusher > #headertop {
  display:block!important;height:auto!important;min-height:44px!important;background:#004f4e!important;
 }
 body.theme-wplms.logged-in:not(.vibebp_my_profile) #headertop .homeicon,
 body.theme-wplms.logged-in:not(.vibebp_my_profile) #headertop #menu-top-menu,
 body.theme-wplms.logged-in:not(.vibebp_my_profile) #headertop > .container-fluid > .row > div:first-child {display:none!important;}
 body.theme-wplms.logged-in:not(.vibebp_my_profile) #headertop > .container-fluid > .row > div:last-child {width:100%!important;}
 body.theme-wplms.logged-in:not(.vibebp_my_profile) #headertop .topmenu:not(#menu-top-menu) {display:flex!important;justify-content:flex-end!important;align-items:center!important;margin:0!important;min-height:44px!important;}
 body.theme-wplms #headertop :is(.vibebp-login,.loggedin_user_div) {position:relative!important;}
 body.theme-wplms #headertop .user_menu {position:absolute!important;right:0!important;left:auto!important;top:calc(100% + 8px)!important;max-height:calc(100dvh - 120px)!important;overflow-y:auto!important;}
}
/* A fixed overlay avoids WebKit's transformed-page drawer stacking. */
@media(max-width:768px) {
 body.theme-wplms {--adra-drawer-toolbar:0px;}
 body.theme-wplms.admin-bar {--adra-drawer-toolbar:46px;}
 body.theme-wplms .global:not(.open) > .pagesidebar {visibility:hidden!important;pointer-events:none!important;}
 body.theme-wplms .global.open > .pusher {transform:none!important;-webkit-transform:none!important;}
 body.theme-wplms .global.open > .pagesidebar {
  position:fixed!important;z-index:2147483000!important;top:var(--adra-drawer-toolbar)!important;right:0!important;left:auto!important;
  width:min(320px,calc(100vw - 24px))!important;height:calc(100vh - var(--adra-drawer-toolbar))!important;height:calc(100dvh - var(--adra-drawer-toolbar))!important;
  visibility:visible!important;opacity:1!important;pointer-events:auto!important;overflow-y:auto!important;overscroll-behavior:contain;
  background:#004f4e!important;color:#fff!important;transform:translate3d(0,0,0)!important;-webkit-transform:translate3d(0,0,0)!important;box-shadow:-8px 0 24px rgba(0,20,25,.3)!important;
 }
 body.theme-wplms .pagesidebar .sidebarcontent {position:relative!important;min-height:100%!important;height:auto!important;max-height:none!important;padding-top:56px!important;padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important;}
 body.theme-wplms .pagesidebar #close_menu_sidebar {position:absolute!important;top:6px!important;right:8px!important;width:44px!important;height:44px!important;z-index:2!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#fff!important;opacity:1!important;}
 body.theme-wplms .pagesidebar .sidemenu > li > a {color:#fff!important;background:#004f4e!important;text-shadow:none!important;font:600 17px/1.4 Arial,Helvetica,sans-serif!important;}
 body.theme-wplms .pagesidebar .sidemenu > li.menu-item-has-children::after {color:#fff!important;opacity:1!important;}
 body.theme-wplms .pagesidebar .sidemenu > li > a:hover,
 body.theme-wplms .pagesidebar .sidemenu > li > a:focus-visible {background:#f4d77d!important;color:#173b3f!important;}
}

/* A consistent, reachable sign-in entry for public desktop and phone views. */
.adra-account-syncing #vibebp_member,
.adra-account-syncing #headertop .vibebp-login {visibility:hidden!important;}
.adra-account-sync-message {box-sizing:border-box;max-width:620px;margin:80px auto;padding:24px;background:#fff;color:#173b3f;font:16px/1.5 Arial,Helvetica,sans-serif;border:1px solid #b6ccca;}
body.theme-wplms #headertop a.adra-student-login-entry {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;
 padding:0 14px!important;font:700 14px/1.4 Arial,Helvetica,sans-serif!important;color:#fff!important;
 border:1px solid #f4d77d!important;border-radius:6px!important;text-shadow:none!important;white-space:nowrap!important;
}
body.theme-wplms #headertop a.adra-student-login-entry:hover,
body.theme-wplms #headertop a.adra-student-login-entry:focus-visible {background:#f4d77d!important;color:#173b3f!important;outline:2px solid #fff!important;outline-offset:2px!important;}
@media(max-width:768px) {
 body.theme-wplms:not(.logged-in) .pusher > #headertop {display:block!important;min-height:44px!important;height:auto!important;background:#004f4e!important;}
 body.theme-wplms:not(.logged-in) #headertop .homeicon,
 body.theme-wplms:not(.logged-in) #headertop #menu-top-menu,
 body.theme-wplms:not(.logged-in) #headertop > .container-fluid > .row > div:first-child {display:none!important;}
 body.theme-wplms:not(.logged-in) #headertop > .container-fluid > .row > div:last-child {width:100%!important;}
 body.theme-wplms:not(.logged-in) #headertop .topmenu:not(#menu-top-menu) {display:flex!important;justify-content:flex-end!important;align-items:center!important;margin:0!important;min-height:44px!important;}
 body.theme-wplms #headertop a.adra-student-login-entry {margin:4px 0!important;}
}
