/* Native inheritance is the default; these selectors never target theme chrome. */
:where(body.bphp-theme-inherit) :where(.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-wellness,.bphp-tracking-workspace,.bphp-master-chart,.bphp-category-landing,.rcpc):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){max-width:100%;min-width:0}
:where(body.bphp-palette-inherit) :where(.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-wellness,.bphp-tracking-workspace,.bphp-master-chart,.bphp-category-landing,.rcpc):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:inherit;font-size:inherit;line-height:inherit}
.bphp-breadcrumbs:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){display:flex;flex-wrap:wrap;gap:.5em;font:inherit;margin-block:var(--wp--style--block-gap,1em)}
.bphp-profile-control-binding:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){display:contents}
.bphp-profile-calculator-v374 .rcpc:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)),.rcpc.rcpc-width-inherit:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){width:100%;max-width:100%}
/* Author-set native component properties continue to win over inherited defaults. */
.bphp-component[style*="font-family:"] :is(h1,h2,h3,h4,h5,h6,input,select,textarea,button):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:inherit}
.bphp-component[style*="font-size:"] :is(input,select,textarea,button):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-size:inherit}
.bphp-component[style*="--bphp-native-heading-size:"] :is(h1,h2,h3,h4,h5,h6):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-size:var(--bphp-native-heading-size)}
.bphp-component[style*="--bphp-native-heading-color:"] :is(h1,h2,h3,h4,h5,h6):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){color:var(--bphp-native-heading-color)}
.bphp-component[style*="--bphp-text:#"] :is(h1,h2,h3,h4,h5,h6):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){color:var(--bphp-text)}
:where(body.bphp-palette-inherit) :is(.bphp-kicker,.bphp-card-kicker,.bphp-design-eyebrow,.bphp-vc-kicker,.bphp-m9-kicker,.bphp-m9-eyebrow,.bphp-p2-kicker,.bphp-workspace-eyebrow,.bphp-regimen-kicker,.rcpc-pattern-eyebrow,.rcpc-hero-visual-eyebrow,.rcpc-eyebrow):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){color:inherit}
/* A real theme-styled title link covers the card; descriptions stay outside it. */
.bphp-research-card:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){position:relative}
.bphp-research-card .bphp-card-primary-link:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *))::after{content:"";position:absolute;inset:0;z-index:1}
.bphp-research-card .bphp-archive-card-actions:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)),.bphp-research-card .bphp-card-custom-link:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){position:relative;z-index:2}
.bphp-card-primary-link:focus-visible:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *))::after{outline:2px solid currentColor;outline-offset:3px;border-radius:inherit}

/* Explicit native semantic palettes remain author-owned. */
.bphp-component[style*="--bphp-primary:#"] :is(button,.wp-element-button):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){background:var(--bphp-primary);color:var(--bphp-on-primary,Canvas)}
:where(body.bphp-palette-inherit) .rcpc [role="tab"][aria-selected="true"]:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){box-shadow:inset 0 -3px 0 currentColor}

/* Contrast belongs to the explicitly styled local hero, not the outer heading palette. */
:where(body.bphp-palette-inherit) :is(.bphp-hero,.bphp-archive-hero,.bphp-wellness-hero,.bphp-unified-heading,.bphp-p2-head,.bphp-profile-banner) :is(h1,h2,h3,h4,h5,h6):where(:not(.has-text-color,[style*="color:"])):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){color:inherit}
.bphp-p2-head h1:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){margin:0;overflow-wrap:anywhere}
/* Existing photographic heroes retain contrast; explicit editor text colors still win. */
:where(body.bphp-palette-inherit) :is(.bphp-profile-banner,.bphp-archive-hero).has-hero-image :where(h1,h2,h3,p,a,.bphp-kicker):where(:not(.has-text-color,[style*="color:"])):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){color:#fff}

/* Opt-in native/editor variables remain effective after defaults yield to the theme. */
:is(.bphp-component,.bphp-page,.bphp-archive,.bphp-calc,.rcpc,[data-bphp-form-field])[style*="--bphp-native-field-surface:"] :is(input,select,textarea):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){background:var(--bphp-native-field-surface)}
:is(.bphp-component,.bphp-page,.bphp-archive,.bphp-calc,.rcpc,[data-bphp-form-field])[style*="--bphp-native-field-color:"] :is(input,select,textarea):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){color:var(--bphp-native-field-color)}
:is(.bphp-component,.bphp-page,.bphp-archive,.bphp-calc,.rcpc,[data-bphp-form-field])[style*="--bphp-calc-field-surface:"] .rcpc :is(input,select,textarea):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){background:var(--bphp-calc-field-surface)}
:is(.bphp-component,.bphp-page,.bphp-archive,.bphp-calc,.rcpc,[data-bphp-form-field])[style*="--bphp-calc-heading-color:"] :is(h1,h2,h3,h4,.rcpc-panel-title):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){color:var(--bphp-calc-heading-color)}
:is(.bphp-component,.bphp-page,.bphp-archive,.bphp-calc,.rcpc,[data-bphp-form-field])[style*="--bphp-calc-heading-size:"] :is(h1,h2,h3,h4,.rcpc-panel-title):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-size:var(--bphp-calc-heading-size)}
:is(.bphp-component,.bphp-page,.bphp-archive,.bphp-calc,.rcpc,[data-bphp-form-field])[style*="--bphp-native-heading-color:"] :is(h1,h2,h3,h4,h5,h6):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){color:var(--bphp-native-heading-color)}
:is(.bphp-component,.bphp-page,.bphp-archive,.bphp-calc,.rcpc,[data-bphp-form-field])[style*="--bphp-native-heading-size:"] :is(h1,h2,h3,h4,h5,h6):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-size:var(--bphp-native-heading-size)}

