/* invoice-line-editor-1 */
.hi-invoice-edit{max-width:780px;display:grid;gap:18px}.hi-invoice-edit .hi-edit-fields{border:0;padding:0;margin:0;min-width:0;display:grid;gap:18px}.hi-item-heading h3{margin:4px 0 7px}.hi-item-heading small{display:block}.hi-invoice-items{display:grid;gap:16px}.hi-edit-item{padding:16px;border:1px solid #dedbd3;border-radius:15px;background:#fff;display:grid;gap:13px;min-width:0}.hi-edit-item header{display:flex;align-items:center;justify-content:space-between;gap:12px}.hi-remove-item{border:0;background:none;color:#a03b2e;font:inherit;font-size:14px;text-decoration:underline;min-height:44px;padding:6px}.hi-item-values,.hi-edit-discount,.hi-edit-terms{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}.hi-item-values{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}.hi-invoice-edit label,.hi-invoice-edit select{min-width:0}.hi-item-amount{display:flex;align-items:center;justify-content:space-between;font-size:14px;gap:12px}.hi-item-amount span{color:var(--muted,#77746d)}.hi-charge-details{border-top:1px solid #ebe8e1;padding-top:4px}.hi-charge-details summary{font-size:13px;min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--muted,#77746d)}.hi-charge-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hi-invoice-edit input,.hi-invoice-edit select{padding-inline:11px}.hi-invoice-edit textarea{padding:11px;min-height:72px}.hi-edit-totals{margin:0;padding:18px;border:1px solid #e5e2da;border-radius:14px;background:#faf9f5;display:grid;gap:13px}.hi-edit-totals>div{display:flex;justify-content:space-between;gap:14px;font-size:14px}.hi-edit-totals dd{margin:0;font-weight:650;overflow-wrap:anywhere;text-align:right}.hi-edit-totals .hi-edit-grand{border-top:1px solid #dedbd2;padding-top:14px;font-size:19px;font-weight:750}.hi-edit-actions{margin-top:0!important}.hi-invoice-edit .hi-result{margin:0}.hi-invoice-edit .hi-result:empty{display:none}.hi-invoice-edit .hi-result:not(:empty){padding:12px;background:#fff6e1;border:1px solid #ebd69d;border-radius:10px;color:#734d0b}.hi-invoice-edit [disabled]{opacity:.7}@media(max-width:430px){.hi-edit-item{padding:13px}.hi-edit-discount,.hi-edit-terms,.hi-charge-fields{grid-template-columns:1fr}.hi-item-values{gap:9px}.hi-invoice-edit{gap:15px}.hi-edit-totals{padding:14px}.hi-edit-totals .hi-edit-grand{font-size:18px}.hi-invoice-edit .modal-actions .btn{min-width:0}}
