#receiptB2b [hidden],.b2b-overlay[hidden]{display:none!important}.b2b-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:24px 0}.b2b-heading h2{margin:0}.b2b-heading p{color:var(--muted);margin:7px 0 0}.b2b-customers{display:flex;gap:8px}.b2b-customers button{display:grid;gap:4px;text-align:left;min-width:150px;background:var(--panel,#fff);color:var(--ink);border:1px solid var(--line);padding:13px 18px;border-radius:12px}.b2b-customers button.active{background:#edf5f1;border-color:#accdba;color:#236448}.b2b-customers small{font-size:11px;color:var(--muted)}.b2b-top{display:grid;grid-template-columns:1fr 1fr;gap:24px}.b2b-top .panel{margin:0;min-width:0}.b2b-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:1px dashed #b7c9bf;border-radius:14px;background:#f7faf8;width:100%;min-height:150px;color:var(--ink);transition:background .2s,border-color .2s}.b2b-drop:hover,.b2b-drop.dragging{background:#edf5f1;border-color:#28775c}.b2b-drop svg{width:28px;height:28px;stroke:#28775c;fill:none;stroke-width:1.6}.b2b-drop small,.b2b-help{font-size:12px;color:var(--muted);line-height:1.6}.b2b-monthbar{display:flex;gap:10px;align-items:end;margin:16px 0}.b2b-monthbar label{flex:1}.b2b-monthbar input{width:100%}.b2b-primary{background:#28775c!important;border-color:#28775c!important;color:white!important}.b2b-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.b2b-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.b2b-stats article{background:var(--panel,#fff);border:1px solid var(--line);border-radius:13px;padding:18px}.b2b-stats span{display:block;font-size:12px;color:var(--muted)}.b2b-stats strong{display:block;font-size:26px;margin-top:6px}.b2b-filter{display:grid;grid-template-columns:2fr 1fr auto;gap:14px;align-items:end;margin-bottom:22px}.b2b-filter input,.b2b-filter select{width:100%}.b2b-table{width:100%;table-layout:fixed;border-collapse:collapse}.b2b-table th,.b2b-table td{padding:14px 12px;border-bottom:1px solid var(--line);text-align:left;font-size:13px;overflow-wrap:anywhere}.b2b-table th{background:var(--bg);font-size:11px;color:var(--muted);font-weight:500}.b2b-table th:first-child{width:38px}.b2b-table th:nth-child(2){width:100px}.b2b-table th:last-child{width:168px}.b2b-table th:nth-child(4){width:110px}.b2b-table th:nth-child(5){width:120px}.b2b-doc{display:flex;gap:12px;align-items:center;min-width:0}.b2b-doc>span:last-child{min-width:0}.b2b-doc b,.b2b-doc small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b2b-doc small{font-size:12px;color:var(--muted);margin-top:5px}.b2b-logo{width:38px;height:38px;object-fit:contain;border:1px solid var(--line);border-radius:9px;background:white;padding:5px;flex:none}.b2b-logo-fallback{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#edf3f5;color:#385368;font-weight:700;flex:none}.b2b-chip{display:inline-flex;padding:5px 9px;background:#edf6ef;color:#276448;border-radius:7px;font-size:11px}.b2b-chip.review{background:#fff4e5;color:#986427}.b2b-chip.draft{background:#eef3fc;color:#346196}.b2b-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:18px;gap:12px;font-size:12px;color:var(--muted)}.b2b-overlay{position:fixed;inset:0;background:#18242e70;backdrop-filter:blur(5px);z-index:1100;display:grid;place-items:center;padding:24px}.b2b-dialog{width:min(1120px,100%);max-height:92vh;overflow:auto;border:1px solid var(--line);background:var(--panel,#fff);border-radius:22px;box-shadow:0 20px 80px #18242e30;color:var(--ink)}.b2b-dialog-head{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;border-bottom:1px solid var(--line)}.b2b-dialog-head h2{margin:4px 0}.b2b-dialog-head p{margin:0;font-size:12px;color:var(--muted)}.b2b-dialog-head button{width:38px;height:38px;padding:0}.b2b-dialog-body{padding:26px 28px}.b2b-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.b2b-form-grid input,.b2b-form-grid textarea,.b2b-form-grid select{width:100%}.b2b-wide{grid-column:1/-1}.b2b-form-grid label,.b2b-line label{display:grid;gap:7px;font-size:12px;color:var(--muted)}.b2b-line{display:grid;grid-template-columns:1.05fr 1.1fr 1.5fr .65fr .85fr .65fr 34px;gap:9px;align-items:end;padding:14px;background:var(--bg);border:1px solid var(--line);border-radius:12px;margin-top:12px}.b2b-line input{width:100%;min-width:0;padding:9px;font-size:13px}.b2b-line button{padding:8px;color:#ad392e;background:#fff2ef;border:1px solid #efc1b9}.b2b-dialog-foot{padding:20px 28px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:14px}.b2b-dialog-foot p{margin:0;font-size:12px;color:var(--muted)}.b2b-review-check{display:flex;align-items:center;gap:9px;margin-top:20px;font-size:13px}.b2b-review-check input{width:auto}.b2b-pdf-view{width:100%;height:68vh;border:0;background:#e8ebed}.b2b-summary-select{margin-top:16px;width:100%}.b2b-invoice-preview{overflow:auto;max-height:70vh;background:#edf0f2;padding:20px}.b2b-invoice-preview .invoice-sheet{transform:none!important;margin:auto}.b2b-invoice-fields{margin-bottom:22px}.b2b-readtext{font-size:12px;margin:20px 0}.b2b-readtext pre{white-space:pre-wrap;max-height:200px;overflow:auto;color:var(--muted);font:12px/1.6 inherit}.b2b-placeholder{padding:60px;text-align:center;border:1px dashed var(--line);border-radius:16px;background:var(--panel,#fff)}#b2bSelection{font-size:13px;font-weight:600;color:#276448}html[data-theme=dark] .b2b-drop{background:#222c26}html[data-theme=dark] .b2b-customers button.active{background:#263c30;color:#b8dfc5}html[data-theme=dark] .b2b-chip{background:#263c30;color:#b8dfc5}@media(max-width:1000px){.b2b-line{grid-template-columns:repeat(3,minmax(0,1fr))}.b2b-heading{align-items:flex-start;flex-direction:column}.b2b-table th:nth-child(4),.b2b-table td:nth-child(4){display:none}}@media(max-width:720px){.b2b-top{grid-template-columns:1fr}.b2b-form-grid{grid-template-columns:1fr 1fr}.b2b-filter{grid-template-columns:1fr}.b2b-table th:nth-child(2),.b2b-table td:nth-child(2){display:none}.b2b-table th:last-child{width:142px}.b2b-table th:nth-child(5){width:85px}.b2b-table td,.b2b-table th{padding:10px 6px}.b2b-table .receipt-row-actions{gap:4px}.b2b-doc{gap:6px}.b2b-logo,.b2b-logo-fallback{width:28px;height:28px}.b2b-overlay{padding:10px}.b2b-dialog-head,.b2b-dialog-body,.b2b-dialog-foot{padding:18px}.b2b-dialog-foot{align-items:stretch;flex-direction:column}.b2b-dialog-foot .b2b-actions>*{flex:1}.b2b-stats{gap:7px}.b2b-stats article{padding:12px}.b2b-stats strong{font-size:23px}.b2b-customers button{min-width:0;flex:1}.b2b-customers{width:100%}.b2b-monthbar{flex-wrap:wrap}.b2b-form-grid{grid-template-columns:1fr}.b2b-invoice-preview{padding:0}.b2b-pagination{flex-wrap:wrap}}

