.bill-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.bill-controls label{flex:1;min-width:180px}.bill-form{display:grid;gap:14px}.bill-form label{display:grid;gap:6px}.bill-list{display:grid;gap:12px}.bill-list article{border:1px solid var(--line,#dfe6d9);border-radius:14px;padding:16px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.bill-list article strong{flex:1;min-width:190px}.bill-list article small{flex-basis:100%;overflow-wrap:anywhere}.bill-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0}.bill-totals strong{display:block;font-size:22px}.bill-error{color:#a33}.card pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-height:350px;overflow:auto}@media(max-width:600px){.bill-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.bill-totals strong{font-size:18px}.bill-list article{align-items:stretch;flex-direction:column;flex-wrap:nowrap}.bill-controls label{min-width:0;flex-basis:100%}.bill-controls .btn{flex:1}.bill-form input,.bill-form select{min-width:0;width:100%}}

@media(max-width:600px){.bill-list article>*{min-width:0;max-width:100%;flex-basis:auto}.bill-list article strong{min-width:0}.bill-list article small{flex-basis:auto}}
