/* PhotoBridge R100F28 — mobile store header geometry, visible rounded calendar card, invite-style portal/chooser entry. */
@media(max-width:820px){
  html body #storePhotographerWorkspace.storePhotographerWorkspace{
    --pb-store-role-header-h:84px!important;
    --pb-role-header-h:84px!important;
  }
  html body #photographerStoreRoleHeader.photographerHeaderRefined{
    height:84px!important;
    min-height:84px!important;
    max-height:84px!important;
    padding:8px 10px 8px 74px!important;
    overflow:visible!important;
  }
  html body #photographerStoreRoleHeader.photographerHeaderRefined>.workspaceIdentity,
  html body #photographerStoreRoleHeader .photographerHeaderIdentity{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:68px!important;
    height:68px!important;
    margin:0!important;
    padding:0!important;
    padding-left:0!important;
    padding-right:0!important;
    gap:9px!important;
    overflow:visible!important;
    align-items:center!important;
  }
  html body #photographerStoreRoleHeader .photographerHeaderIdentity .workspaceIdentityCopy{
    flex:1 1 auto!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    min-height:55px!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"pbTitle pbTitle" "pbManager pbDate"!important;
    grid-template-rows:auto auto!important;
    align-content:center!important;
    align-items:center!important;
    column-gap:7px!important;
    row-gap:3px!important;
    overflow:visible!important;
  }
  html body #photographerStoreRoleHeader .photographerHeaderIdentity .workspaceIdentityCopy>h1{
    grid-area:pbTitle!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    font-size:13px!important;
    font-weight:950!important;
    line-height:1.35!important;
    letter-spacing:-.15px!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
  }
  html body #photographerStoreRoleHeader .photographerHeaderIdentity .workspaceIdentityCopy>small{
    grid-area:pbManager!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    font-size:8.5px!important;
    font-weight:700!important;
    line-height:1.3!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  html body #photographerStoreRoleHeader .photographerIdentityDateOnly{
    grid-area:pbDate!important;
    width:auto!important;
    max-width:none!important;
    min-width:max-content!important;
    margin:0!important;
    padding:0!important;
    align-self:center!important;
  }
  html body #photographerStoreRoleHeader .photographerIdentityDateOnly .todayStamp.compact{
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    gap:3px!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    white-space:nowrap!important;
  }
  html body #photographerStoreRoleHeader .photographerIdentityDateOnly .todayStamp.compact span{font-size:8.2px!important;line-height:1.2!important}
  html body #photographerStoreRoleHeader .photographerIdentityDateOnly .todayStamp.compact b{font-size:8px!important;line-height:1.2!important}
  #pbR100F25AvatarBtn{
    flex:0 0 46px!important;
    width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;max-width:46px!important;max-height:46px!important;
    border-radius:14px!important;
  }
  #pbR100F25MenuBtn{
    left:10px!important;
    top:19px!important;
    width:54px!important;min-width:54px!important;max-width:54px!important;
    height:46px!important;min-height:46px!important;max-height:46px!important;
    border-radius:13px!important;
    gap:5px!important;
    font-size:10.5px!important;
    font-weight:950!important;
  }
  #pbR100F25MenuBtn svg{width:20px!important;height:20px!important}
  #pbR100F25MenuPanel{
    top:82px!important;
    width:min(282px,calc(100vw - 18px))!important;
    padding:8px!important;
    border-radius:16px!important;
  }
  #pbR100F25MenuPanel button{
    min-height:46px!important;
    padding:8px 10px!important;
    border-radius:10px!important;
    font:900 11.4px/1.35 Vazirmatn,Tahoma,sans-serif!important;
  }
  #pbR100F25MenuPanel .pbF25MenuIcon{width:29px!important;height:29px!important;flex-basis:29px!important;font-size:14px!important}
  #pbR100F25MenuPanel .pbF25MenuText{gap:3px!important}
  #pbR100F25MenuPanel .pbF25MenuText b{font-size:11.4px!important;line-height:1.35!important}
  #pbR100F25MenuPanel .pbF25MenuText small{font-size:9px!important;line-height:1.45!important}

  /* Primary store buttons: slightly larger labels, without changing their compact geometry. */
  html body #storePhotographerWorkspace>#storeSectionNavV673.pb673StoreSectionNav>button{
    font-size:11.6px!important;
    font-weight:950!important;
  }

  /* Restore the real top edge of the Rental calendar card. Older mobile CSS deliberately flattened it. */
  html body #equipmentPanel>.box{
    margin-top:18px!important;
    padding-top:15px!important;
    border-top-left-radius:22px!important;
    border-top-right-radius:22px!important;
    border-bottom-left-radius:22px!important;
    border-bottom-right-radius:22px!important;
    overflow:visible!important;
  }
  html body #equipmentPanel .pbR63RentalCalendar{
    margin-top:0!important;
    padding-top:0!important;
  }
  html body #equipmentPanel .rentalFilterDockV809{
    top:16px!important;
    margin-top:0!important;
    padding-top:4px!important;
  }
}

