/* Theme owns the outer document. No header/footer/sidebar markup is replaced. */
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-calc):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-body-font,inherit);font-size:var(--bphp-body-size,inherit);line-height:inherit;max-width:100%;min-width:0}
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-component,.bphp-tracking-shell) :where(h1,h2,h3,h4,h5,h6):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-heading-font,inherit);line-height:var(--bphp-theme-heading-leading,inherit);letter-spacing:var(--bphp-theme-heading-tracking,normal)}
body.bphp-theme-inherit :is(.bphp-profile-layout,.bphp-profile-content,.bphp-profile-main):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){max-width:100%;width:100%;min-width:0}
body.bphp-theme-inherit .bphp-archive-grid:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){gap:var(--bphp-theme-gap,var(--wp--style--block-gap,1.5rem))}
body.bphp-theme-inherit :is(.bphp-archive-card,.bphp-featured-card) img:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){aspect-ratio:var(--bphp-theme-image-ratio,auto);object-fit:cover;height:auto;width:100%;max-width:100%}
body.bphp-theme-inherit :is(.bphp-component,.bphp-page,.bphp-tracking-shell,.bphp-archive,.bphp-calc) :where(input,select,textarea):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:inherit;font-size:inherit;border-radius:var(--bphp-native-field-radius,var(--bphp-theme-control-radius,.35rem))}
body.bphp-theme-inherit :is(.bphp-component,.bphp-page,.bphp-tracking-shell,.bphp-archive,.bphp-calc) :where(button:not([data-site-select]):not([data-p4-zone]):not(.bphp-p2-view-thumb),.bphp-button):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:inherit;border-radius:var(--bphp-theme-button-radius,.35rem)}
.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] *)){width:100%;max-width:100%}
/* Theme typography for both modular and full Library cards; authored native styles retain precedence. */
body.bphp-theme-inherit :where(.bphp-archive,.bphp-component,.bphp-m12-section):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-body-font,var(--bphp-theme-body-font,inherit))}
body.bphp-theme-inherit :where(.bphp-archive,.bphp-component,.bphp-m12-section) :is(h1,h2,h3,h4,h5,h6):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-heading-font,var(--bphp-theme-heading-font,inherit))}
body.bphp-theme-inherit :is(.bphp-research-card,.bphp-m9-card) :is(.bphp-card-title,.bphp-atomic-title,h3):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-theme-archive-title-font,var(--bphp-heading-font,inherit));font-size:var(--bphp-card-title-size,var(--bphp-theme-archive-title-size,var(--bphp-h3-size,inherit)));font-weight:var(--bphp-theme-archive-title-weight,inherit);line-height:var(--bphp-theme-archive-title-leading,inherit);letter-spacing:var(--bphp-theme-archive-title-tracking,normal)}
body.bphp-theme-inherit :is(.bphp-research-card,.bphp-m9-card) :is(.bphp-card-open,.bphp-read-more,.bphp-atomic-link,.bphp-m9-pick,.bphp-m9-save):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){background:var(--bphp-primary,var(--bphp-theme-button-background,LinkText));color:var(--bphp-on-primary,var(--bphp-theme-button-color,Canvas));border-color:var(--bphp-primary,var(--bphp-theme-button-background,LinkText));border-radius:var(--bphp-theme-button-radius,.35rem);font-family:var(--bphp-theme-button-font,inherit);font-size:var(--bphp-theme-button-size,inherit);font-weight:var(--bphp-theme-button-weight,inherit);letter-spacing:var(--bphp-theme-button-tracking,normal);text-transform:var(--bphp-theme-button-transform,none)}
body.bphp-theme-inherit :is(.bphp-research-card,.bphp-m9-card) :is(.bphp-m9-pick,.bphp-m9-save):hover:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){filter:brightness(1.1)}
body.bphp-theme-inherit :is(.bphp-research-card,.bphp-m9-card) :is(.bphp-m9-pick,.bphp-m9-save)[aria-pressed=true]:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){outline:2px solid var(--bphp-primary);outline-offset:2px}

