/* Surface text tokens keep dark sections white and nested light cards readable. */
.card,.area-card,.note,.aside,.answer,.section.soft,.trust,.cta,.page-head,.button,button,input,select,textarea,details>summary,.tag,.anchor-nav a,.navlinks a,.provider-panel,.provider-comparison,.inspection-benefit,.buyer-next-step,.lender-next,.lender-monogram,.flyer-card,.video-card,.community-record,.community-controls,footer .brand{--surface-text:var(--ink,#152c37)}
.top,.hero,.hero-card,.section.dark,footer,.result-box,.provider-hero,.provider-art,.match-maker-teaser,.matcher-panel,.hub-panel,.hub-sticky,.hub-table th,.hub-table tr:nth-child(even),.article-content blockquote,.blog-consult,.cah-tour-choice:not([aria-pressed="true"]),.buyer-area-routes a:first-child,.buyer-stage-nav a:nth-child(odd),.holiday-page select,.dr-page select,.dream-page select,.holiday-page .anchor-nav a,.holiday-page .holiday-plan-button,.dr-page .anchor-nav a,.mak-page .anchor-nav a,.dream-page .anchor-nav a,.provider-page .button,.lender-card .button,.lender-card .lender-monogram,.provider-page .anchor-nav a:nth-child(even),.community-city-tabs button[aria-pressed="true"],.match-maker-page input,.match-maker-page select,.match-maker-page textarea,.hub-panel input,.hub-panel select,.hub-panel textarea{--surface-text:#fff;color:#fff!important}
:is(.top,.hero,.hero-card,.section.dark,footer,.result-box,.provider-hero,.provider-art,.match-maker-teaser,.matcher-panel,.hub-panel,.hub-sticky,.hub-table th,.hub-table tr:nth-child(even),.article-content blockquote,.blog-consult,.cah-tour-choice:not([aria-pressed="true"]),.buyer-area-routes a:first-child,.buyer-stage-nav a:nth-child(odd),.holiday-page select,.dr-page select,.dream-page select,.holiday-page .anchor-nav a,.holiday-page .holiday-plan-button,.dr-page .anchor-nav a,.mak-page .anchor-nav a,.dream-page .anchor-nav a,.provider-page .button,.lender-card .button,.lender-card .lender-monogram,.provider-page .anchor-nav a:nth-child(even),.community-city-tabs button[aria-pressed="true"],.match-maker-page input,.match-maker-page select,.match-maker-page textarea,.hub-panel input,.hub-panel select,.hub-panel textarea) :is(h1,h2,h3,h4,h5,h6,p,a,span,strong,b,em,i,small,li,ul,ol,dl,dt,dd,label,legend,figcaption,blockquote,pre,code,summary,th,td,address,time,button,input,select,textarea,option){color:var(--surface-text,#fff)!important}
.provider-hero .button,.buyer-area-routes a:nth-child(2),.buyer-stage-nav a:nth-child(even),.cah-tour-choice[aria-pressed="true"]{--surface-text:var(--ink,#152c37);color:var(--surface-text)!important}
:is(.match-maker-page,.hub-panel) :is(input,textarea)::placeholder{color:#fff;opacity:.8}
@media print{.top,.hero,.hero-card,.section.dark,footer,.result-box,.provider-hero,.provider-art,.match-maker-teaser,.matcher-panel,.hub-panel,.hub-sticky,.hub-table th,.hub-table tr:nth-child(even),.article-content blockquote,.blog-consult,.cah-tour-choice:not([aria-pressed="true"]),.buyer-area-routes a:first-child,.buyer-stage-nav a:nth-child(odd),.holiday-page select,.dr-page select,.dream-page select,.holiday-page .anchor-nav a,.holiday-page .holiday-plan-button,.dr-page .anchor-nav a,.mak-page .anchor-nav a,.dream-page .anchor-nav a,.provider-page .button,.lender-card .button,.lender-card .lender-monogram,.provider-page .anchor-nav a:nth-child(even),.community-city-tabs button[aria-pressed="true"],.match-maker-page input,.match-maker-page select,.match-maker-page textarea,.hub-panel input,.hub-panel select,.hub-panel textarea{--surface-text:#000;color:#000!important}}
