/* Invoice only: keep the customer selector in document flow. */
#page-quote-new .quote-invoice-customer-card-v73225{grid-template-columns:minmax(0,1.15fr) repeat(2,minmax(0,1fr));align-items:start}
#page-quote-new .quote-invoice-customer-card-v73225>label{display:flex;flex-direction:column;min-width:0;height:auto;gap:4px;font-size:13px;font-weight:600;line-height:20px}
#page-quote-new .invoice-to-heading-v73395{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:20px;line-height:20px}
#page-quote-new #invoice-create-customer-v73386{height:20px!important;min-height:0!important;padding:0!important;margin:0!important;border:0;background:none;font-size:13px!important;line-height:20px!important;font-weight:500;white-space:nowrap}
#page-quote-new #quote-customer-combobox-v7214{position:relative;height:auto!important;min-height:36px;margin:0!important;width:100%;min-width:0;flex:none;overflow:visible}
#page-quote-new .quote-invoice-customer-card-v73225>label>input{height:36px!important;min-height:36px!important;margin:0!important;font-size:14px!important;font-weight:400!important;min-width:0}
#page-quote-new .quote-customer-searchbox-v7214{height:36px!important;min-height:36px!important;max-height:none!important;gap:6px;padding:0 10px;min-width:0}
#page-quote-new #quote-customer-search-v7214{height:34px!important;min-height:0!important;font-size:14px!important;font-weight:400!important;padding:0!important;margin:0!important;width:0;flex:1;line-height:20px}
#page-quote-new #quote-customer-search-v7214::placeholder{font-weight:400;color:#788597}
#page-quote-new .quote-customer-search-icon-v7214,#page-quote-new .quote-customer-arrow-v7214{flex:none;font-size:16px}
#page-quote-new #quote-customer-clear-v7214{flex:none;width:22px;min-width:22px;height:24px!important;min-height:0!important;padding:0!important;margin:0}
#page-quote-new .quote-invoice-customer-v73225{height:auto;min-height:0;overflow:visible}
/* The existing size control stays inside line-items so its event binding is unchanged. */
#page-quote-new .quote-invoice-products-v73225{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px 12px}
#page-quote-new .quote-invoice-products-v73225>header{grid-column:1/-1;margin-bottom:0}
#page-quote-new .quote-invoice-products-v73225>.product-picker{grid-column:1;grid-row:2;min-width:0;margin:0!important}
#page-quote-new .quote-invoice-products-v73225>#line-items{display:contents}
#page-quote-new .quote-invoice-products-v73225 .invoice-size-toolbar-v73229{grid-column:2;grid-row:2;margin:0!important;align-self:start;padding:9px 0;min-width:max-content}
#page-quote-new .invoice-size-toolbar-v73229 label{display:flex;align-items:center;white-space:nowrap;flex:none;gap:8px;line-height:20px}
#page-quote-new .invoice-size-toolbar-v73229 select{width:96px!important;min-width:96px;flex:none;height:32px!important;margin:0!important}
#page-quote-new .invoice-size-toolbar-v73229 .mc-select-button-v73219{white-space:nowrap;min-width:96px}
#page-quote-new #line-items>.invoice-matrix-scroll-v73229,#page-quote-new #line-items>.empty{grid-column:1/-1;min-width:0}
#page-quote-new #line-items>.empty{padding:16px;min-height:0;height:auto;margin:0}
@media(max-width:1000px){#page-quote-new .quote-invoice-customer-card-v73225{grid-template-columns:repeat(2,minmax(0,1fr))}#page-quote-new .quote-invoice-customer-card-v73225>label:first-child{grid-column:1/-1}}
@media(max-width:600px){#page-quote-new .quote-invoice-customer-card-v73225{grid-template-columns:minmax(0,1fr)}#page-quote-new .quote-invoice-products-v73225{grid-template-columns:minmax(0,1fr)}#page-quote-new .quote-invoice-products-v73225 .invoice-size-toolbar-v73229{grid-column:1;grid-row:3;padding:0}#page-quote-new .quote-invoice-products-v73225>.product-picker{grid-template-columns:minmax(0,1fr)!important}#page-quote-new .quote-invoice-products-v73225>.product-picker #picker-products{grid-column:1!important}}
