.av-quotes .aq-card{padding:20px;min-width:0}.aq-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.aq-head h3,.aq-head h4,.aq-dialog h3{margin:0}.aq-head p{margin:4px 0 0;color:#65766d}.aq-filters,.aq-grid{display:grid;grid-template-columns: minmax(0,1fr) minmax(0,1fr);gap:12px}.aq-filters{grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;align-items:end;background:#f3f6f4;padding:12px;border-radius:8px;margin:16px 0}.aq-actions{display:flex;flex-wrap:wrap;gap:6px}.aq-pager{margin-top:14px}.aq-status{padding:4px 8px;border-radius:5px;background:#f0f3f1;color:#56655b;font-size:.83rem}.aq-status.approved{background:#eaf5eb;color:#197635}.aq-status.sent{background:#eff5ff;color:#2359a4}.aq-status.declined,.aq-status.canceled{background:#ffefed;color:#a72d24}.aq-dialog{width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 26px);padding:0;border:1px solid #dce6df;border-radius:12px;box-shadow:0 20px 60px #10241b33;color:#18261d;background:#fff;overflow:hidden}.aq-dialog::backdrop{background:#18241f80}.aq-dialog-head,.aq-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 20px}.aq-dialog-head{border-bottom:1px solid #e5ebe6}.aq-footer{justify-content:flex-end;border-top:1px solid #e5ebe6}.aq-form{margin:0;display:flex;flex-direction:column;max-height:calc(100dvh - 90px);min-height:0}.aq-scroll{overflow:auto;display:grid;gap:16px;padding:16px 20px}.aq-dialog label,.aq-filters label{display:grid;gap:6px;min-width:0;font-size:.86rem;font-weight:600}.aq-dialog input,.aq-dialog select,.aq-dialog textarea,.aq-filters input,.aq-filters select{width:100%;min-width:0;box-sizing:border-box;min-height:40px;border:1px solid #c6d5cb;border-radius:8px;padding:9px;background:#fff;color:#17251c;font:inherit}.aq-dialog textarea{resize:none}.aq-item{border:1px solid #dce7df;border-radius:10px;padding:12px;display:grid;gap:10px;margin:8px 0}.aq-item-values{grid-template-columns:repeat(3,minmax(0,1fr))}.aq-total{background:#f0f6f2;padding:10px;border-radius:8px;display:grid;gap:4px}.aq-total strong{font-size:1.4rem}.aq-dialog [hidden]{display:none!important}.aq-dialog [data-error]{color:#a52b28;margin:0}.av-quotes [data-msg]{color:#a52b28}.av-quotes .table{overflow:auto}.aq-dialog button{min-height:38px}.av-fiscal-core .av-fc-state{flex-wrap:wrap}.av-fiscal-core .av-fc-issuer .av-fc-actions{flex-wrap:wrap}
@media(max-width:620px){.aq-filters,.aq-grid,.aq-item-values{grid-template-columns:1fr}.aq-dialog-head,.aq-footer,.aq-scroll{padding:12px}.av-quotes .aq-card{padding:12px}.av-quotes table{min-width:630px}.aq-head{align-items:flex-start}}
/* 29.3 — focused commercial workflow. */
.av-quotes .aq-card{width:100%;max-width:none;margin:0;padding:22px;display:grid;gap:18px}.av-quotes .aq-head h3{font-size:1.16rem}.av-quotes .aq-head p{font-size:.86rem}.av-quotes .aq-head button,.aq-filter-actions button,.av-quotes .aq-actions button{min-height:42px}.aq-stages{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.av-quotes .aq-stage{display:grid;gap:6px;text-align:left;min-width:0;white-space:normal;background:#fff;border:1px solid #dce5df;border-radius:9px;padding:12px;color:#26382d;box-shadow:none}.av-quotes .aq-stage span{font-size:.76rem;color:#52665a}.av-quotes .aq-stage strong{font-size:1.35rem;line-height:1.15}.av-quotes .aq-stage small{font-size:.73rem;overflow-wrap:anywhere;color:#62756a}.av-quotes .aq-stage[aria-pressed=true]{border-color:#268343;box-shadow:inset 0 0 0 1px #268343;background:#f0f8f2}.aq-status.negotiation{background:#fff4db;color:#885c13}.aq-status.converted{background:#e8f4eb;color:#1d6b39}.av-quotes .aq-filters{margin:0;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:12px;align-items:end}.aq-filter-actions{display:flex;gap:8px;align-items:center}.aq-filter-actions button{min-width:88px}.av-quotes .aq-actions{gap:6px}.av-quotes td[data-label="Ações"]{min-width:190px}.av-quotes [data-msg]:empty{display:none}.av-quotes .aq-pager{margin:0}.aq-dialog.aq-wizard{width:min(900px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;overflow:visible}.aq-wizard[open]{display:flex;flex-direction:column}.aq-wizard .aq-dialog-head{padding:18px 24px;flex:none}.aq-wizard .aq-dialog-head h3{font-size:1.22rem}.aq-eyebrow{display:block;color:#62766a;font-size:.68rem;font-weight:800;letter-spacing:.09em;margin-bottom:4px}.aq-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:14px 24px;gap:8px;border-bottom:1px solid #e4ece6;flex:none}.aq-progress>div{display:flex;gap:8px;align-items:center;color:#6c7d72;min-width:0;font-size:.84rem}.aq-progress span{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#f0f3f1;color:#617269;font-weight:700}.aq-progress [data-state=current]{color:#196b34}.aq-progress [data-state=current] span{background:#21813c;color:white}.aq-progress [data-state=done] span{background:#e4f1e7;color:#246c3a}.aq-wizard .aq-form{flex:1;min-height:0;max-height:none;overflow:hidden}.aq-wizard .aq-scroll{min-height:0;overflow:auto;flex:1;padding:22px 24px;display:block;overscroll-behavior:contain}.aq-section{display:grid;gap:16px}.aq-section-title h4{font-size:1rem;margin:0 0 4px}.aq-section-title p{font-size:.86rem;color:#63746a;margin:0;line-height:1.4}.aq-wizard .aq-grid{gap:14px 16px;align-items:start}.aq-wide{grid-column:1/-1}.aq-client-lookup{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;background:#f4f7f5;border-radius:8px}.aq-client-lookup small{grid-column:1/-1;color:#697970}.aq-client-lookup small:empty{display:none}.aq-wizard input,.aq-wizard select,.aq-wizard textarea{height:44px;margin:0;border-radius:8px;font-size:.92rem}.aq-wizard textarea{height:auto;min-height:96px}.aq-wizard input::placeholder,.aq-wizard textarea::placeholder{color:#89938d;opacity:1}.aq-wizard input[readonly]{background:#f5f7f6;color:#52665a}.aq-wizard select{padding-right:30px}.aq-wizard .aq-actions button,.aq-wizard .aq-footer button{min-height:42px}.aq-wizard .aq-item{padding:16px;gap:14px;margin:0 0 10px}.aq-wizard .aq-item-values{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.aq-wizard .aq-item-values[data-cost-visible=true]{grid-template-columns:repeat(4,minmax(0,1fr))}.aq-line-total{display:grid;gap:5px;min-height:44px;align-content:center;padding:4px 12px;background:#f3f6f4;border-radius:7px}.aq-line-total small,.aq-total small,.aq-review small{font-size:.75rem;color:#62756a}.aq-line-total strong{font-size:.92rem}.aq-wizard .aq-summary-grid{align-items:end}.aq-wizard .aq-total{min-height:68px;padding:12px 16px;background:#f0f6f2}.aq-wizard .aq-total [data-margin]{font-size:.83rem;line-height:1.4}.aq-review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px;border:1px solid #dce6df;border-radius:10px}.aq-review>div{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.aq-review-items{grid-column:1/-1;border-block:1px solid #e7eee9;padding:10px 0;gap:8px!important}.aq-review-items>div{display:flex;justify-content:space-between;gap:12px}.aq-review-total{font-size:1.35rem;color:#1c7137}.aq-wizard .aq-footer{flex:none;justify-content:flex-end;padding:14px 24px;background:white}.aq-spacer{flex:1}.aq-wizard [data-error]:not([hidden]){margin-top:14px;padding:10px 12px;background:#fff3f1;border:1px solid #f1d5ce;border-radius:7px}.aq-wizard button.primary{color:#fff}.aq-sale-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 14px;padding:14px;background:#f3f6f4;border-radius:9px}.aq-sale-detail div{display:grid;gap:5px}.aq-sale-detail small{color:#64756a}.aq-sale-detail strong{overflow-wrap:anywhere}.fx-fiscal-studio[data-view="fx-sale"] #fxSalesReport .av-fr-head button{min-height:44px;padding:0 16px}.fx-fiscal-studio[data-view="fx-sale"] #fxSalesReport .av-fr-filters{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.fx-fiscal-studio[data-view="fx-sale"] #fxSalesReport .av-fr-filter-actions{grid-column:span 2;align-self:end}.fx-fiscal-studio[data-view="fx-sale"] .av-sale-editor{max-width:none;box-sizing:border-box}.fx-fiscal-studio[data-view="fx-sale"] .av-sale-editor .fx-items th,.fx-fiscal-studio[data-view="fx-sale"] .av-sale-editor .fx-items td{overflow-wrap:normal;word-break:normal}.fx-fiscal-studio[data-view="fx-sale"] .av-sale-editor .fx-items th:nth-last-child(2){min-width:90px}.av-quotes .aq-stage:focus-visible,.aq-dialog :is(button,input,select,textarea):focus-visible{outline:2px solid #2b8a49;outline-offset:2px}
@media(max-width:1180px){.aq-stages{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:760px){.av-quotes .aq-card{padding:12px;gap:12px}.aq-stages{grid-template-columns:repeat(2,minmax(0,1fr))}.av-quotes .aq-stage{padding:10px}.av-quotes .aq-filters{grid-template-columns:1fr}.aq-filter-actions button{flex:1}.aq-wizard .aq-dialog-head,.aq-wizard .aq-footer,.aq-wizard .aq-scroll{padding:12px 14px}.aq-progress{padding:10px 14px;gap:5px}.aq-progress>div{flex-direction:column;align-items:center;gap:4px;text-align:center;font-size:.72rem}.aq-wizard .aq-grid,.aq-client-lookup{grid-template-columns:1fr;gap:10px}.aq-wizard .aq-item-values,.aq-wizard .aq-item-values[data-cost-visible=true]{grid-template-columns:repeat(2,minmax(0,1fr))}.aq-wizard .aq-item{padding:12px}.aq-wizard .aq-footer{gap:6px;flex-wrap:wrap}.aq-wizard .aq-footer button{padding-inline:10px}.aq-wizard .aq-footer .aq-spacer{display:none}.aq-wizard .aq-footer button.primary{flex:1}.aq-review{grid-template-columns:1fr}.aq-review-items{grid-column:auto}.av-quotes .table{border:0;overflow:visible}.av-quotes table{display:block;width:100%;min-width:0!important}.av-quotes thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.av-quotes tbody{display:grid;gap:10px}.av-quotes tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #dce7df;border-radius:9px;padding:10px;gap:6px;background:white}.av-quotes tbody td{display:block;min-width:0!important;overflow-wrap:anywhere;padding:5px;border:0}.av-quotes td[data-label]::before{content:attr(data-label);display:block;font-size:.7rem;color:#617368;margin-bottom:4px}.av-quotes td[data-label="Ações"],.av-quotes td[colspan]{grid-column:1/-1}.av-quotes td[data-label="Ações"]::before{display:none}.av-quotes .aq-actions button{flex:1}.fx-fiscal-studio[data-view="fx-sale"] #fxSalesReport .av-fr-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.fx-fiscal-studio[data-view="fx-sale"] #fxSalesReport .av-fr-filter-actions{grid-column:1/-1}}
@media(max-width:380px){.aq-progress>div{font-size:.67rem}.aq-wizard .aq-item-values,.aq-wizard .aq-item-values[data-cost-visible=true]{grid-template-columns:1fr}.fx-fiscal-studio[data-view="fx-sale"] #fxSalesReport .av-fr-filters{grid-template-columns:1fr}}
.aq-wizard .aq-footer{border-radius:0 0 12px 12px}.aq-wizard :is(input,select,textarea){font-weight:400}.aq-wizard select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23516b5a' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;background-size:15px}.aq-wizard .aq-section-title p{max-width:58ch}.aq-wizard .aq-review-items strong{white-space:nowrap}
/* 29.4 — consistent sizing and direct status editing */
.av-quotes .aq-card{max-width:none!important;width:100%;box-sizing:border-box}.av-quotes .aq-filter-actions{align-items:stretch}.av-quotes .aq-filters :is(input,select,button),.av-quotes .aq-actions button,.aq-wizard .aq-footer button,.aq-wizard .aq-actions button{height:44px!important;min-height:44px!important;box-sizing:border-box;margin:0!important;padding-inline:14px}.av-quotes button.primary,.aq-wizard button.primary{color:#fff!important}.aq-wizard .aq-grid :is(input,select),.aq-wizard .aq-client-lookup :is(input,select){height:44px!important;min-height:44px!important;box-sizing:border-box;width:100%;margin:0!important}.aq-wizard .aq-grid label,.aq-wizard .aq-client-lookup label,.av-quotes .aq-filters label{align-content:start;grid-template-rows:auto 44px;gap:7px}.aq-wizard .aq-line-total,.aq-wizard .aq-total{box-sizing:border-box;min-height:44px}.aq-progress{grid-template-columns:repeat(4,minmax(0,1fr))}.aq-wizard .aq-parc-generator{grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end}.aq-parc-generator button{min-height:44px}.aq-parc-row{margin-top:12px}.av-quotes .aq-status-select{min-height:38px;width:100%;min-width:120px;border:1px solid #cbd8cf;border-radius:7px;padding:6px;background:#fff;color:#26382d}.av-quotes .aq-status-select.approved{background:#eaf5eb;color:#197635}.av-quotes .aq-status-select.negotiation{background:#fff4db;color:#885c13}.av-quotes .aq-status-select.declined,.av-quotes .aq-status-select.canceled{background:#fff0ed;color:#a72d24}.av-quotes .aq-status-select.sent{background:#eff5ff;color:#2359a4}.aq-wizard .aq-summary-grid{align-items:end}.aq-wizard .aq-section-title p{max-width:none}.aq-wizard .aq-summary-grid .aq-total{min-height:44px}.aq-wizard .aq-form{width:100%}.aq-wizard .aq-footer{align-items:center}.aq-wizard .aq-footer button{min-width:88px}.aq-wizard .aq-footer button.primary{min-width:125px}@media(max-width:760px){.aq-wizard .aq-parc-generator{grid-template-columns:1fr}.aq-wizard .aq-footer button{min-width:0}.aq-wizard .aq-footer button.primary{min-width:100px}.aq-progress{gap:3px}.aq-progress>div{font-size:.65rem}.aq-wizard .aq-grid label{grid-template-rows:auto 44px}.aq-wizard .aq-progress span{width:25px;height:25px}}
/* 29.5: scoped quote sharing and central inventory */
.av-quotes .aq-service-bar{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin:0 0 4px}.aq-connection{font-size:.82rem;color:#6d7972;display:inline-flex;align-items:center;gap:7px}.aq-connection::before{content:'';width:8px;height:8px;border-radius:50%;background:#929b96}.aq-connection[data-connected=true]{color:#20773b}.aq-connection[data-connected=true]::before{background:#22863d}.aq-service-bar button{min-height:34px}.av-quotes .aq-actions button{font-size:.8rem;padding-inline:10px}.av-quotes .aq-actions .aq-direct:disabled{opacity:.52}.aq-stock-hint{margin:0!important;padding:8px 12px;background:#f3f6f4;border-radius:6px;color:#607368;font-size:.8rem}.aq-stock-hint[data-state=ok]{color:#246b3d;background:#edf6ef}.aq-stock-hint[data-state=warn]{color:#8d6019;background:#fff6e4}.aq-dialog.aq-pdf-dialog{width:min(1040px,calc(100vw - 24px));height:min(880px,calc(100dvh - 24px));max-height:calc(100dvh - 24px)}.aq-pdf-dialog[open]{display:flex;flex-direction:column}.aq-pdf-dialog .aq-dialog-head{flex:none}.aq-pdf-dialog .aq-dialog-head small{color:#63766a}.aq-pdf-tools{padding:14px 20px;display:flex;gap:16px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #dfe7e1}.aq-pdf-switch{display:flex;gap:4px;padding:4px;border:1px solid #dce5de;border-radius:9px;background:#f2f5f3}.aq-pdf-switch button{appearance:none;border:1px solid transparent;border-radius:6px;background:transparent;padding:10px 16px;font:inherit;font-size:.85rem;font-weight:600;color:#53685b;cursor:pointer}.aq-pdf-switch button[aria-pressed=true]{background:white;border-color:#bcd8c3;color:#197236}.aq-pdf-tools small{color:#617469}.aq-pdf-frame{flex:1;min-height:0;background:#edf1ee;display:grid;place-items:center;padding:0}.aq-pdf-frame iframe{width:100%;height:100%;border:0}.aq-pdf-frame [data-pdf-status]{padding:18px;text-align:center}.aq-pdf-dialog .aq-footer{flex:none;background:#fff}.aq-pdf-dialog .aq-footer button,.aq-movement-dialog .aq-footer button{min-height:44px;padding-inline:14px}.aq-pdf-dialog button.primary,.aq-movement-dialog button.primary{color:#fff!important}.aq-stock-page{min-width:0;display:grid;gap:14px}.aq-stock-page[hidden]{display:none!important}.aq-stock-page .fiscal-heading{align-items:center;flex-wrap:wrap;gap:10px}.aq-stock-page .fiscal-heading p{margin:3px 0;color:#65766d;font-size:.87rem}.aq-wh-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.aq-wh-kpis>div{border:1px solid #dce5df;border-radius:8px;padding:14px;display:grid;gap:7px}.aq-wh-kpis small{color:#62756b}.aq-wh-kpis strong{font-size:1.25rem}.aq-wh-filter{display:grid;grid-template-columns:2fr 1fr;gap:12px;background:#f3f6f4;padding:12px;border-radius:8px}.aq-wh-filter label{display:grid;gap:6px;min-width:0}.aq-wh-filter :is(input,select){width:100%;min-width:0;min-height:44px;box-sizing:border-box}.aq-stock-page [data-wh-status]:empty{display:none}.aq-wh-state{font-size:.8rem;color:#62736a}.aq-wh-state[data-state=ok]{color:#227239}.aq-wh-state[data-state=warn]{color:#946416}.aq-wh-history{border:1px solid #dce5de;border-radius:8px;padding:12px}.aq-wh-history summary{cursor:pointer;font-weight:600}.aq-wh-history .table{margin-top:12px}.aq-stock-form{display:grid;gap:14px;padding:18px 20px;max-height:75dvh;overflow:auto}.aq-stock-form [hidden]{display:none!important}.aq-stock-form p:empty{display:none}.aq-stock-form [data-err]{color:#ad372b}.aq-stock-form .aq-footer{padding:12px 0 0}.aq-movement-dialog{width:min(620px,calc(100vw - 24px))}.aq-dialog [hidden]{display:none!important}@media(max-width:760px){.aq-wh-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.aq-wh-filter,.aq-stock-form .aq-grid{grid-template-columns:1fr}.aq-pdf-tools{padding:10px 12px;gap:6px}.aq-pdf-dialog .aq-footer{padding:12px;flex-wrap:wrap}.aq-pdf-dialog .aq-footer button{flex:1;min-width:125px}.aq-stock-page .table{overflow-x:auto}.aq-stock-page table{min-width:620px}.aq-stock-page .fx-stock-actions{flex-wrap:wrap}.aq-service-bar{justify-content:flex-start!important}.aq-stock-form{padding:14px}.aq-stock-form .aq-footer{flex-wrap:wrap}}
/* 29.6 — compact, explicit quote actions and status picker */
.av-quotes [data-msg]:empty{display:none!important}.av-quotes .aq-actions{align-items:center;gap:6px}.av-quotes .aq-actions button{min-height:36px!important;height:auto!important;padding:8px 11px!important;line-height:1.3;white-space:normal}.av-quotes .aq-actions .aq-direct{color:#1c673a;border-color:#b9d6c3}.av-quotes .aq-actions .aq-direct:disabled{color:#62736a;background:#f3f5f4;opacity:1;border-color:#dce5df}.av-quotes .aq-actions .aq-direct[data-sent=true]{color:#197635;background:#eaf5eb}.av-quotes .aq-status-select{appearance:none!important;-webkit-appearance:none!important;min-width:142px;max-width:190px;min-height:36px!important;height:36px!important;padding:6px 30px 6px 12px!important;border-radius:18px!important;font-size:.84rem;font-weight:600;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23546a5d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 10px center!important;background-size:14px!important}.av-quotes .aq-status-select.draft{background-color:#f0f3f1;color:#52635a}.av-quotes .aq-status-select.converted{background-color:#eaf5eb;color:#197635}.av-select-menu.aq-status-menu{padding:6px;gap:4px;border-radius:12px}.aq-status-menu-heading{font-size:11px;font-weight:650;color:#64756b;padding:7px 10px 5px;outline:none}.aq-status-menu .av-select-option{justify-content:flex-start;gap:9px;min-height:35px;padding:7px 10px}.aq-status-menu .av-select-option::before{content:'';width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#829087}.aq-status-menu .av-select-option[data-quote-status=sent]::before{background:#3974ba}.aq-status-menu .av-select-option[data-quote-status=negotiation]::before{background:#b4821f}.aq-status-menu .av-select-option[data-quote-status=approved]::before,.aq-status-menu .av-select-option[data-quote-status=converted]::before{background:#278542}.aq-status-menu .av-select-option[data-quote-status=declined]::before,.aq-status-menu .av-select-option[data-quote-status=canceled]::before{background:#b74b42}.aq-status-menu .av-select-option .av-select-tick{margin-left:auto}.aq-status-menu .av-select-option[aria-selected=true]{background:#eef3ef;color:#244c32;border-color:#d1e2d6}@media(max-width:760px){.av-quotes .aq-status-select{max-width:100%;min-width:0;width:100%}.av-quotes .aq-actions .aq-direct{flex-basis:100%}}
/* 29.8 — unified delivery */
.aq-send-dialog{width:min(560px,calc(100vw - 28px));max-width:560px}.aq-send-body{padding:18px 22px;display:grid;gap:14px}.aq-send-body>p{margin:0;color:#62736a;font-size:.88rem}.aq-send-options{display:grid;gap:9px}.aq-send-options button{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;text-align:left;gap:12px;width:100%;padding:14px;border:1px solid #dbe5df;border-radius:10px;background:#fff;color:#193126;cursor:pointer;min-height:70px}.aq-send-options button[aria-pressed=true]{border-color:#21843b;background:#eef7f0;box-shadow:0 0 0 1px #21843b}.aq-send-options button:disabled{background:#f5f7f6;color:#6b7770;cursor:not-allowed}.aq-send-options button span:nth-child(2){display:grid;gap:4px;min-width:0}.aq-send-options small{color:#64766b;overflow-wrap:anywhere;font-size:.79rem}.aq-channel-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#e7f2ea;color:#23763b;font-size:21px}.aq-channel-state{font-size:.73rem;padding:4px 7px;background:#e7ebe8;border-radius:12px;color:#65736b}.aq-channel-state[data-active=true]{background:#e0f2e4;color:#1d7235}.aq-send-feedback:empty{display:none}.aq-send-body .aq-send-feedback[data-error=true]{color:#a62a25}.aq-send-body .aq-send-feedback[data-error=false]{color:#20733a}.aq-send-dialog .aq-footer{gap:8px;flex-wrap:wrap}.aq-send-dialog .aq-footer button{min-height:40px}.aq-send-dialog .aq-footer [data-download]{margin-right:auto}.aq-send-button{color:#216b39!important;border-color:#afcdb8!important}@media(max-width:520px){.aq-send-body{padding:14px}.aq-send-options button{grid-template-columns:32px minmax(0,1fr);gap:8px}.aq-channel-state{grid-column:2;justify-self:start}.aq-send-dialog .aq-footer [data-download]{margin-right:0}}

.aq-inv{display:inline-block;font-size:.82rem;font-weight:600;border-radius:6px;padding:5px 8px;background:#f0f4f1}.aq-inv.ok{color:#24743b}.aq-inv.warn{color:#96621b;background:#fff5e2}.aq-inv-detail{display:block;margin-top:4px;color:#64736b;font-size:.75rem}.aq-buy-inline{display:block;margin-top:7px;min-height:34px}.aq-stock-hint{display:block}.aq-actions button:disabled{opacity:.5;cursor:not-allowed}

/* Revisões comerciais não herdam aprovação fiscal ou comercial anterior. */
.aq-approval-note{grid-column:1/-1;padding:12px 14px;border:1px solid var(--av-line,#dce7e1);background:var(--av-card-soft,#f4f7f5);border-radius:10px;font-size:.88rem;color:var(--av-muted,#43534d);line-height:1.45}
.aq-approval-note strong{color:var(--av-text,#263a30)}

/* Aveltrim Quotes Pro V2 — 20261125 */
.av-quotes{
  --aq-green:#176b47;
  --aq-green-2:#1f7a52;
  --aq-green-soft:#eaf4ee;
  --aq-border:#d8e5dd;
  --aq-border-2:#c7d9ce;
  --aq-text:#173329;
  --aq-muted:#63786c;
  --aq-bg:#f6faf7;
  --aq-chip:#f1f5f2;
}
.av-quotes .aq-card{
  padding:26px!important;
  border:1px solid var(--aq-border);
  border-radius:18px;
  background:#fff;
  box-shadow:0 14px 36px rgba(20,53,38,.05);
  gap:20px!important;
}
.av-quotes .aq-head{
  gap:16px;
  align-items:flex-start;
}
.av-quotes .aq-head>div:first-child{
  min-width:0;
  max-width:760px;
}
.av-quotes .aq-head h3{
  font-size:1.42rem;
  line-height:1.15;
  color:var(--aq-text);
}
.av-quotes .aq-head p{
  margin-top:8px;
  color:var(--aq-muted);
  font-size:.97rem;
  line-height:1.55;
}
.av-quotes .aq-head .aq-actions{
  gap:10px;
  justify-content:flex-end;
}
.av-quotes .aq-head .aq-actions .primary,
.av-quotes .aq-filter-actions .primary,
.av-quotes .aq-dialog button.primary{
  background:var(--aq-green)!important;
  border-color:var(--aq-green)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.av-quotes .aq-head .aq-actions .action,
.av-quotes .aq-filter-actions .action,
.av-quotes .aq-actions .action,
.av-quotes .aq-dialog .action{
  background:#fff;
  border-color:var(--aq-border-2)!important;
  color:var(--aq-text)!important;
}
.av-quotes .aq-head .aq-actions button,
.av-quotes .aq-filter-actions button,
.av-quotes .aq-actions button{
  min-height:44px!important;
  border-radius:12px!important;
  padding:0 15px!important;
  font-weight:700;
}
.av-quotes .aq-stages{
  display:flex!important;
  gap:12px;
  overflow:auto;
  padding:2px 2px 6px;
  scrollbar-width:thin;
  scroll-snap-type:x proximity;
}
.av-quotes .aq-stages::-webkit-scrollbar{height:8px}
.av-quotes .aq-stages::-webkit-scrollbar-thumb{background:#cad8d0;border-radius:999px}
.av-quotes .aq-stage{
  min-width:165px;
  flex:0 0 165px;
  scroll-snap-align:start;
  padding:14px 14px 12px!important;
  border-radius:16px!important;
  border:1px solid var(--aq-border)!important;
  background:linear-gradient(180deg,#fff 0%,#fbfdfb 100%)!important;
  box-shadow:0 8px 18px rgba(18,49,35,.04);
}
.av-quotes .aq-stage span{font-size:.74rem;text-transform:uppercase;letter-spacing:.04em;font-weight:800;color:#6b7f73}
.av-quotes .aq-stage strong{font-size:1.55rem;color:var(--aq-text)}
.av-quotes .aq-stage small{font-size:.77rem;line-height:1.35}
.av-quotes .aq-stage[aria-pressed=true]{background:linear-gradient(180deg,#eef8f1 0%,#e7f4ec 100%)!important;border-color:#a8d0b5!important;box-shadow:inset 0 0 0 1px #a8d0b5, 0 8px 20px rgba(23,107,71,.08)}
.av-quotes .aq-filters{
  margin:0!important;
  grid-template-columns:minmax(260px,2fr) minmax(220px,1fr) auto!important;
  align-items:end;
  gap:16px!important;
  padding:18px!important;
  border:1px solid var(--aq-border);
  border-radius:18px;
  background:var(--aq-bg)!important;
}
.av-quotes .aq-filters label{
  gap:7px;
  color:var(--aq-text);
  font-size:.84rem;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.av-quotes .aq-filters :is(input,select),
.av-quotes .aq-dialog :is(input,select,textarea){
  border:1px solid var(--aq-border-2)!important;
  border-radius:12px!important;
  min-height:46px!important;
  padding:11px 14px!important;
  background:#fff;
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.av-quotes .aq-dialog textarea{min-height:104px!important}
.av-quotes .aq-filters :is(input,select):focus,
.av-quotes .aq-dialog :is(input,select,textarea):focus{
  border-color:#7bb38f!important;
  box-shadow:0 0 0 4px rgba(23,107,71,.10)!important;
  outline:none;
}
.av-quotes .aq-filter-actions{
  display:flex;
  gap:10px;
  align-items:end;
  align-self:stretch;
}
.av-quotes .aq-filter-actions button{min-width:118px}
.av-quotes .table{
  border:1px solid var(--aq-border);
  border-radius:18px;
  overflow:auto;
  background:#fff;
}
.av-quotes table{width:100%;border-collapse:separate;border-spacing:0;min-width:1120px}
.av-quotes thead th{
  position:sticky;top:0;z-index:1;
  background:#f7faf8;
  color:#5a6e62;
  font-size:.78rem;
  letter-spacing:.03em;
  text-transform:uppercase;
  padding:14px 14px;
  border-bottom:1px solid var(--aq-border);
}
.av-quotes tbody td{
  padding:16px 14px;
  vertical-align:top;
  border-top:1px solid #edf3ef;
}
.av-quotes tbody tr:first-child td{border-top:0}
.av-quotes tbody tr:hover td{background:#fcfefd}
.av-quotes td[data-label="Cliente"]{min-width:250px}
.av-quotes td[data-label="Ações"]{min-width:300px}
.av-quotes .aq-pager{
  margin-top:2px!important;
  padding-top:8px;
  border-top:1px solid #edf3ef;
}
.av-quotes .aq-pager small{color:var(--aq-muted);font-size:.84rem}
.av-quotes [data-msg]{
  padding:12px 14px;
  border-radius:12px;
  background:#fff4f2;
  border:1px solid #f0d4cd;
}
.av-quotes .aq-status,
.av-quotes .aq-status-select{
  border-radius:999px!important;
}
.av-quotes .aq-status{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  font-weight:700;
}
.av-quotes .aq-inv{
  border-radius:999px;
  padding:6px 11px;
}
.av-quotes .aq-inv-detail{
  margin-top:6px;
  font-size:.77rem;
  line-height:1.45;
}
.av-quotes .aq-actions{
  gap:8px!important;
}
.av-quotes .aq-actions .primary,
.av-quotes .aq-actions .action{
  border-radius:11px!important;
}
.av-quotes .aq-actions button[data-pdf],
.av-quotes .aq-actions button[data-send],
.av-quotes .aq-actions button[data-remove-quote]{
  min-width:84px;
}
.av-quotes .aq-dialog{
  border:1px solid var(--aq-border);
  border-radius:20px;
  box-shadow:0 26px 70px rgba(8,29,20,.26);
}
.av-quotes .aq-dialog::backdrop{
  background:rgba(12,27,19,.58);
  backdrop-filter:blur(2px);
}
.av-quotes .aq-dialog-head{
  padding:18px 22px!important;
  background:linear-gradient(180deg,#f7fbf8 0%,#f2f8f4 100%);
  border-bottom:1px solid #e3ece6;
}
.av-quotes .aq-dialog-head h3{color:var(--aq-text);font-size:1.28rem}
.av-quotes .aq-eyebrow{color:var(--aq-green);font-size:.72rem;letter-spacing:.08em}
.av-quotes .aq-dialog-head button[data-close],
.av-quotes .aq-dialog-head .action{
  width:42px;min-width:42px;padding:0!important;
  border-radius:12px!important;
  font-size:1.2rem;
}
.av-quotes .aq-progress{
  padding:14px 22px!important;
  background:#fbfdfb;
}
.av-quotes .aq-progress>div{
  padding:10px 12px;
  border:1px solid #e7efea;
  border-radius:14px;
  background:#fff;
}
.av-quotes .aq-progress [data-state=current]{
  background:#eef7f1;
  border-color:#b7d7c1;
}
.av-quotes .aq-progress [data-state=done]{
  background:#f7fbf8;
}
.av-quotes .aq-progress span{
  background:#edf3ef;
  color:#566d60;
}
.av-quotes .aq-progress [data-state=current] span{background:var(--aq-green)!important}
.av-quotes .aq-scroll{padding:22px!important;background:#fff}
.av-quotes .aq-section{
  gap:18px;
}
.av-quotes .aq-section-title{
  padding-bottom:10px;
  border-bottom:1px solid #ebf1ed;
}
.av-quotes .aq-section-title h4{color:var(--aq-text);font-size:1.03rem}
.av-quotes .aq-section-title p{color:var(--aq-muted)}
.av-quotes .aq-client-lookup,
.av-quotes .aq-sale-detail,
.av-quotes .aq-total,
.av-quotes .aq-line-total,
.av-quotes .aq-review,
.av-quotes .aq-item,
.av-quotes .aq-pdf-tools{
  border-radius:16px!important;
}
.av-quotes .aq-client-lookup,
.av-quotes .aq-sale-detail,
.av-quotes .aq-pdf-tools{
  background:#f7faf8!important;
  border:1px solid #e2ece6;
}
.av-quotes .aq-item{
  border:1px solid var(--aq-border);
  padding:16px!important;
  box-shadow:0 6px 18px rgba(17,54,37,.03);
}
.av-quotes .aq-total,
.av-quotes .aq-line-total{
  background:#eff7f2!important;
  border:1px solid #d5e8dc;
}
.av-quotes .aq-review{
  border:1px solid var(--aq-border);
  background:#fcfefd;
}
.av-quotes .aq-footer{
  padding:16px 22px!important;
  background:#fbfdfb;
  border-top:1px solid #e5ece8;
}
.av-quotes .aq-footer button{
  min-height:44px!important;
  border-radius:12px!important;
  padding:0 15px!important;
  font-weight:700;
}
.av-quotes .aq-send-options button{
  border-radius:14px!important;
}
.av-quotes .aq-pdf-frame{
  background:#eef2ef;
}
.av-quotes .aq-pdf-switch{
  border-radius:14px!important;
  padding:5px;
}
.av-quotes .aq-pdf-switch button{
  border-radius:10px!important;
}
@media (max-width:1180px){
  .av-quotes .aq-card{padding:22px!important}
  .av-quotes .aq-filters{grid-template-columns:1.5fr 1fr auto!important}
}
@media (max-width:760px){
  .av-quotes .aq-card{padding:16px!important;gap:16px!important}
  .av-quotes .aq-head{gap:12px}
  .av-quotes .aq-head .aq-actions{width:100%;justify-content:stretch}
  .av-quotes .aq-head .aq-actions button{flex:1}
  .av-quotes .aq-filters{grid-template-columns:1fr!important;padding:14px!important;gap:12px!important}
  .av-quotes .aq-filter-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .av-quotes .aq-filter-actions button{width:100%;min-width:0}
  .av-quotes .aq-stages{padding-bottom:2px}
  .av-quotes .aq-stage{min-width:150px;flex-basis:150px}
  .av-quotes .aq-dialog{width:min(100vw - 14px, 1000px);max-height:calc(100dvh - 14px);border-radius:18px}
  .av-quotes .aq-dialog-head,.av-quotes .aq-scroll,.av-quotes .aq-footer,.av-quotes .aq-progress{padding-left:14px!important;padding-right:14px!important}
  .av-quotes .aq-progress{grid-template-columns:1fr!important;gap:8px}
}
@media (max-width:760px){
  .av-quotes .table{border:0;background:transparent;overflow:visible}
  .av-quotes table{min-width:0!important}
  .av-quotes tbody{gap:12px!important}
  .av-quotes tbody tr{
    border:1px solid var(--aq-border)!important;
    border-radius:18px!important;
    background:#fff;
    padding:0!important;
    box-shadow:0 10px 24px rgba(20,53,38,.04);
  }
  .av-quotes tbody td{
    border-top:1px solid #edf3ef!important;
    padding:13px 14px!important;
  }
  .av-quotes tbody td:first-child,
  .av-quotes tbody td:nth-child(2){border-top:0!important}
  .av-quotes tbody td[data-label="Ações"]{grid-column:1/-1;min-width:0}
  .av-quotes .aq-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px!important}
  .av-quotes .aq-actions button{width:100%;min-width:0!important}
}

/* AVELTRIM_QUOTES_MODAL_COLOR_V2 */ .av-quotes .aq-dialog,.av-quotes .aq-dialog-head,.av-quotes .aq-progress,.av-quotes .aq-scroll,.av-quotes .aq-footer{background:#fff!important} .av-quotes .aq-dialog-head,.av-quotes .aq-progress,.av-quotes .aq-footer{border-color:#d8e5dd!important} .aq-dialog button.primary,.aq-dialog .aq-footer button.primary{background:#176b47!important;border-color:#176b47!important;color:#fff!important;box-shadow:none!important} .aq-dialog button.primary:hover:not(:disabled){background:#125839!important;border-color:#125839!important} .aq-dialog .aq-eyebrow{color:#176b47!important} .aq-dialog .aq-progress [data-state="current"] span{background:#176b47!important;color:#fff!important} .aq-dialog .aq-client-lookup,.aq-dialog .aq-sale-detail,.aq-dialog .aq-pdf-tools,.aq-dialog .aq-total,.aq-dialog .aq-line-total,.aq-dialog .aq-review{background:#f5f8f6!important;border:1px solid #d8e5dd!important;box-shadow:none!important} .aq-dialog :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]){background:#fff!important;border-color:#cbdcd2!important} .aq-dialog :is(input,select,textarea):focus{border-color:#176b47!important;box-shadow:0 0 0 3px rgba(23,107,71,.12)!important} .aq-dialog .aq-footer .action{background:#fff!important;color:#173329!important;border-color:#cbdcd2!important}


/* AVELTRIM_QUOTES_PRO_V2_BEGIN */
.av-quotes .aqp-shell.card{display:grid;gap:20px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;min-width:0}
.av-quotes .aqp-hero{padding:2px 0;align-items:center;gap:16px}
.av-quotes .aqp-eyebrow{display:block;color:#176b47;font-size:11px;font-weight:750;letter-spacing:.11em;margin-bottom:6px}
.av-quotes .aqp-hero h3{display:flex;align-items:center;gap:10px;font-size:1.35rem;color:#173329;margin:0;line-height:1.3}
.av-quotes .aqp-hero p{font-size:.9rem;margin:5px 0 0;color:#62776c}
.av-quotes .aqp-icon{display:inline-block;flex:0 0 auto;width:18px;height:18px;vertical-align:middle;stroke:currentColor;fill:none}
.av-quotes .aqp-hero h3 svg{color:#176b47;width:22px;height:22px}
.av-quotes .aqp-hero .aq-actions button,.av-quotes .aqp-list .aq-filter-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px!important;height:44px!important;min-height:44px!important;white-space:nowrap;padding:0 15px!important;font-size:.86rem}
.av-quotes .aqp-shell button.primary,.aq-dialog.aq-wizard button.primary,.aq-dialog.aq-send-dialog button.primary,.aq-dialog.aq-pdf-dialog button.primary{background:#176b47!important;color:#fff!important;border-color:#176b47!important;box-shadow:none!important}
.av-quotes .aqp-shell button.primary:hover:not(:disabled),.aq-dialog.aq-wizard button.primary:hover:not(:disabled),.aq-dialog.aq-send-dialog button.primary:hover:not(:disabled),.aq-dialog.aq-pdf-dialog button.primary:hover:not(:disabled){background:#125839!important}
.av-quotes .aqp-stages{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%;gap:10px;padding:0;overflow:visible;scroll-snap-type:none}
.av-quotes .aqp-stage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.av-quotes .aqp-stage-grid.aqp-stage-secondary{grid-template-columns:repeat(3,minmax(0,1fr));padding-top:10px}
.av-quotes button.aqp-stage{display:grid;gap:9px;min-width:0;width:100%;padding:16px!important;border-radius:12px!important;border:1px solid #d8e5dd!important;background:#fff!important;color:#173329!important;box-shadow:0 2px 5px #17332905;white-space:normal;text-align:left;min-height:118px}
.av-quotes .aqp-stage[data-stage=draft]{background:#15392d!important;border-color:#15392d!important;color:#fff!important}
.av-quotes .aqp-stage[data-stage=draft] small,.av-quotes .aqp-stage[data-stage=draft] span,.av-quotes .aqp-stage[data-stage=draft] strong{color:#e7f3eb!important}
.av-quotes .aqp-stage .aqp-stage-title{display:flex;align-items:center;gap:9px;font-size:.86rem;color:#486256;text-transform:none;letter-spacing:0;font-weight:600;line-height:1.25}
.av-quotes .aqp-stage i{display:grid;place-items:center;width:33px;height:33px;border-radius:8px;background:#e8f3eb;color:#176b47;font-style:normal;flex:none}
.av-quotes .aqp-stage[data-stage=draft] i{background:#ffffff16;color:#d6e8dd}
.av-quotes .aqp-stage[data-stage=sent] i{background:#e7effa;color:#3268a3}.av-quotes .aqp-stage[data-stage=negotiation] i{background:#fbf2de;color:#936409}.av-quotes .aqp-stage[data-stage=declined] i,.av-quotes .aqp-stage[data-stage=canceled] i{background:#f9ece9;color:#a4473c}
.av-quotes .aqp-stage strong{font-size:1.65rem;line-height:1.15;color:inherit}.av-quotes .aqp-stage small{font-size:.84rem;color:#62776c;font-weight:400}
.av-quotes .aqp-stage[aria-pressed=true]{border-color:#369665!important;box-shadow:inset 0 0 0 1px #369665!important;background:#edf7f0!important;color:#173329!important}.av-quotes .aqp-stage[data-stage=draft][aria-pressed=true]{background:#15392d!important;box-shadow:inset 0 0 0 2px #79c69b!important}
.av-quotes .aqp-stage-more{border:0;background:transparent;margin:0;padding:0}.av-quotes .aqp-stage-more summary{display:flex;align-items:center;gap:9px;width:fit-content;padding:5px 2px;cursor:pointer;list-style:none;font-size:.85rem;font-weight:650;color:#176b47}.av-quotes .aqp-stage-more summary::-webkit-details-marker{display:none}.av-quotes .aqp-stage-more summary span{font-size:.78rem;color:#63786c;font-weight:400}.av-quotes .aqp-stage-more summary svg{width:15px;height:15px;transition:transform .18s}.av-quotes .aqp-stage-more[open] summary svg{transform:rotate(180deg)}
.av-quotes .aqp-list{min-width:0;display:grid;gap:16px;padding:20px;background:white;border:1px solid #d8e5dd;border-radius:12px;box-shadow:0 2px 5px #17332905}
.av-quotes .aqp-list-head{display:grid;gap:5px}.av-quotes .aqp-list-head h4{display:flex;gap:8px;align-items:center;margin:0;color:#173329;font-size:1rem}.av-quotes .aqp-list-head h4 svg{color:#176b47}.av-quotes .aqp-list-head small{color:#63786c;font-size:.82rem}
.av-quotes .aqp-list .aq-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(155px,1fr) auto!important;gap:12px!important;align-items:end;background:transparent!important;border:0;padding:0!important;border-radius:0}
.av-quotes .aqp-list .aq-filters label{display:grid;gap:6px;color:#173329;font-size:.83rem;font-weight:650;text-transform:none;letter-spacing:0;min-width:0}
.av-quotes .aqp-list .aq-filters input,.av-quotes .aqp-list .aq-filters select{height:44px!important;min-height:44px!important;width:100%;min-width:0;border-radius:8px!important;border-color:#cbdcd2!important;font-size:.88rem;margin:0!important}
.av-quotes .aqp-search{position:relative;display:block;min-width:0}.av-quotes .aqp-search>svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#64796e;pointer-events:none;z-index:1;width:17px;height:17px}.av-quotes .aqp-search input{padding-left:39px!important;font-weight:400!important}
.av-quotes .aqp-list .aq-filter-actions{display:flex;gap:8px;align-items:end}.av-quotes .aqp-list .aq-filter-actions button{min-width:0!important}
.av-quotes .aqp-list .table{border:1px solid #d8e5dd;border-radius:9px;overflow:auto;max-width:100%;background:white}
.av-quotes .aqp-list table{min-width:0!important;width:100%;border-collapse:separate;border-spacing:0;table-layout:auto}
.av-quotes .aqp-list th{padding:12px 11px;background:#f4f7f5;color:#536b5f;text-transform:none;letter-spacing:0;font-size:.79rem;white-space:nowrap}
.av-quotes .aqp-list td{padding:14px 11px;vertical-align:middle;font-size:.87rem;border-top:1px solid #e8efea;overflow-wrap:anywhere}
.av-quotes .aqp-list td[data-label="Cliente"]{min-width:0;max-width:300px}.av-quotes .aqp-list td[data-label="Ações"]{min-width:0;width:1%;white-space:nowrap}.av-quotes .aqp-list td[data-label="Valor"]{white-space:nowrap}
.av-quotes .aqp-list td .aq-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:6px!important;justify-content:flex-end}
.av-quotes .aqp-list td .aq-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0!important;min-height:36px!important;height:36px!important;padding:0 10px!important;border-radius:7px!important;white-space:nowrap!important;font-size:.8rem}
.av-quotes .aqp-main-action:not(.primary){color:#176b47!important;background:#edf6f0!important;border-color:#cce3d4!important}.av-quotes .aqp-more-trigger{background:#fff!important;color:#173329!important;border-color:#d8e5dd!important}.av-quotes .aqp-more-trigger svg{width:14px;height:14px}
.av-quotes .aqp-menu{position:fixed;inset:auto;margin:0;width:240px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 24px);overflow:auto;padding:6px;border:1px solid #cbdcd2;border-radius:10px;background:#fff;color:#173329;box-shadow:0 10px 35px #142b2233;box-sizing:border-box}.av-quotes .aqp-menu:popover-open{display:grid;gap:2px}.av-quotes .aqp-list .aqp-menu button{width:100%;display:flex;gap:10px;align-items:center;text-align:left;justify-content:flex-start;background:white!important;color:#173329!important;border:0!important;box-shadow:none!important;border-radius:6px!important;font-size:.85rem;min-height:38px!important;padding:8px 10px!important}.av-quotes .aqp-list .aqp-menu button:hover:not(:disabled){background:#edf5ef!important}.av-quotes .aqp-list .aqp-menu button.aqp-danger{color:#a43c32!important}.av-quotes .aqp-list .aqp-menu button:disabled{opacity:.5}
.av-quotes .aqp-empty{display:grid;justify-items:center;gap:8px;padding:32px 12px;background:#f5f8f6;border:1px dashed #d6e4db;border-radius:9px;text-align:center;color:#62776c}.av-quotes .aqp-empty i{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#e8f3eb;color:#176b47}.av-quotes .aqp-empty i svg{width:22px;height:22px}.av-quotes .aqp-empty strong{color:#173329;font-size:.95rem}.av-quotes .aqp-empty span{font-size:.85rem}.av-quotes .aqp-list tr:has(.aqp-empty) td{padding:0!important;border:0}.av-quotes .aqp-list .table:has(.aqp-empty){border:0}.av-quotes .aqp-list .table:has(.aqp-empty) thead{display:none}
.av-quotes .aqp-list .aq-pager{border:0;padding:0;margin:0!important;align-items:center}.av-quotes .aqp-list .aq-pager button{border-radius:8px!important}.av-quotes .aqp-list .aq-pager small{font-size:.8rem;color:#63786c}
@media(max-width:1100px){.av-quotes .aqp-list .aq-filters{grid-template-columns:minmax(0,1fr) minmax(140px,1fr)!important}.av-quotes .aqp-list .aq-filter-actions{grid-column:1/-1;justify-content:flex-end}.av-quotes .aqp-list table{min-width:780px!important}.av-quotes .aqp-list .table:has(.aqp-empty) table{min-width:0!important}}
@media(max-width:760px){.av-quotes .aqp-shell.card{gap:15px!important}.av-quotes .aqp-stage-grid,.av-quotes .aqp-stage-grid.aqp-stage-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.av-quotes .aqp-stage-more summary{flex-wrap:wrap}.av-quotes .aqp-list{padding:14px;gap:12px}.av-quotes .aqp-list .aq-filters{grid-template-columns:1fr!important}.av-quotes .aqp-list .aq-filter-actions button{flex:1}.av-quotes .aqp-list .table{border:0;overflow:visible}.av-quotes .aqp-list table{min-width:0!important}.av-quotes .aqp-list td[data-label="Cliente"]{max-width:none}.av-quotes .aqp-list td[data-label="Ações"]{width:auto}.av-quotes .aqp-list td .aq-actions{justify-content:stretch}.av-quotes .aqp-list td .aq-actions>button{flex:1;white-space:normal!important;height:auto!important;padding:7px 8px!important}.av-quotes .aqp-list tr:has(.aqp-empty){border:0!important;box-shadow:none!important}.av-quotes .aqp-hero .aq-actions{width:100%}.av-quotes .aqp-hero .aq-actions button{flex:1}}
/* AVELTRIM_QUOTES_PRO_V2_END */

/* AVELTRIM_QUOTES_STOCK_ALIGN_V1 */ .av-quotes .aqp-list td[data-label="Estoque"]{vertical-align:middle!important} .av-quotes .aqp-list .aq-inv{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1.4!important;padding:5px 12px!important;margin:0!important} .av-quotes .aqp-list .aq-inv-detail{display:block!important;margin:6px 0 0!important;line-height:1.5!important;font-size:.78rem!important;color:#63786c!important;white-space:normal!important} @media(min-width:761px){.av-quotes .aqp-list th:nth-child(6),.av-quotes .aqp-list td[data-label="Estoque"]{text-align:center!important}}

/* AVELTRIM_QUOTES_STOCK_ALIGN_V2 */ @media(min-width:761px){.av-quotes .aqp-list th:nth-child(6),.av-quotes .aqp-list td[data-label="Estoque"]{text-align:left!important}.av-quotes .aqp-list tbody tr:has(.aq-inv-detail)>td{vertical-align:top!important;padding-top:14px!important}.av-quotes .aqp-list tbody tr:has(.aq-inv-detail)>td:nth-child(-n+4){padding-top:22px!important}.av-quotes .aqp-list td[data-label="Estoque"] .aq-inv{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:36px!important;box-sizing:border-box!important;padding:0 12px!important;margin:0!important;white-space:nowrap!important}.av-quotes .aqp-list td[data-label="Estoque"] .aq-inv-detail{display:block!important;text-align:left!important;margin:4px 0 0!important;line-height:1.4!important}}


/* AVELTRIM_QUOTES_COMBO_V11_BEGIN */
.aq-dialog.aq-wizard.aq-combo-enhanced .ap-combo-host .avsc.avsc-compact{gap:6px;min-width:0}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-field>.avsc-input{height:44px!important;min-height:44px!important;padding:0 36px 0 35px!important;border:1px solid #cbdcd2!important;border-radius:8px!important;font-size:.86rem!important;line-height:normal!important;text-overflow:ellipsis;box-shadow:none!important}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-field>.avsc-icon{left:11px;top:50%;width:16px;height:16px;margin:0;transform:translateY(-50%);color:#63786c}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-toggle{right:3px;width:32px!important;height:36px!important;min-height:0!important;margin:0!important}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-toggle .avsc-icon{width:16px;height:16px}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-input:focus{border-color:#83b99a!important;outline:none!important;box-shadow:0 0 0 2px #176b4714!important}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact.has-selection:not(.is-open) .avsc-input{color:#173329!important;font-weight:500!important}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-popup{position:fixed!important;inset:auto;margin:0!important;box-sizing:border-box;max-width:calc(100vw - 16px);padding:5px!important;border:1px solid #cbdcd2;border-radius:9px;background:white;box-shadow:0 10px 28px #15392d24;overflow:hidden;color:#173329}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-popup:popover-open{display:flex!important;flex-direction:column;gap:2px}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-heading{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:5px 8px;min-width:0;font-size:.74rem;font-weight:500}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-clear-selection{padding:3px 5px!important;min-height:0!important;height:auto!important;background:transparent!important;color:#176b47!important;border:0!important;box-shadow:none!important;font-size:.73rem!important;white-space:nowrap;text-decoration:underline;text-underline-offset:2px}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-list{max-height:220px;min-height:0;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:2px}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-option{flex:none;display:flex;gap:9px;padding:8px!important;border-radius:6px;align-items:center;min-height:40px;box-sizing:border-box}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-option .avsc-symbol{width:24px;height:24px;background:transparent;border-radius:5px}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-option .avsc-icon{width:16px;height:16px}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-option .avsc-copy{gap:2px}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-option .avsc-copy strong{font-size:.83rem;line-height:1.3;font-weight:600}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-option .avsc-copy small{font-size:.73rem;line-height:1.35}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-option:hover,.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-option.is-active{background:#eaf4ee}

.aq-dialog.aq-wizard.aq-combo-enhanced .aq-client-lookup{display:block;min-width:0;background:transparent;border:0;padding:0;margin:0}
.aq-dialog.aq-wizard.aq-combo-enhanced .aq-client-lookup[hidden],.aq-dialog.aq-wizard.aq-combo-enhanced [data-client-message]{display:none!important}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc .avsc-label{display:block;grid-template-rows:none;font-size:.86rem;font-weight:600;line-height:1.3;margin:0}
.aq-dialog.aq-wizard.aq-combo-enhanced .aq-combo-slot{min-width:0}
.aq-dialog.aq-wizard.aq-combo-enhanced .avsc-compact .avsc-field>.avsc-input{margin:0!important;width:100%!important}
/* AVELTRIM_QUOTES_COMBO_V11_END */


/* AVELTRIM_QUOTES_COMBO_ALIGN_V12 */ .aq-dialog.aq-wizard.aq-combo-enhanced .aq-client-lookup{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;border-radius:0!important} .aq-dialog.aq-wizard.aq-combo-enhanced .aq-combo-slot .avsc.avsc-compact{display:grid!important;gap:8px!important;align-content:start!important} .aq-dialog.aq-wizard.aq-combo-enhanced .aq-combo-slot .avsc-label,.aq-dialog.aq-wizard.aq-combo-enhanced [data-step="0"] .aq-grid>label{font-size:.86rem!important;font-weight:600!important;line-height:1.4!important;margin:0!important;padding:0!important;color:#173329!important} .aq-dialog.aq-wizard.aq-combo-enhanced [data-step="0"] .aq-grid>label{gap:8px!important} .aq-dialog.aq-wizard.aq-combo-enhanced .avsc-field>.avsc-input{height:44px!important;min-height:44px!important;margin:0!important} .aq-dialog.aq-wizard.aq-combo-enhanced .avsc-field>.avsc-icon{position:absolute!important;top:50%!important;left:12px!important;transform:translateY(-50%)!important;margin:0!important}

/* AVELTRIM_QUOTES_WIZARD_UI_V1 — only the create/edit dialog */
.aq-dialog.aq-wizard-polished {--aqw-green:#176b47;--aqw-ink:#173329;--aqw-muted:#62776c;--aqw-line:#d8e5dd;width:min(900px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border-radius:15px;overflow:hidden;background:#fff;box-sizing:border-box;}
.aq-wizard-polished .aqw-icon,.aq-wizard-polished .aqp-icon{width:17px;height:17px;flex:0 0 17px;display:inline-block;vertical-align:middle;}
.aq-wizard-polished .aq-dialog-head{padding:17px 24px!important;gap:12px;border-color:var(--aqw-line);}
.aq-wizard-polished .aqw-header-copy{display:flex;align-items:center;gap:12px;min-width:0;}
.aq-wizard-polished .aqw-header-icon{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:11px;color:var(--aqw-green);background:#e9f4ed;border:1px solid #d4e7da;}
.aq-wizard-polished .aqw-header-icon .aqw-icon{width:23px;height:23px;}
.aq-wizard-polished .aq-dialog-head h3{color:var(--aqw-ink);font-size:1.22rem;margin:0;line-height:1.25;}
.aq-wizard-polished .aqw-close{display:grid;place-items:center;min-height:36px!important;width:36px;height:36px;padding:0!important;border:1px solid var(--aqw-line)!important;border-radius:9px!important;background:white!important;box-shadow:none!important;color:var(--aqw-ink)!important;flex:none;}
.aq-dialog.aq-wizard-polished .aq-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:10px 24px!important;background:#f7f9f8;border-bottom:1px solid var(--aqw-line);}
.aq-dialog.aq-wizard-polished .aq-progress>div{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;padding:7px 8px;min-width:0;border:1px solid transparent;border-radius:9px;text-align:left;color:var(--aqw-muted);font-size:.78rem;line-height:1.25;}
.aq-dialog.aq-wizard-polished .aq-progress .aqw-step-symbol{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#eaf0ec;color:#667e70;flex:none;}
.aq-dialog.aq-wizard-polished .aq-progress .aqw-step-symbol svg:last-child{display:none;}
.aq-dialog.aq-wizard-polished .aq-progress [data-state=current]{background:#eaf4ee;border-color:#d0e6d8;color:var(--aqw-green);}
.aq-dialog.aq-wizard-polished .aq-progress [data-state=current] .aqw-step-symbol{background:var(--aqw-green)!important;color:#fff!important;}
.aq-dialog.aq-wizard-polished .aq-progress [data-state=done]{color:var(--aqw-green);}
.aq-dialog.aq-wizard-polished .aq-progress [data-state=done] .aqw-step-symbol{background:#dff1e5;color:var(--aqw-green);}
.aq-dialog.aq-wizard-polished .aq-progress [data-state=done] svg:first-child{display:none;}
.aq-dialog.aq-wizard-polished .aq-progress [data-state=done] svg:last-child{display:block;}
.aq-dialog.aq-wizard-polished .aq-scroll{padding:18px 24px!important;scrollbar-width:thin;scrollbar-color:#b8ccc0 transparent;}
.aq-dialog.aq-wizard-polished .aq-section{gap:13px;}
.aq-dialog.aq-wizard-polished .aq-section-title h4{display:flex;align-items:center;gap:8px;color:var(--aqw-green);font-size:1rem;margin:0 0 4px;}
.aq-dialog.aq-wizard-polished .aq-section-title p{font-size:.82rem;color:var(--aqw-muted);line-height:1.5;}
.aq-dialog.aq-wizard-polished .aq-grid{gap:12px 15px;}
.aq-dialog.aq-wizard-polished .aqw-label,.aq-dialog.aq-wizard-polished.aq-combo-enhanced .avsc .avsc-label.aqw-label{display:flex!important;align-items:center;gap:7px;line-height:1.4;font-size:.82rem!important;font-weight:650!important;color:#25463a!important;min-width:0;}
.aq-dialog.aq-wizard-polished .aqw-label .aqw-icon{width:16px;height:16px;flex-basis:16px;color:#51866c;stroke-width:1.85px;}
.aq-dialog.aq-wizard-polished .aq-grid label,.aq-dialog.aq-wizard-polished .aq-client-lookup label{gap:6px!important;grid-template-rows:auto 40px;}
.aq-dialog.aq-wizard-polished .aq-grid :is(input,select),.aq-dialog.aq-wizard-polished .aq-client-lookup :is(input,select),.aq-dialog.aq-wizard-polished.aq-combo-enhanced .avsc-compact .avsc-field>.avsc-input{height:40px!important;min-height:40px!important;border-radius:9px!important;}
.aq-dialog.aq-wizard-polished .aq-combo-slot .avsc.avsc-compact{gap:6px!important;}
.aq-dialog.aq-wizard-polished .aq-approval-note{position:relative;padding:10px 12px 10px 37px;font-size:.79rem;line-height:1.5;background:#f5f8f6;border-color:var(--aqw-line);border-radius:9px;}
.aq-dialog.aq-wizard-polished .aqw-note-icon{position:absolute;left:12px;top:12px;color:var(--aqw-green);}
.aq-dialog.aq-wizard-polished .aq-item{border-color:var(--aqw-line);border-radius:11px;padding:13px;gap:11px;}
.aq-dialog.aq-wizard-polished .aq-item .aq-head>strong{color:var(--aqw-ink);}
.aq-dialog.aq-wizard-polished .aq-total{background:#eaf4ee;border:1px solid #d4e7da;border-radius:10px;color:var(--aqw-green);}
.aq-dialog.aq-wizard-polished .aq-review{background:#f8faf9;border-color:var(--aqw-line);}
.aq-dialog.aq-wizard-polished .aq-footer{padding:12px 24px!important;gap:8px;border-color:var(--aqw-line);}
.aq-dialog.aq-wizard-polished :is(.aq-footer,.aq-actions,.aq-item .aq-head) button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px!important;height:40px!important;border-radius:9px!important;box-shadow:none!important;font-size:.83rem;}
.aq-dialog.aq-wizard-polished .aq-footer button.primary{font-weight:700;}
@media(max-width:760px){.aq-dialog.aq-wizard-polished{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);}.aq-dialog.aq-wizard-polished .aq-dialog-head,.aq-dialog.aq-wizard-polished .aq-scroll,.aq-dialog.aq-wizard-polished .aq-footer{padding:12px 14px!important;}.aq-dialog.aq-wizard-polished .aq-progress{padding:8px 10px!important;gap:3px;}.aq-dialog.aq-wizard-polished .aq-progress>div{flex-direction:column;justify-content:center;text-align:center;padding:5px 2px;gap:4px;font-size:.67rem;}.aq-dialog.aq-wizard-polished .aq-progress .aqw-step-symbol{width:28px;height:28px;}.aq-dialog.aq-wizard-polished .aq-header-copy{gap:8px;}.aq-dialog.aq-wizard-polished .aq-footer button{padding-inline:9px;min-width:0;}.aq-dialog.aq-wizard-polished .aq-footer .aq-spacer{display:none;}.aq-dialog.aq-wizard-polished .aq-section .aq-actions{width:100%;}.aq-dialog.aq-wizard-polished .aq-section .aq-actions button{flex:1;}}
@media(max-width:380px){.aq-dialog.aq-wizard-polished .aq-footer{gap:5px;}.aq-dialog.aq-wizard-polished .aq-footer button{font-size:.74rem;padding-inline:6px;}.aq-dialog.aq-wizard-polished .aq-footer button.primary{min-width:0;}.aq-dialog.aq-wizard-polished .aq-progress>div{font-size:.63rem;}}
.aq-dialog.aq-wizard-polished select{appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23176b47' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 10px center!important;background-size:16px!important;padding-right:32px!important;}
