#quote-exchange { margin:24px 0; padding:20px 0; border-top:2px solid #f15b2a; border-bottom:1px solid #e0e1e3; min-width:0; }
#quote-exchange h3 { margin:0 0 8px; font-size:20px; }
#quote-exchange h4 { margin:0 0 12px; font-size:16px; }
#quote-exchange .exchange-heading { display:flex; gap:16px; align-items:flex-start; justify-content:space-between; }
#quote-exchange .exchange-heading > div { min-width:0; }
#quote-exchange .exchange-heading > button { flex-shrink:0; white-space:nowrap; }
#quote-exchange fieldset { border:1px solid #ddd; padding:16px; margin:18px 0; min-width:0; }
#quote-exchange legend { padding:0 6px; font-weight:700; }
#quote-exchange .form-grid input,#quote-exchange .form-grid textarea { width:100%; box-sizing:border-box; }
#quote-exchange .form-grid textarea { min-height:120px; }
#quote-exchange .exchange-alert { background:#fff1ed; color:#903613; border-left:3px solid #cd5025; padding:12px; }
#quote-exchange .exchange-notice { background:#f1f5f3; padding:12px; }
#quote-exchange .quote-invitation { margin:18px 0; border:1px solid #ddd; padding:16px; min-width:0; }
#quote-exchange .exchange-status { font-size:12px; font-weight:400; background:#edf0f2; padding:4px 8px; display:inline-block; }
#quote-exchange .exchange-brief { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.65; }
#quote-exchange .exchange-link { display:flex; align-items:flex-end; gap:10px; margin:14px 0; }
#quote-exchange .exchange-link label { display:flex; flex-direction:column; gap:8px; flex:1; min-width:0; font-size:12px; }
#quote-exchange .exchange-link input { width:100%; box-sizing:border-box; }
#quote-exchange .exchange-actions { display:flex; gap:10px; flex-wrap:wrap; margin:14px 0; }
#quote-exchange .invited-quote { padding:14px 0; border-top:1px solid #ddd; overflow-wrap:anywhere; }
#quote-exchange .detail-grid strong { white-space:pre-wrap; overflow-wrap:anywhere; }
#quote-exchange .response-history { padding:12px; background:#f7f8f9; border:1px solid #e3e5e7; margin-top:12px; }
#quote-exchange .response-history summary { cursor:pointer; font-weight:600; }
#quote-exchange .response-comparison { margin:20px 0; min-width:0; }
#quote-exchange .response-comparison > label { display:flex; align-items:center; gap:10px; font-size:13px; }
#quote-exchange [data-response-years] { width:76px; }
#quote-exchange .form-note { overflow-wrap:anywhere; }
#quote-exchange button { white-space:normal; }
@media(max-width:600px) {
  #quote-exchange .exchange-heading,#quote-exchange .exchange-link { flex-direction:column; align-items:stretch; }
  #quote-exchange .exchange-heading > button { align-self:flex-start; }
  #quote-exchange .quote-invitation,#quote-exchange fieldset { padding:12px; }
  #quote-exchange .exchange-link label { width:100%; }
}
