/* Sales only: standard content gutters, compact list, adaptive horizontal record cards. */
@media screen {
html[data-qp-workspace="true"][data-theme] body .bf10-sales{--bf-page-gutter:24px;container-name:invoice-list;container-type:inline-size;box-sizing:border-box!important;width:100%;min-width:0;padding:18px var(--bf-page-gutter) 28px!important;gap:16px!important;}
html[data-qp-workspace="true"][data-theme] body .qp-app-shell .bf10-sales.bf7-sales.bf8-sales{padding:18px var(--bf-page-gutter) 28px!important;box-sizing:border-box!important;width:100%;min-width:0;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .si-header{padding:0 2px 6px!important;min-height:64px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf7-filter-bar{border-radius:18px!important;padding:12px!important;box-shadow:var(--bf-control-shadow)!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf7-records{border-radius:20px!important;box-shadow:0 4px 16px rgb(var(--ui-primary-rgb)/5%)!important;background:var(--ui-surface)!important;min-width:0;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-list-toolbar{display:flex!important;flex-flow:row wrap!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:12px 16px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-list-title{display:block!important;flex:0 1 auto;min-width:0;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-list-title h2{display:flex!important;align-items:center;gap:7px;font-size:13px!important;margin:0!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-list-title h2>span{font-size:10px;color:var(--ui-primary);background:var(--ui-primary-soft);padding:2px 8px;border-radius:7px;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-list-title p{display:none!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-list-tools{display:flex!important;align-items:center!important;justify-content:flex-end;width:auto!important;flex:0 1 auto!important;gap:8px!important;min-width:0;flex-wrap:wrap;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-list-tools>button{height:36px!important;min-height:36px!important;padding:7px 10px!important;min-width:0;font-size:10px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-reset{display:inline-flex;align-items:center;gap:6px;color:var(--ui-muted);margin:0!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf8-card-sort{margin:0!important;flex:none!important;min-width:0;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf8-card-sort{display:flex!important;align-items:center!important;gap:7px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf8-card-sort>span{display:inline!important;white-space:nowrap;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf8-card-sort>.bf-select{width:160px!important;flex:none!important;min-width:0;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf8-card-sort .qp-v12-select-trigger{--bf-control-height:36px;height:36px!important;min-height:36px!important;max-height:36px!important;font-size:11px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf8-card-sort>button{width:36px!important;height:36px!important;min-height:36px!important;flex:none;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf9-status-tabs{padding:7px 9px!important;margin:0 0 12px!important;border-inline:0!important;border-radius:0!important;box-shadow:none;background:var(--ui-surface-alt)!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf9-status-tabs .si-status-tab{min-height:36px!important;font-size:10px!important;padding:7px 10px!important;gap:6px;border-radius:10px;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf7-table-viewport{padding:0 12px 4px!important;max-width:100%;min-width:0;overflow-x:auto!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf7-table{border-spacing:0!important;min-width:1280px;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf7-table th{background:var(--ui-surface-alt)!important;color:var(--ui-muted)!important;font-size:11px!important;padding:10px 8px!important;border-color:var(--ui-border)!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf7-table .bf7-record>td{padding:10px 8px!important;min-height:56px;border-color:color-mix(in srgb,var(--ui-border) 76%,transparent)!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf7-record .si-person strong{font-size:12px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf7-record .si-money{font-variant-numeric:tabular-nums;font-size:12px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf7-record:is(:hover,:focus-within,.is-selected)>td{background:var(--ui-primary-soft)!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf7-record .bf7-row-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:6px!important;flex-wrap:nowrap;min-width:0;max-width:100%;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf7-record .bf7-icon-link{width:28px!important;min-width:28px!important;height:30px!important;min-height:30px!important;font-size:12px!important;border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important;color:var(--ui-primary)!important;border-radius:9px!important;box-shadow:var(--bf-control-shadow)!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf7-row-actions .qp-grid-actions__trigger{width:28px!important;min-width:28px!important;height:30px!important;min-height:30px!important;border-radius:9px!important;padding:4px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;gap:16px!important;padding:14px 16px!important;border-top:1px solid var(--ui-border)!important;background:var(--ui-surface)!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination .si-pages{grid-column:2;grid-row:1;justify-self:center;margin:0!important;order:0!important;display:flex;align-items:center;justify-content:center;gap:5px;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination .si-page-size{grid-column:3;grid-row:1;justify-self:end;order:0!important;display:flex;align-items:center;gap:9px;min-width:0;width:auto;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination .si-range{grid-column:1;grid-row:1;justify-self:start;order:0!important;min-width:0;width:auto!important;font-size:11px;line-height:1.9;color:var(--ui-muted);}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination .si-page-size .bf-select{width:72px!important;min-width:72px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination .qp-v12-select-trigger{--bf-control-height:36px;height:36px!important;min-height:36px!important;max-height:36px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination .si-pages button{width:33px!important;height:34px!important;min-width:0;flex:none;border-radius:10px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-table-viewport{overflow:visible!important;padding:0 12px 12px!important;contain:inline-size;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-table{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:0!important;border:0!important;background:transparent!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-table>thead{display:none!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-table>tbody{display:flex!important;flex-direction:column!important;gap:12px!important;width:100%!important;min-width:0;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record{display:grid!important;grid-template-columns:22px minmax(98px,.85fr) minmax(170px,1.4fr) minmax(105px,.95fr) repeat(3,minmax(108px,.95fr)) 138px 102px minmax(88px,.8fr) 136px!important;grid-template-rows:auto auto!important;grid-template-areas:"select identity customer subject total received remaining status due warehouse actions" "select date customer subject total received remaining status due warehouse actions"!important;align-items:stretch!important;gap:0!important;padding:14px 10px!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:94px!important;border:1px solid var(--ui-border)!important;border-radius:18px!important;background:var(--ui-surface)!important;box-shadow:var(--bf-control-shadow)!important;overflow:visible;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record:nth-child(even){background:color-mix(in srgb,var(--ui-surface-alt) 30%,var(--ui-surface))!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record:is(:hover,:focus-visible,.is-selected){background:var(--ui-surface)!important;border-color:var(--ui-primary)!important;box-shadow:0 0 0 1px rgb(var(--ui-primary-rgb)/8%),0 6px 18px rgb(var(--ui-primary-rgb)/10%)!important;transform:none!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;grid-column:auto!important;grid-row:auto!important;position:static!important;inset:auto!important;width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;padding:2px 8px!important;border:0!important;border-inline-end:1px solid var(--ui-border)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important;text-overflow:ellipsis;white-space:normal!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=select]{grid-area:select!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=identity]{grid-area:identity!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=date]{grid-area:date!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=customer]{grid-area:customer!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=subject]{grid-area:subject!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=total]{grid-area:total!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=received]{grid-area:received!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=remaining]{grid-area:remaining!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=status]{grid-area:status!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=due]{grid-area:due!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=warehouse]{grid-area:warehouse!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=actions]{grid-area:actions!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=index]{display:none!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=select]{align-items:center!important;padding:0!important;border:0!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=identity]{justify-content:flex-end!important;border:0!important;padding-bottom:3px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=date]{flex-direction:row!important;align-items:flex-start!important;justify-content:flex-start!important;gap:6px!important;flex-wrap:wrap!important;border:0!important;padding-top:0!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=actions]{align-items:flex-end!important;justify-content:center!important;border:0!important;padding:0 0 0 3px!important;overflow:visible!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=status]{display:flex!important;flex-direction:column!important;gap:6px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record td[data-label]::before{font-size:10px!important;line-height:1.7;color:var(--ui-muted);}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record td[data-col=date]::before{display:none!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf8-document-status,html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf8-collection-status{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;width:100%;min-width:0;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf8-card-label{font-size:9px!important;white-space:nowrap;color:var(--ui-muted);}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] :is(.bf7-state,.bf7-payment){font-size:10px!important;padding:3px 6px!important;line-height:1.7!important;margin:0!important;white-space:nowrap;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .si-person{width:100%;min-width:0;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf6-person-phone{font-size:10px!important;line-height:1.7;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .si-invoice-number{font-size:12px!important;line-height:1.7;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record .si-money :is(strong,span){font-size:12px!important;line-height:1.8;white-space:normal;overflow-wrap:anywhere;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf8-money-unit{font-size:9px!important;margin-inline-start:4px;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .si-date-value{font-size:10px!important;line-height:1.8;white-space:nowrap;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-warehouse{font-size:10px!important;line-height:1.8;white-space:nowrap;max-width:100%;padding:4px 7px;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td>small{font-size:9px!important;line-height:1.6;margin:0!important;}
@container invoice-list (max-width:1399px){
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record{grid-template-columns:22px minmax(100px,.9fr) minmax(170px,1.5fr) repeat(3,minmax(100px,1fr)) 140px!important;grid-template-areas:"select identity customer total received remaining actions" "select date customer total received remaining actions" "select subject subject status status due warehouse"!important;row-gap:11px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td:is([data-col=subject],[data-col=status],[data-col=due],[data-col=warehouse]){border:0!important;padding-top:8px!important;border-top:1px solid var(--ui-border)!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=status]{flex-direction:row!important;flex-wrap:wrap;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf8-document-status,html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf8-collection-status{width:auto;gap:5px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf8-card-label{display:none!important;}
}
@container invoice-list (max-width:1099px){
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record{grid-template-columns:22px minmax(105px,1fr) minmax(150px,1.3fr) minmax(98px,1fr) minmax(98px,1fr) 138px!important;grid-template-areas:"select identity customer customer subject actions" "select date customer customer subject actions" "select total received remaining status status" "select due due warehouse warehouse warehouse"!important;row-gap:12px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=subject]{border:0!important;padding-top:0!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=status]{justify-content:flex-start!important;border:0!important;padding-top:0!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=due]{flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=warehouse]{flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:10px!important;}
}
@container invoice-list (max-width:799px){
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record{grid-template-columns:20px repeat(3,minmax(0,1fr))!important;grid-template-areas:"select identity identity identity" "select date date date" "select customer customer customer" "select subject subject subject" "select total received remaining" "select status status status" "select due warehouse warehouse" "select actions actions actions"!important;gap:9px 0!important;padding:14px 9px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td{border:0!important;padding:1px 6px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=identity]{justify-content:center!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=customer]{padding-block:7px!important;border-block:1px solid var(--ui-border)!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=due]{flex-direction:column!important;align-items:flex-start!important;gap:4px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=warehouse]{flex-wrap:wrap!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record>td[data-col=actions]{border-top:1px solid var(--ui-border)!important;padding-top:10px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-row-actions .bf7-icon-link{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-row-actions .qp-grid-actions__trigger{width:34px!important;min-width:34px!important;height:34px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record .si-money :is(strong,span){font-size:11px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-list-toolbar{align-items:flex-start!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-list-tools{justify-content:flex-start!important;flex:1 1 100%!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf8-card-sort{margin-inline-end:auto!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;row-gap:12px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination .si-pages{grid-column:1/-1;grid-row:1;justify-self:center;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination .si-page-size{grid-column:2;grid-row:2;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination .si-range{grid-column:1;grid-row:2;font-size:10px;}
}
@container invoice-list (max-width:420px){
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-list-tools{gap:6px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf8-card-sort{width:100%;justify-content:space-between!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf8-card-sort>.bf-select{flex:1!important;width:auto!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-reset{margin-inline-start:auto;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination{padding:12px 9px!important;gap:10px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination .si-page-size{gap:5px;font-size:9px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination .si-page-size .bf-select{width:59px!important;min-width:59px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination .si-pages{gap:3px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination .si-pages button{width:27px!important;min-width:27px!important;height:30px!important;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales .bf10-pagination .si-page-size>span{max-width:42px;white-space:normal;line-height:1.7;}
html[data-qp-workspace="true"][data-theme] body .bf10-sales[data-bf-view=cards] .bf7-record .si-money :is(strong,span){font-size:10px!important;}
}
@media(max-width:1099px){html[data-qp-workspace="true"][data-theme] body .bf10-sales{--bf-page-gutter:20px}}
@media(max-width:600px){html[data-qp-workspace="true"][data-theme] body .bf10-sales{--bf-page-gutter:12px}}
@media(prefers-reduced-motion:reduce){html[data-qp-workspace="true"][data-theme] body .bf10-sales *{animation:none!important;transition:none!important}}
}
