/* Scoped document layout shared by the saved quote and browser PDF output. */
.qd{--qd-paper:#f6f7f1;--qd-ink:#192b26;--qd-lime:#c9f275;--qd-light:#e7ecdf;background:var(--qd-paper);color:var(--qd-ink);padding:40px;font:14px/1.5 'DM Sans',Arial,sans-serif;overflow-wrap:anywhere}
#quote-success{max-width:1000px;padding:0;border:0;background:transparent}
#quote-success .qd p{margin:0}.qd h2,.qd h3,.qd h4{font-family:Manrope,Arial,sans-serif;letter-spacing:-.5px}.qd-masthead{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:18px;border-bottom:1px solid #d5ddd2}.qd-brand{font:800 36px/1 Manrope,Arial,sans-serif;letter-spacing:-1.8px}.qd-brand span{font-weight:400}.qd-tagline{text-align:right;font-size:10px;font-weight:700;line-height:1.6}.qd-heading{display:flex;justify-content:space-between;gap:24px;align-items:end;margin:26px 0 22px}.qd .qd-kicker{font-size:10px;font-weight:800;letter-spacing:1.1px;margin-bottom:8px!important}.qd h2{font-size:42px;line-height:1.1;font-weight:700;margin:0}.qd-reference{font-size:11px;margin:0;min-width:180px}.qd-reference div{display:flex;justify-content:space-between;gap:16px}.qd dt{color:#5d6b63}.qd dd{margin:0;font-weight:600}.qd-project{display:grid;grid-template-columns:1fr 1fr;gap:28px;background:var(--qd-light);padding:18px 20px;font-size:12px}.qd-project .qd-client{font-weight:700;font-size:16px;margin-bottom:3px!important}.qd-project dl{margin:0}.qd-project dl div{margin-bottom:5px}.qd-project dd{font-weight:500}.qd-scope{margin:22px 0 20px;break-inside:avoid}.qd h3{font-size:22px;line-height:1.25;margin:0 0 8px}.qd-scope>p:last-child{font-size:12px;line-height:1.6}.qd-table{width:100%;border-collapse:collapse;font-size:12px}.qd-table th{font-size:9px;letter-spacing:.7px;text-transform:uppercase;background:var(--qd-ink);color:#fff;font-weight:600}.qd-table th,.qd-table td{padding:10px 12px;text-align:right}.qd-table th:first-child,.qd-table td:first-child{text-align:left;width:55%}.qd-table td{border-bottom:1px solid #d5ddd2}.qd-table td:not(:first-child){white-space:nowrap}.qd-table tr{break-inside:avoid}.qd-table thead{display:table-header-group}.qd-balance{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:15px;break-inside:avoid}.qd-tax{font-size:12px;padding:8px 0}.qd-tax>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0}.qd-total{background:var(--qd-ink);color:white;padding:16px 20px;display:flex;flex-direction:column;gap:5px}.qd-total span{color:var(--qd-lime);font-size:9px;font-weight:700;letter-spacing:1px}.qd-total strong{font:700 32px/1.15 Manrope,Arial,sans-serif;letter-spacing:-1px;white-space:nowrap}.qd-deposit{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 18px;background:var(--qd-lime);margin-top:12px;break-inside:avoid}.qd-deposit>div{display:flex;flex-direction:column;gap:2px}.qd-deposit span{font-size:10px}.qd-deposit>strong{font:700 22px Manrope,Arial,sans-serif;white-space:nowrap}.qd-conditions{margin-top:22px;break-inside:avoid}.qd-condition-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.qd h4{font-size:11px;margin:0 0 5px;letter-spacing:0}.qd-condition-grid p,.qd-guarantee,.qd-promo,.qd-legal{font-size:10px;line-height:1.55}.qd .qd-promo{background:var(--qd-light);padding:9px 12px;margin-top:12px!important}.qd .qd-guarantee{margin-top:10px!important}.qd .qd-legal{color:#5d6b63;margin-top:10px!important}.qd-legal a{color:inherit}.qd-notes{margin-top:22px;font-size:11px}.qd-notes p:last-child{white-space:pre-wrap}.qd-notes .qd-kicker{break-after:avoid}.qd-footer{display:flex;justify-content:space-between;align-items:end;gap:20px;border-top:1px solid #d5ddd2;margin-top:22px;padding-top:12px;font-size:10px;break-inside:avoid}.qd-footer>strong{font-size:11px}.qd-custom{padding:20px;background:var(--qd-light)}.quote-save-note{font-size:13px}#quote-success>.actions{padding:0 0 20px}
@media screen and (max-width:700px){.qd{padding:22px 16px}.qd-heading{display:block}.qd-reference{margin-top:18px}.qd h2{font-size:34px}.qd-project,.qd-balance,.qd-condition-grid{grid-template-columns:1fr;gap:14px}.qd-brand{font-size:30px}.qd-tagline{font-size:8px}.qd-table{font-size:10px}.qd-table th,.qd-table td{padding:8px 5px}.qd-table th:first-child,.qd-table td:first-child{width:45%}.qd-total strong{font-size:30px}.qd-footer{display:block}.qd-footer>strong{display:block;margin-top:10px}}
@media print{@page{size:A4;margin:12mm;@bottom-right{content:counter(page) " / " counter(pages);font:8pt Arial;color:#65706b}}html,body{background:#f6f7f1!important}body:has(#quote-success:not([hidden])){margin:0}#quote-success .qd{padding:0;font-size:10pt;print-color-adjust:exact;-webkit-print-color-adjust:exact}#quote-success .qd *{print-color-adjust:exact;-webkit-print-color-adjust:exact}#quote-success>.quote-save-note{display:none!important}.qd-masthead{padding-bottom:12px}.qd-heading{margin:22px 0 18px}.qd h2{font-size:34px}.qd-brand{font-size:32px}.qd-project{padding:15px 18px}.qd-scope{margin:18px 0}.qd-table th,.qd-table td{padding:8px 10px}.qd-total{padding:13px 18px}.qd-conditions{margin-top:18px}.qd-footer{margin-top:18px}.qd-notes p{orphans:3;widows:3}}
@media print{.qd-project dl div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:7px}.qd-project{font-size:11px}.qd-heading{margin:18px 0 16px}.qd-conditions{margin-top:16px}.qd-footer{margin-top:16px}}
@media print{.qd-masthead{padding-bottom:10px}.qd-heading{margin:12px 0}.qd-project{padding:10px 16px}.qd-scope{margin:12px 0}.qd-table th,.qd-table td{padding:7px 10px}.qd-balance{margin-top:10px}.qd-deposit{margin-top:9px;padding:10px 16px}.qd-conditions{margin-top:12px}.qd-notes{margin-top:14px}.qd-footer{margin-top:12px;padding-top:10px}.qd .qd-kicker{margin-bottom:6px!important}}
@media print{#quote-success .qd{padding:0 3mm}.qd-notes-long{break-before:page;padding-top:12px}.qd-condition-grid p{line-height:1.4}.qd-table th,.qd-table td{padding:5px 8px}.qd-project{padding:8px 14px}.qd-project dl div{margin-bottom:5px}.qd-reference{font-size:10px}}
@media print{.qd-conditions-long{break-before:page;padding-top:12px}.qd-conditions-long:has(~ .qd-notes-long){break-before:auto}.qd-notes-long{break-before:page}}
.qd-continuation{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #d5ddd2;padding-bottom:12px;margin-bottom:18px;font-size:11px}.qd-continuation>strong{font:700 22px Manrope,Arial,sans-serif}.qd .qd-note-paragraph{margin-bottom:5px!important;white-space:pre-wrap;break-inside:avoid}

.qd-requirements{margin-top:22px;padding:16px 18px;background:var(--qd-light);break-inside:avoid}.qd .qd-requirements h3{font-size:17px;line-height:1.3}.qd-requirements ul{margin:10px 0;padding-left:18px}.qd-requirements li{margin-bottom:4px}.qd-requirements p,.qd-requirements li{font-size:11px;line-height:1.5}.qd .qd-requirements p{margin-top:8px!important}.qd-requirements a{text-decoration:underline;text-underline-offset:2px}@media print{.qd-requirements{margin-top:14px;padding:12px 15px}.qd .qd-requirements h3{font-size:13px}.qd-requirements p,.qd-requirements li{font-size:10px}}
