.quote-row{gap:10px;flex-wrap:wrap}
.quote-row .bill-info{min-width:230px;flex:1 1 260px}
.quote-row .invoice-list-amount{margin-right:auto}
.quote-row .secondary-btn,.quote-row .primary-btn{white-space:nowrap}
.quote-line{grid-template-columns:minmax(150px,3fr) repeat(3,minmax(70px,1fr)) auto}
.quote-line input{min-width:0}
.quote-history-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid #e3e8df}
.quote-history-row strong,.quote-history-row small{display:block}
.quote-history-row small{margin-top:5px;color:#73816f}
#quoteForm .invoice-parties{margin:20px 0}
#quoteForm .invoice-parties label{display:block;margin:10px 0}
#quoteForm .invoice-parties input,#quoteForm .invoice-parties textarea{box-sizing:border-box;width:100%}
#quoteForm .server-fields{margin:12px 0}
[data-theme="dark"] .quote-history-row{border-color:#354637}
@media(max-width:700px){.quote-line{grid-template-columns:1fr 1fr}.quote-line input:first-child{grid-column:1/-1}}
.quote-logo-field{display:flex;align-items:center;gap:18px;margin:8px 0 20px}.quote-logo-field img{max-width:160px;max-height:65px;object-fit:contain}.quote-logo-field img[hidden]{display:none}.quote-logo-field small{display:block;margin-top:8px;color:#73816f}.quote-logo-field label{cursor:pointer}

.quote-send-summary{border:1px solid #dce5d8;border-radius:14px;background:#f7f9f5;margin:16px 0 20px;overflow:hidden}
.quote-send-document{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:11px 15px;border-bottom:1px solid #dce5d8}
.quote-send-document strong{font-size:15px}
.quote-send-route{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;padding:15px}
.quote-send-route>div{min-width:0}
.quote-send-route .eyebrow{display:block;margin-bottom:7px}
.quote-send-route strong{display:block;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.quote-send-arrow{font-size:18px;color:#769474}
[data-theme="dark"] .quote-send-summary{background:#202b22;border-color:#354637}
[data-theme="dark"] .quote-send-document{border-color:#354637}
@media(max-width:460px){.quote-send-route{grid-template-columns:1fr}.quote-send-arrow{transform:rotate(90deg);line-height:1;justify-self:start}}

/* Keep full sender and recipient readable at every dialog width. */
.quote-send-route{grid-template-columns:minmax(0,1fr);gap:16px}.quote-send-arrow{display:none}.quote-send-route strong{font-size:13px;line-height:1.5;word-break:normal;overflow-wrap:anywhere}


#quoteSendFrom{width:100%;min-width:0;font:inherit;font-size:13px;padding:10px;border:1px solid #dce4d7;border-radius:6px;background:inherit;color:inherit}
