/* re-d: Nov 6 re-audit fixes for /about-us/, /contact-us/, /request-a-quote/, /thank-you/ (scoped by body[data-re]) */
/* 1. Retire scroll-linked entry animations on these pages: they left rows offset wherever the visitor stopped scrolling. Elements render in their final position. */
body[data-re] *,body[data-re] *::before,body[data-re] *::after{animation-timeline:auto!important}

/* ---------- About ---------- */
/* Areas table: keep the "Books" column on phones (it was hidden below 600px, so phone visitors lost "By phone or text") */
@media (max-width:599px){
 body[data-re=about] .a10-zt th:nth-child(2),body[data-re=about] .a10-zt td:nth-child(2){display:table-cell;white-space:normal;font-size:12px;line-height:1.25;width:7.2em}
 body[data-re=about] .a10-zt th,body[data-re=about] .a10-zt td{padding:10px 6px}
 body[data-re=about] .a10-zt th:first-child,body[data-re=about] .a10-zt td:first-child{padding-left:10px}
 body[data-re=about] .a10-zt th:last-child,body[data-re=about] .a10-zt td:last-child{padding-right:10px;white-space:nowrap}
}
/* Booking note: the inline "in-home estimate" link no longer stretches its line */
body[data-re=about] .a10-bk-n .lnk{display:inline;padding:0;min-height:0}

/* ---------- Request a Quote + Thank You: duration bar ---------- */
body[data-re=quote] .vr-t,body[data-re=quote] .vr-t span,body[data-re=thanks] .tr-ticks span,body[data-re=contact] .c8-tl span{white-space:nowrap}

/* ---------- Thank You ---------- */
/* Stamps and seals belong only on the Promise page: hide the check seal and the round "pass" stamp (the "Booked" badge stays) */
body[data-re=thanks] .ty-mark .seal,body[data-re=thanks] .pass-stamp{display:none!important}
/* Direct visit: the email mock is an example, so say so */
html[data-ty-state=unknown] body[data-re=thanks] .ibx::before{content:"Look for this email";display:block;font:600 12px/1.2 var(--ff-m,"IBM Plex Mono",monospace);letter-spacing:.04em;text-transform:uppercase;margin:0 0 10px;color:inherit}

/* ---------- Contact ---------- */
body[data-re=contact] .c8-hl .re-hol{grid-column:1/-1}
body[data-re=contact] .c8-now [data-open-t]{text-wrap:balance}
@media (max-width:599px){
 body[data-re=contact] .co-wk .co-wk-c{font-size:12px!important;letter-spacing:-.04em}
 body[data-re=contact] .co-wk .co-wk-g{column-gap:0}
}

/* ---------- Request a Quote ---------- */
/* Promise card on phones: "Refund" no longer runs into its caption */
@media (max-width:520px){body[data-re=quote] .rq-pc-n span{grid-template-columns:116px minmax(0,1fr)}}
/* Visit card on phones: one fact per row, label left and value right, so rows line up */
@media (max-width:599px){
 body[data-re=quote] .rq-hero .vc-dl{grid-template-columns:minmax(0,1fr)}
 body[data-re=quote] .rq-hero .vc-dl div{grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:baseline;padding:9px 0}
 body[data-re=quote] .rq-hero .vc-dl dt{font-size:12.5px}
}
/* Palette: no grey/tinted panels. Graph-paper lines, tinted FAQ panel and 4% white panels become plain page colour */
body[data-re=quote] .rq-sch{background-image:none}
body[data-re=quote]{--rq-grid:transparent;--rq-panel:transparent}
body[data-re=quote] section.faq{background-color:transparent}
body[data-re=quote] .rq-hero div.vc{background-color:#fff}
:root[data-theme=dark] body[data-re=quote] .rq-hero div.vc{background-color:#000}
:root[data-theme=dark] body[data-re=quote] #after th{background-color:#000}
:root[data-theme=dark] body[data-re=about] #who .ax-box{background-color:#000}
/* Thank You: email mock placeholder rows drawn as thin solid lines in the page ink (no grey tints) */
body[data-re=thanks] .ibx-ghost .ibx-av{border-color:var(--fg,#000)}
body[data-re=thanks] .ibx-ghost .ibx-t i{height:0;border-radius:0;background:none;border-top:1.5px solid var(--fg,#000)}
body[data-re=thanks] .ibx-ghost .ibx-t{gap:10px}
body[data-re=thanks] .ty-h1{text-wrap:balance}
/* While You Wait: the chosen service's double-size card had a large empty middle at desktop; give it a larger lead and price */
@media (min-width:1000px){
 body[data-re=thanks] .svc-l.ty-sc li.is-yours .svc-d{font-size:clamp(17px,1.35vw,20px);line-height:1.5;max-width:34ch;margin-top:6px}
 body[data-re=thanks] .svc-l.ty-sc li.is-yours .ty-sc-p b{font-size:clamp(56px,5.2vw,80px);line-height:1}
 body[data-re=thanks] .svc-l.ty-sc li.is-yours .ty-sc-m{font-size:15px}
}
/* About hero card on small phones: keep the "Toms River, NJ" tag on one line */
@media (max-width:420px){
 body[data-re=about] .ax-wo-h{gap:8px}
 body[data-re=about] .ax-wo-h b{white-space:nowrap;font-size:12px;padding-inline:8px}
 body[data-re=about] .ax-wo-h span{font-size:12px}
}
:root[data-theme=dark] body[data-re=quote] .rq-hero div.vc{box-shadow:none}
