@media screen {
#salesInvoiceModal .sales-modal-header>div,#salesInvoiceModal .invoice-steps{display:none!important}
#salesInvoiceModal .sales-modal-header{min-height:0!important;padding:8px 18px!important;background:transparent!important;border:0!important;box-shadow:none!important;justify-content:flex-end!important}
#salesInvoiceModal .sales-modal-header #salesInvoiceModalClose{margin:0!important}
#salesCreateView>.panel-card>.section-title-row>div{display:none!important}
#salesCreateView>.panel-card>.section-title-row{min-height:0!important;padding:0!important;margin:0 0 12px!important;background:transparent!important;border:0!important;box-shadow:none!important}
#salesCreateView #salesInvoiceAssistant .sales-assistant-hero{display:none!important}
#salesCreateView .purchase-meta{align-items:start!important}
#salesCreateView .party-invoice-policy p:empty{display:none}
#salesCreateView .party-invoice-policy small{font-size:11px;line-height:1.4}
}
@media screen{#salesInvoiceModal.sales-invoice-modal .modal-card.sales-invoice-card>.modal-header.sales-modal-header{display:none!important}}
@media screen and (min-width:1100px){
#salesInvoiceModal #salesCreateView .purchase-meta{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px 12px!important;align-items:start!important}
#salesInvoiceModal #salesCreateView .purchase-meta>label,#salesInvoiceModal #salesCreateView .purchase-meta>.party-invoice-policy{grid-column:auto!important;min-width:0!important;margin:0!important}
#salesInvoiceModal #salesCreateView .purchase-meta label{gap:4px!important;font-size:12px!important}
#salesInvoiceModal #salesCreateView .purchase-meta input,#salesInvoiceModal #salesCreateView .purchase-meta select{height:32px!important;min-height:32px!important;padding:4px 10px!important;font-size:12px!important}
#salesInvoiceModal #salesCreateView .party-invoice-policy small{display:none!important}
#salesInvoiceModal #salesCreateView .party-invoice-policy p{margin:4px 0 0!important;font-size:11px!important}
}
@media screen{
#salesInvoiceModal #salesCreateView .purchase-meta .sales-meta-label{display:block!important;text-align:center!important;align-self:center!important;font-size:12px!important;font-weight:650!important;color:#49324c;line-height:1.6;padding:0 8px;margin:0 0 3px!important;white-space:nowrap}
#salesInvoiceModal #salesCreateView .purchase-meta .sales-meta-label::before{content:'(' ;margin-inline-end:3px;color:#94788e}
#salesInvoiceModal #salesCreateView .purchase-meta .sales-meta-label::after{content:')';margin-inline-start:3px;color:#94788e}
}
@media screen{
#salesInvoiceModal #salesPricingSummary{padding:10px 12px!important;margin-top:12px!important;border-radius:10px!important}
#salesInvoiceModal #salesPricingSummary .sales-discount-controls{display:grid!important;grid-template-columns:120px minmax(160px,230px) minmax(120px,180px)!important;justify-content:start!important;gap:10px 16px!important;align-items:end!important;padding:0 0 10px!important;margin:0!important}
#salesInvoiceModal #salesPricingSummary .sales-discount-controls>div>strong,#salesInvoiceModal #salesDiscountHint.discount-explanation{display:none!important}
#salesInvoiceModal #salesPricingSummary .sales-discount-controls>div{align-self:center!important}
#salesInvoiceModal #salesPricingSummary .sales-discount-controls .eyebrow{background:transparent!important;border:0!important;padding:0!important;font-size:12px!important;font-weight:650!important;color:#49324c}
#salesInvoiceModal #salesPricingSummary label{gap:4px!important;margin:0!important;font-size:12px!important}
#salesInvoiceModal #salesPricingSummary label>span{display:block;text-align:center;font-size:12px!important;font-weight:600;color:#49324c}
#salesInvoiceModal #salesPricingSummary select,#salesInvoiceModal #salesPricingSummary input{height:32px!important;min-height:32px!important;padding:4px 10px!important;font-size:12px!important}
#salesInvoiceModal #salesPricingSummary .sales-total-grid{gap:8px!important;padding-top:10px!important;margin-top:0!important}
#salesInvoiceModal #salesPricingSummary .sales-total-grid article{min-height:0!important;padding:8px 10px!important;border-radius:8px!important}
#salesInvoiceModal #salesPricingSummary .sales-total-grid article>span{font-size:11px!important}
#salesInvoiceModal #salesPricingSummary .sales-total-grid article>b{font-size:13px!important;margin-top:4px!important}
#salesInvoiceModal #salesDiscountHint{grid-column:1/-1;margin:0!important}
@media(max-width:650px){#salesInvoiceModal #salesPricingSummary .sales-discount-controls{grid-template-columns:1fr 1fr!important}#salesInvoiceModal #salesPricingSummary .sales-discount-controls>div{grid-column:1/-1!important}}
}
[data-sales-serial]{display:block;margin-top:6px;font-size:12px;color:#624b62;font-weight:600;direction:rtl}#salesInvoice[readonly]{background:#f4f1f6;color:#49324c;cursor:default;direction:ltr;text-align:center}
.sales-ledger th[data-sales-serial-column],.sales-ledger td[data-sales-serial-cell]{width:140px!important;min-width:140px;white-space:nowrap;direction:ltr;text-align:center;font-variant-numeric:tabular-nums}.sales-ledger:has([data-sales-serial-column]) th:first-child{width:70px!important}.sales-ledger:has([data-sales-serial-column]) th:nth-child(3){width:28%!important}
.sales-ledger:has([data-sales-serial-column]) th:nth-child(3){width:23%!important;max-width:300px}.sales-ledger:has([data-sales-serial-column]) td:nth-child(3),.sales-ledger:has([data-sales-serial-column]) td:nth-child(3)>strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;line-height:1.6}
.sales-ledger:has([data-sales-serial-column]) th,.sales-ledger:has([data-sales-serial-column]) td{text-align:center!important;vertical-align:middle!important}.sales-ledger:has([data-sales-serial-column]) td>strong,.sales-ledger:has([data-sales-serial-column]) .sales-document-link{text-align:center!important}
.sales-ledger:has([data-sales-serial-column]) thead th{text-align:center!important;font-weight:650!important;letter-spacing:0!important}.sales-ledger:has([data-sales-serial-column]) thead th::before{content:'(';margin-inline-end:3px;opacity:.85}.sales-ledger:has([data-sales-serial-column]) thead th::after{content:')';margin-inline-start:3px;opacity:.85}
[data-sales-bulk]{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 0;font-size:12px}[data-sales-bulk] span{font-weight:650;margin-inline-end:auto}[data-sales-bulk] button{font-size:12px;padding:7px 12px}.sales-ledger [data-sales-select-heading],.sales-ledger [data-sales-select-cell]{width:70px!important;min-width:70px;text-align:center!important}.sales-ledger input[type=checkbox]{width:16px!important;height:16px!important;min-height:0!important;accent-color:#704b68;vertical-align:middle}.sales-ledger [data-sales-select-heading]::before,.sales-ledger [data-sales-select-heading]::after{content:none!important}#salesBulkPrintPreview .bulk-invoice{padding:16px;margin:12px 0;border:1px solid #e0e4eb;border-radius:10px}#salesBulkPrintPreview table{width:100%;border-collapse:collapse}#salesBulkPrintPreview th,#salesBulkPrintPreview td{padding:8px;border:1px solid #e0e4eb;text-align:center}
.sales-ledger [data-sales-select-heading] label{display:inline-flex!important;align-items:center;gap:4px;margin:0!important;padding:0!important;color:inherit;font-size:12px;white-space:nowrap}.sales-ledger input[type=checkbox]{padding:0!important;margin:0!important;box-shadow:none!important;border-radius:3px!important}.sales-ledger [data-sales-select-cell]{padding:8px!important}
.sales-ledger.sales-ledger-with-tax{table-layout:fixed;min-width:1200px}.sales-ledger.sales-ledger-with-tax th,.sales-ledger.sales-ledger-with-tax td{padding:9px 5px!important;font-size:12px}.sales-ledger.sales-ledger-with-tax th{white-space:normal!important;line-height:1.5}.sales-ledger.sales-ledger-with-tax th:nth-child(1){width:4%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(2){width:11%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(3){width:18%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(4),.sales-ledger.sales-ledger-with-tax th:nth-child(5){width:9%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(6){width:5%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(7){width:8%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(8){width:6%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(9){width:7%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(10),.sales-ledger.sales-ledger-with-tax th:nth-child(11){width:6%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(12){width:7%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(13){width:4%!important;min-width:48px}.sales-ledger-with-tax .sales-state{white-space:normal!important;line-height:1.5;padding:4px 6px}.sales-ledger-with-tax td:nth-child(4),.sales-ledger-with-tax td:nth-child(5){white-space:nowrap;direction:ltr}
.sales-ledger.sales-ledger-with-tax th{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}.sales-ledger.sales-ledger-with-tax th:nth-child(1){width:5%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(2){width:10%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(10){width:7%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(7){width:7%!important}
.sales-ledger.sales-ledger-with-tax th:nth-child(7){width:8%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(3){width:17%!important}.sales-ledger.sales-ledger-with-tax th{text-overflow:clip!important}
#salesPage .sales-modal-header:has(#salesWorkspaceTitle){justify-content:center!important;text-align:center!important}#salesPage .sales-modal-header:has(#salesWorkspaceTitle)>div:first-child{width:100%;text-align:center!important}#salesWorkspaceTitle,#salesWorkspaceSubtitle{text-align:center!important}#salesPage .section-title-row:has(#printReportButton){justify-content:center!important}#salesPage .section-title-row:has(#printReportButton)>div{flex:0!important}#salesPage #printReportButton{margin-inline:auto!important}.sales-invoice-filters>[data-sales-filter-label]{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0}.sales-invoice-filters>[data-sales-filter-label]>span,.sales-ledger-extra-filters label>span{display:block;text-align:center!important;font-size:12px;font-weight:600;color:#58657b}.sales-invoice-filters input,.sales-invoice-filters select{text-align:center!important;text-align-last:center!important}.sales-invoice-filters input::placeholder{text-align:center!important}.sales-invoice-filters input[type=date]::-webkit-datetime-edit{text-align:center}
#salesPage .report-actions:has(#printReportButton){justify-content:center!important;width:100%;display:flex!important}.sales-invoice-filters{align-items:end!important}.sales-invoice-filters>.sales-ledger-extra-filters{grid-column:1/-1!important;grid-row:2!important}.sales-invoice-filters>[data-sales-filter-label]{grid-row:1!important}
.report-toolbar:has(#printReportButton) .report-actions{display:flex!important;justify-content:center!important;width:100%}.report-toolbar:has(#printReportButton){justify-content:center!important}.sales-invoice-filters>.sales-ledger-extra-filters{width:100%!important}
.sales-ledger.sales-ledger-with-tax th:nth-child(1){width:4%!important;min-width:48px}.sales-ledger.sales-ledger-with-tax th:nth-child(2){width:5%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(3){width:10%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(4){width:17%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(5),.sales-ledger.sales-ledger-with-tax th:nth-child(6){width:9%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(7){width:5%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(8){width:8%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(9){width:6%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(10),.sales-ledger.sales-ledger-with-tax th:nth-child(11){width:7%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(12){width:6%!important}.sales-ledger.sales-ledger-with-tax th:nth-child(13){width:7%!important}.sales-ledger.sales-ledger-with-tax td:nth-child(3){white-space:nowrap!important;direction:ltr}.sales-ledger.sales-ledger-with-tax td:nth-child(4),.sales-ledger.sales-ledger-with-tax td:nth-child(4) strong{white-space:normal!important;direction:rtl;overflow-wrap:anywhere;line-height:1.6}.sales-ledger.sales-ledger-with-tax td:nth-child(5),.sales-ledger.sales-ledger-with-tax td:nth-child(6){white-space:nowrap;direction:ltr}.sales-ledger.sales-ledger-with-tax [data-sales-select-cell]{width:auto!important;min-width:0}
@media(min-width:1100px){.sales-invoice-filters{grid-template-columns:minmax(180px,1.8fr) minmax(110px,.9fr) minmax(100px,.8fr) minmax(130px,1fr) minmax(130px,1fr) minmax(150px,1.2fr) 88px!important;gap:8px!important;padding:10px!important;align-items:end!important}.sales-invoice-filters>.sales-ledger-extra-filters{display:contents!important}.sales-invoice-filters>[data-sales-filter-label]{grid-row:1!important;grid-column:auto!important}.sales-invoice-filters>.sales-ledger-extra-filters>label{grid-row:1!important;min-width:0;gap:5px}.sales-invoice-filters>.sales-ledger-extra-filters>button{grid-row:1!important;width:88px!important;margin:0!important}.sales-invoice-filters input,.sales-invoice-filters select,.sales-invoice-filters button{height:32px!important;min-height:32px!important;padding:4px 7px!important;font-size:12px!important}.sales-invoice-filters label>span{font-size:11px!important;line-height:1.4}.sales-invoice-filters>[data-sales-filter-label]{gap:5px!important}}
body:has(.sales-invoice-filters) #printReportButton{display:none!important}body:has(.sales-invoice-filters) .report-toolbar:has(#printReportButton){display:none!important}
[data-sales-bulk] #newSalesButton{width:auto!important;min-width:0!important;flex:0 0 auto!important;padding:7px 12px!important;font-size:12px!important;border-radius:9px!important;margin:0!important;height:34px!important;min-height:34px!important}
body:has(.sales-ledger) [data-commerce-register-print]{display:none!important}
.sales-filter-meta>span{display:none!important}.sales-filter-meta:not(:has(button)){display:none!important}
[data-sales-bulk] .sales-ledger-summary{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px!important;padding:0!important;margin:0!important;border:0!important;background:none!important;font-size:11px!important;flex:0 1 auto}[data-sales-bulk] .sales-ledger-summary>span{margin:0!important;font-weight:400;font-size:11px!important;white-space:nowrap}[data-sales-bulk] .sales-ledger-summary b{margin-inline-start:4px;font-size:12px!important}[data-sales-bulk]>span{margin-inline-end:auto!important}
[data-sales-bulk]{background:#f7f8fa;border:1px solid #e1e6ef;border-radius:12px;padding:10px!important;margin:10px 0;gap:8px!important;min-height:52px;box-sizing:border-box}[data-sales-bulk]>span{font-size:11px;color:#58657b;font-weight:600}[data-sales-bulk] button{height:32px!important;min-height:32px!important;border-radius:10px!important;padding:5px 10px!important;font-size:12px!important}[data-sales-bulk] #newSalesButton{height:32px!important;min-height:32px!important;border-radius:10px!important;padding:5px 10px!important}[data-sales-bulk] .sales-ledger-summary{gap:8px!important}[data-sales-bulk] .sales-ledger-summary>span{display:inline-flex;align-items:center;gap:4px;color:#64748b}[data-sales-bulk] .sales-ledger-summary b{color:#172033;margin:0;font-weight:650}
@media(min-width:1100px){[data-sales-bulk]{display:grid!important;grid-template-columns:72px minmax(0,1fr) auto auto auto auto;gap:12px!important;align-items:center}[data-sales-bulk]>span{margin:0!important;white-space:nowrap;text-align:center}[data-sales-bulk] .sales-ledger-summary{width:100%;min-width:0;justify-content:space-around!important;flex-wrap:nowrap!important;gap:14px!important}[data-sales-bulk] .sales-ledger-summary>span{gap:6px!important}[data-sales-bulk] button{white-space:nowrap;margin:0!important}}
