.bp-quote-editor{min-width:0;max-width:100%;width:min(860px,100%)}.bp-quote-editor *{box-sizing:border-box}.bp-quote-editor .fields{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}.bp-quote-editor .field,.bp-quote-editor .fields>*{min-width:0;max-width:100%}.bp-quote-editor input,.bp-quote-editor select,.bp-quote-editor textarea{min-width:0;min-inline-size:0;max-width:100%;width:100%}.bp-quote-editor input[type=date],.bp-quote-editor input[type=time]{display:block;min-width:0;min-inline-size:0;width:100%;max-width:100%}.bp-quote-head{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:-1px;z-index:6;background:var(--surface);padding:10px 0 14px;margin-bottom:6px;border-bottom:1px solid var(--line)}.bp-quote-head h2{min-width:0;margin:0;overflow-wrap:anywhere;line-height:1.4}.bp-quote-head-actions{display:flex;align-items:center;gap:8px;flex:none}.bp-quote-close{display:grid;place-items:center;width:42px;height:42px;min-height:42px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--text);font-size:25px;padding:0;line-height:1}.bp-client-compact{position:relative}.bp-client-compact>input{padding-right:54px!important;text-overflow:ellipsis}.bp-client-compact.is-selected>span{color:var(--green)}.bp-client-compact input[readonly]{cursor:pointer;background:var(--alt);border-color:var(--line)}.bp-client-change{position:absolute;right:4px;top:4px;width:40px;height:40px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:18px;padding:0}.bp-client-confirmed{font-size:11px;color:var(--green);margin:0;line-height:1.5}.bp-quote-editor .bp-client-create{margin-top:-3px}.bp-quote-editor .bp-client-create .hint{display:none}.bp-quote-editor .bp-client-create .btn{font-size:11px;padding:7px 11px;min-height:34px}.bp-event-address{grid-column:1/-1;border-top:1px solid var(--line);padding-top:16px;min-width:0}.bp-event-address h3{margin-bottom:10px}.bp-event-cep-row{display:flex;gap:8px;align-items:center}.bp-event-cep-row input{flex:1;min-width:0}.bp-event-cep-row button{flex:none;min-height:44px;max-width:130px;white-space:normal}.bp-event-address details{margin-top:10px}.bp-event-address summary{cursor:pointer;color:var(--muted);font-size:12px;padding:7px 0}.bp-stock-summary{margin:12px 0;padding:12px 14px;border:1px solid var(--line);border-radius:12px;font-size:12px}.bp-stock-summary>strong{display:block}.bp-stock-summary p{margin:6px 0;overflow-wrap:anywhere}.bp-stock-summary.is-alert{border-color:#d55962;background:#fff1f2;color:#8f1d2a}.bp-stock-summary.is-ok{color:var(--green)}.bp-stock-summary .btn{font-size:11px;margin-top:6px}.bp-stock-label{display:block!important;margin-top:4px;font-size:11px!important;line-height:1.55}.bp-stock-good{color:#087348!important}.bp-stock-low{color:#865700!important}.bp-stock-empty,.bp-stock-error{color:#aa2031!important}.bp-stock-unknown{color:var(--muted)!important}.bp-picker.v10-results [data-bp-pick].bp-item-selected{background:#11834d;color:#fff}.bp-picker.v10-results [data-bp-pick].bp-item-selected:hover{background:#09683a}.bp-picker-controls input:disabled{opacity:1;color:var(--text);background:var(--alt)}.bp-stock-review-tag{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:9px;background:#fff0f1;border:1px solid #df7880;color:#a11e2c;font-size:11px;font-weight:700;line-height:1.4;white-space:normal}.bp-stock-alerttile{border-color:#df7880!important;color:#a11e2c!important;background:#fff0f1!important}.bp-stock-filter{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;border:1px solid #df7880;border-radius:12px;padding:12px;color:#a11e2c;margin:12px 0}.bp-quote-editor .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}.bp-quote-editor .subtle .between{min-width:0;gap:10px}.bp-quote-editor .subtle .between>*{min-width:0;overflow-wrap:anywhere}.toast{max-width:calc(100vw - 24px);width:max-content;white-space:normal;overflow-wrap:anywhere;border-radius:14px;text-align:center}.bp-picker-row .bp-picker-info{overflow-wrap:anywhere}.bp-quote-editor :focus-visible{outline:3px solid #6286ff;outline-offset:2px}[data-theme=dark] .bp-stock-summary.is-alert,[data-theme=dark] .bp-stock-review-tag,[data-theme=dark] .bp-stock-alerttile{background:#341c24!important;color:#ffaab0!important;border-color:#a94a58!important}[data-theme=dark] .bp-stock-good{color:#6edaa3!important}[data-theme=dark] .bp-stock-low{color:#f6c760!important}[data-theme=dark] .bp-stock-empty,[data-theme=dark] .bp-stock-error{color:#ffacb1!important}[data-theme=dark] .bp-stock-filter{color:#ffacb1}
@media(max-width:700px){.modalback:has(.bp-quote-editor){padding:8px max(8px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.bp-quote-editor{padding:14px;border-radius:14px;flex:0 1 100%;min-width:0}.bp-quote-editor .fields{grid-template-columns:repeat(2,minmax(0,1fr))}.bp-quote-editor input,.bp-quote-editor select,.bp-quote-editor textarea{font-size:16px}.bp-quote-editor .field label{font-size:12px;overflow-wrap:anywhere}.bp-quote-editor .bp-quote-head h2{font-size:16px}.bp-quote-editor #quoteItems .fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bp-quote-editor #quoteItems .field:first-child{grid-column:1/-1}.bp-quote-editor #quoteItems [data-rmq]{justify-self:end;min-height:42px;min-width:42px}.bp-quote-editor .modalfooter{position:static;gap:8px}.bp-quote-editor .modalfooter .btn{min-height:44px}.bp-quote-editor .bp-picker-controls input{font-size:16px}.bp-stock-filter>*{max-width:100%}.bp-event-address>.fields{margin-top:10px}}
@media(max-width:420px){.bp-quote-editor .fields{grid-template-columns:minmax(0,1fr)}.bp-quote-editor .modalfooter .btn{width:100%}.bp-quote-editor .bp-quote-head{gap:6px}.bp-quote-head-actions{gap:6px}.bp-quote-head .badge{padding:5px 7px;max-width:95px;white-space:normal}.bp-event-cep-row button{max-width:110px;font-size:12px}.bp-quote-editor .bp-search-input input{padding-left:38px!important}.bp-quote-editor .bp-client-compact input{padding-right:44px!important}.bp-quote-editor .bp-picker-row{gap:8px;padding:12px 8px;grid-template-columns:34px minmax(0,1fr) 42px}.bp-quote-editor .bp-picker-avatar{width:34px;height:34px}.bp-quote-editor .bp-picker-info strong{font-size:12px}.bp-quote-editor .bp-picker-toolbar{font-size:10px;gap:6px}.bp-quote-editor .bp-picker-toolbar button{width:32px;height:34px}.bp-quote-editor .bp-picker-controls input{width:42px!important}.bp-quote-editor .bp-picker-list{max-height:340px}}
.bp-quote-editor input::-webkit-date-and-time-value{min-width:0;max-width:100%;text-align:left}.bp-quote-editor input::-webkit-datetime-edit{min-width:0;padding:0}
.modal{min-width:0;max-width:100%}.field input:not([type=checkbox]),.field select,.field textarea{min-width:0;max-width:100%;box-sizing:border-box}.field input[type=date],.field input[type=time]{min-inline-size:0;width:100%;max-width:100%}.field input::-webkit-date-and-time-value{min-width:0;max-width:100%;text-align:left}
@media(max-width:700px){.bp-quote-editor .bp-picker-controls input{min-height:44px;width:44px!important}.bp-quote-editor .bp-picker.v10-results [data-bp-pick]{width:44px;height:44px;min-height:44px}.bp-quote-editor .bp-picker-row{grid-template-columns:34px minmax(0,1fr) 44px}}
@media(max-width:700px){.bp-quote-editor #qAcervoSearch{scroll-margin-top:116px}.bp-quote-editor #qAcervoResults .bp-picker-list{max-height:min(340px,calc(100dvh - 244px))}.bp-quote-editor .bp-picker-row{grid-template-columns:auto minmax(0,1fr) 44px}}
.v8-stats .bp-stock-alerttile{grid-column:1/-1;display:flex;align-items:center;gap:14px;padding:14px 16px;text-align:left}.v8-stats .bp-stock-alerttile strong{font-size:24px;line-height:1.2;min-width:28px}.v8-stats .bp-stock-alerttile span{font-size:12px;line-height:1.5}
/* Resumo de estoque compacto: destaca a pendência sem transformar o editor em um alerta. */
.bp-quote-editor #bpQuoteStockStatus.is-alert{padding:10px 12px;border:1px solid var(--line)!important;border-left:3px solid #ad916a!important;background:var(--alt)!important;color:var(--text)!important;border-radius:9px;font-size:12px}
.bp-quote-editor #bpQuoteStockStatus.is-alert>strong{font-size:12px;font-weight:650;display:inline;margin-right:7px}
.bp-quote-editor #bpQuoteStockStatus .bp-stock-summary-note{font-size:11px;color:var(--muted)}
.bp-quote-editor #bpQuoteStockStatus details{margin-top:4px}.bp-quote-editor #bpQuoteStockStatus summary{width:max-content;max-width:100%;cursor:pointer;padding:7px 0;color:var(--muted);font-size:11px;line-height:1.5}
.bp-quote-editor #bpQuoteStockStatus details p{font-size:11px;color:var(--muted);line-height:1.7;margin:2px 0 4px}
