/* Commercial roof inspections page (uses the cs- layout classes from the construction page) */
.rf-viewer{border:1px solid #354c68;border-radius:14px;background:#101c2b;overflow:hidden;min-width:0;box-shadow:0 20px 60px #0003}
.rf-head{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;font-size:13px;color:#bfd2ee;border-bottom:1px solid #2c3f58}
.rf-head span:last-child{color:#8fa7c6}
.rf-stage{position:relative;height:370px;background:#060d16;overflow:hidden}
.rf-poster{position:absolute;inset:0;width:100%;border:0;margin:0;font:inherit;color:inherit;cursor:pointer;display:grid;place-content:center;justify-items:center;gap:12px;text-align:center;padding:24px;
 background:repeating-linear-gradient(0deg,#ffffff07 0 1px,transparent 1px 44px),repeating-linear-gradient(90deg,#ffffff07 0 1px,transparent 1px 44px),radial-gradient(ellipse at 50% 38%,#1a3a66,#060d16 72%)}
.rf-poster>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rf-poster>*:not(img){position:relative}
.rf-poster svg{width:70px;height:70px;fill:none;stroke:#8ab3ff;stroke-width:1.3;stroke-linejoin:round;stroke-linecap:round}
.rf-poster strong{display:block;font-size:23px;line-height:1.2;color:#fff;font-weight:600;letter-spacing:-.02em}
.rf-poster small{display:block;font-size:14px;color:#b4c6dc}
.rf-poster .rf-go{display:inline-flex;align-items:center;min-height:44px;padding:10px 20px;border-radius:8px;background:#2f6bdc;color:#fff;font-size:15px;font-weight:600;margin-top:8px}
.rf-poster:hover .rf-go{background:#3b78ea}
.rf-poster.has-img{align-content:end;justify-content:end;padding:16px;background:#000}
.rf-poster.has-img>img{object-fit:contain;padding:8px 14px}
.rf-poster.has-img svg,.rf-poster.has-img .rf-ptext{display:none}
.rf-poster.has-img .rf-go{margin-top:0;box-shadow:0 6px 24px #000c}
.rf-frame{position:absolute;inset:0;background:#000}
.rf-frame iframe{width:100%;height:100%;display:block;border:0;background:#000}
.rf-choices{display:grid;grid-template-columns:1fr 1fr;border-block:1px solid #30455f;background:#0d1826}
.rf-choices button{padding:13px 10px 12px;min-width:0;border:0;border-top:3px solid transparent;background:transparent;color:#b8c9e0;font:inherit;font-size:15px;font-weight:500;line-height:1.3;cursor:pointer;transition:background .18s,color .18s}
.rf-choices button+button{border-left:1px solid #263a53}
.rf-choices button:hover{background:#192e49;color:#fff}
.rf-choices button[aria-pressed=true]{background:#203957;color:#fff;border-top-color:#8db7ff}
.rf-choices button:focus-visible{outline-offset:-4px}
.rf-desc{padding:18px 20px 0;font-size:16px;line-height:1.55;color:#adbed5;min-height:25px}
.rf-controls{display:flex;align-items:center;justify-content:space-between;gap:12px 18px;flex-wrap:wrap;padding:16px 20px 20px}
.rf-controls .button{font-size:14px;padding:10px 17px;min-height:44px}
.rf-ext{color:#bcd5ff;font-size:14px;line-height:1.5;text-decoration:underline;text-decoration-color:#6986b1}
.rf-status{padding:0 20px 18px;color:#a9bedb;font-size:13px;line-height:1.6}
.rf-noscript{padding:0 20px 20px;font-size:15px}.rf-noscript a{color:#bcd5ff;text-decoration:underline}
.cs-outputs li>div{display:flex;flex-direction:column;height:100%;padding:26px 24px 26px}
.cs-outputs li>div p{margin-bottom:0}
.rf-options{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:38px}
.rf-options article{border:1px solid #2c3f58;border-radius:14px;background:#0d1826;padding:24px 26px 26px}
.rf-options article+article{border-color:#4b77b1}
.rf-opt-label{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#8ab3ff;margin-bottom:12px}
.rf-options h3{font-size:23px;margin-bottom:10px}
.rf-options article>p:last-child{font-size:16px;line-height:1.65;color:#b1c2d8}
@media(max-width:760px){.rf-options{grid-template-columns:1fr;gap:16px;margin-top:30px}}
.roof-page .cs-heading>p a{color:#a8c7ff;text-decoration:underline}
.rf-measured{margin-top:30px}
.roof-page .rf-measured img{aspect-ratio:1200/511;object-fit:contain;background:#000}
.rf-zoom{margin-top:34px}.rf-zoom h3{font-size:22px;margin-bottom:16px}
.roof-page .rf-zoom .evidence-image img{aspect-ratio:3/2}
.rf-thermal-fig{margin-top:26px;max-width:520px}.roof-page .rf-thermal-fig img{aspect-ratio:5/4}
.rf-related{display:flex;gap:12px 30px;flex-wrap:wrap;margin-top:26px}
.rf-thermal-link{margin-top:22px}
@media(max-width:1100px){.rf-stage{height:340px}}
@media(max-width:600px){.rf-stage{height:300px}.rf-poster strong{font-size:21px}.rf-head{padding-inline:14px;font-size:12px}.rf-desc,.rf-controls{padding-inline:16px}.rf-status{padding-inline:16px}}
.cs-file-hint{font-size:13px;line-height:1.55;color:#93a8c4;margin-top:10px}.cs-file-hint a{text-decoration:underline}
