/* Shared header geometry. Site symbols, colors and native controls remain intact. */
@layer finder-presentation-coordination {
html body header.rf-header-balanced.ls-chrome {
 box-sizing:border-box;width:calc(100% - 64px)!important;max-width:1340px!important;
 margin-inline:auto!important;padding:.9rem 0 .6rem!important;
}
header.rf-header-balanced.ls-chrome > .ls-top-row {
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 flex-wrap:wrap!important;gap:.55rem 1rem;width:100%;min-width:0;
}
header.rf-header-balanced.ls-chrome .fk-controls {
 display:flex!important;align-items:center;flex-wrap:wrap;justify-content:flex-end;
 gap:.5rem .65rem;max-width:100%;margin-inline-start:auto!important;
}
header.rf-header-balanced.ls-chrome .rf-brand-symbol {width:60px!important;height:auto!important;max-height:none!important}
header.rf-header-balanced.ls-chrome > .ls-nav-row {display:flex!important;align-items:center;justify-content:space-between;gap:.55rem 1rem;width:100%;min-width:0}
header.rf-header-balanced.ls-chrome .fk-siblings {display:none!important}
@media(max-width:760px){
 html body header.rf-header-balanced.ls-chrome {width:calc(100% - 32px)!important}
 header.rf-header-balanced.ls-chrome .rf-brand-symbol {width:34px!important;min-width:34px}
 header.rf-header-balanced.ls-chrome .rf-brand-copy::before {font-size:clamp(20px,5.5vw,26px)!important;letter-spacing:.08em!important;white-space:nowrap}
}
}
body:has(header.if-coordinated-chrome) #Whitebackground {
 width:100%!important;max-width:none!important;margin:0!important;border:0!important;
}
@layer finder-presentation-coordination {
html body header.if-coordinated-chrome,
html body #Whitebackground header.if-coordinated-chrome {
 box-sizing:border-box;width:calc(100% - 64px)!important;max-width:1340px!important;
 margin-inline:auto!important;padding:.9rem 0 .6rem!important;
}
html body:has(header.if-coordinated-chrome) #IFBody {
 box-sizing:border-box;width:calc(100% - 64px)!important;max-width:1340px!important;margin-inline:auto!important;
}
html body #Whitebackground header.if-coordinated-chrome .fk-brand {
 display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;
 grid-template-rows:auto auto!important;gap:.2rem 1rem!important;align-items:center;
}
html body #Whitebackground header.if-coordinated-chrome .fk-brand img {
 grid-column:1!important;grid-row:1 / span 2!important;
}
html body #Whitebackground header.if-coordinated-chrome .fk-brand-name {
 grid-column:2!important;grid-row:1!important;align-self:end;line-height:1.12!important;
}
html body #Whitebackground header.if-coordinated-chrome .fk-brand-tagline {
 grid-column:2!important;grid-row:2!important;align-self:start;line-height:1.3!important;
}
@media(max-width:760px){
 html body header.if-coordinated-chrome,html body #Whitebackground header.if-coordinated-chrome,html body:has(header.if-coordinated-chrome) #IFBody{width:calc(100% - 32px)!important}
}
}
header.if-coordinated-chrome .if-chrome-top {flex-wrap:wrap}
header.if-coordinated-chrome .if-chrome-top > .fk-brand {max-width:100%!important}
header.if-coordinated-chrome .fk-brand img {inline-size:60px!important;block-size:auto!important}
#MainMenu.ls-standard-classic .rl-brand-cell > .fk-brand {align-items:center;gap:1rem}
#MainMenu.ls-standard-classic .rf-brand-symbol {width:60px!important;height:auto!important;max-height:none!important}
#MainMenu.ls-standard-classic .rl-account-nav {align-items:center;min-height:44px}
#MainMenu.ls-standard-classic .ls-nav-row > #classic-version-nav {display:flex;align-items:center;gap:.5rem 1.2rem;flex-wrap:wrap}
#MainMenu.ls-standard-classic #classic-version-nav > strong {display:none}
#MainMenu.ls-standard-classic #classic-version-nav > a {display:inline-flex;align-items:center;min-height:44px;white-space:normal}
#MainMenu.ls-standard-classic .rf-version-switch {margin-inline-start:0}
@layer finder-readable-workspace {
 body.pc-classic #MainMenu.ls-standard-classic .rf-brand-symbol {width:60px!important;height:auto!important;max-height:none!important}
 @media(max-width:760px){body.pc-classic #MainMenu.ls-standard-classic .rf-brand-symbol{width:34px!important;height:auto!important}}
}
@media(max-width:1404px){html body header.if-coordinated-chrome,html body:has(header.if-coordinated-chrome) #IFBody{max-width:calc(100% - 64px)!important}}
@media(max-width:760px){
 html body header.if-coordinated-chrome,html body:has(header.if-coordinated-chrome) #IFBody{max-width:calc(100% - 32px)!important}
 header.if-coordinated-chrome .if-chrome-top > .fk-brand {flex:0 1 auto!important;max-width:100%!important}
 header.if-coordinated-chrome .if-chrome-top .fk-brand-name {font-size:clamp(20px,5.5vw,26px)!important;letter-spacing:.08em!important;white-space:nowrap!important}
 header.if-coordinated-chrome .if-chrome-top .fk-brand img {width:34px!important;min-width:34px}
 html body header.if-coordinated-chrome .if-chrome-top > .fk-controls {max-width:100%!important;margin-inline-start:auto;flex-wrap:wrap}
 #MainMenu.ls-standard-classic .rl-brand-cell .rf-brand-copy::before {font-size:clamp(20px,5.5vw,26px)!important;letter-spacing:.08em!important}
 #MainMenu.ls-standard-classic .rf-brand-symbol {width:34px!important;min-width:34px}
 #MainMenu.ls-standard-classic .rl-brand-cell > .fk-brand {gap:.5rem!important}
}

/* Illnessfinder and Remedyfinder Beta: native form/disclosures remain intact. */
@layer illnessfinder-graphic {
html body #IFBody.if-information #fe-illness-notice.gg-host {border:0!important;box-shadow:none!important}
}
@layer finder-presentation-coordination {
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice {
  display:grid!important;grid-template-columns:28px minmax(0,1fr) auto auto auto!important;
  grid-template-rows:repeat(4,auto)!important;gap:4px 16px!important;align-items:start!important;
}
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice>.gg-main,
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .if-information-form,
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .pc-links {display:contents!important}
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice>.gg-icon {grid-area:1/1!important;align-self:center!important}
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-title {grid-area:1/2!important;margin:0!important;align-self:center!important;min-width:0}
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-boundary {grid-area:2/2/3/-1!important;margin:0!important;min-width:0}
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-emergency {grid-area:3/2/4/-1!important;margin:0!important;min-width:0}
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-care {grid-area:1/3!important}
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-data {grid-area:1/4!important}
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-terms {grid-area:1/5!important}
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .pc-links>details {min-width:0!important;margin:0!important;align-self:start!important}
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-choice {
  grid-area:4/2/5/-1!important;box-sizing:border-box!important;min-width:0!important;
  padding-inline-end:216px!important;margin:8px 0 0!important;align-self:center!important;
}
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-action {
  grid-area:4/3/5/-1!important;position:relative!important;inset:auto!important;transform:none!important;
  align-self:center!important;justify-self:end!important;width:200px!important;max-width:100%!important;
  min-width:0!important;margin:8px 0 0!important;
}
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-action>button {width:100%!important;margin:0!important}
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .finder-start-row:empty {display:none!important}
html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .ue-privacy-boundary {grid-area:5/2/6/-1!important}
@media(min-width:1101px) {
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice:has(.pc-links>details[open]) {grid-template-columns:28px repeat(3,minmax(0,1fr))!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice:has(.pc-links>details[open]) .gg-title {grid-column:2/-1!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice:has(.pc-links>details[open]) .gg-care {grid-area:4/2!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice:has(.pc-links>details[open]) .gg-data {grid-area:4/3!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice:has(.pc-links>details[open]) .gg-terms {grid-area:4/4!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice:has(.pc-links>details[open]) :is(.gg-choice,.gg-action) {grid-row:5!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice:has(.pc-links>details[open]) .ue-privacy-boundary {grid-row:6!important}
}
@media(max-width:1100px) {
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice {grid-template-columns:28px repeat(3,minmax(0,1fr))!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-title {grid-column:2/-1!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-care {grid-area:4/2!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-data {grid-area:4/3!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-terms {grid-area:4/4!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-choice,
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-action {grid-row:5!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .ue-privacy-boundary {grid-row:6!important}
}
@media(max-width:640px) {
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice {grid-template-columns:28px minmax(0,1fr)!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-care {grid-area:5/2!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-data {grid-area:6/2!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-terms {grid-area:7/2!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-choice {grid-area:4/2!important;padding-inline-end:0!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .gg-action {grid-area:8/2!important;width:100%!important;justify-self:stretch!important}
  html body :is(#fe-illness-notice,#remedy-case-start) .gg-notice .ue-privacy-boundary {grid-area:9/2!important}
}
}

/* Align Beta's mobile header to its established 18px content gutters. */
@layer finder-presentation-coordination {
 @media(max-width:760px){html body header.rf-header-balanced.ls-chrome{width:calc(100% - 36px)!important}}
}
