/* Coordinated chrome; scoped to the Illnessfinder search header and footer. */
html body .fk-header.if-coordinated-chrome {
  display:grid!important;grid-template:auto auto / minmax(0,1fr)!important;
  align-items:stretch!important;gap:.4rem!important;
}
.if-coordinated-chrome > :is(.if-chrome-top,.if-chrome-nav){
  display:flex;align-items:center;justify-content:space-between;min-width:0;gap:.55rem 1rem;
}
.if-coordinated-chrome > .if-chrome-top{grid-area:1/1}
.if-coordinated-chrome > .if-chrome-nav{grid-area:2/1;position:relative}
.if-coordinated-chrome .if-chrome-top > .fk-brand{min-width:0;flex:0 1 auto}
html body .fk-header.if-coordinated-chrome .if-chrome-top > .fk-controls{
  display:flex!important;position:relative;justify-content:flex-end;align-items:center;
  min-width:0;gap:.25rem .55rem;margin:0;padding:0;
}
html body .fk-header.if-coordinated-chrome .if-chrome-nav > #sa-main-nav{
  display:flex!important;position:static;flex:1 1 auto;flex-wrap:wrap;justify-content:flex-start!important;
  min-width:0;margin:0!important;gap:.25rem .65rem;
}
html body .fk-header.if-coordinated-chrome .if-chrome-nav > .sa-menu-toggle{display:none!important}
.if-coordinated-chrome :is(.finder-sites-menu,.fk-siblings){display:none!important}
.if-coordinated-chrome .if-chrome-directory{
  display:inline-flex;align-items:center;flex:none;gap:.3em;min-height:44px;max-width:55%;
  margin-inline-start:auto;overflow-wrap:anywhere;color:#164e74;font-weight:650;
}
.if-coordinated-chrome .if-chrome-directory:hover{color:#0a334e}
.if-coordinated-chrome a,.if-coordinated-footer a{text-decoration:none!important}
.if-coordinated-chrome :is(a,summary,button,select):focus-visible,.if-coordinated-footer a:focus-visible{
  outline:2px solid currentColor!important;outline-offset:2px!important;
}
.if-chrome-guest[hidden],.if-chrome-guest:not(:has(.if-chrome-guest-links > a:not([hidden]))){display:none!important}
html body footer.if-coordinated-footer > ul.sb-footer-row{
  display:flex!important;box-sizing:border-box;flex-wrap:wrap!important;overflow:visible!important;
  width:100%!important;max-width:100%!important;gap:.2rem .8rem!important;
}
html body footer.if-coordinated-footer > ul.sb-footer-row > li{white-space:normal!important;max-width:100%;min-width:0;overflow-wrap:anywhere}
.if-coordinated-footer address{font-style:normal}
@media(max-width:760px){
  html body .fk-header.if-coordinated-chrome .if-chrome-nav > .sa-menu-toggle{
    display:inline-flex!important;position:static;align-items:center;min-height:44px;margin:0;
  }
  html body .fk-header.if-coordinated-chrome:not(.sa-menu-open) .if-chrome-nav > #sa-main-nav{display:none!important}
  html body .fk-header.if-coordinated-chrome.sa-menu-open .if-chrome-nav > #sa-main-nav{
    position:absolute;z-index:35;inset:100% 0 auto;display:flex!important;flex-direction:column;align-items:stretch;
    padding:.45rem;border:1px solid #c6dce9;border-radius:.4rem;background:#fff;width:auto;max-width:none;
  }
  .if-coordinated-chrome .if-chrome-nav > #sa-main-nav a{min-height:44px}
  .if-coordinated-chrome > .if-chrome-top{gap:.3rem}
  .if-coordinated-chrome .if-chrome-top > .fk-brand{max-width:45%;gap:.3rem}
  .if-coordinated-chrome .if-chrome-top .fk-brand-name{font-size:clamp(.68rem,3.15vw,1.15rem)!important;overflow-wrap:anywhere}
  .if-coordinated-chrome .if-chrome-top .fk-brand-tagline{font-size:clamp(.56rem,2.15vw,.75rem)!important;white-space:normal!important}
  .if-coordinated-chrome .if-chrome-top .fk-brand img{width:clamp(24px,8vw,34px)!important;height:auto!important}
  html body .fk-header.if-coordinated-chrome .if-chrome-top > .fk-controls{gap:.25rem .35rem;max-width:55%;flex-wrap:nowrap}
  .if-coordinated-chrome .if-chrome-top .fk-language{flex:none}
  .if-coordinated-chrome .if-chrome-top .fk-language select{min-width:0;width:clamp(70px,24vw,103px);padding-inline:.35rem}
  .if-coordinated-chrome .if-chrome-top .fk-menu > summary{font-size:.85rem;padding-inline:.35rem;white-space:normal}
  .if-chrome-guest{position:relative}
  .if-chrome-guest > summary{display:flex;min-height:44px;align-items:center;gap:.3em;padding-inline:.35rem;cursor:pointer;list-style:none}
  .if-chrome-guest > summary::after{content:'⌄'}
  .if-chrome-guest-links{position:absolute;inset:100% 0 auto auto;z-index:45;min-width:10rem;display:grid;gap:.35rem;padding:.6rem;background:#fff;border:1px solid #c6dce9;border-radius:.4rem}
  .if-chrome-guest:not([open]) > .if-chrome-guest-links{display:none}
  .if-chrome-guest-links > a{min-height:44px}
  html body footer.if-coordinated-footer > ul.sb-footer-row{justify-content:flex-start!important}
}
