.ctd-workspace .billing-section-title{margin-top:30px!important}
.ctd-workspace .invoice-edit-line{display:grid;grid-template-columns:minmax(160px,3fr) minmax(70px,.6fr) minmax(90px,1fr) 80px auto;gap:12px;align-items:end;border-bottom:1px solid #dfe5dd;padding:18px 0}
.ctd-workspace [data-add-line]{margin-top:18px}
.ctd-workspace .billing-live-total{display:block;padding:20px 0;font-weight:bold;line-height:1.8}
.billing-totals{max-width:340px;margin:24px 0 24px auto}
.billing-totals p{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #dfe5dd;padding:8px 0;margin:0}
.customer-page .billing-lines{overflow-x:auto;width:100%}
.customer-page .billing-lines table{border-collapse:collapse;width:100%;min-width:520px;text-align:left}
.customer-page .billing-lines :is(td,th){padding:14px 12px;border-bottom:1px solid var(--ctd-line,#dfe5dd);font-size:14px}
.customer-page .billing-lines th{background:var(--ctd-soft,#f0f2ed)}
.customer-page .billing-lines td:first-child{min-width:180px}
.customer-page .preserve-lines{white-space:pre-wrap}
@media(max-width:1100px){.ctd-workspace .invoice-edit-line{grid-template-columns:repeat(3,minmax(0,1fr))}.ctd-workspace .invoice-edit-line>label:first-child{grid-column:1/-1}.ctd-workspace .invoice-edit-line>button{justify-self:start;grid-column:1/-1}}
@media(max-width:500px){.ctd-workspace .invoice-edit-line{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-totals{max-width:none}}
