/* The estimator is an app within the full RoofPrices site. */
html{height:auto;scroll-padding-top:16px}body.estimator-tool-page{height:auto;min-height:100dvh;overflow:visible;padding-bottom:0;background:#edf3f7}.estimator-tool-page .site-header .wrap{width:calc(100% - 64px);max-width:none}.estimator-tool-page .site-header{position:relative;z-index:3}.estimator-page{width:100%;padding:22px 28px 0}.estimator-frame{position:relative;isolation:isolate;z-index:0;overflow:hidden;width:100%;border:1px solid #d5e1e8;border-radius:20px;background:#fff;box-shadow:0 12px 36px #192e3e0c;scroll-margin-top:12px}.estimator-frame .top{height:56px;padding-inline:32px;background:#fff}.estimator-toolbar .stage-name{font-size:16px}.estimator-frame .app{height:clamp(540px,calc(100dvh - var(--estimator-site-header,160px) - 210px),820px)}.estimator-frame .app.nows #content{width:100%;max-width:none;margin:0;padding:30px 36px 24px}.estimator-frame #content>p{max-width:80ch}.estimator-frame .app.nows #bar>*{max-width:none}.estimator-frame .app.nows #bar{justify-content:flex-start}.estimator-frame .address-card{padding:24px}.estimator-frame .address-card .input{max-width:none}.estimator-frame .fig{max-width:680px}.estimator-frame .fig img{max-height:210px}.estimator-frame .pitches{max-width:1100px}.estimator-frame .counter{max-width:1100px}.estimator-frame .cards:has([data-act=mat]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.estimator-frame .cards:has([data-act=mat]) .card{flex-direction:column;align-items:flex-start;padding:24px}.estimator-frame .cards:has([data-act=mat]) img{width:120px;height:84px}.estimator-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding:26px 16px 30px}.estimator-benefit{display:flex;align-items:flex-start;gap:14px;padding:0 12px}.benefit-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #d5e1e8;border-radius:12px;color:#a50d27;background:#fff}.benefit-icon svg{width:25px;height:25px}.estimator-benefit h2{font-size:16px;font-weight:750;line-height:1.3;margin:0 0 6px;color:#192e3e;letter-spacing:-.01em}.estimator-benefit p{font-size:14px;line-height:1.45;color:#405363;margin:0;max-width:44ch}.estimator-benefit+.estimator-benefit{border-left:1px solid #cedce5}.estimator-tool-page [data-roofing-chat-launcher],.estimator-tool-page [data-roofing-chat-host]{display:none!important}
@media(min-width:1500px){.estimator-frame .app.nows #content{padding-inline:44px}.estimator-frame .top{padding-inline:44px}}
@media(max-width:1100px){.estimator-tool-page .site-header .wrap{width:calc(100% - 36px)}.estimator-page{padding:18px 18px 0}.estimator-frame .app.nows #content{padding:26px}.estimator-benefits{gap:12px;padding-inline:0}.estimator-benefit{gap:10px;padding-inline:8px}.estimator-benefit h2{font-size:15px}.estimator-benefit p{font-size:13px}}
@media(max-width:899px){.estimator-page{padding:12px 12px 0}.estimator-frame{border-radius:16px}.estimator-frame .top{padding-inline:14px}.estimator-frame .app{height:calc(100svh - 88px)}.estimator-frame .app.nows #content{padding:24px}.estimator-frame .address-card{padding:20px}.estimator-frame .cards:has([data-act=mat]){grid-template-columns:1fr}.estimator-frame .cards:has([data-act=mat]) .card{flex-direction:row;align-items:center;padding:14px}.estimator-frame .cards:has([data-act=mat]) img{width:76px;height:64px}.estimator-benefits{grid-template-columns:1fr;gap:0;padding:8px 2px 18px}.estimator-benefit{padding:15px 8px}.estimator-benefit+.estimator-benefit{border-left:0;border-top:1px solid #d5e1e8}.estimator-benefit h2{font-size:15px}.estimator-benefit p{font-size:13px;max-width:none}.benefit-icon{width:38px;height:38px}.benefit-icon svg{width:23px;height:23px}}
@media(max-width:740px){.estimator-tool-page .header-action{display:none}.estimator-tool-page .site-header .wrap{width:calc(100% - 28px)}.estimator-tool-page .site-header .service-nav-inner{width:100%}.estimator-frame .top .stage-name{display:block;flex:1;font-size:14px}.estimator-frame .top .dots{flex:none;gap:3px}.estimator-frame .top .dots i{width:10px}.estimator-frame .top .exit{font-size:12px;padding-inline:6px}.estimator-frame .app.nows #content{padding:22px 18px}.estimator-frame .address-card{padding:16px}}
@media(max-width:360px){.estimator-frame .top .dots{display:none}.estimator-frame .top{gap:4px}}
.estimator-frame #content{overscroll-behavior-y:auto}
.estimator-frame #content h1{max-width:none}
@media(max-width:740px){.estimator-frame .top .stage-name{white-space:normal;line-height:1.15;font-size:13px;text-overflow:clip}}
/* Let the matching-flow action bar follow the viewport, without a nested page scroller. */
.estimator-frame:has(.app.nows[data-path=match]){overflow:visible}
.estimator-frame:has(.app.nows[data-path=match]) .top{border-radius:20px 20px 0 0}
.estimator-frame:has(.app.nows[data-path=match]) #bar{border-radius:0 0 20px 20px;justify-content:flex-end}
.estimator-frame:has(.app.nows[data-screen=start]) #bar{justify-content:flex-start}
@media(max-width:899px){.estimator-frame:has(.app.nows[data-path=match]) .top{border-radius:16px 16px 0 0}.estimator-frame:has(.app.nows[data-path=match]) #bar{border-radius:0 0 16px 16px}}
