/* PhotoBridge v765 — no list ghost space + centered back + composer choose/send controls. */
#pb761-mode-actions,.pb761PhotoStatuses,.pb761AlbumStageStatuses{display:none}
@media (max-width:820px){
  /* Older proxy layers must never become visible again. Keep React-owned nodes as hidden event sources. */
  html body #pb753-mobile-order-actions,
  html body #pb754-album-create-actions,
  html body #pb742-print-actions,
  html body #pb737-mobile-print-dock,
  html body .pb752OrderStatuses,
  html body .pb754AlbumStageRail,
  html body .pb755OrderStatuses,
  html body #pb755-mode-actions,
  html body #pb756-mode-actions,
  html body .pb756PhotoStatuses,
  html body .pb756AlbumStageStatuses,
  html body #pb757-mode-actions,
  html body .pb757PhotoStatuses,
  html body .pb757AlbumStageStatuses{
    display:none!important;visibility:hidden!important;pointer-events:none!important;
    height:0!important;min-height:0!important;max-height:0!important;
    margin:0!important;padding:0!important;overflow:hidden!important
  }

  html body .photographerMain.photographerPrintWorkspace .photographerMobileOrderLaunch{
    position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;
    margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;opacity:0!important;
    visibility:hidden!important;pointer-events:none!important
  }

  html body .simplePrintMobileBottomSend,
  html body .simplePrintPilotMobileInlineActions,
  html body .photographerAlbumCreateWorkspaceMode .albumQuickActions,
  html body .photographerAlbumCreateWorkspaceMode .albumOrderWorkspace>.albumOrderActions{
    position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;
    margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;opacity:0!important;
    visibility:hidden!important;pointer-events:none!important
  }

  /* The old context rail is only a hidden handler host. It must not reserve vertical space. */
  html body .photographerMain.photographerPrintWorkspace>.photographerLabContextRail:not(.photographerCreateContextMode){
    display:block!important;position:relative!important;width:100%!important;height:0!important;min-height:0!important;max-height:0!important;
    margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:hidden!important;pointer-events:none!important
  }
  html body .photographerMain.photographerPrintWorkspace>.photographerLabContextRail:not(.photographerCreateContextMode)>.photographerLabContextMain{
    height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important
  }
  html body .photographerMain.photographerPrintWorkspace .photographerLabContextActions>.photographerContextAction.primary,
  html body .photographerMain.photographerPrintWorkspace .photographerAlbumNewOrderSlot{
    display:none!important;visibility:hidden!important;pointer-events:none!important;height:0!important;margin:0!important;padding:0!important
  }

  /* Native filters stay authoritative but hidden; v761 mirrors them in the scroll content. */
  html body .photographerMain.photographerPrintWorkspace .photographerContextStatusesMobile,
  html body .photographerMain.photographerPrintWorkspace .photographerContextStatusesDesktop,
  html body .photographerMain.photographerPrintWorkspace .photographerAlbumHeaderStatusMobile,
  html body .photographerMain.photographerPrintWorkspace .photographerAlbumHeaderStatusDesktop{
    display:none!important;visibility:hidden!important;pointer-events:none!important;
    width:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important
  }


  /* Keep the whole four-button/header stack above the page scroller. */
  html body .photographerMain.photographerPrintWorkspace>.photographerPrintModeHeader{
    position:relative!important;z-index:500!important;
  }
  html body .photographerMain.photographerPrintWorkspace>.photographerRolePageScrollArea{
    z-index:1!important;
  }

  /* One opaque physical frame: lab row (when present), Print/Album tabs, then the action pair. */
  html body .photographerMain.photographerPrintWorkspace>.photographerPrintModeHeader{
    overflow:visible!important;margin-bottom:var(--pb761-nav-height,108px)!important
  }
  html body .photographerMain.photographerPrintWorkspace .photographerPrintModeHeader>.photographerPrintModeNav,
  html body .photographerMain.photographerPrintWorkspace .photographerPrintModeHeader>.photographerHeaderNav.photographerPrintModeNav{
    position:absolute!important;top:100%!important;left:50%!important;right:auto!important;
    transform:translateX(-50%)!important;z-index:420!important;
    width:100vw!important;min-width:100vw!important;max-width:100vw!important;
    height:var(--pb761-nav-height,108px)!important;min-height:var(--pb761-nav-height,108px)!important;max-height:var(--pb761-nav-height,108px)!important;
    margin:0!important;padding:6px 8px 8px!important;box-sizing:border-box!important;
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-areas:"photo album" "actions actions"!important;
    grid-template-rows:50px 36px!important;gap:6px!important;
    overflow:hidden!important;background:#f5f7fb!important;border-top:1px solid #e3e8f0!important;border-bottom:1px solid #dfe5ee!important;
    box-shadow:0 1px 0 rgba(15,23,42,.02)!important;isolation:isolate!important;contain:paint!important
  }
  html body .photographerMain.photographerPrintWorkspace .photographerPrintModeHeader>.photographerPrintModeNav.pb761HasVisibleLab,
  html body .photographerMain.photographerPrintWorkspace .photographerPrintModeHeader>.photographerHeaderNav.photographerPrintModeNav.pb761HasVisibleLab{
    grid-template-areas:"lab lab" "photo album" "actions actions"!important;
    grid-template-rows:42px 50px 36px!important
  }
  html body .photographerMain.photographerPrintWorkspace .photographerPrintTopLab{
    grid-area:lab!important;position:relative!important;inset:auto!important;transform:none!important;
    width:calc(100% + 16px)!important;height:42px!important;min-height:42px!important;max-height:42px!important;
    margin:-6px -8px 0!important;padding:0 10px!important;box-sizing:border-box!important;
    display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important
  }
  html body .photographerMain.photographerPrintWorkspace .photographerPrintModeNav>.photographerPrintPhotoTab{grid-area:photo!important}
  html body .photographerMain.photographerPrintWorkspace .photographerPrintModeNav>.photographerPrintAlbumTab{grid-area:album!important}
  html body .photographerMain.photographerPrintWorkspace .photographerPrintModeNav>.rolePrimaryAction{
    position:relative!important;inset:auto!important;transform:none!important;
    width:100%!important;min-width:0!important;max-width:none!important;
    height:50px!important;min-height:50px!important;max-height:50px!important;
    margin:0!important;padding:0 9px!important;box-sizing:border-box!important;border-radius:12px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;
    font-size:12px!important;font-weight:950!important;line-height:1.15!important
  }

  html body #pb761-mode-actions{
    grid-area:actions!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;direction:rtl!important;width:100%!important;min-width:0!important;height:36px!important;
    margin:0!important;padding:0!important;box-sizing:border-box!important;align-items:stretch!important;background:#f5f7fb!important
  }
  html body #pb761-mode-actions>button{
    width:100%!important;min-width:0!important;max-width:none!important;
    height:36px!important;min-height:36px!important;max-height:36px!important;
    margin:0!important;padding:0 7px!important;box-sizing:border-box!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    border-radius:10px!important;border:1px solid #315efb!important;box-shadow:none!important;
    font:inherit!important;font-size:10px!important;font-weight:900!important;line-height:1.12!important;text-align:center!important;white-space:normal!important
  }
  html body #pb761-mode-actions .pb761Choose{background:#315efb!important;color:#fff!important}
  html body #pb761-mode-actions .pb761Send{background:#fff!important;color:#3157c8!important;border-color:#cbd8fa!important}
  html body #pb761-mode-actions>button:disabled{background:#eef2f6!important;border-color:#d9e0ea!important;color:#98a2b3!important;opacity:1!important}

  /* Content always starts below the measured bottom of the four-button frame. */
  html body .photographerMain.photographerPrintWorkspace>.photographerRolePageScrollArea{
    padding-top:var(--pb761-scroll-clearance,10px)!important;
    scroll-padding-top:var(--pb761-scroll-clearance,10px)!important;
    box-sizing:border-box!important
  }
  html body .photographerMain.photographerPrintWorkspace:not(.photographerAlbumCreateWorkspaceMode) .ordersWorkspace.liveCustomerOrders,
  html body .photographerMain.photographerPrintWorkspace:not(.photographerAlbumCreateWorkspaceMode) .ordersWorkspace.customerOrders{
    margin-top:0!important;padding-top:0!important
  }
  html body .photographerMain.photographerPrintWorkspace.photographerAlbumWorkspaceMode:not(.photographerAlbumCreateWorkspaceMode) .photographerAlbumListFlush{
    margin-top:0!important;padding-top:0!important
  }

  /* Print status filters. */
  html body .pb761PhotoStatuses,
  html body .pb761AlbumStageStatuses{
    display:flex!important;align-items:center!important;gap:6px!important;
    width:100%!important;max-width:100%!important;
    margin:0 0 10px!important;padding:0 8px!important;box-sizing:border-box!important;
    overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important
  }
  html body .pb761PhotoStatuses::-webkit-scrollbar,
  html body .pb761AlbumStageStatuses::-webkit-scrollbar{display:none!important}
  html body .pb761PhotoStatuses>button,
  html body .pb761AlbumStageStatuses>button{
    flex:0 0 auto!important;width:auto!important;min-width:max-content!important;
    height:31px!important;min-height:31px!important;max-height:31px!important;
    margin:0!important;padding:0 10px!important;border:1px solid #e1e6ee!important;border-radius:999px!important;
    background:#fff!important;color:#667085!important;box-shadow:none!important;
    font:inherit!important;font-size:8.7px!important;font-weight:900!important;line-height:1!important;white-space:nowrap!important
  }
  html body .pb761PhotoStatuses>button b,
  html body .pb761AlbumStageStatuses>button b{font-size:8.2px!important;margin-inline-start:3px!important}
  html body .pb761PhotoStatuses>button.active,
  html body .pb761AlbumStageStatuses>button.active{background:#f2f5ff!important;border-color:#b8c8ee!important;color:#315efb!important}
  html body .pb761PhotoStatuses>button:disabled,
  html body .pb761AlbumStageStatuses>button:disabled{opacity:.55!important}

  /* Album stage row is the album-specific workflow — not the generic photo status row. */
  html body .pb761AlbumStageStatuses>button[data-stage="binding"].active{background:#eef4ff!important;color:#244fcf!important;border-color:#9fb5f3!important}

  /* Album/create scrollports are measured again in JS; this fallback avoids old v743/v754 values winning. */
  html body .photographerMain.photographerPrintWorkspace.photographerAlbumCreateWorkspaceMode>.photographerRolePageScrollArea,
  html body .photographerMain.photographerPrintWorkspace.photographerAlbumWorkspaceMode>.photographerRolePageScrollArea,
  html body .photographerMain.photographerPrintWorkspace.simplePrintPilotWorkspaceMode>.photographerRolePageScrollArea{
    top:var(--pb761-content-top,var(--pb743-album-top,var(--pb742-content-top,290px)))!important;
    bottom:var(--pb761-content-bottom,var(--pb743-album-bottom,var(--pb742-nav-bottom,78px)))!important
  }
}


@media (min-width:821px){#pb761-mode-actions,.pb761PhotoStatuses,.pb761AlbumStageStatuses{display:none!important}}


/* v761 final overlap guard: the center content is one fixed viewport below the entire four-button frame. */
@media (max-width:820px){
  html body .photographerMain.photographerPrintWorkspace>.photographerPrintModeHeader{
    margin-bottom:calc(var(--pb761-nav-height,106px) + 14px)!important;
    z-index:900!important;
  }
  html body .photographerMain.photographerPrintWorkspace>.photographerRolePageScrollArea{
    position:fixed!important;
    top:var(--pb761-content-top,300px)!important;
    right:0!important;left:0!important;
    bottom:var(--pb761-content-bottom,78px)!important;
    width:100%!important;height:auto!important;min-height:0!important;
    margin:0!important;padding-top:12px!important;
    box-sizing:border-box!important;overflow-y:auto!important;overflow-x:hidden!important;
    background:#f5f7fb!important;z-index:1!important;
    overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch!important;
  }
  html body .photographerMain.photographerPrintWorkspace>.photographerRolePageScrollArea>.ordersWorkspace,
  html body .photographerMain.photographerPrintWorkspace>.photographerRolePageScrollArea>.photographerAlbumListFlush,
  html body .photographerMain.photographerPrintWorkspace>.photographerRolePageScrollArea>.photographerAlbumCreateFlush,
  html body .photographerMain.photographerPrintWorkspace>.photographerRolePageScrollArea>.simplePrintPilot{
    position:relative!important;z-index:1!important;
  }
}

/* v761: let the real grid content size its frame. Fixed 106px/154px heights can
   clip the second button row when the laboratory row or text metrics change. */
@media (max-width:820px){
  html body .photographerMain.photographerPrintWorkspace>.photographerPrintModeHeader>.photographerHeaderNav.photographerPrintModeNav{
    height:max-content!important;min-height:108px!important;max-height:none!important;
    overflow:visible!important;contain:none!important
  }
  html body .photographerMain.photographerPrintWorkspace>.photographerPrintModeHeader>.photographerHeaderNav.photographerPrintModeNav:has(>.photographerPrintTopLab),
  html body .photographerMain.photographerPrintWorkspace>.photographerPrintModeHeader>.photographerHeaderNav.photographerPrintModeNav.pb761HasVisibleLab{
    grid-template-areas:"lab lab" "photo album" "actions actions"!important;
    grid-template-rows:42px 50px 36px!important;min-height:156px!important;
    height:max-content!important;max-height:none!important;overflow:visible!important;contain:none!important
  }
}

/* v761: photo and album order lists use the same full-height mobile viewport. */
@media (max-width:820px){
  html body .photographerMain.photographerPrintWorkspace:not(.simplePrintPilotWorkspaceMode):not(.photographerAlbumCreateWorkspaceMode)>.photographerRolePageScrollArea{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    padding:4px 0 0!important;
    scrollbar-gutter:auto!important;
  }

  /* The old print rule added 28px above the orders despite the measured header. */
  html body .photographerMain.photographerPrintWorkspace:not(.simplePrintPilotWorkspaceMode):not(.photographerAlbumWorkspaceMode)>.photographerRolePageScrollArea>.ordersWorkspace.liveCustomerOrders{
    flex:1 1 auto!important;
    height:100%!important;
    min-height:0!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    scroll-margin-top:0!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    align-items:stretch!important;
    overflow:hidden!important;
  }

  /* Album orders are nested one level deeper than photo orders. */
  html body .photographerMain.photographerPrintWorkspace.photographerAlbumWorkspaceMode:not(.photographerAlbumCreateWorkspaceMode)>.photographerRolePageScrollArea>.photographerAlbumListFlush{
    flex:1 1 auto!important;
    height:100%!important;
    min-height:0!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    overflow:hidden!important;
  }
  html body .photographerMain.photographerPrintWorkspace.photographerAlbumWorkspaceMode:not(.photographerAlbumCreateWorkspaceMode)>.photographerRolePageScrollArea>.photographerAlbumListFlush>.ordersWorkspace.liveCustomerOrders{
    flex:1 1 auto!important;
    height:100%!important;
    min-height:0!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    scroll-margin-top:0!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    align-items:stretch!important;
    overflow:hidden!important;
  }

  /* Both groups have four equal, matching pills immediately below the actions. */
  html body .photographerMain.photographerPrintWorkspace .ordersWorkspace.liveCustomerOrders>.pb761PhotoStatuses,
  html body .photographerMain.photographerPrintWorkspace .ordersWorkspace.liveCustomerOrders>.pb761AlbumStageStatuses{
    flex:0 0 31px!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:center!important;
    gap:5px!important;
    direction:rtl!important;
    height:31px!important;
    min-height:31px!important;
    max-height:31px!important;
    width:100%!important;
    min-width:0!important;
    margin:0 0 7px!important;
    padding:0 8px!important;
    overflow:visible!important;
  }
  html body .photographerMain.photographerPrintWorkspace .ordersWorkspace.liveCustomerOrders>.pb761PhotoStatuses>button,
  html body .photographerMain.photographerPrintWorkspace .ordersWorkspace.liveCustomerOrders>.pb761AlbumStageStatuses>button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0 2px!important;
    font-size:clamp(7px,2.15vw,8.7px)!important;
    white-space:nowrap!important;
  }
  html body .photographerMain.photographerPrintWorkspace .ordersWorkspace.liveCustomerOrders>.pb761PhotoStatuses>button b,
  html body .photographerMain.photographerPrintWorkspace .ordersWorkspace.liveCustomerOrders>.pb761AlbumStageStatuses>button b{
    margin:0!important;
    font-size:clamp(7px,2vw,8.2px)!important;
  }
  html body .photographerMain.photographerPrintWorkspace .ordersWorkspace.liveCustomerOrders>.pb761AlbumStageStatuses>button[data-stage="binding"].active{
    background:#f2f5ff!important;
    border-color:#b8c8ee!important;
    color:#315efb!important;
  }

  html body .photographerMain.photographerPrintWorkspace:not(.simplePrintPilotWorkspaceMode):not(.photographerAlbumCreateWorkspaceMode) .ordersWorkspace.liveCustomerOrders>.customerOrderGrid.liveOrderGrid{
    flex:1 1 auto!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    width:100%!important;
    margin:0!important;
    padding:4px 8px 16px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-gutter:auto!important;
    overscroll-behavior-y:contain!important;
    align-content:start!important;
  }
}

/* v762: reserve height for tabs in the order list, or one full-width send action
   in the composer. The add action floats over the scroll area near its left edge. */
@media (max-width:820px){
  html body .photographerMain.photographerPrintWorkspace>.photographerPrintModeHeader>.photographerHeaderNav.photographerPrintModeNav{
    grid-template-areas:"photo album"!important;
    grid-template-rows:50px!important;
    height:var(--pb761-nav-height,64px)!important;
    min-height:var(--pb761-nav-height,64px)!important;
    max-height:var(--pb761-nav-height,64px)!important;
    overflow:visible!important;
    contain:none!important;
  }
  html body .photographerMain.photographerPrintWorkspace>.photographerPrintModeHeader>.photographerHeaderNav.photographerPrintModeNav.pb761HasVisibleLab,
  html body .photographerMain.photographerPrintWorkspace>.photographerPrintModeHeader>.photographerHeaderNav.photographerPrintModeNav:has(>.photographerPrintTopLab){
    grid-template-areas:"lab lab" "photo album"!important;
    grid-template-rows:42px 50px!important;
  }
  html body .photographerMain.photographerPrintWorkspace.pb765Composing>.photographerPrintModeHeader>.photographerHeaderNav.photographerPrintModeNav{
    grid-template-areas:"back back" "actions actions"!important;
    grid-template-rows:42px 44px!important;
  }
  html body .photographerMain.photographerPrintWorkspace.pb765Composing>.photographerPrintModeHeader>.photographerHeaderNav.photographerPrintModeNav.pb761HasVisibleLab,
  html body .photographerMain.photographerPrintWorkspace.pb765Composing>.photographerPrintModeHeader>.photographerHeaderNav.photographerPrintModeNav:has(>.photographerPrintTopLab){
    grid-template-areas:"lab lab" "actions actions"!important;
    grid-template-rows:42px 44px!important;
  }
  html body .photographerMain.photographerPrintWorkspace.pb765Composing .photographerPrintModeNav>.photographerPrintPhotoTab,
  html body .photographerMain.photographerPrintWorkspace.pb765Composing .photographerPrintModeNav>.photographerPrintAlbumTab{
    display:none!important;
  }
  html body .photographerMain.photographerPrintWorkspace:not(.pb765Composing) #pb761-mode-actions{
    display:none!important;
  }
  html body .photographerMain.photographerPrintWorkspace.pb765Composing #pb761-mode-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    grid-area:actions!important;
    width:100%!important;
    height:44px!important;
  }
  html body .photographerMain.photographerPrintWorkspace.pb765Composing #pb761-mode-actions>.pb765Choose{
    display:flex!important;width:100%!important;height:44px!important;min-height:44px!important;max-height:44px!important;
    font-size:12px!important;color:#3157c8!important;background:#fff!important;border-color:#cbd8fa!important;
  }
  html body .photographerMain.photographerPrintWorkspace.pb765Composing #pb761-mode-actions>.pb761Send{
    display:flex!important;
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    font-size:13px!important;
    color:#fff!important;
    background:#315efb!important;
    border-color:#315efb!important;
  }
  html body .photographerMain.photographerPrintWorkspace.pb765Composing #pb761-mode-actions>.pb761Send:disabled{
    color:#98a2b3!important;
    background:#eef2f6!important;
    border-color:#d9e0ea!important;
  }
  html body #pb765-back{display:none!important}
  html body .photographerMain.photographerPrintWorkspace.pb765Composing #pb765-back{
    display:flex!important;
    position:absolute!important;
    left:10px!important;
    top:4px!important;
    z-index:4!important;
    align-items:center!important;
    justify-content:center!important;
    width:34px!important;
    height:34px!important;
    padding:0!important;
    border:1px solid #cad6ec!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#3157c8!important;
    font-size:20px!important;
    line-height:1!important;
  }
  html body:has(.photographerMain.photographerPrintWorkspace.pb765Composing) #pb765-add{display:none!important}
  html body #pb765-add{
    position:fixed!important;
    bottom:calc(88px + env(safe-area-inset-bottom)) ;
    left:14px!important;
    z-index:950!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:56px!important;
    height:56px!important;
    padding:0!important;
    border:1px solid rgba(255,255,255,.9)!important;
    border-radius:50%!important;
    background:rgba(49,94,251,.88)!important;
    color:#fff!important;
    box-shadow:0 5px 16px rgba(26,59,142,.25)!important;
    font:400 36px/1 system-ui,sans-serif!important;
    cursor:pointer!important;
    touch-action:manipulation!important;
    backdrop-filter:blur(5px)!important;
  }
  html body #pb765-add:focus-visible,
  html body #pb765-back:focus-visible{outline:3px solid #ffcf53!important;outline-offset:2px!important}
  html body #pb765-add:disabled{background:rgba(120,130,150,.75)!important;cursor:default!important}
  html body .photographerMain.photographerPrintWorkspace:not(.simplePrintPilotWorkspaceMode):not(.photographerAlbumCreateWorkspaceMode) .ordersWorkspace.liveCustomerOrders>.customerOrderGrid.liveOrderGrid{
    padding-bottom:80px!important;
  }
  html body .photographerMain.photographerPrintWorkspace.pb765Composing>.photographerRolePageScrollArea{
    padding-bottom:78px!important;
  }
}
@media (min-width:821px){html body #pb765-back,html body #pb765-add{display:none!important}}

/* v765 final geometry: list has no removed-action ghost row; composer has exactly two actions. */
@media (max-width:820px){
  html body .photographerMain.photographerPrintWorkspace:not(.pb765Composing)>.photographerPrintModeHeader>.photographerHeaderNav.photographerPrintModeNav{
    grid-template-areas:"photo album"!important;grid-template-rows:50px!important;
    height:64px!important;min-height:64px!important;max-height:64px!important;gap:0 6px!important;
  }
  html body .photographerMain.photographerPrintWorkspace:not(.pb765Composing)>.photographerPrintModeHeader>.photographerHeaderNav.photographerPrintModeNav.pb761HasVisibleLab,
  html body .photographerMain.photographerPrintWorkspace:not(.pb765Composing)>.photographerPrintModeHeader>.photographerHeaderNav.photographerPrintModeNav:has(>.photographerPrintTopLab){
    grid-template-areas:"lab lab" "photo album"!important;grid-template-rows:42px 50px!important;
    height:112px!important;min-height:112px!important;max-height:112px!important;gap:6px!important;
  }
  html body .photographerMain.photographerPrintWorkspace:not(.pb765Composing) #pb761-mode-actions{
    display:none!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;
  }
  html body .photographerMain.photographerPrintWorkspace.pb765Composing>.photographerPrintModeHeader>.photographerHeaderNav.photographerPrintModeNav.pb761HasVisibleLab,
  html body .photographerMain.photographerPrintWorkspace.pb765Composing>.photographerPrintModeHeader>.photographerHeaderNav.photographerPrintModeNav:has(>.photographerPrintTopLab){
    grid-template-areas:"lab lab" "actions actions"!important;grid-template-rows:42px 44px!important;
    height:106px!important;min-height:106px!important;max-height:106px!important;gap:6px!important;
  }
  html body .photographerMain.photographerPrintWorkspace.pb765Composing>.photographerRolePageScrollArea{padding-top:0!important;scroll-padding-top:0!important}
}
