/* V4.52.1 — Correct explicitly positioned CEO actions on iPhone.
   Pure presentation fix. Does not alter Supabase, Stock, permissions or workflows. */
@media screen and (max-width:760px) {
  #accountbar.accountbar:not([hidden]) {
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr) minmax(95px,auto)!important;
    grid-template-rows:auto auto auto auto!important;
    gap:9px 8px!important;
    width:100%!important;
    min-width:0!important;
    max-width:100vw!important;
    height:auto!important;
    padding:10px 12px 13px!important;
    align-items:center!important;
    overflow:visible!important;
  }
  #accountbar > * { min-width:0!important; max-width:100%!important; box-sizing:border-box!important; }
  #accountbar #accountavatar {grid-area:1 / 1 / 2 / 2!important; width:39px!important;height:39px!important;justify-self:start!important;}
  #accountbar .accountinfo {grid-area:1 / 2 / 2 / 3!important;overflow:hidden!important;}
  #accountbar #accountname {overflow-wrap:break-word!important;word-break:normal!important;}
  #accountbar #logoutTop {grid-area:1 / 3 / 2 / 4!important;justify-self:stretch!important;width:100%!important;min-width:0!important;min-height:40px!important;margin:0!important;padding:8px 7px!important;white-space:nowrap!important;font-size:12px!important;}
  #accountbar #shareAfterSalesQRTop:not([hidden]) {grid-area:2 / 1 / 3 / 4!important;width:100%!important;min-width:0!important;min-height:42px!important;margin:0!important;padding:8px!important;white-space:normal!important;overflow-wrap:normal!important;}
  #accountbar #amaManageBookingsTop:not([hidden]) {
    grid-area:3 / 1 / 4 / 4!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    min-height:46px!important;height:auto!important;
    margin:0!important;padding:10px 12px!important;
    flex:initial!important;align-self:stretch!important;
    text-align:center!important;white-space:normal!important;
    overflow-wrap:normal!important;word-break:normal!important;
    line-height:1.3!important;font-size:13px!important;
  }
  #accountbar #v434PipelineBell:not([hidden]) {
    grid-area:4 / 1 / 5 / 3!important;
    justify-self:stretch!important;width:100%!important;min-width:0!important;
    min-height:43px!important;margin:0!important;padding:9px 7px!important;
    white-space:normal!important;line-height:1.2!important;font-size:13px!important;
  }
  #accountbar #amaV433Envelope:not([hidden]) {
    grid-area:4 / 3 / 5 / 4!important;
    justify-self:stretch!important;width:100%!important;min-width:0!important;
    min-height:43px!important;margin:0!important;padding:9px 7px!important;
    white-space:normal!important;line-height:1.2!important;font-size:13px!important;
  }
  #accountbar button {max-width:100%!important;box-sizing:border-box!important;}
  #accountbar button[hidden] {display:none!important;}
}
@media screen and (max-width:360px) {
  #accountbar.accountbar:not([hidden]) {grid-template-columns:35px minmax(0,1fr) 90px!important;gap:8px 6px!important;}
  #accountbar #accountavatar {width:34px!important;height:34px!important;}
  #accountbar #logoutTop {font-size:11px!important;padding:6px 5px!important;}
}
