/* PhotoBridge v819 — authoritative mobile identity header parity for Print and Store. */
@media(max-width:820px){
  /* Print / Album / Finance / both composer states: one centered lab identity. */
  html.pb818PrintContext body #root .photographerMain.photographerPrintWorkspace .photographerPrintModeNav>.photographerPrintTopLab{
    direction:rtl!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    gap:7px!important;
    padding:0 10px!important;
    box-shadow:none!important;
  }
  html.pb818PrintContext body #root .photographerMain.photographerPrintWorkspace .photographerPrintModeNav>.photographerPrintTopLab::before{
    content:"لابراتوار"!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 auto!important;
    margin:0!important;
    color:inherit!important;
    opacity:1!important;
    font:950 12px/1 Vazirmatn,Tahoma,sans-serif!important;
    white-space:nowrap!important;
  }
  html.pb818PrintContext body #root .photographerMain.photographerPrintWorkspace .photographerPrintTopLabStatic,
  html.pb818PrintContext body #root .photographerMain.photographerPrintWorkspace .photographerPrintTopLabSelect,
  html.pb818PrintContext body #root .photographerMain.photographerPrintWorkspace .photographerPrintTopLabSelect .pbSelect{
    flex:0 1 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:min(72vw,560px)!important;
    margin:0!important;
    padding:0!important;
    direction:rtl!important;
    text-align:center!important;
    justify-content:center!important;
    color:inherit!important;
    font:950 12px/1.2 Vazirmatn,Tahoma,sans-serif!important;
  }
  html.pb818PrintContext body #root .photographerMain.photographerPrintWorkspace .photographerPrintTopLabStatic{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:32px!important;
    height:32px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html.pb818PrintContext body #root .photographerMain.photographerPrintWorkspace .photographerPrintTopLabSelect .pbSelectTrigger,
  html.pb818PrintContext body #root .photographerMain.photographerPrintWorkspace .photographerPrintTopLabSelect .pbSelectButton{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    max-width:min(72vw,560px)!important;
    min-height:32px!important;
    height:32px!important;
    margin:0 auto!important;
    padding:0 28px!important;
    direction:rtl!important;
    text-align:center!important;
    color:inherit!important;
    font:950 12px/1.2 Vazirmatn,Tahoma,sans-serif!important;
    box-shadow:none!important;
  }
  html.pb818PrintContext body #root .photographerMain.photographerPrintWorkspace .photographerPrintTopLabSelect .pbSelectTrigger>span,
  html.pb818PrintContext body #root .photographerMain.photographerPrintWorkspace .photographerPrintTopLabSelect .pbSelectButton>span{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    text-align:center!important;
    font:950 12px/1.2 Vazirmatn,Tahoma,sans-serif!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html.pb818PrintContext body #root .photographerMain.photographerPrintWorkspace .photographerPrintTopLabSelect .pbSelectTrigger>svg,
  html.pb818PrintContext body #root .photographerMain.photographerPrintWorkspace .photographerPrintTopLabSelect .pbSelectButton>svg{
    position:absolute!important;
    left:8px!important;
    right:auto!important;
  }

  /* Composer has a Back control on the left; keep the identity visually centered. */
  html.pb818PrintContext body #root .photographerMain.photographerPrintWorkspace.pb818PrintComposer .photographerPrintModeNav>.photographerPrintTopLab,
  html.pb818PrintContext body #root .photographerMain.photographerPrintWorkspace.pb817PrintComposer .photographerPrintModeNav>.photographerPrintTopLab{
    padding-left:100px!important;
    padding-right:100px!important;
  }

  /* Store secondary header uses the exact same visual language as Print. */
  #storePhotographerWorkspace>#photographerStoreRoleHeader,
  #storePhotographerWorkspace>.storeRoleHeader,
  #storePhotographerWorkspace>.unifiedRoleHeader.photographerHeaderRefined{
    box-shadow:none!important;
    border-bottom:0!important;
  }
  #storePhotographerWorkspace>#photographerStoreIdentityBar.photographerStoreIdentityBar{
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    background:var(--pb718-subbar,#dff2f6)!important;
    background-color:var(--pb718-subbar,#dff2f6)!important;
    color:var(--pb769-subbar-ink,#101828)!important;
    border-top:0!important;
    border-bottom:1px solid #e4e9f1!important;
    box-shadow:none!important;
    padding:0 10px!important;
    justify-content:center!important;
    text-align:center!important;
  }
  #photographerStoreIdentityBar>.storeIdentityToggle{
    position:absolute!important;
    left:50%!important;
    right:auto!important;
    top:5px!important;
    transform:translateX(-50%)!important;
    width:auto!important;
    min-width:0!important;
    max-width:calc(100vw - 128px)!important;
    height:32px!important;
    min-height:32px!important;
    margin:0!important;
    padding:0 6px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    direction:rtl!important;
    text-align:center!important;
    color:inherit!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  #photographerStoreIdentityBar .storeIdentityLabel{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 auto!important;
    margin:0!important;
    color:inherit!important;
    opacity:1!important;
    font:950 12px/1 Vazirmatn,Tahoma,sans-serif!important;
    white-space:nowrap!important;
  }
  #photographerStoreIdentityBar #photographerStoreHeaderName{
    min-width:0!important;
    max-width:min(46vw,360px)!important;
    margin:0!important;
    color:inherit!important;
    font:950 12px/1.2 Vazirmatn,Tahoma,sans-serif!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #photographerStoreIdentityBar .storeIdentityChevron{
    width:14px!important;
    height:14px!important;
    flex:0 0 auto!important;
  }
  #photographerStoreIdentityBar .storeIdentityActionsV809{
    position:relative!important;
    z-index:3!important;
    margin-inline-start:auto!important;
  }
}
@media(max-width:390px){
  #photographerStoreIdentityBar>.storeIdentityToggle{max-width:calc(100vw - 116px)!important;gap:5px!important}
  html.pb818PrintContext body #root .photographerMain.photographerPrintWorkspace.pb818PrintComposer .photographerPrintModeNav>.photographerPrintTopLab,
  html.pb818PrintContext body #root .photographerMain.photographerPrintWorkspace.pb817PrintComposer .photographerPrintModeNav>.photographerPrintTopLab{padding-left:94px!important;padding-right:94px!important}
}
