/* PhotoBridge v896 — authoritative lab finance/statement geometry reset. */
html body #root .labRolePageScrollArea{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important;box-sizing:border-box!important}
html body #root .labRolePageScrollArea>.financeWorkspace.accountingWorkspace{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;margin-left:0!important;margin-right:0!important;overflow-x:hidden!important}
html body #root .labRolePageScrollArea .financeWorkspace .customerStatementWorkspace,
html body #root .labRolePageScrollArea .financeWorkspace .statementToolbar,
html body #root .labRolePageScrollArea .financeWorkspace .statementPaper,
html body #root .labRolePageScrollArea .financeWorkspace .statementHead,
html body #root .labRolePageScrollArea .financeWorkspace .statementSummary,
html body #root .labRolePageScrollArea .financeWorkspace .statementTableWrap{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
html body #root .labRolePageScrollArea .financeWorkspace .statementHead{direction:rtl!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important;gap:12px!important}
html body #root .labRolePageScrollArea .financeWorkspace .statementHead>div:first-child{text-align:right!important;min-width:0!important}
html body #root .labRolePageScrollArea .financeWorkspace .statementHead>div:last-child{text-align:left!important;min-width:0!important}
@media(max-width:820px){
 html body #root .labRolePageScrollArea>.financeWorkspace.accountingWorkspace{padding:6px 7px calc(92px + env(safe-area-inset-bottom))!important}
 html body #root .labRolePageScrollArea .financeWorkspace .customerStatementWorkspace{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;overflow:hidden!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementToolbar{padding:8px!important;margin:0!important;overflow:visible!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementFilters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;width:100%!important;min-width:0!important;align-items:end!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementCustomerPicker{grid-column:1/-1!important;width:100%!important;min-width:0!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementDateLabel{width:100%!important;min-width:0!important;margin:0!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementFilters>.primary{grid-column:1/-1!important;width:100%!important;min-height:38px!important;height:38px!important;margin:0!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementActions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;width:100%!important;margin:7px 0 0!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementActions>button{min-height:35px!important;height:35px!important;padding:5px 7px!important;font-size:9px!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementPaper{padding:10px!important;margin:0!important;overflow:hidden!important;border-radius:12px!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementHead{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important;gap:8px!important;padding-bottom:8px!important;margin-bottom:8px!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementHead h3{font-size:16px!important;line-height:1.3!important;margin:1px 0 0!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementHead span{font-size:10px!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementHead b{font-size:11px!important;line-height:1.45!important;overflow-wrap:anywhere!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementHead small{font-size:8px!important;line-height:1.45!important;overflow-wrap:anywhere!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementSummary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:0 0 8px!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementSummary>div{min-width:0!important;padding:7px 8px!important;border-radius:9px!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementSummary small{font-size:7.8px!important;margin-bottom:2px!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementSummary b{font-size:11px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementTableWrap{display:block!important;overflow:hidden!important;border-radius:10px!important}
 html body #root .labRolePageScrollArea .financeWorkspace table.statementTable{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;border:0!important}
 html body #root .labRolePageScrollArea .financeWorkspace table.statementTable thead{display:none!important}
 html body #root .labRolePageScrollArea .financeWorkspace table.statementTable tbody{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;width:100%!important;min-width:0!important}
 html body #root .labRolePageScrollArea .financeWorkspace table.statementTable tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:3px 8px!important;width:100%!important;min-width:0!important;padding:7px 8px!important;border:0!important;border-bottom:1px solid #e4e7ec!important;border-radius:0!important;background:#fff!important;box-sizing:border-box!important}
 html body #root .labRolePageScrollArea .financeWorkspace table.statementTable tr:last-child{border-bottom:0!important}
 html body #root .labRolePageScrollArea .financeWorkspace table.statementTable td{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:6px!important;width:auto!important;min-width:0!important;padding:3px 0!important;border:0!important;font-size:8.8px!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html body #root .labRolePageScrollArea .financeWorkspace table.statementTable td:nth-child(3),html body #root .labRolePageScrollArea .financeWorkspace table.statementTable td:nth-child(7){grid-column:1/-1!important;min-width:0!important}
 html body #root .labRolePageScrollArea .financeWorkspace table.statementTable td::before{flex:0 0 auto;color:#667085;font-size:7.4px!important;font-weight:850}
 html body #root .labRolePageScrollArea .financeWorkspace table.statementTable td:nth-child(1)::before{content:"ردیف"}
 html body #root .labRolePageScrollArea .financeWorkspace table.statementTable td:nth-child(2)::before{content:"تاریخ"}
 html body #root .labRolePageScrollArea .financeWorkspace table.statementTable td:nth-child(3)::before{content:"شرح"}
 html body #root .labRolePageScrollArea .financeWorkspace table.statementTable td:nth-child(4)::before{content:"شماره سند"}
 html body #root .labRolePageScrollArea .financeWorkspace table.statementTable td:nth-child(5)::before{content:"بدهکار"}
 html body #root .labRolePageScrollArea .financeWorkspace table.statementTable td:nth-child(6)::before{content:"بستانکار"}
 html body #root .labRolePageScrollArea .financeWorkspace table.statementTable td:nth-child(7)::before{content:"باقیمانده"}
}
@media(max-width:390px){
 html body #root .labRolePageScrollArea>.financeWorkspace.accountingWorkspace{padding-left:5px!important;padding-right:5px!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementToolbar{padding:7px!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementPaper{padding:8px!important}
 html body #root .labRolePageScrollArea .financeWorkspace .statementHead{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)!important}
}
