.invoice-document-view{flex-direction:column;gap:12px;min-height:0;padding:2px;display:flex;overflow:auto}.invoice-document-view .invoice-view-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.invoice-document-view .invoice-view-info{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.invoice-document-view .invoice-view-bottom{grid-template-columns:minmax(0,1fr) 340px;gap:16px;display:grid}.invoice-document-view .invoice-view-bottom>.sx-card{padding:16px}.invoice-document-view .invoice-items-view{flex-shrink:0;min-width:0}.invoice-document-view .invoice-view-notes{min-height:180px}.invoice-payment-workspace{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex;overflow:auto}.invoice-payment-workspace>.sales-smart-grid{flex:1;min-height:0}.invoice-payment-workspace .sales-smart-scroll{flex:1;height:auto;min-height:0}.invoice-payment-totals{background:var(--muted-bg);flex-wrap:wrap;gap:24px;padding:12px;display:flex}@media (width<=760px){.invoice-document-view .invoice-view-info,.invoice-document-view .invoice-view-bottom{grid-template-columns:1fr}}.invoice-view-summary{flex-direction:column;align-self:stretch;gap:12px;min-width:0;padding:16px;display:flex}.invoice-view-summary-row{justify-content:space-between;align-items:center;gap:12px;font-size:14px;display:flex}.invoice-view-summary-row>span{color:var(--muted);font-weight:700}.invoice-view-summary-row>b{white-space:nowrap}.invoice-view-summary-total{border-top:1px solid var(--border);padding-top:14px;font-size:18px;font-weight:800}.invoice-view-summary-total>span{color:var(--text)}.invoice-view-summary-row>b[data-tone=green]{color:var(--green-fg)}.invoice-view-summary-row>b[data-tone=red]{color:var(--red-fg)}.inline-invoice-edit :is(#purchase-save-submit,#purchase-draft-submit,.invoice-editor-actions){display:none}.invoice-document-view table>thead th{color:#fff;background:#334a62}.invoice-document-view table>tbody tr[aria-selected=true]>td{background:var(--blue-bg)}.invoice-document-view{flex:1;overflow:auto}.invoice-view-date{color:var(--muted);margin-top:4px;font-size:12px}.invoice-document-view .invoice-view-info{gap:12px}.invoice-document-view .invoice-view-info>.sx-card{min-height:112px;padding:12px}.invoice-view-main{flex:1;grid-template-columns:minmax(0,1fr) 280px;align-items:stretch;gap:12px;min-height:340px;display:grid}.invoice-view-main>.invoice-items-view{flex-direction:column;min-height:0;display:flex;overflow:hidden}.invoice-items-heading{border-bottom:1px solid var(--hair);padding:12px;font-weight:800}.invoice-view-main .sales-smart-grid{flex:1;min-height:0}.invoice-view-main .sales-smart-scroll{flex:1;height:auto;min-height:0;max-height:none;overflow:auto}.invoice-view-main table{table-layout:fixed;border-collapse:collapse}.invoice-view-main table :is(th,td){text-align:center;vertical-align:middle;overflow-wrap:anywhere;height:25px;padding:4px;font-size:11px;line-height:1.35}.invoice-view-main table th{white-space:normal}.invoice-view-main .invoice-detail-items th:first-child{width:38px}.invoice-view-main .invoice-detail-items th:nth-child(2){width:17%}.invoice-view-main .invoice-detail-items th:nth-child(9){width:14%}.invoice-view-main .invoice-view-summary{gap:15px;padding:14px}.invoice-view-main .invoice-view-summary-total{margin-top:auto}@media (width<=900px){.invoice-view-main{grid-template-columns:minmax(0,1fr) 230px}.invoice-view-main table :is(th,td){padding:3px;font-size:10px}}@media (width<=700px){.invoice-view-main{grid-template-columns:1fr;min-height:0}.invoice-view-main>.invoice-items-view{min-height:300px}.invoice-view-main .invoice-view-summary-total{margin-top:0}}@media screen{:root body .sx-modal .invoice-view-main table[data-sx-table][data-sx-table][data-sx-fit]>:is(thead,tbody,tfoot)>tr>:is(th,td){min-height:24px;height:24px!important;padding:3px 4px!important;font-size:11px!important;line-height:1.35!important}:root body .sx-modal .invoice-view-main table[data-sx-table][data-sx-table][data-sx-fit] td :is(span,bdi,b,strong,button){font-size:11px!important}:root body .sx-modal .invoice-view-main table[data-sx-table][data-sx-table][data-sx-fit]>tbody>tr>td{height:26px!important;padding-block:3px!important;line-height:18px!important}:root body .sx-modal .invoice-view-main table[data-sx-table][data-sx-table][data-sx-fit]>tbody>tr>td :is(span,bdi,b,strong,div){line-height:18px!important}}