/* Shared platform typography includes the integrated calculator and every health workspace. */
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-tracking-login,.bphp-tracking-workspace,.bphp-wellness,.bphp-unified-health,.bphp-master-chart,.bphp-category-landing,.rcpc,.rcpc-pattern-hero,.rcpc-pattern-guidance,.rcpc-pattern-callout,.rcpc-pattern-section-heading,.rcpc-notice):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-body-font,var(--bphp-theme-body-font,inherit));font-size:var(--bphp-body-size,var(--bphp-theme-body-size,inherit));line-height:var(--bphp-theme-body-leading,inherit);color:var(--bphp-text,var(--bphp-theme-body-color,inherit))}
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-tracking-login,.bphp-tracking-workspace,.bphp-wellness,.bphp-unified-health,.bphp-master-chart,.bphp-category-landing,.rcpc,.rcpc-pattern-hero,.rcpc-pattern-guidance,.rcpc-pattern-callout,.rcpc-pattern-section-heading,.rcpc-notice) h1:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-h1-font,var(--bphp-heading-font,var(--bphp-theme-h1-font,inherit)));font-size:var(--bphp-native-heading-size,var(--bphp-h1-size,var(--bphp-theme-h1-size,inherit)));font-weight:var(--bphp-theme-h1-weight,inherit);line-height:var(--bphp-theme-h1-leading,normal);letter-spacing:var(--bphp-theme-h1-tracking,normal)}
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-tracking-login,.bphp-tracking-workspace,.bphp-wellness,.bphp-unified-health,.bphp-master-chart,.bphp-category-landing,.rcpc,.rcpc-pattern-hero,.rcpc-pattern-guidance,.rcpc-pattern-callout,.rcpc-pattern-section-heading,.rcpc-notice) h1:not(.has-text-color):not(:is(.bphp-hero,.bphp-archive-hero,.bphp-wellness-hero,.bphp-unified-heading) *):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){color:var(--bphp-calc-heading-color,var(--bphp-native-heading-color,var(--bphp-theme-h1-color,inherit)))}
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-tracking-login,.bphp-tracking-workspace,.bphp-wellness,.bphp-unified-health,.bphp-master-chart,.bphp-category-landing,.rcpc,.rcpc-pattern-hero,.rcpc-pattern-guidance,.rcpc-pattern-callout,.rcpc-pattern-section-heading,.rcpc-notice) h2:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-h2-font,var(--bphp-heading-font,var(--bphp-theme-h2-font,inherit)));font-size:var(--bphp-native-heading-size,var(--bphp-h2-size,var(--bphp-theme-h2-size,inherit)));font-weight:var(--bphp-theme-h2-weight,inherit);line-height:var(--bphp-theme-h2-leading,normal);letter-spacing:var(--bphp-theme-h2-tracking,normal)}
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-tracking-login,.bphp-tracking-workspace,.bphp-wellness,.bphp-unified-health,.bphp-master-chart,.bphp-category-landing,.rcpc,.rcpc-pattern-hero,.rcpc-pattern-guidance,.rcpc-pattern-callout,.rcpc-pattern-section-heading,.rcpc-notice) h2:not(.has-text-color):not(:is(.bphp-hero,.bphp-archive-hero,.bphp-wellness-hero,.bphp-unified-heading) *):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){color:var(--bphp-calc-heading-color,var(--bphp-native-heading-color,var(--bphp-theme-h2-color,inherit)))}
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-tracking-login,.bphp-tracking-workspace,.bphp-wellness,.bphp-unified-health,.bphp-master-chart,.bphp-category-landing,.rcpc,.rcpc-pattern-hero,.rcpc-pattern-guidance,.rcpc-pattern-callout,.rcpc-pattern-section-heading,.rcpc-notice) h3:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-h3-font,var(--bphp-heading-font,var(--bphp-theme-h3-font,inherit)));font-size:var(--bphp-native-heading-size,var(--bphp-h3-size,var(--bphp-theme-h3-size,inherit)));font-weight:var(--bphp-theme-h3-weight,inherit);line-height:var(--bphp-theme-h3-leading,normal);letter-spacing:var(--bphp-theme-h3-tracking,normal)}
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-tracking-login,.bphp-tracking-workspace,.bphp-wellness,.bphp-unified-health,.bphp-master-chart,.bphp-category-landing,.rcpc,.rcpc-pattern-hero,.rcpc-pattern-guidance,.rcpc-pattern-callout,.rcpc-pattern-section-heading,.rcpc-notice) h3:not(.has-text-color):not(:is(.bphp-hero,.bphp-archive-hero,.bphp-wellness-hero,.bphp-unified-heading) *):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){color:var(--bphp-calc-heading-color,var(--bphp-native-heading-color,var(--bphp-theme-h3-color,inherit)))}
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-tracking-login,.bphp-tracking-workspace,.bphp-wellness,.bphp-unified-health,.bphp-master-chart,.bphp-category-landing,.rcpc,.rcpc-pattern-hero,.rcpc-pattern-guidance,.rcpc-pattern-callout,.rcpc-pattern-section-heading,.rcpc-notice) h4:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-h4-font,var(--bphp-heading-font,var(--bphp-theme-h4-font,inherit)));font-size:var(--bphp-native-heading-size,var(--bphp-h4-size,var(--bphp-theme-h4-size,inherit)));font-weight:var(--bphp-theme-h4-weight,inherit);line-height:var(--bphp-theme-h4-leading,normal);letter-spacing:var(--bphp-theme-h4-tracking,normal)}
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-tracking-login,.bphp-tracking-workspace,.bphp-wellness,.bphp-unified-health,.bphp-master-chart,.bphp-category-landing,.rcpc,.rcpc-pattern-hero,.rcpc-pattern-guidance,.rcpc-pattern-callout,.rcpc-pattern-section-heading,.rcpc-notice) h4:not(.has-text-color):not(:is(.bphp-hero,.bphp-archive-hero,.bphp-wellness-hero,.bphp-unified-heading) *):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){color:var(--bphp-calc-heading-color,var(--bphp-native-heading-color,var(--bphp-theme-h4-color,inherit)))}
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-tracking-login,.bphp-tracking-workspace,.bphp-wellness,.bphp-unified-health,.bphp-master-chart,.bphp-category-landing,.rcpc,.rcpc-pattern-hero,.rcpc-pattern-guidance,.rcpc-pattern-callout,.rcpc-pattern-section-heading,.rcpc-notice) h5:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-h5-font,var(--bphp-heading-font,var(--bphp-theme-h5-font,inherit)));font-size:var(--bphp-native-heading-size,var(--bphp-h5-size,var(--bphp-theme-h5-size,inherit)));font-weight:var(--bphp-theme-h5-weight,inherit);line-height:var(--bphp-theme-h5-leading,normal);letter-spacing:var(--bphp-theme-h5-tracking,normal)}
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-tracking-login,.bphp-tracking-workspace,.bphp-wellness,.bphp-unified-health,.bphp-master-chart,.bphp-category-landing,.rcpc,.rcpc-pattern-hero,.rcpc-pattern-guidance,.rcpc-pattern-callout,.rcpc-pattern-section-heading,.rcpc-notice) h5:not(.has-text-color):not(:is(.bphp-hero,.bphp-archive-hero,.bphp-wellness-hero,.bphp-unified-heading) *):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){color:var(--bphp-calc-heading-color,var(--bphp-native-heading-color,var(--bphp-theme-h5-color,inherit)))}
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-tracking-login,.bphp-tracking-workspace,.bphp-wellness,.bphp-unified-health,.bphp-master-chart,.bphp-category-landing,.rcpc,.rcpc-pattern-hero,.rcpc-pattern-guidance,.rcpc-pattern-callout,.rcpc-pattern-section-heading,.rcpc-notice) h6:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-h6-font,var(--bphp-heading-font,var(--bphp-theme-h6-font,inherit)));font-size:var(--bphp-native-heading-size,var(--bphp-h6-size,var(--bphp-theme-h6-size,inherit)));font-weight:var(--bphp-theme-h6-weight,inherit);line-height:var(--bphp-theme-h6-leading,normal);letter-spacing:var(--bphp-theme-h6-tracking,normal)}
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-tracking-login,.bphp-tracking-workspace,.bphp-wellness,.bphp-unified-health,.bphp-master-chart,.bphp-category-landing,.rcpc,.rcpc-pattern-hero,.rcpc-pattern-guidance,.rcpc-pattern-callout,.rcpc-pattern-section-heading,.rcpc-notice) h6:not(.has-text-color):not(:is(.bphp-hero,.bphp-archive-hero,.bphp-wellness-hero,.bphp-unified-heading) *):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){color:var(--bphp-calc-heading-color,var(--bphp-native-heading-color,var(--bphp-theme-h6-color,inherit)))}
body.bphp-theme-inherit .rcpc:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){--rcpc-accent:var(--bphp-primary,var(--bphp-theme-button-background,LinkText));--rcpc-ink:var(--bphp-text,var(--bphp-theme-body-color,currentColor));--rcpc-soft:var(--bphp-soft,color-mix(in srgb,currentColor 4%,transparent))}
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-tracking-login,.bphp-tracking-workspace,.bphp-wellness,.bphp-unified-health,.bphp-master-chart,.bphp-category-landing,.rcpc,.rcpc-pattern-hero,.rcpc-pattern-guidance,.rcpc-pattern-callout,.rcpc-pattern-section-heading,.rcpc-notice) :is(input,select,textarea):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-body-font,var(--bphp-theme-body-font,inherit));font-size:var(--bphp-body-size,var(--bphp-theme-body-size,inherit))}
body.bphp-theme-inherit :is(.bphp-health-navigation,.bphp-page,.bphp-archive,.bphp-component,.bphp-tracking-shell,.bphp-tracking-login,.bphp-tracking-workspace,.bphp-wellness,.bphp-unified-health,.bphp-master-chart,.bphp-category-landing,.rcpc,.rcpc-pattern-hero,.rcpc-pattern-guidance,.rcpc-pattern-callout,.rcpc-pattern-section-heading,.rcpc-notice) :is(button,.bphp-button,.bphp-health-action,.rcpc-report-btn):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-theme-button-font,inherit);font-size:var(--bphp-theme-button-size,inherit);font-weight:var(--bphp-theme-button-weight,inherit)}
body.bphp-theme-inherit .rcpc :is([data-calculate],.rcpc-report-btn):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){background:var(--bphp-primary,var(--bphp-theme-button-background,LinkText));color:var(--bphp-on-primary,var(--bphp-theme-button-color,Canvas))}

