/* AC45 — special/legacy tool visual harmonization.
   Visual-only layer. No runtime IDs, states, field semantics or engine code changed. */

:root{
  --ac45-paper:#f8f5ef;--ac45-paper-2:#f2ece4;--ac45-ink:#1d2023;--ac45-soft:#675e56;
  --ac45-bronze:#9e8065;--ac45-champagne:#ccb49d;--ac45-line:rgba(103,94,86,.22);--ac45-dark:#14212a;
}

/* Shared five-stage journey: editorial rail instead of SaaS stepper */
body.instrument-v1 .instrument-v1-journey{background:var(--ac45-paper)!important;border-top:1px solid var(--ac45-line)!important;border-bottom:1px solid var(--ac45-line)!important;box-shadow:none!important}
body.instrument-v1 .instrument-v1-journey__inner{max-width:1440px!important;margin:0 auto!important;padding:0 44px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important}
body.instrument-v1 .instrument-v1-journey__step{position:relative!important;min-height:104px!important;padding:20px 22px 18px!important;border:0!important;border-right:1px solid var(--ac45-line)!important;background:transparent!important;box-shadow:none!important;border-radius:0!important}
body.instrument-v1 .instrument-v1-journey__step:first-child{border-left:1px solid var(--ac45-line)!important}
body.instrument-v1 .instrument-v1-journey__step strong{display:block!important;margin-bottom:8px!important;font-family:Georgia,"Times New Roman",serif!important;font-size:15px!important;font-weight:400!important;color:var(--ac45-ink)!important}
body.instrument-v1 .instrument-v1-journey__step span,body.instrument-v1 .instrument-v1-journey__step p{font-size:10.5px!important;line-height:1.42!important;color:var(--ac45-soft)!important}
body.instrument-v1 .instrument-v1-journey__step::before{color:var(--ac45-bronze)!important}

