/* R1130: photographer desktop rental calendar, native-sized filter dialog,
   flexible gallery action rows, and flush new-print layout. Mobile untouched. */
@media (min-width:821px) {
  #equipmentPanel .pbR63CalendarFoot {
    display:flex!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:10px!important;
  }
  #equipmentPanel .pbR63CalendarFoot .pbR63Range {
    flex:1 1 280px!important;
    min-width:0!important;
  }
  #equipmentPanel .pbR1130ClearDates {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:36px!important;
    padding:7px 14px!important;
    border:1px solid #d5deee!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#475467!important;
    font:800 12px/1.5 Vazirmatn,Tahoma,sans-serif!important;
    cursor:pointer!important;
  }
  #equipmentPanel .pbR1130ClearDates:disabled {opacity:.48!important;cursor:default!important}
  #equipmentPanel .pbR1130ClearDates:focus-visible {outline:2px solid #315efb;outline-offset:2px}
  #equipmentPanel .pbR68FilterBar {
    max-width:860px!important;
    margin-inline:auto!important;
    grid-template-columns:minmax(170px,1fr) minmax(170px,1fr) minmax(150px,.72fr)!important;
    gap:12px!important;
  }
  #equipmentPanel .pbR68FilterBtn {
    justify-content:space-between!important;
    height:45px!important;
    min-height:45px!important;
    padding-inline:14px!important;
    border-radius:11px!important;
  }
  #equipmentPanel .pbR68FilterBtn :is(b,small) {font-size:12.5px!important}
  /* On Windows the mobile bottom sheet becomes a centered desktop choice dialog. */
  #pbR68FilterSheet.open {
    align-items:center!important;
    justify-content:center!important;
    padding:24px!important;
    box-sizing:border-box!important;
  }
  #pbR68FilterSheet .pbR68SheetBackdrop {
    background:rgba(16,29,54,.29)!important;
    backdrop-filter:blur(1px)!important;
  }
  #pbR68FilterSheet .pbR68SheetCard {
    width:min(660px,100%)!important;
    max-height:min(76vh,650px)!important;
    min-height:0!important;
    padding:18px 20px 20px!important;
    border:1px solid #e2e8f0!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 22px 65px rgba(19,39,76,.20)!important;
    animation:none!important;
    box-sizing:border-box!important;
  }
  #pbR68FilterSheet .pbR68SheetCard header {
    padding:0 0 14px!important;
    margin-bottom:3px!important;
    align-items:center!important;
  }
  #pbR68FilterSheet .pbR68SheetTitle,
  #pbR68FilterSheet #pbR68SheetTitle {font-size:17px!important;line-height:1.5!important}
  #pbR68FilterSheet #pbR68SheetHint {font-size:12px!important}
  #pbR68FilterSheet .pbR68SheetOptions {
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;
    gap:9px!important;
    max-height:min(58vh,510px)!important;
    padding:14px 2px 2px!important;
    overflow:auto!important;
    align-content:start!important;
  }
  #pbR68FilterSheet .pbR68SheetOption {
    height:auto!important;
    min-height:45px!important;
    padding:9px 13px!important;
    font-size:13px!important;
    line-height:1.5!important;
    text-align:right!important;
    white-space:normal!important;
  }
  #pbR68FilterSheet .pbR68SheetOption:focus-visible {outline:2px solid #315efb!important;outline-offset:2px!important}
  /* Cards have 4 or 5 controls depending on gallery status; no empty grid cells. */
  html body .clientGalleryCards .clientGalleryCardActions {
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:stretch!important;
    gap:6px!important;
    width:100%!important;
  }
  html body .clientGalleryCards .clientGalleryCardActions > button {
    flex:1 1 108px!important;
    width:auto!important;
    min-width:0!important;
    min-height:35px!important;
    height:auto!important;
    padding:6px 8px!important;
    margin:0!important;
    font-size:11.5px!important;
    line-height:1.5!important;
    white-space:normal!important;
    box-sizing:border-box!important;
  }
  /* The upload step should start directly below the actual desktop header. */
  html:not(.pb1126Embedded) body #root .photographerMain.pbFixedRoleHeader.photographerUploadWorkspaceMode {
    padding-top:var(--pb-role-header-h,114px)!important;
    margin-top:0!important;
  }
  html.pb1126Embedded body #root .photographerMain.pbFixedRoleHeader.photographerUploadWorkspaceMode {
    padding-top:0!important;
    margin-top:0!important;
    row-gap:0!important;
  }
  html body #root .photographerMain.photographerUploadWorkspaceMode > .photographerLabContextRail,
  html body #root .photographerMain.photographerUploadWorkspaceMode > .photographerThirdHeaderHost,
  html body #root .photographerMain.photographerUploadWorkspaceMode > .photographerUploadStepperSlot {
    margin-top:0!important;
    margin-bottom:0!important;
  }
  html body #root .photographerMain.photographerUploadWorkspaceMode > .photographerRolePageScrollArea {
    padding-top:0!important;
    margin-top:0!important;
    scroll-padding-top:0!important;
  }
  html body #root .photographerMain.photographerUploadWorkspaceMode .uploadWizard {
    margin-top:0!important;
    padding-top:0!important;
  }
}
@media (max-width:820px) {
  #equipmentPanel .pbR1130ClearDates {display:none!important}
}
