/* Adattatore layout Budget Lab. Colori, tipi e controlli appartengono a Lab Design.
   Nessuna copia locale dei componenti. */
.topbar select{min-width:180px}.heading>div{min-width:0;max-width:100%}
.budget-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--lab-space-5)}
.budget-layout.with-list{grid-template-columns:minmax(0,1fr) 300px}
.listino{align-self:start;position:sticky;top:var(--lab-space-3);max-height:80vh;overflow:auto}
.budget-table{min-width:1610px}.budget-table th:first-child{min-width:260px}
.budget-table th:nth-child(2){min-width:150px}.budget-table td.tree{white-space:nowrap;max-width:400px}
.budget-table .row-actions{justify-content:flex-end;min-width:115px}
.review-table{min-width:2450px}.review-table th{white-space:normal;vertical-align:bottom}
.review-table th:first-child{min-width:170px}.review-table th:nth-child(2){min-width:90px}
.review-table th:last-child,.review-table td:last-child{min-width:145px;width:145px;max-width:145px}
.rates{display:flex;gap:var(--lab-space-4);align-items:end;flex-wrap:wrap}.rates label{max-width:180px}.rates button{align-self:end}
.invoices-table td{max-width:310px}.invoices-table .desc{white-space:normal}.board-input{width:130px}
.structure-add{display:flex;gap:var(--lab-space-3);align-items:end}.structure-add label{flex:1;min-width:0}
.structure-input input{min-width:64px}.structure-input select[name=chapter]{width:100%;min-width:150px}
.print-title{display:none}
@media(max-width:1100px){.budget-layout.with-list{grid-template-columns:minmax(0,1fr) 260px}}
@media(max-width:700px){.budget-layout.with-list{grid-template-columns:minmax(0,1fr)}.listino{position:static;grid-row:1;max-height:320px}.structure-add{flex-wrap:wrap}.topbar nav{width:100%;min-width:0}.toolbar .actions{width:100%}}
@media print{.listino,.rates{display:none!important}.budget-layout.with-list{display:block}.budget-table{min-width:0}}

.lab-app dialog.budget-invoice-dialog{width:min(1180px,96vw)}
.budget-invoice-dialog input[type=number]{width:130px}
