/* Shared compact item editor for quotes and draft sales. */
#quote-form section:has(> #quote-products),#quote-service-section{border:1px solid #dce2eb;border-radius:8px;margin:16px 0;padding:0;overflow:visible;background:#fff}
#quote-form section:has(> #quote-products)>h3,#quote-service-section>h3{margin:0;padding:12px 14px;background:#f6f7f9;border-bottom:1px solid #dce2eb;font-size:14px}
#quote-form .quote-selector{padding:12px 14px;margin:0;gap:10px;align-items:end}
#quote-products,#quote-services{padding:0 12px}
#quote-form .quote-item-row{display:grid;grid-template-columns:minmax(220px,3fr) minmax(85px,.7fr) minmax(75px,.6fr) minmax(115px,1fr) minmax(115px,1fr) 34px;gap:10px;align-items:end;padding:10px 0;margin:0;border-top:1px solid #e2e6ed}
#quote-form .quote-item-row label{min-width:0;margin:0;font-size:12px;gap:5px}
#quote-form .quote-item-row input{width:100%;min-width:0;height:34px;font-size:12px;padding:6px 8px}
#quote-form .quote-item-row output{display:flex;align-items:center;justify-content:flex-end;min-height:34px;font-size:13px;font-weight:600;white-space:nowrap}
#quote-form .quote-item-row .quote-item-remove{width:34px;min-width:34px;height:34px;min-height:34px;padding:0;margin:0;color:#b82535;font-size:22px;border:1px solid #e2e6ed;background:#fff}
#quote-add-custom-service{margin:0 14px 12px;font-size:12px}
#quote-form .quote-service-price-label{max-width:160px}
@media(max-width:760px){#quote-form .quote-item-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px;gap:8px}#quote-form .quote-item-row>label:first-child{grid-column:1/-1}#quote-form .quote-item-row>label:nth-child(4){grid-column:1}#quote-form .quote-item-row>label:nth-child(5){grid-column:2}#quote-form .quote-item-remove{grid-column:3;grid-row:3}#quote-form .quote-selector{display:flex;flex-wrap:wrap}#quote-form .quote-selector>label{flex:1 1 180px;min-width:0}}

#quote-add-product,#quote-add-service{white-space:nowrap;flex-shrink:0}