.b2b-dialog-head button:not([aria-label]){width:auto;height:auto;padding:10px 14px}.b2b-form-grid textarea{font:inherit;color:var(--ink);background:var(--panel,#fff);padding:12px;border:1px solid var(--line);border-radius:9px;resize:vertical}html[data-theme=dark] .b2b-dialog,html[data-theme=dark] .b2b-customers button,html[data-theme=dark] .b2b-stats article,html[data-theme=dark] .b2b-placeholder{background:#1d1d1b}html[data-theme=dark] .b2b-form-grid textarea{background:#242422}

.b2b-line{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.b2b-line>label:nth-child(3){grid-column:span 2}.b2b-line>button{justify-self:end;width:34px}@media(max-width:720px){.b2b-line{grid-template-columns:repeat(2,minmax(0,1fr))}}

.b2b-settings-card{border:1px solid var(--line);border-radius:14px;margin:16px 0;padding:20px;background:var(--bg)}.b2b-settings-card summary{display:flex;justify-content:space-between;cursor:pointer;margin-bottom:18px}.b2b-settings-card summary span{color:var(--muted);font-size:12px}#b2bAutoProgress{width:100%;height:8px;accent-color:#28775c;margin-top:18px}.portal-layout{display:grid;grid-template-columns:230px minmax(340px,1fr) minmax(300px,1fr);gap:22px;align-items:start}.portal-layout .panel{min-width:0;margin:0}.portal-template{display:flex;flex-direction:column;gap:6px;background:var(--bg);border:1px solid var(--line);border-radius:10px;width:100%;text-align:left;margin:10px 0;padding:14px;color:var(--ink)}.portal-template small{color:var(--muted)}.portal-editor label{display:grid;gap:8px}.portal-editor input,.portal-editor textarea{width:100%;padding:11px;border:1px solid var(--line);border-radius:8px;background:var(--panel,#fff);font:inherit;color:var(--ink)}.portal-editor .b2b-form-grid{grid-template-columns:1fr 1fr}.portal-module{padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:12px;margin:14px 0;display:grid;gap:14px}.portal-preview img{max-width:100%;height:auto}.portal-preview{line-height:1.8;overflow-wrap:anywhere}.portal-preview h2{font-size:21px}.portal-preview h3{margin-top:24px}.portal-library{position:sticky;top:100px}@media(max-width:1100px){.portal-layout{grid-template-columns:200px minmax(0,1fr)}.portal-preview{grid-column:2}}@media(max-width:760px){.portal-layout{grid-template-columns:1fr}.portal-preview{grid-column:auto}.portal-library{position:static}.portal-editor .b2b-form-grid{grid-template-columns:1fr}}

.portal-library .panel-head{gap:8px}.portal-library h2{font-size:16px;min-width:0}.portal-library .panel-head button{width:34px;min-width:34px;padding:8px}.portal-preview{position:sticky;top:100px;max-height:calc(100vh - 130px);overflow:auto}@media(max-width:1100px){.portal-preview{position:static;max-height:none}}

#portals>.av-tabs{display:flex;margin:0 0 24px;border-bottom:1px solid var(--line)}#portals>.av-tabs button{font:inherit;background:transparent;color:var(--ink);padding:13px 18px;border:0;border-bottom:2px solid #28775c;font-weight:650}#b2bCustomerCards input[type=file]{font-size:12px;padding:9px}

.b2b-line{position:relative;padding:18px 50px 18px 18px}.b2b-line>button{position:absolute;top:10px;right:10px;width:30px;height:30px;padding:0;border-radius:8px}

.b2b-archive-months{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0}.b2b-archive-months>span{font-size:13px;color:var(--muted);margin-right:4px}.b2b-archive-months button{display:inline-flex;gap:10px;align-items:center;padding:9px 13px;font-size:13px}.b2b-archive-months button[aria-pressed="true"]{border-color:#287a60;background:#edf7f2;color:#21654f}.b2b-archive-months b{background:rgba(40,122,96,.1);border-radius:6px;padding:2px 6px}

.b2b-month-close .panel-head{align-items:center}.b2b-eyebrow{font-size:10px;letter-spacing:1.6px;color:var(--muted);margin:0 0 6px}.b2b-close-stack{display:grid;gap:13px}.b2b-close-stack>label,.b2b-existing-summary>label{display:grid;gap:8px;font-size:12px;color:var(--muted)}.b2b-close-stack input,.b2b-close-stack select{width:100%;min-width:0}.b2b-close-stack>button{width:100%;min-height:44px}.b2b-existing-summary{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:18px;margin-top:5px}.b2b-existing-summary button{width:100%;min-height:43px}.b2b-readiness{padding:12px 14px;border:1px solid #e7d5ad;background:#fcf8ef;color:#816327;border-radius:10px;font-size:12px;line-height:1.6}.b2b-close-stack #b2bState{margin:0;overflow-wrap:anywhere}.b2b-top{align-items:start}.b2b-close-stack #b2bSelection{font-size:12px;color:var(--muted)}html[data-theme=dark] .b2b-readiness{background:#352f23;border-color:#635338;color:#e1c78c}

.portal-api{margin-top:24px}.portal-api label{display:grid;gap:8px}.portal-api input{width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--panel,#fff);color:var(--ink);font:inherit}.portal-api .b2b-actions{margin-top:22px}.portal-api details{border-top:1px solid var(--line);padding:18px 0}.portal-api summary{cursor:pointer;font-weight:600}.portal-api pre{max-height:360px;overflow:auto;padding:18px;background:var(--bg);border-radius:12px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.portal-api .b2b-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:900px){.portal-api .b2b-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.portal-api .b2b-form-grid{grid-template-columns:1fr}}
/* B2B: compact workflow, independent selection column and readable status columns. */
#receiptB2b{padding-top:20px}.b2b-top{align-items:stretch}.b2b-top>.panel{height:100%;box-sizing:border-box}.b2b-top>.panel:first-child{display:flex;flex-direction:column}.b2b-drop{flex:1;min-height:240px}.b2b-close-stack{gap:10px}.b2b-filter{grid-template-columns:minmax(220px,2fr) repeat(5,minmax(100px,1fr)) auto;gap:12px}.b2b-bulk{margin:0 0 18px}.b2b-bulk progress{width:180px;height:8px;accent-color:#28775c}.b2b-table-wrap{overflow-x:auto}.b2b-table{min-width:1120px;table-layout:fixed}.b2b-table th,.b2b-table td{font-size:13px;padding:15px 10px;vertical-align:middle}.b2b-table th{font-size:11px}.b2b-table th:first-child,.b2b-table td:first-child{width:40px;box-sizing:border-box;text-align:center}.b2b-table input[type=checkbox]{display:inline-block!important;appearance:auto!important;position:static!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;margin:0!important;padding:0!important;vertical-align:middle;accent-color:#28775c;transform:none!important}.b2b-table th:nth-child(2){width:95px}.b2b-table th:nth-child(3){width:auto}.b2b-table th:nth-child(4){width:80px}.b2b-table th:nth-child(5){width:110px}.b2b-table th:nth-child(6){width:140px}.b2b-table th:nth-child(7){width:145px}.b2b-table th:last-child{width:160px}.b2b-amount{font-weight:650;color:#153f53}.b2b-sent-at{display:block;font-size:11px;color:var(--muted);margin-top:5px}.b2b-chip.open,.b2b-payment-chip.open{background:#fff7e7;color:#8a6829}.b2b-chip.created{background:#edf3ff;color:#315f94}.b2b-chip.sent{background:#e7f1ff;color:#17579e}.b2b-chip.review,.b2b-payment-chip.review,.b2b-payment-chip.unknown{background:#fff0ee;color:#a13a33}.b2b-chip.settled,.b2b-payment-chip.paid{background:#e9f5ed;color:#276448}.b2b-payment-chip.partial{background:#fff5e1;color:#8a6829}.b2b-price-warning{color:#a36c26!important;white-space:normal!important;font-size:11px}.b2b-order-state{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}#b2bInvoiceLines{margin:20px 0}.b2b-mail-preview{width:100%;height:430px;border:1px solid var(--line);border-radius:12px;background:white}.b2b-mail-attachment{padding:14px;background:var(--bg);border-radius:10px;margin:15px 0;font-size:13px}.b2b-mail-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px}.b2b-mail-meta label{display:grid;gap:6px}.b2b-payment-chip{border:0;border-radius:8px;padding:7px 9px;font-size:11px;text-align:left;cursor:pointer}.b2b-payment-dialog{border:1px solid var(--line);border-radius:18px;max-width:520px;padding:26px;background:var(--panel,#fff);color:var(--ink)}.b2b-payment-dialog::backdrop{background:#18242e70}.b2b-payment-dialog form{display:grid;gap:16px}
@media(max-width:1200px){.b2b-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.b2b-filter>label:first-child{grid-column:span 2}}@media(max-width:1000px){.b2b-table th:nth-child(4),.b2b-table td:nth-child(4){display:table-cell}}@media(max-width:720px){.b2b-table th:nth-child(2),.b2b-table td:nth-child(2){display:table-cell}.b2b-top{grid-template-columns:1fr}.b2b-filter{grid-template-columns:1fr 1fr}.b2b-mail-meta{grid-template-columns:1fr}.b2b-dialog-foot{align-items:stretch}.b2b-filter>label:first-child{grid-column:1/-1}}
.b2b-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.b2b-table .receipt-open-action,.b2b-table .receipt-open-action span{white-space:nowrap!important}.b2b-table .receipt-row-actions>*{flex-shrink:0}.b2b-table .receipt-row-actions svg{flex-shrink:0}.b2b-table th:last-child{width:176px}.b2b-line>label:nth-child(3){grid-column:auto}.b2b-line>label:has([data-item=name]){grid-column:span 2}@media(max-width:1100px){.b2b-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.b2b-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* B2B 125: one filter row, compact billing, separate hints. */
#receiptB2b .b2b-filter{display:flex;flex-wrap:nowrap;align-items:flex-end;gap:10px;overflow-x:auto;padding-bottom:3px}#receiptB2b .b2b-filter>label{flex:1 0 120px;min-width:0;white-space:nowrap}#receiptB2b .b2b-filter>label:first-child{flex:2.2 0 220px;grid-column:auto}#receiptB2b .b2b-filter>label:has(#b2bYear){flex:.6 0 80px}#receiptB2b .b2b-filter>label:has(#b2bMonthFilter){flex:.85 0 108px}#receiptB2b .b2b-filter input,#receiptB2b .b2b-filter select{height:44px;box-sizing:border-box;width:100%;font-size:12px;padding:10px}#receiptB2b .b2b-refresh{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;background:#101010;color:white;border:0;border-radius:9px;padding:11px;cursor:pointer}#receiptB2b .b2b-refresh svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7}#receiptB2b .b2b-bulk{margin-bottom:12px}#receiptB2b .b2b-bulk:has(>button[hidden]):not(:has(>button:not([hidden]))):not(:has(progress:not([hidden]))){margin-bottom:0}#receiptB2b .b2b-month-close{order:-1}#receiptB2b .b2b-drop{min-height:170px}#receiptB2b .b2b-top{gap:20px}#receiptB2b .b2b-close-stack{gap:11px}#receiptB2b .b2b-close-stack #b2bState:empty{display:none}#receiptB2b .b2b-month-close .panel-head{margin-bottom:15px}#receiptB2b .b2b-month-close .b2b-eyebrow{display:none}.b2b-hint-button{font-size:11px;color:#9b6228;background:#fff6e9;border:1px solid #efdfc4;border-radius:7px;padding:6px 8px;cursor:pointer}.b2b-hints{color:var(--muted);text-align:center!important}#receiptB2b .b2b-table{min-width:1200px}#receiptB2b .b2b-table th:nth-child(2){width:95px}#receiptB2b .b2b-table th:nth-child(3){width:auto}#receiptB2b .b2b-table th:nth-child(4){width:105px}#receiptB2b .b2b-table th:nth-child(5){width:82px}#receiptB2b .b2b-table th:nth-child(6){width:105px}#receiptB2b .b2b-table th:nth-child(7){width:130px}#receiptB2b .b2b-table th:nth-child(8){width:140px}#receiptB2b .b2b-table th:last-child{width:176px}.b2b-line [data-item=net]{font-weight:600}.b2b-price-summary{font-size:11px;color:var(--muted)}@media(max-width:740px){#receiptB2b .b2b-top{grid-template-columns:1fr}#receiptB2b .b2b-filter>label{flex-basis:125px}#receiptB2b .b2b-filter>label:first-child{flex-basis:220px}}

/* B2B invoice actions and collapsed position editor */
.b2b-invoice-positions{margin:18px 0;border:1px solid #dfE4df;border-radius:12px;padding:15px;background:#fafbf9}.b2b-invoice-positions summary{cursor:pointer;font-weight:650;display:list-item}.b2b-invoice-positions summary span{font-weight:400;color:#708074;margin-left:12px}.b2b-invoice-positions[open] summary{margin-bottom:16px}.b2b-dialog-foot .b2b-actions{gap:10px;flex-wrap:wrap}.b2b-download{background:#111!important;color:#fff!important;border:1px solid #111!important;border-radius:10px;padding:14px 20px;font-weight:650}.b2b-table button.b2b-status:disabled{opacity:1;cursor:default}.b2b-table [data-b2b-remove]:disabled{opacity:1;background:#fff7f5;border-color:#f0d4cf;color:#b9867d;cursor:not-allowed}.b2b-logo-preview{display:flex;align-items:center;gap:12px;margin:8px 0}.b2b-logo-preview img{width:68px;height:52px;object-fit:contain;background:white;border:1px solid #e0e4dc;border-radius:8px;padding:5px}.b2b-integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.b2b-integration-grid details{margin:0}.b2b-integration-grid label{display:block;margin:14px 0}.b2b-integration-grid select{width:100%}@media(max-width:800px){.b2b-integration-grid{grid-template-columns:1fr}}
.b2b-table button.b2b-chip:disabled{opacity:1;cursor:default}.b2b-dialog-foot [hidden]{display:none!important}
.b2b-dialog-foot{position:sticky;bottom:0;z-index:3;background:#fff;box-shadow:0 -8px 24px #08233b0a}.b2b-dialog-foot .b2b-actions{justify-content:flex-end}

#receiptB2b .b2b-table .receipt-row-actions{display:flex;align-items:center;justify-content:flex-start;gap:7px;flex-wrap:nowrap}#receiptB2b .b2b-table .receipt-row-actions>*{margin:0}#receiptB2b .b2b-table .receipt-open-action{min-width:0;padding-inline:11px}#receiptB2b .b2b-table .receipt-icon-action{width:32px;min-width:32px}


#receiptB2b .b2b-table-wrap{overflow:visible;min-width:0}
#receiptB2b .b2b-table{width:100%;min-width:0;table-layout:fixed}
#receiptB2b .b2b-table :is(th,td){box-sizing:border-box;padding:14px 8px}
#receiptB2b .b2b-table th:nth-child(1){width:32px}
#receiptB2b .b2b-table th:nth-child(2){width:94px}
#receiptB2b .b2b-table th:nth-child(3){width:auto}
#receiptB2b .b2b-table th:nth-child(4){width:86px}
#receiptB2b .b2b-table th:nth-child(5){width:78px}
#receiptB2b .b2b-table th:nth-child(6){width:96px}
#receiptB2b .b2b-table th:nth-child(7){width:120px}
#receiptB2b .b2b-table th:nth-child(8){width:130px}
#receiptB2b .b2b-table th:nth-child(9){width:184px}
#receiptB2b .b2b-table .receipt-row-actions{display:flex;gap:6px;justify-content:flex-end}
#receiptB2b .b2b-table .receipt-open-action,#receipts .receipt-row-actions .receipt-open-action{width:88px;min-width:88px;max-width:88px;height:36px;min-height:36px;flex:0 0 88px;box-sizing:border-box;padding:0 10px;display:inline-flex;gap:6px;align-items:center;justify-content:center;border-radius:9px;background:#eaf5ef;border:1px solid #b8d9c8;color:#236a53;white-space:nowrap}
#receiptB2b .b2b-filter{flex-wrap:wrap;overflow:visible}
#receiptB2b .b2b-filter>label{flex:1 1 110px}
#receiptB2b .b2b-filter>label:first-child{flex:2 1 220px}
@media(max-width:1300px){
 #receiptB2b .b2b-table,#receiptB2b .b2b-table tbody{display:block;width:100%;min-width:0}
 #receiptB2b .b2b-table thead{display:none}
 #receiptB2b .b2b-table tbody{display:grid;gap:12px}
 #receiptB2b .b2b-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;position:relative;padding:18px;border:1px solid var(--line);border-radius:12px}
 #receiptB2b .b2b-table td{display:block!important;width:auto!important;min-width:0;padding:0;border:0}
 #receiptB2b .b2b-table td:first-child{position:absolute;top:18px;right:16px}
 #receiptB2b .b2b-table td:nth-child(3){grid-column:1/-1;grid-row:1;padding-right:28px}
 #receiptB2b .b2b-table td:last-child{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px}
 #receiptB2b .b2b-table td:nth-child(2)::before{content:'Datum'}
 #receiptB2b .b2b-table td:nth-child(4)::before{content:'Hinweise'}
 #receiptB2b .b2b-table td:nth-child(5)::before{content:'Positionen'}
 #receiptB2b .b2b-table td:nth-child(6)::before{content:'Betrag'}
 #receiptB2b .b2b-table td:nth-child(7)::before{content:'Zahlungsstatus'}
 #receiptB2b .b2b-table td:nth-child(8)::before{content:'Status'}
 #receiptB2b .b2b-table td::before{display:block;font-size:10px;color:var(--muted);margin-bottom:6px}
}


@media(min-width:1301px){
 #receiptB2b .b2b-table th:nth-child(1){width:2.5%}
 #receiptB2b .b2b-table th:nth-child(2){width:8%}
 #receiptB2b .b2b-table th:nth-child(3){width:30%}
 #receiptB2b .b2b-table th:nth-child(4){width:7%}
 #receiptB2b .b2b-table th:nth-child(5){width:6%}
 #receiptB2b .b2b-table th:nth-child(6){width:8%}
 #receiptB2b .b2b-table th:nth-child(7){width:11%}
 #receiptB2b .b2b-table th:nth-child(8){width:12%}
 #receiptB2b .b2b-table th:nth-child(9){width:15.5%}
 #receiptB2b .b2b-table .receipt-row-actions{justify-content:flex-start}
}
