.mpx-quote{background:#fff;color:#171e29;font:14px/1.35 Arial,sans-serif;padding:30px 24px;min-height:960px;box-sizing:border-box;display:flex;flex-direction:column;overflow-wrap:anywhere}
.mpx-quote *{box-sizing:border-box}.mpx-quote p{margin:4px 0}.mpx-quote strong{color:inherit}.mq-header{border-top:13px solid #122841;display:grid;grid-template-columns:38% 62%;align-items:center;padding:26px 0 24px;gap:0}
.mq-header img{width:90%;max-width:250px;height:auto;padding-right:20px}.mq-header>div{border-left:1px solid #999;padding-left:24px}.mpx-quote .mq-header h1{font:800 34px/1.1 Arial,sans-serif;margin:0 0 10px;color:#111;letter-spacing:.2px}
.mq-reference{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px}.mq-badge{background:#164b7d;color:#fff;padding:4px 12px;letter-spacing:1px;font-weight:bold}.mq-parties{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #999;padding:18px 0;gap:24px}.mq-parties>div+div{border-left:1px solid #999;padding-left:24px}.mq-parties small,.mq-dates small{display:block;font-weight:700;font-size:13px;margin-bottom:3px}.mq-parties strong{display:block;font-size:18px;line-height:1.15}.mq-parties p{white-space:pre-line}.mq-dates{display:grid;grid-template-columns:1fr 1fr 1fr;border-block:1px solid #777;padding:12px 0;margin-bottom:26px}.mq-dates>div+div{border-left:1px solid #999;padding-left:24px}
.mpx-quote .mq-lines{width:100%;border-collapse:collapse;margin:0;table-layout:fixed;font-size:13px}.mpx-quote .mq-lines th{background:#122841;color:white;padding:10px 7px;font-weight:bold;text-align:right;border:1px solid #a0a6ad}.mpx-quote .mq-lines th:nth-child(1){width:7%;text-align:center}.mpx-quote .mq-lines th:nth-child(2){width:45%;text-align:left}.mpx-quote .mq-lines th:nth-child(3){width:12%}.mpx-quote .mq-lines th:nth-child(4),.mpx-quote .mq-lines th:nth-child(5){width:18%}.mpx-quote .mq-lines td{padding:10px 7px;border:1px solid #a0a6ad;text-align:right;vertical-align:middle}.mpx-quote .mq-lines td:first-child{text-align:center}.mpx-quote .mq-lines td:nth-child(2){text-align:left}.mq-description{white-space:pre-line;margin-top:3px}
.mq-bottom{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:100px;break-inside:avoid}.mq-terms{border-right:1px solid #aaa;padding-right:20px}.mpx-quote .mq-terms h2{font:bold 18px/1.3 Arial,sans-serif;background:#e9edf1;border-left:12px solid #164b7d;padding:5px 8px;margin:0 0 8px}.mq-terms>div,.mq-totals>div{display:flex;justify-content:space-between;gap:10px;padding:7px 4px;border-bottom:1px solid #bbb}.mq-terms>div strong{flex:0 0 44%}.mq-totals>div span{text-align:right}.mq-totals .mq-grand{background:#122841;color:#fff;margin-top:5px;padding:12px 8px}.mq-totals small{display:block;font-size:11px;margin-top:6px}.mq-footer{margin-top:auto;padding-top:90px;border-bottom:1px solid #555;padding-bottom:30px}.mq-signature{border-top:1px solid #444;padding-top:6px;width:260px;font-weight:bold}
#printPreview:has(.mpx-quote),#clientQuote:has(.mpx-quote){width:min(940px,96vw);max-width:96vw}.erp #printDocument:has(.mpx-quote){padding:0;border:0}.quote-metadata{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quote-metadata textarea{min-height:70px}
@media(max-width:600px){.mpx-quote{padding:15px 8px;font-size:11px;min-height:850px}.mpx-quote .mq-header h1{font-size:23px}.mq-header>div{padding-left:10px}.mq-reference{font-size:10px;gap:5px}.mq-parties strong{font-size:14px}.mq-parties>div+div{padding-left:10px}.mq-dates>div+div{padding-left:8px}.mpx-quote .mq-lines{font-size:10px}.mpx-quote .mq-lines td,.mpx-quote .mq-lines th{padding:6px 3px}.mq-bottom{gap:10px;margin-top:50px}.mq-terms{padding-right:8px}.mpx-quote .mq-terms h2{font-size:14px}.quote-metadata{grid-template-columns:1fr}}
@media print{@page{size:A4;margin:12mm}.mpx-quote{padding:0;min-height:265mm;font-size:10pt;print-color-adjust:exact;-webkit-print-color-adjust:exact}.mpx-quote .mq-header h1{font-size:26pt!important}.mpx-quote .mq-lines th,.mpx-quote .mq-lines td{padding:7pt 5pt!important;border:1px solid #a0a6ad!important}.mq-header,.mq-parties,.mq-dates,.mq-bottom,.mq-footer{break-inside:avoid}.mq-lines thead{display:table-header-group}.mq-lines tr{break-inside:avoid}.mq-footer{padding-top:25mm}.mq-bottom{margin-top:28mm}body.print-quote #clientQuote>.heading{display:none!important}}
.mpx-quote{min-height:1120px}.mpx-quote small{color:inherit;letter-spacing:0}.mpx-quote .mq-footer{display:block;background:#fff;color:#171e29;padding-inline:0;font-size:14px}
@media print{@page{@bottom-right{content:counter(page) " / " counter(pages);font:9pt Arial}}.mpx-quote{min-height:265mm}}
