/* Shared public header: the same two aligned navigation rows on every page. */
body.site-connected .hub-header.hub-header-updated {
  display:grid; grid-template-columns:minmax(360px,1fr) auto;
  align-items:center; gap:4px 28px; min-height:136px;
  max-width:none!important; margin:0!important; padding:18px 20px 18px 16px!important;
}
body.site-connected .hub-header.hub-header-updated > .hub-brand {
  grid-column:1; grid-row:1 / span 2; display:flex; align-items:center;
  gap:16px; justify-self:start; margin:0!important; padding:0!important;
  font-size:28px; line-height:1.1; white-space:normal;
}
body.site-connected .hub-header .hub-brand > img {width:96px;height:76px;flex:0 0 96px;object-fit:contain;}
body.site-connected .hub-header .hub-brand > span {max-width:390px;}
body.site-connected .hub-header.hub-header-updated .hub-brand-sub {
  display:block;max-width:390px;font-size:16px;line-height:1.4;
  letter-spacing:.015em;margin-top:9px;color:#cbb1f0;
}
body.site-connected .hub-header.hub-header-updated > nav {
  grid-column:2;grid-row:1;display:flex;flex-wrap:nowrap;align-items:center;
  justify-content:flex-end;gap:28px;padding:0;margin:0;min-width:0;
}
body.site-connected .hub-header.hub-header-updated > nav > a,
body.site-connected .hub-header.hub-header-updated > nav > .site-menu > summary {
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;
  box-sizing:border-box;padding:8px 0;margin:0;font-size:20px;font-weight:700;
  line-height:1.25;white-space:nowrap;text-decoration:none;
}
body.site-connected .hub-header > nav > .site-menu {flex:0 0 auto;margin:0;}
body.site-connected .hub-header > nav > .site-menu > summary {gap:7px;list-style:none;cursor:pointer;}
body.site-connected .hub-header > nav > .site-menu > summary::-webkit-details-marker {display:none;}
body.site-connected .hub-header > nav > .site-menu > summary::after {content:'▾';font-size:11px;color:#d7a9ed;}
body.site-connected .hub-header > nav > .site-menu[open] > summary::after {transform:rotate(180deg);}
body.site-connected .hub-header > nav > a[aria-current=page] {box-shadow:0 2px #b081ed;}
body.site-connected .hub-header.hub-header-updated > .hub-account-links {
  grid-column:2;grid-row:2;display:flex;flex-wrap:nowrap;align-items:center;
  justify-content:flex-end;gap:28px;margin:0;padding:0;
}
body.site-connected .hub-header .hub-account-links .hub-account {
  display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0;
  font-size:16px;line-height:1.25;white-space:nowrap;
}
/* The logo in the MD Scores label sits centered immediately below its heading. */
body.site-connected .md-ticker .ticker-label {box-sizing:border-box;width:128px;min-width:128px;padding:10px 8px;display:flex;flex-direction:column;align-items:center;gap:6px;}
body.site-connected .md-ticker .ticker-label-title {display:flex;align-items:center;justify-content:center;width:100%;}
body.site-connected .md-ticker .ticker-label img {align-self:center;margin:0;object-fit:contain;}
@media(max-width:1100px) {
  body.site-connected .hub-header.hub-header-updated {grid-template-columns:minmax(0,1fr);gap:10px;padding-right:16px!important;}
  body.site-connected .hub-header.hub-header-updated > .hub-brand {grid-column:1;grid-row:1;}
  body.site-connected .hub-header.hub-header-updated > nav {grid-column:1;grid-row:2;justify-content:flex-start;gap:28px;}
  body.site-connected .hub-header.hub-header-updated > .hub-account-links {grid-column:1;grid-row:3;justify-content:flex-start;gap:28px;}
}
@media(max-width:600px) {
  body.site-connected .hub-header.hub-header-updated {padding:14px 12px!important;gap:8px;}
  body.site-connected .hub-header.hub-header-updated > .hub-brand {gap:12px;font-size:25px;}
  body.site-connected .hub-header .hub-brand > img {width:72px;height:64px;flex-basis:72px;}
  body.site-connected .hub-header.hub-header-updated .hub-brand-sub {font-size:14px;line-height:1.4;max-width:300px;}
  body.site-connected .hub-header.hub-header-updated > nav {width:100%;justify-content:space-between;gap:8px;}
  body.site-connected .hub-header.hub-header-updated > nav > a,
  body.site-connected .hub-header.hub-header-updated > nav > .site-menu > summary {font-size:13px;min-height:44px;}
  body.site-connected .hub-header.hub-header-updated > .hub-account-links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;width:100%;}
  body.site-connected .hub-header .hub-account-links .hub-account {font-size:13px;min-height:40px;}
  body.site-connected .md-ticker .ticker-label {width:96px;min-width:96px;}
  body.site-connected .md-ticker .ticker-label-title {font-size:10px;letter-spacing:0;gap:4px;}
}

/* Keep the homepage's complete linked logo and wording at the left page edge. */
body.entry-page.site-connected .hub-header.hub-header-updated {
  padding-left:0!important;
}
body.entry-page.site-connected .hub-header.hub-header-updated > .hub-brand {
  justify-self:start; margin-left:0!important; padding-left:0!important;
}

/* Approved reference proportions shared by every public page header. */
body.site-connected .hub-header.hub-header-updated {
  grid-template-columns:minmax(420px,1fr) auto;
  min-height:clamp(144px,8.4vw,172px);
  padding:24px clamp(16px,1.17vw,24px)!important;
  column-gap:32px;row-gap:4px;
}
body.site-connected .hub-header.hub-header-updated > .hub-brand {
  gap:clamp(16px,1.17vw,24px);font-size:clamp(28px,1.76vw,36px);
}
body.site-connected .hub-header .hub-brand > img {
  width:clamp(96px,6.25vw,128px);height:100px;flex-basis:clamp(96px,6.25vw,128px);
}
body.site-connected .hub-header .hub-brand > span {max-width:clamp(380px,24.4vw,500px);}
body.site-connected .hub-header.hub-header-updated .hub-brand-sub {
  max-width:clamp(380px,24.4vw,500px);font-size:clamp(16px,.98vw,20px);font-weight:700;
  line-height:1.4;letter-spacing:0;margin-top:12px;
}
body.site-connected .hub-header.hub-header-updated > nav {
  gap:clamp(24px,1.76vw,36px);align-items:center;justify-content:flex-end;
}
body.site-connected .hub-header.hub-header-updated > nav > a,
body.site-connected .hub-header.hub-header-updated > nav > .site-menu > summary {
  font-size:clamp(18px,1.37vw,28px);min-height:44px;line-height:1.25;
}
body.site-connected .hub-header.hub-header-updated > .hub-account-links {
  gap:clamp(24px,1.76vw,36px);align-items:center;justify-content:flex-end;
}
body.site-connected .hub-header .hub-account-links .hub-account {
  font-size:clamp(16px,.98vw,20px);line-height:1.25;
}
@media(max-width:1100px) {
  body.site-connected .hub-header.hub-header-updated {
    grid-template-columns:minmax(0,1fr);gap:10px;min-height:0;
  }
  body.site-connected .hub-header.hub-header-updated > nav,
  body.site-connected .hub-header.hub-header-updated > .hub-account-links {
    justify-content:flex-start;
  }
}
@media(max-width:600px) {
  body.site-connected .hub-header.hub-header-updated {padding:16px 12px!important;gap:8px;}
  body.site-connected .hub-header.hub-header-updated > .hub-brand {gap:12px;font-size:26px;}
  body.site-connected .hub-header .hub-brand > img {width:72px;height:70px;flex-basis:72px;}
  body.site-connected .hub-header.hub-header-updated .hub-brand-sub {font-size:14px;margin-top:8px;}
  body.site-connected .hub-header.hub-header-updated > nav {justify-content:space-between;gap:8px;}
  body.site-connected .hub-header.hub-header-updated > nav > a,
  body.site-connected .hub-header.hub-header-updated > nav > .site-menu > summary {font-size:13px;}
  body.site-connected .hub-header.hub-header-updated > .hub-account-links {gap:0 16px;}
  body.site-connected .hub-header .hub-account-links .hub-account {font-size:13px;}
}
