/* Candidate-only layout refinements; scoped to approved page sections. */
.layout-review-price-comparison{max-width:1180px;margin:24px auto 38px;padding:0 24px;color:var(--volume-ink,#263b31);scroll-margin-top:12px}
.layout-review-price-comparison>h2{margin:0 0 10px;text-align:center;font-size:clamp(22px,2.2vw,30px);line-height:1.45}
.layout-review-price-comparison>p{max-width:760px;margin:0 auto 18px;line-height:1.85}
.layout-review-price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.layout-review-price-card{min-width:0;overflow:hidden;background:#fffef9;border:1px solid var(--volume-line,#d9dfd2);border-radius:16px}
.layout-review-price-card .volume-example-heading{padding:20px 18px 10px}
.layout-review-price-card .volume-example-heading h2{font-size:22px;line-height:1.45;margin:5px 0 8px}
.layout-review-price-card .volume-example-heading>p:last-child{margin:0}
.layout-review-price-card .volume-price{padding:14px 18px 20px}
.layout-review-price-card .volume-amount strong{font-size:38px}
.layout-review-price-card .volume-range{font-size:14px;padding:12px 14px}
@media (min-width:701px) and (max-width:1100px){.layout-review-price-grid{grid-template-columns:minmax(0,1fr);max-width:720px;margin-inline:auto}.layout-review-price-comparison{padding-inline:24px}}
@media (max-width:700px){.layout-review-price-grid{grid-template-columns:minmax(0,1fr);max-width:720px;margin-inline:auto;gap:10px}.layout-review-price-comparison{padding-inline:18px;margin-block:12px 25px}.layout-review-price-card .volume-example-heading{padding:18px 16px 8px}.layout-review-price-card .volume-price{padding:12px 16px 18px}.layout-review-price-card .volume-amount strong{font-size:34px}}

/* Two-column photo pairs keep both full photographs visible. */
.whole-home-section .work-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.whole-home-section .work-photos .work-photo{min-width:0;margin:0;padding:10px;background:#fff;border:1px solid var(--line,#d8dfd4);border-radius:12px}
.whole-home-section .work-photos img{display:block;width:100%;height:auto;max-height:none!important;object-fit:contain}
#case .case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
#case .case-grid figure{min-width:0;margin:0}
#case .case-grid img{display:block;width:100%;height:auto;object-fit:contain}
.page-services .e019-entry-card{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;align-items:center}
.page-services .e019-entry-card__media{min-width:0;margin:0}
.page-services .e019-entry-card__media img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain}
@media (max-width:700px){.page-services .e019-entry-card{grid-template-columns:minmax(0,1fr);gap:16px}}

/* Name the existing photo-estimate contact and keep the final CTA usable inline. */
.layout-review-representative{display:flex;align-items:center;gap:12px;width:fit-content;max-width:100%;margin:14px 0 8px;padding:8px 12px 8px 8px;background:#fff;border:1px solid var(--line,#d8dfd4);border-radius:12px;font-weight:800}
.layout-review-representative img{width:56px;height:56px;object-fit:cover;object-position:50% 32%;border:1px solid var(--line,#d8dfd4);border-radius:50%;background:#fff}
.layout-review-first-photo-cta{margin:22px auto 0;padding:16px;background:var(--paper-soft,#f7f7f0);border:1px solid var(--line,#d8dfd4);border-radius:14px}
.layout-review-first-photo-cta .cta-reassurance{margin-top:0}
.layout-review-first-photo-cta .cta-actions{margin:0}
#area .report-person{grid-template-columns:112px minmax(0,1fr);gap:20px;padding:18px;border:1px solid var(--line,#d8dfd4);border-radius:14px;background:#fff}
#area .report-person img{width:112px;height:auto;aspect-ratio:1;object-fit:cover;object-position:50% 32%;border-radius:50%}
@media (max-width:700px){.layout-review-representative img{width:48px;height:48px}#area .report-person{grid-template-columns:80px minmax(0,1fr);gap:12px;padding:14px}#area .report-person img{width:80px}}
@media (max-width:420px){#area .report-person{grid-template-columns:64px minmax(0,1fr);gap:10px;padding:12px}#area .report-person img{width:64px}}

/* Keep the island menu closed by default; arrange its links when opened. */
.island-header details.island-textnav[open]>nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:min(880px,calc(100vw - 32px));max-width:none;box-sizing:border-box}
.island-header details.island-textnav[open]>nav a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 10px;text-align:center;border:1px solid #cbd9d3;border-radius:8px;background:#f7faf8;word-break:keep-all;overflow-wrap:normal}
@media (max-width:700px){.island-header details.island-textnav[open]>nav{grid-template-columns:minmax(0,1fr)}}

/* Existing official privacy and advertising-choice links. */
.layout-review-cookie-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0 0 16px}
.layout-review-cookie-links a{display:inline-flex;align-items:center;min-height:44px;padding:6px 0;text-underline-offset:3px}

/* Company information and portrait grouping. */
#business table{width:100%;table-layout:fixed}
#business th:first-child,#business td:first-child{width:28%}
#business td:last-child{overflow-wrap:anywhere;word-break:normal}
#business .layout-review-license-number{white-space:nowrap;overflow-wrap:normal}
#reuse-example .hp-adopted-about__gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
#reuse-example .hp-adopted-about__gallery figure{min-width:0;margin:0;padding:10px;background:#fff;border:1px solid var(--line,#d8dfd4);border-radius:12px}
#reuse-example .hp-adopted-about__gallery img{display:block;width:100%;height:auto;object-fit:contain}
#approach .owner-sign{margin-top:0}
#approach .owner-message{margin-top:0}
@media (max-width:700px){#business th:first-child,#business td:first-child{width:34%}}
@media (max-width:600px){#reuse-example .hp-adopted-about__gallery{grid-template-columns:minmax(0,1fr);gap:12px}}

/* In-page consultation entries and the generated photo index. */
.layout-review-inline-cta{max-width:760px;margin:22px auto 30px;padding-inline:16px}
.layout-review-inline-cta .cta-actions{width:min(100%,540px);margin:0 auto;gap:10px}
.layout-review-photo-toc{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 20px}
.layout-review-photo-toc a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:48px;padding:8px 10px;background:#fff;border:1px solid var(--line,#d8dfd4);border-radius:10px;text-align:center;text-decoration:underline;text-underline-offset:3px}
#household-home{scroll-margin-top:12px}
@media (max-width:700px){.layout-review-photo-toc{grid-template-columns:minmax(0,1fr);gap:8px}}
