/* Quote builder uses Store tokens and account type roles only. */
.quote-drafts { min-width:0; }
.quote-drafts [hidden] { display:none !important; }
.quote-drafts .qd-title-row,.quote-drafts .qd-top-actions,.quote-drafts .qd-editor-actions,.quote-drafts .qd-item-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.quote-drafts .qd-title-row { justify-content:space-between; }
.quote-drafts .qd-title-row h3,.quote-drafts .qd-title-row h4 { margin:0; }
.quote-drafts .qd-top-actions { margin:14px 0; }
.quote-drafts .qd-list,.quote-drafts .qd-items,.quote-drafts .qd-results { list-style:none; padding:0; margin:0; }
.quote-drafts .qd-list li,.quote-drafts .qd-item,.quote-drafts .qd-results li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); min-width:0; }
.quote-drafts .qd-list li>*,.quote-drafts .qd-item>div:first-child,.quote-drafts .qd-results li>div { min-width:0; }
.quote-drafts .qd-open { color:var(--brand-ink); overflow-wrap:anywhere; }
.quote-drafts :is(.qd-open,.qd-item,.qd-results) small { display:block; color:var(--text-mut); font:400 11.5px/1.5 var(--body); overflow-wrap:anywhere; margin-top:3px; }
.quote-drafts .qd-item strong,.quote-drafts .qd-results strong { font:600 13px/1.5 var(--body); overflow-wrap:anywhere; }
.quote-drafts .qd-item-part { padding-left:18px; }
.quote-drafts .qd-editor { border-top:1px solid var(--line-2); padding-top:18px; margin-top:16px; }
.quote-drafts .qd-fields { border:0; padding:0; margin:0; min-width:0; }
.quote-drafts .field { width:100%; min-width:0; }
.quote-drafts textarea.field { resize:vertical; }
.quote-drafts .qd-quantity { font:400 12px/1.5 var(--body); color:var(--text-dim); white-space:nowrap; }
.quote-drafts .qd-quantity .field { width:76px; }
.quote-drafts .qd-product-search { margin:16px 0; }
.quote-drafts .qd-product-search>label { display:block; font:500 12px/1.5 var(--body); margin-bottom:5px; }
.quote-drafts .qd-editor-actions { margin-top:16px; }
.quote-drafts .qd-error { border-left:3px solid var(--red); padding:8px 12px; margin:12px 0; color:var(--text); background:var(--surface-soft); }
.quote-drafts .qd-error p,.quote-drafts .qd-error ul { margin:0; }
.quote-drafts .qd-error a { color:var(--brand-ink); }
.quote-drafts .qd-notice { font:400 12.5px/1.5 var(--body); color:var(--text-dim); }
.quote-drafts .qd-notice:empty { display:none; }
.quote-drafts .qd-review { border-top:1px solid var(--line-2); padding-top:16px; margin-top:16px; }
.quote-drafts .qd-estimate { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.quote-drafts .qd-estimate strong { font:500 14px/1.5 var(--mono); }
.quote-drafts :is(input,textarea,button):disabled { cursor:default; }
@media(max-width:620px) {
  .quote-drafts .qd-item { align-items:flex-start; flex-wrap:wrap; }
  .quote-drafts .qd-item>div:first-child { flex:1 1 180px; }
  .quote-drafts .qd-item-actions { margin-left:auto; }
  .quote-drafts .qd-review .aw-table { max-width:100%; overflow:auto; }
  .quote-drafts .qd-review table { min-width:480px; }
}
@media(pointer:coarse) {
  .quote-drafts :is(.qd-open,.aw-quiet,.field,.btn) { min-height:44px; }
}
