.billing-heading{border-top:5px solid #2466af}.billing-title{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;color:#185591;margin-bottom:20px}.billing-title span{font-size:14px;font-weight:700;letter-spacing:.05em}.billing-title h2{margin:5px 0;font-size:24px;overflow-wrap:anywhere}.billing-title>strong{max-width:45%;text-align:right;overflow-wrap:anywhere}.billing-meta{padding-bottom:16px;border-bottom:1px solid #d9e4f0}.billing-provider{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:14px;font-size:13px;color:#50637a}.billing-provider strong{color:#185591}.invoice-party h2{color:#185591}.billing-adjustments{padding-top:16px;margin-top:16px;border-top:1px solid #d9e4f0}.invoice-totals{max-width:400px;margin:18px 0 0 auto;display:grid;gap:8px;font-variant-numeric:tabular-nums}.invoice-totals>div{display:flex;justify-content:space-between;gap:16px;padding:4px 0}.invoice-totals .grand-total{font-size:20px;color:#165393;background:#edf5ff;border-top:2px solid #2466af;padding:12px}.bill-line-amount{display:block;color:#165393;text-align:right;font-size:15px;padding:9px 0;border-top:1px solid #e1e8f0}.invoice-summary-meta{display:flex;flex-wrap:wrap;gap:8px 24px;color:#50637a}.bill-editor #draft-price{display:none}.customer-login{margin:10px 0;padding:10px;background:#f1f6fb;border:1px solid #dce6ef;border-radius:8px;white-space:normal}.customer-login>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-bottom:6px}.customer-login>div>span{font-size:12px;color:#526174}.customer-login code{font-size:14px;font-weight:600;overflow-wrap:anywhere;word-break:break-word;white-space:normal;max-width:100%;color:#153f6a}.customer-login small{flex:1;min-width:120px;font-size:12px;color:#526174}.customer-login .btn{flex-shrink:0}.customer-edit-section{border-bottom:1px solid #dce6ef;padding-bottom:20px}.customer-edit-section h3{color:#185591}.customer-picker{display:grid;gap:10px}.customer-pick{display:grid;gap:5px;text-align:left;background:#f5f8fc;border:1px solid #ccd9e9;border-radius:10px;padding:14px;font:inherit;color:inherit;cursor:pointer}.customer-pick:hover{border-color:#2466af}.customer-pick span{font-size:13px;overflow-wrap:anywhere}.bill-editor .item-editor{border-color:#cddceb}.bill-editor .item-editor .item-fields{min-width:0}.sales-dispatch-bar{flex-wrap:wrap}.sales-dispatch-bar>.btn{white-space:normal}
@media(max-width:640px){.billing-title{flex-direction:column;gap:8px}.billing-title>strong{max-width:100%;text-align:left;font-size:14px}.billing-title h2{font-size:21px}.billing-provider{gap:6px 14px}.billing-provider>strong{width:100%}.invoice-totals{max-width:none}.invoice-totals .grand-total{font-size:19px}.bill-editor .panel{padding:16px 12px}.customer-login{padding:9px}.customer-login .btn{padding:7px 9px;font-size:12px}.sales-dispatch-bar>.btn{width:100%;justify-content:center}.sales-dispatch-bar>span{width:100%}.billing-adjustments{grid-template-columns:1fr 1fr}.billing-adjustments .field{min-width:0}.billing-adjustments input{min-width:0;width:100%}}

.customer-login>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px}.customer-login>div>span{grid-column:1/-1}.customer-login>div>small{grid-column:1/-1}.bill-line-amount{grid-column:1/-1}.billing-heading .billing-meta .field{min-width:0}

/* V2.7.9: compact customer summaries, following the V2.7.7 card scale. */
.customer-summary-button{display:grid;gap:4px;max-width:100%;padding:0;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere}.customer-summary-button .subline{margin:0}.customer-summary-button:focus-visible{outline:2px solid #2466af;outline-offset:4px}
@media(max-width:600px){.sales-customer-list tbody tr{position:relative}.sales-customer-list td.sales-actions{display:none!important}.sales-customer-list .customer-summary-button{min-height:44px;align-content:center}.sales-customer-list .customer-summary-button::after{content:"";position:absolute;inset:0;border-radius:10px}.sales-customer-list .customer-summary-button:focus-visible{outline:0}.sales-customer-list .customer-summary-button:focus-visible::after{outline:2px solid #2466af;outline-offset:2px}.sales-customer-list .customer-summary-button:disabled{opacity:.65}}
