/* Saved invoice snapshots and separately labelled current credit settlement. */
.bh-view{max-width:1360px}.bh-heading{gap:18px}.bh-heading h1{font-size:clamp(28px,3vw,39px);letter-spacing:-1px;color:#2c503d}.bh-heading p:not(.eyebrow){font-size:12px;color:#90a695;line-height:1.8;max-width:800px}.bh-heading-actions{display:flex;gap:9px;flex-wrap:wrap}.bh-heading-actions .button{font-size:11px}.bh-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:24px 0 20px}.bh-metric{padding:20px!important;display:flex;flex-direction:column;gap:12px;min-height:143px}.bh-metric>span{font-size:10px;color:#8aa391;font-weight:800}.bh-metric strong{color:#386449;font-size:28px;letter-spacing:-.8px;line-height:1;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.bh-metric small{color:#a3b5a8;font-size:9px;line-height:1.7}.bh-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;padding:17px;border:1px solid #dce8e0;border-radius:12px;background:#fbfdfc}.bh-toolbar>label{display:flex;flex-direction:column;gap:7px;color:#8ba391;font-size:9px;font-weight:800;min-width:133px}.bh-toolbar .bh-search-label{flex:1;min-width:200px}.bh-toolbar input,.bh-toolbar select{min-height:40px;background:#fff;color:#6e9179;font-size:11px;font-weight:400}.bh-toolbar .button{min-height:40px;font-size:10px}.bh-status{font-size:11px;line-height:1.8;color:#9aafa0;min-height:18px;margin:12px 1px 18px}.bh-status.is-error{color:#b77c67}.bh-status.is-success{color:#629574}.bh-list-panel{padding:0!important;overflow:hidden}.bh-list-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 22px}.bh-list-heading h2{font-size:18px;color:#527c5f;margin:0}.bh-list-heading>span{font-size:10px;color:#a0b3a6}.bh-table-scroll{overflow:auto;max-width:100%;scrollbar-width:thin;scrollbar-color:#c7dccc transparent;overscroll-behavior:contain}.bh-list-table{width:100%;min-width:1030px;border-collapse:collapse;font-size:11px}.bh-list-table th{padding:12px;background:#f4f9f6;border-block:1px solid #e4ece6;color:#92aa9a;font-size:8px;letter-spacing:.4px;text-transform:uppercase;white-space:nowrap;text-align:left}.bh-list-table td{padding:15px 12px;border-bottom:1px solid #eaf1ed;color:#7c9c86;vertical-align:top;line-height:1.7;font-variant-numeric:tabular-nums}.bh-list-table td strong{color:#537d60;font-size:11px;display:block}.bh-list-table td small{display:block;color:#a3b6a9;font-size:9px;margin-top:4px;line-height:1.7}.bh-list-table tr.is-selected td{background:#f0f8f3}.bh-list-table th:last-child,.bh-list-table td:last-child{position:sticky;right:0;background:#fff;border-left:1px solid #e7eee9;min-width:85px;box-shadow:-8px 0 15px -15px #345d40}.bh-list-table th:last-child{background:#f4f9f6;z-index:1}.bh-text-button{background:none;border:0;padding:0;color:#588666;font-size:10px;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.bh-text-button:disabled{color:#acbcb0;cursor:not-allowed}.bh-badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:14px;background:#e9f5ed;color:#659675;font-size:8px;font-weight:800;white-space:nowrap}.bh-badge.is-due{background:#fff2d8;color:#ac955d}.bh-empty{text-align:center;padding:30px 20px!important;color:#a4b7a8!important;font-size:11px;line-height:1.8}.bh-pager{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 18px;color:#a2b4a7;font-size:9px}.bh-pager>div{display:flex;gap:7px}.bh-pager .button{font-size:9px;min-height:32px}.bh-detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px}.bh-detail-toolbar>label{display:flex;align-items:center;gap:7px;color:#99ae9f;font-size:10px}.bh-detail-toolbar input{width:14px;height:14px;accent-color:#548c67}.bh-detail-toolbar .bh-status{margin:0}.bh-receipt{max-width:1200px;margin:16px auto 0;padding:25px;border:1px solid #d9e6df;border-radius:13px;background:#fff;box-shadow:var(--shadow);color:#52765e}.bh-receipt-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid #e4ede7}.bh-receipt h2{font-size:23px;letter-spacing:-.5px;color:#315d42;margin:5px 0 7px}.bh-receipt p{margin:0;color:#8da494;font-size:11px;line-height:1.8}.bh-receipt .eyebrow{font-size:9px;color:#83a08c}.bh-print,.bh-new{min-height:35px;border:1px solid #b7d6c1;background:#f1f9f4;color:#558467;border-radius:7px;padding:8px 12px;font:inherit;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}.bh-snapshot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:18px 0}.bh-snapshot-grid article{padding:14px 13px;border:1px solid #e0eae3;border-radius:9px;background:#fcfefd}.bh-snapshot-grid article>span{display:block;color:#99aea0;font-size:9px;font-weight:800;letter-spacing:.4px;text-transform:uppercase}.bh-snapshot-grid strong{display:block;margin-top:8px;color:#5f8269;font-size:11px;line-height:1.8;font-weight:600;overflow-wrap:anywhere}.bh-receipt-table{width:100%;min-width:900px;border-collapse:collapse;font-size:11px}.bh-receipt-table th{padding:11px 9px;background:#f0f7f2;border-block:1px solid #e3ece6;color:#88a392;font-size:8px;letter-spacing:.3px;text-align:left;white-space:nowrap}.bh-receipt-table td{padding:13px 9px;border-bottom:1px solid #e7eee9;vertical-align:top;line-height:1.7;color:#7b9b85;font-variant-numeric:tabular-nums}.bh-receipt-table td b{color:#567c61}.bh-receipt-table td small{color:#a0b3a6;font-size:9px;line-height:1.8}.bh-receipt-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:17px;border-top:1px solid #e3ece6;padding-top:16px;margin-top:18px}.bh-receipt-footer b{font-size:15px;color:#436d51}.bh-tax-summary{margin-top:22px;width:100%;border-collapse:collapse;font-size:10px}.bh-tax-summary caption{text-align:left;padding-bottom:9px;color:#6f927c;font-weight:800}.bh-tax-summary th,.bh-tax-summary td{padding:9px;border-bottom:1px solid #e5ede8;text-align:right;color:#8aa392;font-variant-numeric:tabular-nums}.bh-tax-summary th:first-child,.bh-tax-summary td:first-child{text-align:left}.bh-composition-note,.bh-tax-note{margin-top:17px!important;font-size:10px!important;color:#91a798!important}.bh-live-settlement{margin-top:24px;border:1px solid #d7e7dd;border-radius:10px;padding:18px;background:#f6fbf8}.bh-live-heading{display:flex;justify-content:space-between;gap:15px;align-items:center}.bh-live-heading h3{font-size:16px;color:#527d5e;margin:0}.bh-live-settlement>p{font-size:10px;margin-top:8px}.bh-settlement-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:17px 0}.bh-settlement-grid>div{display:grid;gap:7px;font-size:9px;color:#9caf9f}.bh-settlement-grid strong{font-size:17px;color:#61886d;font-variant-numeric:tabular-nums}.bh-recovery-table{width:100%;border-collapse:collapse;font-size:10px;min-width:580px}.bh-recovery-table th{text-align:left;color:#8da796;font-size:8px;padding:10px 7px;border-bottom:1px solid #dfeae3}.bh-recovery-table td{padding:11px 7px;border-bottom:1px solid #e4ede7;color:#87a190;font-variant-numeric:tabular-nums}.bh-scroll-hint{font-size:9px!important;color:#a9b9ae!important;margin:8px 0!important}
@media(max-width:1000px){.bh-heading{flex-wrap:wrap}.bh-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.bh-toolbar .bh-search-label{flex-basis:100%}.bh-toolbar>label{flex:1}.bh-detail-toolbar{align-items:flex-start;flex-direction:column}.bh-snapshot-grid{grid-template-columns:1fr}.bh-settlement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.bh-heading h1{font-size:29px}.bh-metrics{gap:9px}.bh-metric{padding:16px 13px!important;min-height:133px}.bh-metric strong{font-size:24px}.bh-toolbar{padding:13px;gap:9px}.bh-toolbar>label{min-width:115px}.bh-toolbar>button{flex:1}.bh-list-heading{padding:16px}.bh-receipt{padding:17px}.bh-receipt-heading{flex-wrap:wrap}.bh-receipt h2{font-size:21px}.bh-receipt-footer{flex-wrap:wrap}.bh-live-settlement{padding:14px}}
@media print{body.bh-printing .sidebar,body.bh-printing .topbar,body.bh-printing .bh-heading,body.bh-printing .bh-metrics,body.bh-printing .bh-toolbar,body.bh-printing .bh-list-panel,body.bh-printing .bh-detail-toolbar,body.bh-printing #bhStatus,body.bh-printing .bh-print,body.bh-printing .bh-new,body.bh-printing .bh-scroll-hint{display:none!important}body.bh-printing .workspace{width:100%!important;margin:0!important;min-height:0!important}body.bh-printing .content{padding:0!important;max-width:none!important}body.bh-printing #appView{min-height:0!important;background:#fff!important}body.bh-printing #billingHistoryReceipt,body.bh-printing #billingHistoryReceipt *{visibility:visible!important}body.bh-printing #billingHistoryReceipt{position:absolute;inset:0;max-width:none;margin:0;padding:12px;width:100%;border:0;box-shadow:none;background:#fff;color:#111}body.bh-printing #bhLiveSettlement{display:none!important}body.bh-printing.bh-print-settlement #bhLiveSettlement{display:block!important}body.bh-printing .bh-table-scroll{overflow:visible!important}body.bh-printing .bh-receipt-table{min-width:0;font-size:9px;width:100%}body.bh-printing .bh-receipt-table th{font-size:7px;white-space:normal}body.bh-printing .bh-receipt-table th,body.bh-printing .bh-receipt-table td{padding:7px 5px}body.bh-printing .bh-snapshot-grid{grid-template-columns:repeat(3,minmax(0,1fr));break-inside:avoid}body.bh-printing .bh-snapshot-grid strong{font-size:9px}body.bh-printing tr,body.bh-printing .bh-receipt-footer{break-inside:avoid}body.bh-printing thead{display:table-header-group}body.bh-printing .bh-live-settlement{break-inside:avoid}body.bh-printing .bh-tax-summary{font-size:9px}}

.bh-delivery-state{display:grid;justify-items:start;gap:7px;margin-top:10px}.bh-delivery-state .bh-badge.is-muted{color:#9eafa4;background:#f0f4f1}.bh-delivery-button{font:inherit;font-size:8px;color:#a1b2a6;background:#f5f8f6;border:1px solid #e3ebe6;border-radius:6px;padding:5px 7px;cursor:not-allowed;white-space:nowrap}.bh-delivery-info{margin-top:15px;padding:14px 17px;border:1px solid #dce9e1;border-radius:10px;background:#f8fcfa;color:#91a99a}.bh-delivery-info strong{font-size:11px;color:#749781}.bh-delivery-info p{margin:7px 0 0;font-size:10px;line-height:1.8}.bh-list-table th:last-child,.bh-list-table td:last-child{min-width:155px}
/* Saved-bill actions remain visible buttons, including when the table scrolls. */
#billing-history .bh-list-table .bh-action-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;max-width:300px}
#billing-history .bh-list-table .bh-text-button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:7px 10px;border:1px solid #b9d2c1;border-radius:7px;background:#f8fcf9;color:#446f52;font:inherit;font-size:11px;font-weight:700;line-height:1.35;text-decoration:none;white-space:nowrap;cursor:pointer}
#billing-history .bh-list-table .bh-text-button:hover:not(:disabled){background:#edf7f0;border-color:#88b399}
#billing-history .bh-list-table .bh-text-button:focus-visible{outline:2px solid #4d8b64;outline-offset:2px}
#billing-history .bh-list-table .bh-text-button:disabled{color:#9aaea1;background:#f4f7f5;border-color:#dce7e0;cursor:not-allowed}
#billing-history .bh-list-table th:last-child,#billing-history .bh-list-table td:last-child{min-width:270px}