.quotes-page .pagehead{margin-bottom:25px}.quote-filters{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:14px;margin-bottom:20px}.quote-filters input,.quote-filters select{background:white}.quote-number{font-size:12px;font-weight:650;line-height:1.5;display:inline-block}.quote-table td{white-space:normal}.quote-table td:first-child{min-width:190px}.quote-table td:nth-child(4){white-space:nowrap}.quote-table .btn{font-size:10px;white-space:normal;line-height:1.5}.text-amber{color:#ad7b21}.quote-context{display:flex;flex-wrap:wrap;gap:15px;align-items:center;margin:0 0 24px;font-size:11px;color:#8194ae}.quote-detail{grid-template-columns:minmax(0,1.9fr) minmax(285px,1fr)}.quote-detail .card{min-width:0}.quote-detail .cardbody{padding:22px}.quote-next h2{margin:12px 0;font-size:19px}.quote-next p{font-size:12px;line-height:1.8;color:#8192a9}.quote-next .btn{margin-top:10px}.quote-next>small{display:block;font-size:10px;color:#8c9eb5;line-height:1.6;margin:10px 0}.quote-next .notice{margin:14px 0 0}.quote-cancel{text-align:center}.quote-document{background:#fff;padding:28px;color:#3c526d}.quote-document header{display:flex;justify-content:space-between;gap:20px;border-bottom:2px solid #2d6ad0;padding-bottom:19px;margin-bottom:25px}.quote-document header h2{font-size:17px;margin:0 0 8px}.quote-document header strong{font-size:13px}.quote-document header p{margin:0;font-size:10px;line-height:1.8;color:#8192a9}.document-customer{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:18px;margin-bottom:24px}.document-customer span{display:block;font-size:8px;letter-spacing:.7px;color:#8a9bb3;margin-bottom:7px}.document-customer strong{font-size:12px;overflow-wrap:anywhere}.document-customer p{margin:5px 0 0;font-size:10px}.document-totals{max-width:300px;margin:20px 0 20px auto}.quote-document table{white-space:normal}.quote-document th,.quote-document td{padding:12px 9px;font-size:10px}.quote-document td:first-child{width:45%}.quote-document section{border-top:1px solid #e7edf6;padding-top:14px;margin-top:16px}.quote-document section h3{font-size:11px;margin:0}.quote-document section p,.quote-document>p{font-size:11px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.quote-document footer{margin-top:27px;font-size:9px;line-height:1.8;color:#8297b1;border-top:1px solid #e7edf6;padding-top:15px}.document-stamp{border:1px solid #dfb47c;color:#ac7b3e;background:#fffaf1;font-size:11px;font-weight:650;padding:11px;border-radius:6px;margin-bottom:20px;text-align:center}.quote-private p{white-space:pre-wrap;font-size:12px;line-height:1.6;margin-top:0;overflow-wrap:anywhere}.quote-private small{font-size:10px;color:#889db8}.quote-item,.quote-item-labels{display:grid;grid-template-columns:minmax(0,1fr) 62px 102px 92px 28px;gap:8px;align-items:center}.quote-item-labels{font-size:10px;color:#8a9bb2;margin-bottom:7px}.quote-form-totals{margin:20px 0}.quote-form-totals .total{margin:0}.quote-copy{min-height:340px;margin-bottom:15px;white-space:pre-wrap;font-size:12px;line-height:1.8}.quote-print-only{display:none}.quote-detail .timeline p{white-space:pre-wrap;overflow-wrap:anywhere}.quote-detail .timeline>div{min-width:0}
@media(max-width:1150px){.quote-detail{grid-template-columns:1fr}.quote-detail>div:last-child{grid-row:1}.quote-next .full{max-width:340px}.quote-document{padding:20px}.quote-next .moneyline{max-width:340px}}
@media(max-width:650px){.quotes-page .pagehead,.quote-screen .pagehead{flex-direction:column;gap:15px}.quote-screen .actions{flex-wrap:wrap}.quote-filters{grid-template-columns:1fr 1fr;gap:10px}.quote-filters .field{font-size:10px}.quote-table td{padding:13px 12px}.quote-document{padding:17px}.quote-document header{flex-direction:column;gap:12px}.document-customer{grid-template-columns:1fr 1fr}.document-customer>div:first-child{grid-column:1/-1}.quote-document header h2{font-size:15px}.quote-document .moneyline.total strong{font-size:22px}.quote-item{grid-template-columns:minmax(0,1fr) 66px 28px;padding:12px 0;border-bottom:1px solid var(--line)}.quote-item [data-product]{grid-column:1/-1}.quote-item [data-unit]{grid-column:1;grid-row:3}.quote-item .linetotal{grid-column:2;grid-row:3;font-size:10px}.quote-item [data-qty]{grid-column:1;max-width:85px;grid-row:2}.quote-item [data-remove-line]{grid-column:3;grid-row:2}.quote-item-labels{display:none}.quote-item [data-unit]::before{content:'Unitário'} .quote-document table{min-width:0}}
@media print{.quote-screen{display:none!important}.quote-print-only{display:block!important}.quote-document{padding:0;font-family:Arial,sans-serif}.quote-document header{display:flex;flex-direction:row;break-after:avoid}.quote-document table{white-space:normal}.quote-document tr{break-inside:avoid}.quote-document .tablewrap{overflow:visible}.quote-document .document-totals{break-inside:avoid}.quote-document section,.quote-document footer{break-inside:avoid}.quote-document .document-customer{grid-template-columns:1fr auto auto}.document-customer>div:first-child{grid-column:auto}.quote-document th,.quote-document td{font-size:10pt}.quote-document section p{font-size:10pt}.quote-document .document-stamp{display:block}.quote-document>header h2{font-size:16pt}.main:has(.quote-print-only){padding:12mm!important}.quote-document .moneyline.total strong{font-size:18pt}}

.quote-qty,.quote-unit{min-width:0}.quote-qty>span,.quote-unit>span{display:none}.quote-number{overflow-wrap:anywhere}
@media(max-width:650px){.quote-item{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px}.quote-item .quote-qty{grid-column:1;grid-row:2}.quote-item .quote-unit{grid-column:2;grid-row:2}.quote-item [data-qty]{max-width:none}.quote-item .linetotal{grid-column:1/3;grid-row:3;text-align:right}.quote-qty>span,.quote-unit>span{display:block;font-size:9px;color:#8194ae;margin:0 0 5px}.quote-item [data-remove-line]{align-self:end}.quote-table,.quote-table tbody{display:block}.quote-table thead{display:none}.quote-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-bottom:1px solid var(--line);padding:10px}.quote-table tbody td{display:block;min-width:0;border:0;padding:9px 12px}.quote-table tbody td:first-child,.quote-table tbody td:last-child{grid-column:1/-1}.quote-table td:first-child{min-width:0}.quote-table td[data-label]:before{content:attr(data-label);display:block;font-size:9px;color:#8a9bb2;margin-bottom:6px}.quote-table .quote-number{font-size:13px}.quote-table td:last-child .btn{background:#f0f6ff;color:#246ace;padding:8px 12px;border-radius:6px}}
