/* The film theme on the 16 legacy pages (PLAN.md §6.1) */
/* page ground */
body.legacy-minimal{background:var(--ft-page)!important}
/* no hero: a WARM wash fading into the page ground */
body.legacy-minimal [style*="font-family: var(--font-body); background: var(--paper)"]:not(:has([data-screen-label="Hero"])){background-image:linear-gradient(#f7f9fc00 40%,#f7f9fc),var(--ft-g-warm)!important;background-size:100% 820px!important;background-repeat:no-repeat!important}
body.legacy-minimal [style*="font-family: var(--font-body); background: var(--paper)"]:not(:has([data-screen-label="Hero"],[id="book"],.bd-wrap))>footer{box-shadow:0 -1px 0 var(--ft-line),0 -70px 60px 40px var(--ft-page)}
body.legacy-minimal :is([style*="font-family: var(--font-body); background: rgb(15, 34, 38)"],[style*="font-family: var(--font-body); background: #0F2226"]){background:var(--ft-page)!important}
/* nav: transparent on the hero's ground, 88/74 px, ink */
body.legacy-minimal :is(.site-bar,header[data-screen-label="Nav"]){position:relative!important;top:auto!important;box-sizing:border-box!important;height:var(--ft-lnav,88px)!important;min-height:0!important;padding-top:0!important;padding-bottom:0!important;background:transparent!important;border-bottom-color:transparent!important;box-shadow:none!important}
body.legacy-minimal :is(.site-bar,header[data-screen-label="Nav"]) a:not(.nav-cta),body.legacy-minimal :is(.site-bar,header[data-screen-label="Nav"]) .svc-menu a{color:var(--ft-ink)!important}
body.legacy-minimal :is(.site-bar,header[data-screen-label="Nav"])>a:first-child span:nth-child(2){background:#173b404d!important}
body.legacy-minimal :is(.site-bar,header[data-screen-label="Nav"]) .nav-burger{color:var(--ft-ink)!important;border-color:#173b402e!important;background:#ffffffb3!important}
body.legacy-minimal :is(.site-bar,header[data-screen-label="Nav"]) .nav-cta{box-shadow:var(--ft-sh-lime)!important}
body.legacy-minimal :is(.site-bar,header[data-screen-label="Nav"]) .svc-menu{position:absolute;border-color:transparent!important;box-shadow:var(--ft-sh-big)!important}
body.legacy-minimal :is(.site-bar,header[data-screen-label="Nav"],nav[data-screen-label="Mobile menu"]) :is(a,button):focus-visible{outline-color:var(--ft-ink)}
body.legacy-minimal .nav-drawer .nav-drawer-panel{background:#fff!important;color:var(--ft-ink);box-shadow:var(--ft-sh-big)!important}
body.legacy-minimal .nav-drawer :is(.nav-drawer-head>span,.nav-drawer-link){color:var(--ft-ink)!important}
body.legacy-minimal .nav-drawer .nav-drawer-link{border-color:var(--ft-line)!important}
body.legacy-minimal .nav-drawer .nav-burger{color:var(--ft-ink)!important;border-color:transparent!important;background:var(--ft-skel)!important}
body.legacy-minimal .nav-drawer .nav-drawer-cta{background:var(--ft-lime)!important;color:var(--ft-lime-ink)!important;box-shadow:var(--ft-sh-lime)}
/* request-a-service's own phone menu: the same white card */
body.legacy-minimal nav[data-screen-label="Mobile menu"]{background:#fff!important;box-shadow:var(--ft-sh-big)!important}
body.legacy-minimal nav[data-screen-label="Mobile menu"]>button{color:var(--ft-ink)!important;border-color:transparent!important;background:var(--ft-skel)!important}
body.legacy-minimal nav[data-screen-label="Mobile menu"] a:not([style*="rgb(233, 241, 109)"]){color:var(--ft-ink)!important;border-bottom-color:var(--ft-line)!important}
body.legacy-minimal nav[data-screen-label="Mobile menu"] a[style*="rgb(233, 241, 109)"]{box-shadow:var(--ft-sh-lime)}
/* hero: the WARM ground runs up under the nav (one ground, no seam) */
body.legacy-minimal [data-screen-label="Hero"]{margin-top:calc(-1 * var(--ft-lnav,88px))!important;border-top:var(--ft-lnav,88px) solid transparent!important;background:var(--ft-g-warm)!important;background-origin:border-box!important;color:var(--ft-ink)!important}
body.legacy-minimal [data-screen-label="Hero"]>div[style*="position: absolute"][style*="inset: 0"]:empty{display:none!important}
/* hero re-ink: headings ink, the rest body */
body.legacy-minimal [data-screen-label="Hero"] :is(h1,h2,h1 *,h2 *):where(:not(.ga-phone,.ga-phone *)){color:var(--ft-ink)!important}
body.legacy-minimal [data-screen-label="Hero"] :is(p,li,small,em,span:not([style*="background"]),div:not([style*="background"])):where(:not(.ga-phone,.ga-phone *,a *,h1 *,h2 *,[style*="var(--marketing-dark)"] *)){color:var(--ft-body)!important}
body.legacy-minimal [data-screen-label="Hero"] :is(strong,b):where(:not(.ga-phone *,[style*="var(--marketing-dark)"] *)){color:var(--ft-ink)!important}
body.legacy-minimal [data-screen-label="Hero"] :is(div,span)[style*="text-transform: uppercase"]{color:var(--ft-ink)!important;font-size:14px!important;font-weight:600!important}
/* hero links: white pills, one lime primary */
body.legacy-minimal [data-screen-label="Hero"] a[style*="height:"]{background:#ffffffe6!important;color:var(--ft-ink)!important;border-color:transparent!important;box-shadow:var(--ft-sh-card)!important}
body.legacy-minimal [data-screen-label="Hero"] a:is([style*="rgb(233, 241, 109)"],[style*="#E9F16D"],[style*="var(--lime"],[style*="var(--marketing-dark)"],[style*="background: rgb(255, 255, 255)"],[style*="background: #fff"]){background:var(--ft-lime)!important;color:var(--ft-lime-ink)!important;border-color:transparent!important;box-shadow:var(--ft-sh-lime)!important}
body.legacy-minimal [data-screen-label="Hero"] a[style*="height:"]:hover{filter:brightness(.97)}
body.legacy-minimal [data-screen-label="Hero"] a:not([style*="height:"]){color:var(--ft-ink)!important}
body.legacy-minimal [data-screen-label="Hero"] svg[stroke="#fff"]{stroke:var(--ft-ok)}
body.legacy-minimal [data-screen-label="Hero"] .ga-phone{box-shadow:var(--ft-sh-3d)!important}
body.legacy-minimal [data-screen-label="Hero"] [role="tablist"]{background:#173b4012!important;border-color:transparent!important}
body.legacy-minimal [data-screen-label="Hero"] [role="tab"]{color:var(--ft-ink)!important}
body.legacy-minimal [data-screen-label="Hero"] [role="tab"][aria-selected="true"]{box-shadow:var(--ft-sh-chip)}
/* labels: sentence case; the eyebrows become the film's chip */
body.legacy-minimal :is([style*="text-transform: uppercase"],[style*="text-transform:uppercase"]):not(.ga-phone *):not(.bdp *),body.legacy-minimal .glass-kicker{text-transform:none!important;letter-spacing:0!important}
body.legacy-minimal [style*="letter-spacing: 0.2em; text-transform: uppercase"]:not(.bdp *),body.legacy-minimal [data-screen-label="Hero"]>div:first-child:not(:has(h1)):not(:empty),body.legacy-minimal [data-screen-label="Hero"] div[style*="padding: 6px 13px"]{display:inline-flex!important;align-items:center;gap:10px!important;width:fit-content;max-width:100%;box-sizing:border-box;padding:8px 16px!important;border:0!important;border-radius:999px!important;background:#ffffffdb!important;box-shadow:var(--ft-sh-chip)!important;font-size:14px!important;font-weight:600!important;color:var(--ft-ink)!important}
body.legacy-minimal [data-screen-label="Hero"]>div:first-child>span[style*="height: 1px"]:first-child,body.legacy-minimal [data-screen-label="Hero"] div[style*="padding: 6px 13px"]>span:first-child{width:10px!important;height:10px!important;border-radius:50%!important;background:var(--ft-lime)!important;box-shadow:0 0 0 2px #173b402e}
body.legacy-minimal [data-screen-label="Hero"]>div:first-child>span[style*="height: 1px"]:last-child{display:none!important}
/* inline greys onto muted; semi-white on DEEP onto on-deep-2 */
body.legacy-minimal [style*="color: rgb(142, 142, 142)"]:where(:not(.ga-phone *,.ga-steps [style*="height: 392px"] *)){color:var(--ft-muted)!important}
body.legacy-minimal :is([style*=" color: rgba(255, 255, 255, 0."],[style^="color: rgba(255, 255, 255, 0."]):where(:not(header *,.nav-drawer *,[data-screen-label="Hero"] *,.ga-phone *,.bdp *,.ga-steps [style*="height: 392px"] *)){color:var(--ft-on-deep-2)!important}
/* surfaces: white floating cards (never in the hero, #book or a form) */
body.legacy-minimal :is(div,article,section):is([style*="background: var(--card)"],[style*="background: rgb(255, 255, 255)"],[style*="background: rgb(237, 242, 237)"],[style*="background: #fff"],[style*="background:#fff"],[style*="background: #edf2ed"],[style*="background:#EDF2ED"]):is([style*="border-radius: 16px"],[style*="border-radius: 18px"],[style*="border-radius: 20px"],[style*="border-radius: 24px"],[style*="border-radius:16px"],[style*="border-radius:18px"]):not([data-screen-label="Hero"] *):not([id="book"] *):not(form *){background:#fff!important;border-color:transparent!important;border-radius:26px!important;box-shadow:var(--ft-sh-card)!important}
body.legacy-minimal a[style*="border: 1px solid var(--hairline-strong)"]{background:#fff!important;border-color:transparent!important;box-shadow:var(--ft-sh-card)}
/* the sage cards' status badge keeps its pill on white */
body.legacy-minimal span[style*="padding: 4px 11px"]:is([style*="background: rgba(255, 255, 255, 0.72)"],[style*="background: rgba(255,255,255,.72)"]){background:var(--ft-skel)!important}
body.legacy-minimal .quiet-video{box-shadow:var(--ft-sh-window)!important}
/* steps and buttons in the old brand teal: the last step lime, the rest ink */
body.legacy-minimal div[style*="width: 38px"][style*="background: var(--brand)"]{background:var(--ft-lime)!important;color:var(--ft-lime-ink)!important}
body.legacy-minimal div[style*="width: 38px"][style*="color: var(--brand)"]{color:var(--ft-ink)!important}
body.legacy-minimal :is(a,span[style*="width: 24px"])[style*="background: var(--brand)"]{background:var(--ft-ink)!important}
/* the soft brand panel is a WARM card */
body.legacy-minimal :is(div,section)[style*="background: var(--brand-soft)"]:is([style*="border-radius: 18px"],[style*="border-radius: 20px"]){background:var(--ft-g-warm)!important;background-origin:border-box!important;border-color:transparent!important;border-radius:34px!important;box-shadow:var(--ft-sh-big)!important}
/* the dark beats on DEEP */
body.legacy-minimal :is(div,section):is([style*="background: var(--marketing-dark)"],[style*="background: rgb(15, 34, 38)"],[style*="background: #0F2226"],[style*="var(--cover-1)"],[style*="linear-gradient(120deg, rgb(26, 58, 62)"]):not(header,.nav-drawer,[data-screen-label="Mobile menu"],[data-screen-label="Hero"],[data-screen-label="Hero"] *,[style*="font-family: var(--font-body)"]),body.legacy-minimal :is(.glass-band,.ga-card-close){background:var(--ft-g-deep)!important}
body.legacy-minimal :is(div,section):is([style*="var(--marketing-dark)"],[style*="rgb(15, 34, 38)"],[style*="var(--cover-1)"]):not(header,.nav-drawer,[data-screen-label="Mobile menu"],[data-screen-label="Hero"],[data-screen-label="Hero"] *,[style*="font-family: var(--font-body)"]) :is(a,button,summary):focus-visible{outline-color:var(--ft-lime)}
body.legacy-minimal :is(.glass-band,.ga-card-close,[style*="linear-gradient(120deg, rgb(26, 58, 62)"]) :is(a,button):focus-visible{outline-color:#fff}
/* the manifesto's label on DEEP is the film's Turn chip */
body.legacy-minimal section[style*="background: var(--marketing-dark)"]>div>div:first-child:has(>span[style*="height: 1px"]){display:inline-flex!important;gap:10px!important;padding:8px 16px;border-radius:999px;background:#e9f16d1a;box-shadow:inset 0 0 0 2px #e9f16d47}
body.legacy-minimal section[style*="background: var(--marketing-dark)"]>div>div:first-child>span[style*="height: 1px"]:first-child{width:10px!important;height:10px!important;border-radius:50%;background:var(--ft-lime)!important;box-shadow:0 0 12px #e9f16db3}
body.legacy-minimal section[style*="background: var(--marketing-dark)"]>div>div:first-child>span[style*="height: 1px"]:last-child{display:none}
body.legacy-minimal section[style*="background: var(--marketing-dark)"]>div>div:first-child>span[style*="text-transform"]{color:var(--ft-lime)!important;font-size:14px!important}
/* booking: SOFT ground, the outer cards float, fields untouched; 320 px fits */
body.legacy-minimal #book[style*="background: var(--paper)"]{background:radial-gradient(62.5% 83% at 0% 100%,#e9f16d3d,#e9f16d14 45%,#e9f16d00 75%),radial-gradient(68% 93% at 100% 0%,#a68bf72b,#a68bf70d 45%,#a68bf700 75%),linear-gradient(15deg,#f8fafc 0%,#eef3f8 55%,#eaf0f8 100%)!important}
body.legacy-minimal #book>div[style*="minmax(320px, 1fr)"]{grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr))!important}
body.legacy-minimal .bdp :is(a,button,input):focus-visible{outline:2px solid #fff;outline-offset:2px}
body.legacy-minimal :is([id="book"],.bd-wrap) :is(.bdp,.bd-card){border-color:transparent!important;border-radius:var(--ft-r-card)!important;box-shadow:0 1px 2px #14326e0f,0 24px 54px -12px #14326e42!important}
/* FAQ: one white card of rows (the film's Choose card) */
body.legacy-minimal [data-screen-label="FAQ"] .faq>div:nth-child(2){align-self:start;padding:10px 34px;border:0!important;border-radius:40px;background:#fff;box-shadow:var(--ft-sh-big)}
body.legacy-minimal [data-screen-label="FAQ"] .faq>div:nth-child(2)>*{border-color:var(--ft-skel)!important}
body.legacy-minimal [data-screen-label="FAQ"] .faq>div:nth-child(2)>:last-child{border-bottom-color:transparent!important}
body.legacy-minimal [data-screen-label="FAQ"] summary{display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;color:var(--ft-ink)}
body.legacy-minimal [data-screen-label="FAQ"] summary::-webkit-details-marker{display:none}
body.legacy-minimal [data-screen-label="FAQ"] summary::after{content:'';flex:none;width:32px;height:32px;border-radius:50%;background:linear-gradient(var(--ft-ink),var(--ft-ink)) center/12px 2px no-repeat,linear-gradient(var(--ft-ink),var(--ft-ink)) center/2px 12px no-repeat,var(--ft-skel)}
body.legacy-minimal [data-screen-label="FAQ"] details[open] summary::after{background:linear-gradient(var(--ft-ink),var(--ft-ink)) center/12px 2px no-repeat,var(--ft-lime)}
body.legacy-minimal [data-screen-label="FAQ"] button>span:last-child{border-color:transparent!important;background:var(--ft-skel);color:var(--ft-ink)!important}
body.legacy-minimal [data-screen-label="FAQ"] button[aria-expanded="true"]>span:last-child{background:var(--ft-lime)}
@media(max-width:640px){body.legacy-minimal [data-screen-label="FAQ"] .faq>div:nth-child(2){padding:4px 20px;border-radius:28px}}