body.bphp-theme-inherit .rcpc :is(.rcpc-panel,.rcpc-explain,.rcpc-compare) h1:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-h1-font,var(--bphp-theme-h1-font,inherit));font-size:var(--bphp-native-heading-size,var(--bphp-theme-h1-size,inherit));font-weight:var(--bphp-theme-h1-weight,inherit);line-height:var(--bphp-theme-h1-leading,normal);letter-spacing:var(--bphp-theme-h1-tracking,normal)}

body.bphp-theme-inherit .rcpc :is(.rcpc-panel,.rcpc-explain,.rcpc-compare) h2:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-h2-font,var(--bphp-theme-h2-font,inherit));font-size:var(--bphp-native-heading-size,var(--bphp-theme-h2-size,inherit));font-weight:var(--bphp-theme-h2-weight,inherit);line-height:var(--bphp-theme-h2-leading,normal);letter-spacing:var(--bphp-theme-h2-tracking,normal)}

body.bphp-theme-inherit .rcpc :is(.rcpc-panel,.rcpc-explain,.rcpc-compare) h3:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-h3-font,var(--bphp-theme-h3-font,inherit));font-size:var(--bphp-native-heading-size,var(--bphp-theme-h3-size,inherit));font-weight:var(--bphp-theme-h3-weight,inherit);line-height:var(--bphp-theme-h3-leading,normal);letter-spacing:var(--bphp-theme-h3-tracking,normal)}