/* Recovery + before-purchase use the same factual orientation shell */
body.instrument-v1--recovery,body.instrument-v1--before_purchase{background:var(--ac45-paper)!important;color:var(--ac45-ink)!important}
body.instrument-v1--recovery .cfa-hero,body.instrument-v1--before_purchase .cfa-hero{background:var(--ac45-paper)!important;color:var(--ac45-ink)!important;border-bottom:1px solid var(--ac45-line)!important;padding-top:78px!important;padding-bottom:58px!important;position:relative!important;overflow:hidden!important}
body.instrument-v1--recovery .cfa-hero::after,body.instrument-v1--before_purchase .cfa-hero::after{content:"";position:absolute;right:-8%;bottom:-190px;width:48%;height:420px;border:1px solid rgba(158,128,101,.23);border-radius:50%;transform:rotate(-10deg);pointer-events:none}
body.instrument-v1--recovery .cfa-hero-grid,body.instrument-v1--before_purchase .cfa-hero-grid{position:relative;z-index:1}
body.instrument-v1--recovery .eyebrow,body.instrument-v1--before_purchase .eyebrow{color:#91755f!important;letter-spacing:.26em!important}
body.instrument-v1--recovery .cfa-hero h1,body.instrument-v1--before_purchase .cfa-hero h1{max-width:760px!important;font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(58px,7vw,82px)!important;line-height:.94!important;letter-spacing:-.04em!important;font-weight:400!important;color:var(--ac45-ink)!important}
body.instrument-v1--recovery .cfa-hero h1 em,body.instrument-v1--before_purchase .cfa-hero h1 em{display:block!important;margin-top:.06em!important;font-style:normal!important;color:#9a7555!important}
body.instrument-v1--recovery .cfa-hero p,body.instrument-v1--before_purchase .cfa-hero p{color:var(--ac45-soft)!important}
body.instrument-v1--recovery .cfa-shell-section,body.instrument-v1--before_purchase .cfa-shell-section{background:linear-gradient(180deg,var(--ac45-paper) 0%,#f3ede6 100%)!important}
body.instrument-v1--recovery .cfa-layout,body.instrument-v1--before_purchase .cfa-layout{gap:42px!important}
body.instrument-v1--recovery .cfa-app,body.instrument-v1--before_purchase .cfa-app{border-radius:0!important;border:0!important;border-top:1px solid var(--ac45-line)!important;border-bottom:1px solid var(--ac45-line)!important;background:transparent!important;box-shadow:none!important}
body.instrument-v1--recovery .tool-standard-strip,body.instrument-v1--before_purchase .tool-standard-strip{background:var(--ac45-paper)!important;border-color:var(--ac45-line)!important}

/* Contract review: document-first, editorial rather than a white card */
body.ac-review-page{background:var(--ac45-paper)!important;color:var(--ac45-ink)!important}
body.ac-review-page .acr-hero{background:var(--ac45-paper)!important;border-bottom:1px solid var(--ac45-line)!important}
body.ac-review-page .acr-hero h1{font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(58px,7vw,82px)!important;line-height:.94!important;letter-spacing:-.04em!important;font-weight:400!important;color:var(--ac45-ink)!important}
body.ac-review-page .acr-hero p{color:var(--ac45-soft)!important}
body.ac-review-page .acr-flow-section{background:linear-gradient(180deg,var(--ac45-paper) 0%,#f3ede6 100%)!important}
body.ac-review-page .acr-flow-intro h2{font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(36px,4vw,50px)!important;font-weight:400!important;color:var(--ac45-ink)!important}
body.ac-review-page .acr-workspace{border:0!important;border-top:1px solid var(--ac45-line)!important;border-bottom:1px solid var(--ac45-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.ac-review-page .acr-progress__track{height:1px!important;background:rgba(103,94,86,.20)!important}
body.ac-review-page :where(.acr-choice,.acr-option,.choice-card){border-radius:0!important;background:transparent!important;box-shadow:none!important;border-color:var(--ac45-line)!important}
body.ac-review-page :where(input,select,textarea){border-radius:2px!important;box-shadow:none!important;background:rgba(248,245,239,.72)!important;border-color:rgba(103,94,86,.28)!important}

/* Succession: keep the family mechanic as protagonist; flatten the demo card */
body.inheritance-page{background:var(--ac45-paper)!important;color:var(--ac45-ink)!important}
body.inheritance-page .inheritance-hero{background:var(--ac45-paper)!important;color:var(--ac45-ink)!important;border-bottom:1px solid var(--ac45-line)!important;padding-top:76px!important}
body.inheritance-page .inheritance-hero h1{font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(56px,6.7vw,80px)!important;line-height:.94!important;letter-spacing:-.04em!important;font-weight:400!important;color:var(--ac45-ink)!important}
body.inheritance-page .inheritance-hero p{color:var(--ac45-soft)!important}
body.inheritance-page .inheritance-hero-visual{background:transparent!important;border:0!important;border-left:1px solid var(--ac45-line)!important;border-radius:0!important;box-shadow:none!important}
body.inheritance-page .inheritance-demo-tree{background:transparent!important;box-shadow:none!important}
body.inheritance-page .inheritance-trust-row>*{border-radius:0!important;border:0!important;border-bottom:1px solid var(--ac45-line)!important;background:transparent!important}
body.inheritance-page .inheritance-app-shell,body.inheritance-page .inheritance-workspace{background:transparent!important;box-shadow:none!important}
body.inheritance-page .tool-standard-strip{background:var(--ac45-paper)!important}

/* Parent-child: same family, distinct relationship map */
body.parent-child-page{background:var(--ac45-paper)!important;color:var(--ac45-ink)!important}
body.parent-child-page .pc-hero{background:var(--ac45-paper)!important;color:var(--ac45-ink)!important;border-bottom:1px solid var(--ac45-line)!important;padding-top:76px!important}
body.parent-child-page .pc-hero h1{font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(56px,6.7vw,80px)!important;line-height:.94!important;letter-spacing:-.04em!important;font-weight:400!important;color:var(--ac45-ink)!important}
body.parent-child-page .pc-hero p{color:var(--ac45-soft)!important}
body.parent-child-page .pc-hero-visual{background:transparent!important;border:0!important;border-left:1px solid var(--ac45-line)!important;border-radius:0!important;box-shadow:none!important}
body.parent-child-page .pc-hero-trust>*{border-radius:0!important;border:0!important;border-bottom:1px solid var(--ac45-line)!important;background:transparent!important}
body.parent-child-page .tool-standard-strip{background:var(--ac45-paper)!important}

/* Website legal: retain B2B authority but move back into the canonical warm world */
body.audit-tool-page .audit-hero,body.audit-tool-page .page-hero.audit-hero{background:var(--ac45-paper)!important;color:var(--ac45-ink)!important;border-bottom:1px solid var(--ac45-line)!important}
body.audit-tool-page .audit-hero h1,body.audit-tool-page .page-hero.audit-hero h1{font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(54px,6.2vw,76px)!important;line-height:.95!important;letter-spacing:-.035em!important;font-weight:400!important;color:var(--ac45-ink)!important}
body.audit-tool-page .audit-hero p,body.audit-tool-page .page-hero.audit-hero p{color:var(--ac45-soft)!important}
body.audit-tool-page .page-side-card{background:transparent!important;color:var(--ac45-ink)!important;border:0!important;border-left:1px solid var(--ac45-line)!important;border-radius:0!important;box-shadow:none!important}
body.audit-tool-page .audit-workspace-section{background:linear-gradient(180deg,var(--ac45-paper) 0%,#f3ede6 100%)!important}
body.audit-tool-page .audit-panel,body.audit-tool-page .audit-placeholder{background:transparent!important;box-shadow:none!important;border-radius:0!important;border-color:var(--ac45-line)!important}

/* Keep CTA language consistent */
body.instrument-v1 :where(.btn-primary,.cfa-btn-primary,.acr-btn-primary){border-radius:999px!important;background:var(--ac45-dark)!important;color:#fff!important;box-shadow:none!important}
body.instrument-v1 :where(.btn-secondary,.cfa-btn-secondary,.acr-btn-secondary){border-radius:999px!important;background:transparent!important;color:var(--ac45-ink)!important;border-color:rgba(103,94,86,.36)!important;box-shadow:none!important}

@media(max-width:820px){
 body.instrument-v1 .instrument-v1-journey__inner{padding:0 20px!important;grid-template-columns:1fr!important}
 body.instrument-v1 .instrument-v1-journey__step{min-height:0!important;padding:13px 0!important;border-right:0!important;border-left:0!important;border-bottom:1px solid var(--ac45-line)!important}
 body.instrument-v1 .instrument-v1-journey__step:last-child{border-bottom:0!important}
 body.instrument-v1--recovery .cfa-hero,body.instrument-v1--before_purchase .cfa-hero,body.inheritance-page .inheritance-hero,body.parent-child-page .pc-hero{padding-top:52px!important;padding-bottom:36px!important}
 body.inheritance-page .inheritance-hero-visual,body.parent-child-page .pc-hero-visual{border-left:0!important;border-top:1px solid var(--ac45-line)!important}
 body.ac-review-page .acr-workspace{padding-inline:0!important}
}
@media(max-width:430px){
 body.instrument-v1--recovery .cfa-hero h1,body.instrument-v1--before_purchase .cfa-hero h1,body.ac-review-page .acr-hero h1,body.inheritance-page .inheritance-hero h1,body.parent-child-page .pc-hero h1,body.audit-tool-page .audit-hero h1{font-size:46px!important;line-height:.96!important}
}