/* Invite-page visual language for Lab and Store login pages. */
body.pbR100F28PortalLogin{
  background:linear-gradient(180deg,#eef4ff 0%,#f4f7ff 38%,#f7f9fc 100%)!important;
}
body.pbR100F28PortalLogin .authBg,
body.pbR100F28PortalLogin #loginView.authBg{
  min-height:100dvh!important;
  align-items:start!important;
  place-items:start center!important;
  padding:24px 16px 42px!important;
  background:linear-gradient(180deg,#eef4ff 0%,#f4f7ff 38%,#f7f9fc 100%)!important;
  overflow:auto!important;
}
body.pbR100F28PortalLogin .authShell.pbR100F28AuthShell{
  width:min(720px,100%)!important;
  max-width:720px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:18px!important;
  align-items:stretch!important;
}
.pbR100F28AuthBrand{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  width:max-content!important;
  margin:0 4px 94px auto!important;
  color:#172033!important;
  text-decoration:none!important;
  direction:ltr!important;
  font:950 18px/1.2 Vazirmatn,Tahoma,Arial,sans-serif!important;
}
.pbR100F28AuthBrand img{width:40px!important;height:40px!important;object-fit:contain!important;border-radius:10px!important}
.pbR100F28AuthHero{
  position:relative!important;
  overflow:hidden!important;
  padding:27px 28px 25px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:28px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#3568fb 0%,#315be9 48%,#2748bd 100%)!important;
  box-shadow:0 18px 42px rgba(49,94,251,.20)!important;
  text-align:right!important;
}
.pbR100F28AuthHero::before{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-120px;top:-145px;background:rgba(255,255,255,.08);pointer-events:none}
.pbR100F28AuthHero::after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;left:-100px;bottom:-130px;background:rgba(255,255,255,.06);pointer-events:none}
.pbR100F28AuthHero>*{position:relative;z-index:1}
.pbR100F28AuthHero .pbR100F28AuthEyebrow{display:block;margin:0 0 16px;color:#fff;font-size:12px;font-weight:900}
.pbR100F28AuthHero h1{margin:0 0 13px!important;color:#fff!important;font-size:31px!important;line-height:1.45!important;font-weight:950!important;letter-spacing:-.4px!important}
.pbR100F28AuthHero p{margin:0!important;color:rgba(255,255,255,.86)!important;font-size:13px!important;line-height:2!important}
.pbR100F28AuthFacts{display:flex!important;gap:9px!important;flex-wrap:wrap!important;margin-top:18px!important}
.pbR100F28AuthFacts span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:6px 14px!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:999px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;font-size:10.5px!important;font-weight:800!important;white-space:nowrap!important}
body.pbR100F28PortalLogin .unifiedLoginBrand{display:none!important}
body.pbR100F28PortalLogin form.unifiedLoginCard,
body.pbR100F28PortalLogin form.rentalUnifiedLogin,
body.pbR100F28PortalLogin form.labLogin{
  width:100%!important;
  max-width:none!important;
  padding:26px!important;
  border:1px solid #e5e9f1!important;
  border-radius:26px!important;
  background:#fff!important;
  box-shadow:0 12px 34px rgba(15,23,42,.06)!important;
}
body.pbR100F28PortalLogin form .authTitle h1{font-size:25px!important;line-height:1.5!important;text-align:right!important}
body.pbR100F28PortalLogin form .authTitle p{font-size:12px!important;line-height:1.9!important;text-align:right!important}
body.pbR100F28PortalLogin form label{font-size:11px!important;font-weight:850!important}
body.pbR100F28PortalLogin form input{min-height:48px!important;border-radius:12px!important;font-size:14px!important}
body.pbR100F28PortalLogin form button.primary{min-height:48px!important;border-radius:12px!important;font-size:12px!important}

/* Store chooser: same blue hero + pale page + white cards. */
body.pbR96ChoosingStore #storePhotographerWorkspace{background:linear-gradient(180deg,#eef4ff 0%,#f4f7ff 38%,#f7f9fc 100%)!important}
body.pbR96ChoosingStore .pbR96StoreChooser{
  width:min(760px,100%)!important;
  max-width:760px!important;
  padding:0 0 18px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.pbR96ChoosingStore .pbR96StoreChooser::before{display:none!important;content:none!important}
body.pbR96ChoosingStore .pbR96StoreChooserHead{
  position:relative!important;
  overflow:hidden!important;
  margin:0 0 18px!important;
  padding:28px 26px 25px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,#3568fb 0%,#315be9 48%,#2748bd 100%)!important;
  box-shadow:0 18px 42px rgba(49,94,251,.20)!important;
  text-align:right!important;
}
body.pbR96ChoosingStore .pbR96StoreChooserHead::before{
  content:"انتخاب فروشگاه تجهیزات"!important;
  display:block!important;
  width:auto!important;height:auto!important;margin:0 0 15px!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  color:#fff!important;font:900 12px/1.4 Vazirmatn,Tahoma,sans-serif!important;text-align:right!important;
}
body.pbR96ChoosingStore .pbR96StoreChooserHead h2{margin:0 0 10px!important;color:#fff!important;font-size:28px!important;line-height:1.45!important;text-align:right!important}
body.pbR96ChoosingStore .pbR96StoreChooserHead p{margin:0!important;max-width:620px!important;color:rgba(255,255,255,.86)!important;font-size:12px!important;line-height:2!important;text-align:right!important}
body.pbR96ChoosingStore .pbR96StoreChooserList{gap:10px!important}
body.pbR96ChoosingStore .pbR96StoreCard{border-color:#e0e6f0!important;border-radius:18px!important;background:#fff!important;box-shadow:0 6px 20px rgba(15,23,42,.04)!important}

/* Lab chooser, overriding its runtime-injected style with a stronger final surface. */
html body #pbR99LabChooser{background:linear-gradient(180deg,#eef4ff 0%,#f4f7ff 38%,#f7f9fc 100%)!important}
html body #pbR99LabChooser .pbR99LabWrap{width:min(760px,100%)!important;padding:28px 16px 42px!important}
html body #pbR99LabChooser .pbR99LabIntro{
  text-align:right!important;
  margin:0 auto 18px!important;
  max-width:760px!important;
  padding:28px 26px 25px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,#3568fb 0%,#315be9 48%,#2748bd 100%)!important;
  box-shadow:0 18px 42px rgba(49,94,251,.20)!important;
}
html body #pbR99LabChooser .pbR99LabIntro::before{width:auto!important;height:auto!important;position:relative!important;top:auto!important;right:auto!important;border-radius:0!important;background:transparent!important;content:"انتخاب لابراتوار"!important;display:block!important;margin:0 0 15px!important;color:#fff!important;font:900 12px/1.4 Vazirmatn,Tahoma,sans-serif!important}
html body #pbR99LabChooser .pbR99LabIntro::after{display:none!important;content:none!important}
html body #pbR99LabChooser .pbR99LabIntroIcon{display:none!important}
html body #pbR99LabChooser .pbR99LabIntro h1{margin:0 0 10px!important;color:#fff!important;font-size:28px!important;line-height:1.45!important;text-align:right!important}
html body #pbR99LabChooser .pbR99LabIntro p{margin:0!important;max-width:620px!important;color:rgba(255,255,255,.86)!important;font-size:12px!important;line-height:2!important;text-align:right!important}
html body #pbR99LabChooser .pbR99LabBoard{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body #pbR99LabChooser .pbR99LabCard{background:#fff!important;border-color:#e0e6f0!important;border-radius:18px!important;box-shadow:0 6px 20px rgba(15,23,42,.04)!important}

@media(max-width:600px){
  body.pbR100F28PortalLogin .authBg,
  body.pbR100F28PortalLogin #loginView.authBg{padding:16px 14px 34px!important}
  body.pbR100F28PortalLogin .authShell.pbR100F28AuthShell{gap:14px!important}
  .pbR100F28AuthBrand{margin:0 4px 86px auto!important;font-size:17px!important}
  .pbR100F28AuthBrand img{width:38px!important;height:38px!important}
  .pbR100F28AuthHero{padding:24px 22px 22px!important;border-radius:25px!important}
  .pbR100F28AuthHero .pbR100F28AuthEyebrow{font-size:11px!important;margin-bottom:14px!important}
  .pbR100F28AuthHero h1{font-size:26px!important;margin-bottom:12px!important}
  .pbR100F28AuthHero p{font-size:11.5px!important;line-height:2!important}
  .pbR100F28AuthFacts{gap:7px!important;margin-top:16px!important}
  .pbR100F28AuthFacts span{min-height:32px!important;padding:5px 11px!important;font-size:9.5px!important}
  body.pbR100F28PortalLogin form.unifiedLoginCard,
  body.pbR100F28PortalLogin form.rentalUnifiedLogin,
  body.pbR100F28PortalLogin form.labLogin{padding:20px!important;border-radius:24px!important}
  body.pbR100F28PortalLogin form .authTitle h1{font-size:23px!important}
  body.pbR96ChoosingStore .pbR96StoreChooser{margin:14px auto 20px!important;padding:0 2px 18px!important}
  body.pbR96ChoosingStore .pbR96StoreChooserHead,
  html body #pbR99LabChooser .pbR99LabIntro{padding:24px 20px 22px!important;border-radius:25px!important}
  body.pbR96ChoosingStore .pbR96StoreChooserHead h2,
  html body #pbR99LabChooser .pbR99LabIntro h1{font-size:25px!important}
  body.pbR96ChoosingStore .pbR96StoreChooserHead p,
  html body #pbR99LabChooser .pbR99LabIntro p{font-size:11px!important}
  html body #pbR99LabChooser .pbR99LabWrap{padding:14px 12px max(22px,env(safe-area-inset-bottom))!important}
}