body.bphp-theme-inherit .rcpc :is(.rcpc-panel,.rcpc-explain,.rcpc-compare) h4:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-h4-font,var(--bphp-theme-h4-font,inherit));font-size:var(--bphp-native-heading-size,var(--bphp-theme-h4-size,inherit));font-weight:var(--bphp-theme-h4-weight,inherit);line-height:var(--bphp-theme-h4-leading,normal);letter-spacing:var(--bphp-theme-h4-tracking,normal)}

body.bphp-theme-inherit .rcpc :is(.rcpc-panel,.rcpc-explain,.rcpc-compare) h5:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-h5-font,var(--bphp-theme-h5-font,inherit));font-size:var(--bphp-native-heading-size,var(--bphp-theme-h5-size,inherit));font-weight:var(--bphp-theme-h5-weight,inherit);line-height:var(--bphp-theme-h5-leading,normal);letter-spacing:var(--bphp-theme-h5-tracking,normal)}

body.bphp-theme-inherit .rcpc :is(.rcpc-panel,.rcpc-explain,.rcpc-compare) h6:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-family:var(--bphp-h6-font,var(--bphp-theme-h6-font,inherit));font-size:var(--bphp-native-heading-size,var(--bphp-theme-h6-size,inherit));font-weight:var(--bphp-theme-h6-weight,inherit);line-height:var(--bphp-theme-h6-leading,normal);letter-spacing:var(--bphp-theme-h6-tracking,normal)}
/* Inherit the theme content container; explicit author narrow/wide modes remain available. */
body.bphp-theme-inherit .rcpc.rcpc-width-inherit:where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){width:100%;max-width:100%}

/* Explicit component text styles remain author-owned above automatic theme defaults. */
body.bphp-theme-inherit .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}
body.bphp-theme-inherit .bphp-component[style*="font-size:"] :is(input,select,textarea,button):where(:not([data-bphp-theme-probe],[data-bphp-theme-probe] *)){font-size:inherit}
