/* PhotoBridge R1185 — restore Windows LAB account-statement layout.
   Scope deliberately excludes mobile and other finance tabs. Data/API unchanged.
   v891 moved photographer search inside the select; r1177 reopened the obsolete input. */
@media (min-width:821px) and (hover:hover) and (pointer:fine){
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  gap:10px!important;direction:rtl!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace>.statementToolbar{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  align-items:stretch!important;gap:9px!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  box-sizing:border-box!important;margin:0!important;padding:12px 14px!important;
  border-radius:13px!important;overflow:visible!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementFilters{
  display:grid!important;
  grid-template-columns:minmax(250px,1.5fr) minmax(155px,.8fr) minmax(155px,.8fr) minmax(105px,auto)!important;
  gap:10px!important;align-items:end!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  margin:0!important;padding:0!important;direction:rtl!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementFilters>.statementCustomerPicker,
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementFilters>.statementDateLabel{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  align-content:end!important;gap:6px!important;min-width:0!important;max-width:100%!important;
  width:100%!important;margin:0!important;padding:0!important;
  font:850 11px/1.6 Vazirmatn,Tahoma,Arial,sans-serif!important;
  color:#485c7c!important;direction:rtl!important;text-align:right!important;
  white-space:normal!important;
 }
 /* The v891 photographer combobox has its own search; this old extra field
    was forcibly redisplayed by r1177 on Windows. */
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace
 .statementCustomerPicker>.statementCustomerSearchWrap{
  display:none!important;width:0!important;max-width:0!important;
  min-width:0!important;visibility:hidden!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace
 .statementCustomerPicker>.pb891SearchableCustomerSelect{
  order:0!important;display:block!important;flex:none!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  margin:0!important;padding:0!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace
 .statementCustomerPicker .pbSelectSearchShell{
  width:100%!important;min-width:0!important;max-width:100%!important;
  min-height:40px!important;height:40px!important;
  box-sizing:border-box!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace
 .statementCustomerPicker .pbSelectSearchInput,
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace
 .statementCustomerPicker .pbSelectSearchArrow{
  min-height:39px!important;height:39px!important;
  box-sizing:border-box!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace
 .statementDateLabel>.statementDateControl{
  display:flex!important;align-items:center!important;gap:5px!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  height:40px!important;box-sizing:border-box!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace
 .statementDateControl>.persianDateField{
  flex:1 1 auto!important;min-width:0!important;width:100%!important;max-width:100%!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace
 .statementDateControl .persianDateTrigger{
  width:100%!important;min-width:0!important;max-width:100%!important;
  height:40px!important;min-height:40px!important;
  padding:5px 8px!important;font:750 11px Vazirmatn,Tahoma,Arial,sans-serif!important;
  box-sizing:border-box!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace
 .statementDateControl>.dateClearBtn{
  flex:0 0 30px!important;width:30px!important;min-width:30px!important;
  height:33px!important;min-height:33px!important;padding:2px!important;
  font-size:10px!important;box-sizing:border-box!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace
 .statementFilters>.primary{
  align-self:end!important;min-width:0!important;width:100%!important;
  height:40px!important;min-height:40px!important;
  padding:6px 10px!important;white-space:nowrap!important;
  font:850 11px Vazirmatn,Tahoma,Arial,sans-serif!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementActions{
  display:flex!important;flex-flow:row wrap!important;align-items:center!important;
  justify-content:flex-start!important;gap:7px!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  margin:0!important;padding:0!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementActions>button{
  flex:0 0 auto!important;width:auto!important;min-width:90px!important;
  min-height:36px!important;height:36px!important;padding:6px 12px!important;
  font:800 11px Vazirmatn,Tahoma,Arial,sans-serif!important;
  white-space:nowrap!important;box-sizing:border-box!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace>.statementPaper{
  min-width:0!important;max-width:100%!important;width:100%!important;
  margin:0!important;box-sizing:border-box!important;
  overflow:hidden!important;padding:15px!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementHead{
  display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;
  align-items:flex-start!important;gap:10px!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  position:static!important;box-sizing:border-box!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementHead>div{
  min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementHead>div:last-child{
  text-align:left!important;overflow-wrap:anywhere!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementSummary{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  gap:8px!important;box-sizing:border-box!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementSummary>div{
  min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
  overflow-wrap:anywhere!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementTableWrap{
  display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
  overflow-x:auto!important;overflow-y:auto!important;
  overscroll-behavior-x:contain!important;box-sizing:border-box!important;
  scrollbar-width:thin!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace table.statementTable{
  display:table!important;width:100%!important;min-width:820px!important;max-width:none!important;
  border-collapse:collapse!important;table-layout:auto!important;
  direction:rtl!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementTable th,
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementTable td{
  padding:8px 10px!important;font-size:11px!important;
  box-sizing:border-box!important;line-height:1.65!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementTable th:nth-child(3),
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementTable td:nth-child(3){
  min-width:205px!important;text-align:right!important;white-space:normal!important;
  overflow-wrap:anywhere!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .pb1177LedgerDetails{
  width:100%!important;min-width:0!important;max-width:100%!important;
  overflow:hidden!important;box-sizing:border-box!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .pb1177LedgerInvoice{
  width:100%!important;min-width:0!important;max-width:100%!important;
  overflow-x:auto!important;box-sizing:border-box!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .pb1177LedgerInvoice>header{
  flex-wrap:wrap!important;max-width:100%!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .pb1177LedgerInvoice table{
  min-width:580px!important;width:100%!important;
 }
}
@media (min-width:821px) and (max-width:1230px) and (hover:hover) and (pointer:fine){
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementFilters{
  grid-template-columns:minmax(0,1.5fr) minmax(130px,1fr) minmax(130px,1fr)!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementFilters>.primary{
  grid-column:1/-1!important;justify-self:start!important;width:auto!important;
  min-width:130px!important;padding-inline:18px!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementSummary{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media (min-width:821px) and (max-width:970px) and (hover:hover) and (pointer:fine){
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace .statementFilters{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace
 .statementFilters>.statementCustomerPicker{grid-column:1/-1!important;}
 html body #root .labRoleWorkspace .financeWorkspace .customerStatementWorkspace
 .statementFilters>.primary{grid-column:1/-1!important}
}
