/* MenuMakerAI v6.8.44 mobile header and command-menu refinements. */
.rmp-command-privacy-button>svg{
  flex:0 0 19px;
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.rmp-command-privacy-button>span{display:grid;gap:3px}
.rmp-command-privacy-button b{font-size:11px}
.rmp-command-privacy-button small{color:#718197;font-size:9px;font-weight:650}
.rmp-command-account-button{display:none!important}
.rmp-command-account-button>span{display:grid;gap:3px;min-width:0}
.rmp-command-account-button b{font-size:11px}
.rmp-command-account-button small{color:#718197;font-size:9px;font-weight:650;line-height:1.35}

@media(max-width:760px), (max-width:1024px) and (max-height:760px) and (max-device-width:1024px) and (max-device-height:760px) and (hover:none) and (pointer:coarse){
  .rmp-app-header>.rmp-desktop-account-actions>.rmp-guide-launch,
  .rmp-app-header>.rmp-desktop-account-actions>.rmp-feedback-launch,
  .rmp-consent-settings-button{
    display:none!important;
  }

  /* Keep the complete mobile header in one protected row. */
  .rmp-form[data-rmp-workspace-ready="1"]>.rmp-app-header{
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:6px!important;
    flex:0 0 54px!important;
    width:100%!important;
    height:54px!important;
    min-height:54px!important;
    max-height:54px!important;
    padding:6px 9px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  .rmp-app-header>.rmp-app-brand{
    order:1!important;
    display:flex!important;
    flex:1 1 0!important;
    align-items:center!important;
    gap:6px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    overflow:hidden!important;
  }
  .rmp-app-header>.rmp-app-brand>img{
    flex:0 0 32px!important;
    width:32px!important;
    height:32px!important;
  }
  .rmp-app-header>.rmp-app-brand>span{
    display:block!important;
    min-width:0!important;
    overflow:hidden!important;
    white-space:nowrap!important;
  }
  .rmp-app-header>.rmp-app-brand b{
    display:block!important;
    overflow:hidden!important;
    font-size:clamp(13px,4vw,16px)!important;
    line-height:1.1!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .rmp-app-header>.rmp-desktop-account-actions{
    order:2!important;
    display:flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:0!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  .rmp-app-header>.rmp-desktop-account-actions>.rmp-mobile-account-button{
    display:none!important;
  }
  .rmp-app-header>.rmp-desktop-account-actions>.rmp-mobile-credit-button{
    display:flex!important;
    flex:0 0 54px!important;
    width:54px!important;
    min-width:54px!important;
    height:40px!important;
    min-height:40px!important;
  }
  .rmp-app-header>.rmp-command-menu-toggle{
    order:3!important;
    flex:0 0 43px!important;
    width:43px!important;
    min-width:43px!important;
    height:40px!important;
    min-height:40px!important;
    margin:0!important;
  }
  .rmp-command-account-button{display:flex!important}
}
