/* QA44 — refinamentos de quantidade, frete e segurança do rascunho.
   Respeitar tema claro e AMOLED; não alterar a dock nem o desktop. */
#unit-price-fields input[name="quantidade"][readonly] {
  cursor:default;
  background:var(--qa35-surface,#eef3ed);
  opacity:.96;
}
#unit-price-fields label {min-width:0}
#unit-price-fields label small {display:block;overflow-wrap:anywhere}
.qa44-freight-expense {min-width:0}
.qa44-freight-expense input {width:100%;box-sizing:border-box}
.qa44-draft-status,.qa44-draft-offer,.qa44-draft-banner {
  box-sizing:border-box;
  border:1px solid rgba(143,166,144,.48);
  background:rgba(87,130,96,.07);
  border-radius:14px;
  padding:12px 15px;
  margin:10px 0;
  max-width:100%;
  min-width:0;
  overflow-wrap:anywhere;
  font:inherit;
  color:inherit;
}
.qa44-draft-status strong,.qa44-draft-offer strong {display:block;font-size:13px;font-weight:750;line-height:1.5}
.qa44-draft-status span,.qa44-draft-offer p,.qa44-draft-banner span {
  display:block;
  font-size:12px;
  line-height:1.5;
  margin:4px 0 0;
  color:inherit;
}
.qa44-draft-offer select {
  width:100%;min-height:44px;max-width:100%;
  border-radius:11px;margin:12px 0;
  overflow:hidden;text-overflow:ellipsis;
  color:inherit;
  background:var(--qa35-surface,#f5f8f4);
  border:1px solid rgba(150,167,150,.55);
}
.qa44-draft-actions {display:flex;flex-wrap:wrap;gap:9px}
.qa44-draft-actions button {
  min-height:44px;
  border-radius:11px;
  border:1px solid rgba(49,107,74,.42);
  background:rgba(33,109,73,.12);
  color:inherit;
  font:650 13px/1.4 system-ui,sans-serif;
  padding:10px 14px;
  cursor:pointer;
}
.qa44-draft-actions .qa44-draft-discard {background:transparent}
.qa44-draft-actions button:focus-visible {
  outline:3px solid #c49a48;outline-offset:2px;
}
@media(max-width:600px) {
  .qa44-draft-actions button {flex:1 1 100%}
  .qa44-draft-status,.qa44-draft-offer,.qa44-draft-banner {padding:11px 12px}
}
html[data-ag32-theme="dark"] :is(.qa44-draft-status,.qa44-draft-offer,.qa44-draft-banner) {
  background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.24);
}
html[data-ag32-theme="dark"] #unit-price-fields input[name="quantidade"][readonly] {
  background:rgba(255,255,255,.09);color:inherit;
}
@media(prefers-reduced-motion:reduce) {
  .qa44-draft-actions button {transition:none!important;animation:none!important}
}