/* Comparaison contextuelle : plusieurs devis, un seul poste budgétaire. */
.budget-quotes-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.budget-quotes-heading h3{font-size:24px;font-weight:500;line-height:1.35;margin:6px 0 8px}.budget-quotes-heading p{font-size:13px;line-height:1.7;color:var(--muted);margin:0}.budget-quotes-note{margin:20px 0;padding:13px 16px;border-radius:6px;background:#f1f5ed;color:#596c50;font-size:13px;line-height:1.7}.budget-quotes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.budget-quote-card{border:1px solid var(--line);border-radius:8px;padding:19px;min-width:0;background:var(--paper,#fff)}.budget-quote-card.is-retained{border-color:#8ca180;background:#fbfdf9}.budget-quote-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.budget-quote-party{font-size:12px;color:var(--muted);line-height:1.6;display:block;overflow-wrap:anywhere}.budget-quote-card h4{font-size:17px;font-weight:500;line-height:1.5;margin:4px 0;overflow-wrap:anywhere}.budget-quote-status{font-size:11px;border-radius:4px;padding:4px 7px;white-space:nowrap;color:#79764c;background:#f5f2e5}.budget-quote-status.retained{color:#436b3c;background:#e9f1e4}.budget-quote-price{display:flex;gap:9px;align-items:baseline;margin:17px 0}.budget-quote-price strong{font-size:25px;font-weight:500;letter-spacing:-.5px;overflow-wrap:anywhere}.budget-quote-price>span{font-size:12px;color:var(--muted)}.budget-quote-card dl{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:13px 17px}.budget-quote-card dl>div{min-width:0}.budget-quote-card dt{font-size:11px;color:var(--muted);line-height:1.5}.budget-quote-card dd{font-size:13px;line-height:1.6;margin:3px 0 0;overflow-wrap:anywhere}.budget-quote-files{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:17px 0;color:var(--muted);font-size:12px}.budget-quote-files>span{max-width:100%;overflow-wrap:anywhere}.budget-quote-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.budget-quote-actions .button{font-size:12px}.budget-quote-help{font-size:12px;color:var(--muted);line-height:1.7;margin:12px 0 0}.budget-quote-link{margin-top:23px;padding-top:18px;border-top:1px solid var(--line)}.budget-quote-link summary{font-size:14px;cursor:pointer;color:var(--ink);padding:4px 0}.budget-quote-link form{margin-top:18px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.budget-quote-link .form-error,.budget-quote-link .form-help{grid-column:1/-1;margin:0}.budget-quotes-empty{padding:33px 20px}.budget-quotes-empty p{font-size:13px;line-height:1.7;margin-top:8px}.budget-quotes-footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;border-top:1px solid var(--line);padding-top:19px;margin-top:23px}.modal.wide:has(.budget-quotes){max-width:1100px}
@media(max-width:760px){.budget-quotes-heading{flex-direction:column;gap:16px}.budget-quotes-heading>.button{width:100%;min-height:44px}.budget-quotes-grid{grid-template-columns:1fr}.budget-quote-card{padding:17px}.budget-quote-price strong{font-size:25px}.budget-quote-actions>.button{min-height:42px;font-size:13px}.budget-quote-files>.button{min-height:42px}.budget-quote-link form{grid-template-columns:1fr}.budget-quote-link form>.button{min-height:44px}.budget-quotes-footer>.button{min-height:43px;flex:1}.budget-quotes-note{font-size:13px;padding:12px 14px}}
@media print{.budget-quote-actions,.budget-quote-link,.budget-quotes-heading>.button,.budget-quotes-footer,.budget-quote-files>.button{display:none!important}.budget-quote-card{break-inside:avoid}.budget-quotes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
