/* Scoped local comparison tool; inherits ContainerPick type, color and buttons. */
.cp-quote-tool{padding-top:42px;padding-bottom:48px;color:var(--ink,#102944)}
.cp-quote-tool h2{font-size:1.75rem;line-height:1.3;letter-spacing:-.025em}
.cp-tool-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin-bottom:24px}
.cp-tool-heading .eyebrow{margin-bottom:9px;font-size:.7rem}
.cp-tool-heading p{max-width:760px;color:#526b7d;line-height:1.8;margin-top:12px}
.cp-local-badge{flex-shrink:0;border:1px solid #c7ded4;border-radius:30px;padding:7px 12px;background:#eef8f2;color:#235e51;font-size:.76rem;font-weight:600;margin-top:10px}
.cp-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
.cp-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 15px;border:1px solid #9cbcaf;border-radius:6px;background:#fff;color:#205b4e;font-weight:600;font-size:.86rem;line-height:1.5}
.cp-secondary:hover{background:#edf7f2;border-color:#477e6e}
.cp-secondary:disabled{cursor:default;opacity:.45}
.cp-quote-tool :is(input,select,textarea,button,summary):focus-visible{outline:3px solid #23847b;outline-offset:3px}
.cp-quote-tool [hidden]{display:none!important}
.cp-help{color:#506978;font-size:.81rem;line-height:1.75;margin-top:8px;margin-bottom:12px}
.cp-example-notice,.cp-notice{border:1px solid #d0b779;background:#fff9e9;border-radius:7px;padding:16px 19px;color:#614c1f;font-size:.91rem;line-height:1.75;margin:17px 0}
.cp-project{border:1px solid #b9d6ca;border-radius:10px;background:#f7fbf9;padding:25px 28px;margin-top:25px}
.cp-project>legend{font:700 1.38rem/1.4 Manrope,Arial,sans-serif;padding:0 9px;color:#153e36}
.cp-project-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 22px;margin-top:21px}
.cp-field{display:block;min-width:0;color:#27485a;font-size:.83rem;font-weight:600;line-height:1.55}
.cp-field :is(input,select,textarea){display:block;width:100%;min-width:0;border:1px solid #a8c0ca;border-radius:5px;background:#fff;color:#102944;padding:10px 11px;min-height:43px;margin-top:7px;font:400 .92rem/1.5 var(--font,Arial,sans-serif)}
.cp-field textarea{resize:vertical;min-height:76px}
.cp-field small{display:block;font-weight:400;color:#516c7b;font-size:.75rem;line-height:1.65;margin-top:5px}
.cp-field [aria-invalid=true]{border-color:#a34632;background:#fff8f6}
.cp-wide{grid-column:span 2}
.cp-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 16px}
.cp-offers-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:36px;margin-bottom:23px}
.cp-offer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.cp-offer-grid.cp-three-offers{grid-template-columns:repeat(3,minmax(0,1fr))}
.cp-offer{border:1px solid #cbdce2;border-radius:10px;background:#fff;padding:22px 23px 24px;min-width:0}
.cp-offer>legend{font:700 1.28rem/1.4 Manrope,Arial,sans-serif;color:#102944;padding:0 8px}
.cp-offer .cp-fields>.cp-field:first-child{grid-column:span 2}
.cp-offer .cp-scope-details .cp-field:first-child,.cp-conditional-row .cp-fields>.cp-field:first-child{grid-column:auto}
.cp-quote-tool details{border-top:1px solid #dce6e9;margin-top:20px;padding-top:16px}
.cp-quote-tool details>summary{font-size:.86rem;font-weight:700;line-height:1.6;cursor:pointer;color:#244e5a;padding:4px 0}
.cp-quote-tool details[open]>summary{margin-bottom:16px}
.cp-costs{margin-top:28px}
.cp-costs h3{font-size:1.18rem;line-height:1.4;margin-bottom:7px}
.cp-costs .cp-work-heading{margin-top:25px;padding-top:24px;border-top:1px solid #bcd5cb;color:#205b4e}
.cp-cost-row{padding:16px 0;border-bottom:1px solid #e2e9ec}
.cp-cost-row h4{font:700 .93rem/1.5 Manrope,Arial,sans-serif;color:#24485a;margin:0 0 8px}
.cp-cost-row>.cp-field>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cp-amount-controls{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:12px}
.cp-cost-row [data-included-control]{margin-top:12px}
.cp-costs>.cp-field{margin-top:18px}
.cp-conditional-row{padding-bottom:16px;margin-top:20px;border-bottom:1px solid #e2e9ec}
.cp-conditional-row>legend{font-size:.86rem;font-weight:700;margin-bottom:12px}
.cp-conditional-row>.cp-fields{margin-top:13px}
.cp-conditional-row [data-amount-controls]{display:block;margin-top:0}
.cp-check{display:flex;align-items:flex-start;gap:9px;margin-top:15px;color:#345d54;font-size:.84rem;line-height:1.6;font-weight:600}
.cp-check input{width:19px;height:19px;flex:none;margin:3px 0 0;accent-color:#176c5a}
.cp-compare-actions{display:flex;align-items:center;gap:26px;margin:30px 0 32px;border-top:1px solid #d7e5df;padding-top:27px}
.cp-compare-actions .button{flex-shrink:0}
.cp-compare-actions p{font-size:.85rem;color:#506b7b;line-height:1.75;max-width:720px}
.cp-errors,.cp-project-issues{background:#fff5ed;border:1px solid #dfb99e;border-radius:7px;padding:18px 21px;margin-bottom:23px;color:#743e23}
.cp-errors h3,.cp-project-issues h3{font-size:1.02rem;line-height:1.4;margin:0 0 10px}
.cp-errors ul,.cp-project-issues ul{padding-left:20px;margin:0;font-size:.87rem;line-height:1.75}
.cp-results{border-top:1px solid #c7ded4;padding-top:29px}
.cp-result-announcement{font-size:.96rem;line-height:1.8;color:#315c4f;margin:14px 0 24px;max-width:1000px}
.cp-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.cp-result-grid.cp-three-results{grid-template-columns:repeat(3,minmax(0,1fr))}
.cp-result-card{padding:23px;border:1px solid #ccdde3;border-radius:9px;background:#f9fcfc;min-width:0}
.cp-result-card.cp-lowest{border:2px solid #368b71;background:#f0faf4;padding:22px}
.cp-result-label h3{font-size:1.2rem;line-height:1.4;overflow-wrap:anywhere}
.cp-result-badge{display:inline-block;margin-top:8px;background:#e9f0f1;color:#3b5967;border-radius:4px;font-size:.74rem;padding:4px 8px;line-height:1.65;font-weight:600}
.cp-lowest .cp-result-badge{background:#daeee2;color:#1e6147}
.cp-result-price{font:700 clamp(1.45rem,2.2vw,2.05rem)/1.3 Manrope,Arial,sans-serif;color:#163e34;margin-top:21px;overflow-wrap:anywhere}
.cp-result-price-label{color:#59706b;font-size:.76rem;line-height:1.7;margin-top:6px}
.cp-unresolved{color:#795139;font-size:1.2rem}
.cp-total-parts{margin:22px 0 0;font-size:.85rem}
.cp-total-parts>div{display:flex;align-items:baseline;justify-content:space-between;gap:13px;border-top:1px solid #dbe8e1;padding:11px 0}
.cp-total-parts dt{color:#456276;line-height:1.6}
.cp-total-parts dd{margin:0;font-weight:700;color:#234e42;text-align:right;line-height:1.6}
.cp-total-parts .cp-unresolved{font:600 .85rem/1.6 var(--font,Arial,sans-serif)}
.cp-known-only{background:#fff7e9;border-radius:5px;color:#714d23;padding:12px;font-size:.81rem;line-height:1.8;margin-top:14px}
.cp-result-dates{font-size:.79rem;line-height:1.8;color:#536d7c;padding-top:15px;margin-top:15px;border-top:1px solid #dae6e9}
.cp-result-checks{margin-top:18px}
.cp-result-card h4{font:700 .86rem/1.5 Manrope,Arial,sans-serif;margin:0 0 7px;color:#315964}
.cp-result-card ul{padding-left:18px;margin:8px 0;font-size:.8rem;line-height:1.8;color:#4c6372}
.cp-result-card li{margin-bottom:7px;overflow-wrap:anywhere}
.cp-entered-lines{list-style:none;padding:0!important}
.cp-entered-lines li{display:grid;grid-template-columns:1fr auto;gap:4px 10px;border-bottom:1px solid #dde7e9;padding:10px 0}
.cp-entered-lines strong{font-weight:600;text-align:right}
.cp-entered-lines small{grid-column:1/-1;font-size:.74rem}
.cp-result-conditions{margin-top:20px}
.cp-export{border-top:1px solid #cddfe4;margin-top:35px;padding-top:28px}
.cp-export>p{font-size:.9rem;color:#506c7b;line-height:1.85;max-width:850px;margin-top:12px}
.cp-export textarea{font-size:.82rem;line-height:1.8;min-height:210px;font-weight:400}
.cp-export [data-export-status]{color:#245f4c;font-size:.84rem;margin-top:11px}
@media(max-width:1100px){.cp-project-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-offer-grid.cp-three-offers,.cp-result-grid.cp-three-results{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-three-offers .cp-offer:last-child,.cp-three-results .cp-result-card:last-child{grid-column:1/-1}.cp-three-offers .cp-offer:last-child .cp-costs{max-width:650px}.cp-tool-heading{flex-direction:column;gap:12px}.cp-local-badge{margin-top:0}}
@media(max-width:760px){.cp-quote-tool{padding-top:29px;padding-bottom:35px}.cp-offer-grid,.cp-offer-grid.cp-three-offers,.cp-result-grid,.cp-result-grid.cp-three-results{grid-template-columns:1fr;gap:22px}.cp-quote-tool h2{font-size:1.5rem}.cp-project{padding:20px}.cp-offer{padding:21px}.cp-offers-heading,.cp-compare-actions{align-items:flex-start;flex-direction:column;gap:16px}.cp-compare-actions .button{width:100%}.cp-project>legend{font-size:1.2rem}.cp-results{padding-top:24px}.cp-result-price{font-size:1.85rem}}
@media(max-width:420px){.cp-project-fields,.cp-fields{grid-template-columns:1fr}.cp-wide,.cp-offer .cp-fields>.cp-field:first-child{grid-column:auto}.cp-amount-controls{grid-template-columns:1fr 1fr;gap:10px}.cp-offer,.cp-project{padding-left:16px;padding-right:16px}.cp-field :is(input,select,textarea){font-size:1rem}.cp-secondary{font-size:.84rem}.cp-toolbar{flex-direction:column;align-items:stretch}.cp-total-parts>div{align-items:start;flex-direction:column;gap:4px}.cp-total-parts dd{text-align:left}.cp-result-card{padding:19px}.cp-result-card.cp-lowest{padding:18px}}
@media print{.site-header,.site-footer,.cp-project,.cp-offer-grid,.cp-tool-heading,.cp-toolbar,.cp-compare-actions,.reading-aside,.cp-export,.cp-offers-heading,.cp-local-badge{display:none!important}.cp-quote-tool{width:100%;padding:0}.cp-result-grid,.cp-result-grid.cp-three-results{display:block}.cp-result-card{break-inside:avoid;margin-bottom:20px}.cp-result-card details{display:block}.cp-result-card details>*{display:block!important}.cp-result-badge{border:1px solid #777}.cp-results{border:0}.cp-example-notice{display:block}.cp-result-announcement{color:#111}.cp-result-price{color:#111}}

/* Let the quote-tool header CTA wrap when the desktop navigation shares a narrow row. */
.site-header .button-small[href="#quote-comparison"]{white-space:normal;text-align:center;flex-shrink:1}
