/* Larger roof report pages with navigation immediately below. */
.mp-roof-page .mp-tour-layout{grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr);gap:64px;align-items:center}
.mp-roof-page .mp-tour-intro h2{margin-bottom:30px}
.mp-roof-page .mp-tour-intro .mp-checks{gap:19px}
.mp-roof-page .mp-tour-slide>img{width:100%;max-width:640px;height:auto;max-height:none;min-height:0;aspect-ratio:17/22;margin:0 auto;filter:drop-shadow(0 12px 17px #39353118)}
.mp-roof-page .mp-tour-controls{justify-content:center;margin-top:22px}
.mp-roof-page .mp-tour-controls button{width:44px;height:44px}
.mp-roof-page .mp-tour[aria-busy=true]{cursor:progress}
.mp-roof-page #how-it-works{border-top:0}
/* Gutter add-on uses an actual sample report. */
.rr-gutter-band{background:#fff;border-bottom:1px solid #f2efec}
.rr-gutter-preview{margin:0;justify-self:center;width:100%;max-width:410px}
.rr-gutter-preview img{display:block;width:100%;height:auto;box-shadow:0 14px 32px #38343018;border:1px solid #e8e5e2;border-radius:5px;transform:rotate(2deg)}
.mp-roof-page .rr-gutter-region{font-size:10px!important;line-height:1.6!important;margin:-10px 0 25px!important;color:#827c76!important}
/* Keep all three exterior sheets inside a centered, proportional frame. */
.mp-roof-page .mp-cross-band .mp-split{align-items:center;padding-block:70px}
.mp-roof-page .mp-cross-band .mp-report-stack{width:100%;max-width:520px;height:auto;aspect-ratio:1/1.19;transform:none;margin:0;justify-self:center}
.mp-roof-page .mp-cross-band .mp-sheet-back{top:8%}
.mp-roof-page .mp-cross-band .mp-sheet-middle{top:25%}
.mp-roof-page .mp-cross-band .mp-sheet-front{top:34%}
/* Native dialog keeps the full sample on this page, with a PDF download. */
.rr-sample-dialog{padding:0;border:1px solid #e4e1de;border-radius:14px;width:min(900px,calc(100vw - 32px));max-width:none;height:calc(100dvh - 32px);max-height:none;margin:auto;background:#fff;color:#2e2b28;box-shadow:0 25px 100px #26232066;overflow:hidden}
.rr-sample-dialog::backdrop{background:#25221fc4;backdrop-filter:blur(5px)}
.rr-modal-shell{height:100%;display:flex;flex-direction:column}
.rr-modal-toolbar{display:flex;align-items:center;justify-content:center;gap:18px;padding:10px 62px 10px 18px;min-height:62px;flex-shrink:0;position:relative;border-bottom:1px solid #ebe8e5;background:#fff}
.rr-modal-toolbar button{display:grid;place-items:center;width:40px;height:40px;padding:0;font:500 23px Montserrat,Arial,sans-serif;background:#fff;border:1px solid #e4e1de;border-radius:50%;color:#db0000;cursor:pointer}
.rr-modal-toolbar button:hover{background:#fff5f1;border-color:#db0000}
.rr-modal-toolbar button:disabled{color:#b7b3af;border-color:#eeebe8;cursor:default;background:#fbf9f7}
.rr-modal-toolbar [data-roof-modal-count]{min-width:104px;text-align:center;font-size:13px;font-weight:500;font-variant-numeric:tabular-nums}
.rr-modal-toolbar .rr-modal-close{position:absolute;right:14px;top:10px;border-color:transparent;color:#5a5550;font-size:26px}
.rr-modal-stage{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;background:#f0edea;overscroll-behavior:contain;scrollbar-gutter:stable;outline-offset:-4px}
.rr-modal-page{height:100%;min-height:100%;box-sizing:border-box;display:grid;place-items:center;padding:14px;margin:0}
.rr-modal-page img{display:block;width:100%;height:100%;object-fit:contain;min-height:0;filter:drop-shadow(0 6px 12px #3b373318)}
.rr-modal-footer{padding:13px 20px;text-align:center;border-top:1px solid #e7e4e1;background:#fff;flex-shrink:0}
.rr-modal-footer a{font-size:13px;font-weight:600;color:#db0000;text-decoration:underline;text-underline-offset:3px}
.rr-sample-dialog :is(button,a):focus-visible{outline:3px solid #db0000;outline-offset:3px}
@media(max-width:1100px){.mp-roof-page .mp-tour-layout{gap:38px;grid-template-columns:minmax(250px,.7fr) minmax(0,1.3fr)}}
@media(max-width:850px){.mp-roof-page .mp-tour-layout{grid-template-columns:1fr;gap:42px}.mp-roof-page .mp-tour-intro .mp-checks{grid-template-columns:1fr 1fr}.mp-roof-page .mp-tour-slide>img{max-width:600px}.rr-gutter-preview{max-width:390px}.rr-gutter-band .mp-split{gap:42px}}
@media(max-width:600px){.mp-roof-page .mp-tour-intro .mp-checks{grid-template-columns:1fr;gap:15px}.mp-roof-page .mp-tour-layout{gap:36px}.mp-roof-page .mp-tour-controls{margin-top:18px}.rr-gutter-preview{max-width:310px;width:90%}.mp-roof-page .mp-cross-band .mp-split{padding-block:50px}.rr-sample-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);border-radius:10px}.rr-modal-toolbar{gap:12px;padding:9px 49px 9px 10px;min-height:56px}.rr-modal-toolbar button{width:36px;height:36px}.rr-modal-toolbar .rr-modal-close{right:7px;top:9px}.rr-modal-toolbar [data-roof-modal-count]{font-size:12px;min-width:90px}.rr-modal-page{padding:8px}.rr-modal-footer{padding:12px}}

/* A proportional, smaller hero stack keeps the sheets clear of the copy and SLA. */
.mp-roof-page .mp-report-hero>.mp-report-stack{width:90%;max-width:440px;height:auto;aspect-ratio:1/1.24;margin:28px 0 0;justify-self:center;align-self:center}
.mp-roof-page .mp-report-hero>.mp-report-stack .mp-sheet-back{top:12%}
.mp-roof-page .mp-report-hero>.mp-report-stack .mp-sheet-middle{top:8%}
.mp-roof-page .mp-report-hero>.mp-report-stack .mp-sheet-front{top:23%}
.mp-roof-page .rr-gutter-band .mp-pricing-disclaimer{margin:-8px 0 28px;padding:0;border:0}
/* Two neutral surfaces organize the page; soft red is reserved for the closing action. */
.mp-roof-page{--rr-surface:#f8f6f4}
.mp-roof-page .mp-guarantee-band{background:#fff;border-color:#efece9}
.mp-roof-page .mp-guarantee-icon{background:#fff5f1}
.mp-roof-page .mp-tour-band,.mp-roof-page .rr-gutter-band,.mp-roof-page .mp-cross-band{background:var(--rr-surface);border:0}
.mp-roof-page #how-it-works,.mp-roof-page .mp-detail-band,.mp-roof-page #coverage,.mp-roof-page .mp-faq{background:#fff}
.mp-roof-page .mp-brand-preview{background:#f2f0ee}
.mp-roof-page .mp-final{background:#fff5f1}
@media(max-width:850px){.mp-roof-page .mp-report-hero>.mp-report-stack{width:85%;max-width:360px;margin:0 auto}}
@media(max-width:600px){.mp-roof-page .mp-report-hero>.mp-report-stack{max-width:300px}}

/* ==== Report-page micro-interactions (2026-11-22) ==== */
[data-roof-gallery]{position:relative}
[data-roof-gallery]:focus-visible{outline:3px solid #db0000;outline-offset:6px;border-radius:6px}
@media(prefers-reduced-motion:no-preference){
.rr-sample-dialog{transition:opacity .24s ease,scale .26s cubic-bezier(.2,.7,.2,1),overlay .26s allow-discrete,display .26s allow-discrete}
.rr-sample-dialog:not([open]){opacity:0;scale:.97}
.rr-sample-dialog::backdrop{transition:opacity .24s ease,overlay .26s allow-discrete,display .26s allow-discrete}
.rr-sample-dialog:not([open])::backdrop{opacity:0}
@starting-style{.rr-sample-dialog[open]{opacity:0;scale:.97}.rr-sample-dialog[open]::backdrop{opacity:0}}
.mp-checks.rr-checks-pending li svg path{stroke-dasharray:1;stroke-dashoffset:1}
.mp-checks.rr-checks-pending li.rr-check-in svg path{stroke-dashoffset:0;transition:stroke-dashoffset .45s cubic-bezier(.65,0,.35,1)}
}
/* ==== Report gallery carousel (2026-11-23): pages slide as one strip; the gallery edges fade them out. */
/* 24px of room above and below (cancelled by negative margins, so nothing moves) keeps the arrow buttons, their
   focus ring and the page shadows inside the area the edge fade leaves visible while pages slide. */
.mp-tour.rr-carousel{position:relative;padding-block:24px;margin-block:-24px}
.mp-tour.rr-carousel .mp-tour-slide{touch-action:pan-y}
.mp-tour.rr-moving{-webkit-mask-image:linear-gradient(90deg,transparent,#000 var(--rr-edge,0px),#000 calc(100% - var(--rr-edge,0px)),transparent);mask-image:linear-gradient(90deg,transparent,#000 var(--rr-edge,0px),#000 calc(100% - var(--rr-edge,0px)),transparent)}
.mp-tour.rr-moving .mp-tour-slide{will-change:transform}
.mp-tour.rr-dragging{user-select:none;-webkit-user-select:none}
