/* Shared brand sizing; navigation and account controls remain page-owned. */
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/instrument-serif-regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/instrument-serif-italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans-regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
:root { --yb-font-display: 'Instrument Serif', serif; --yb-font-ui: 'Instrument Sans', sans-serif; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans-500.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans-600.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans-700.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
.brand.yb-brand, .fbrand.yb-brand {
  display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0;
  width: auto; min-width: 0; margin: 0; padding: 0;
  text-decoration: none; transform: none; letter-spacing: 0;
}
.yb-brand .yb-logo { display: block; width: 165px; height: 40px; flex: 0 0 165px; }
.yb-brand .yb-logo-light { display: none; }
.yb-brand .yb-portal-label {
  font: 500 12px/1.25 'Instrument Sans', Arial, sans-serif;
  letter-spacing: 0; color: #475d54; border-left: 1px solid #bac9c2;
  padding-left: 12px; white-space: nowrap;
}
footer .yb-brand .yb-logo, .yb-brand.yb-inverse .yb-logo,
.yb-portal header .yb-brand .yb-logo { display: none; }
footer .yb-brand .yb-logo-light, .yb-brand.yb-inverse .yb-logo-light,
.yb-portal header .yb-brand .yb-logo-light { display: block; }
.yb-portal header .yb-portal-label { color: #fff; border-color: #6e9688; }
.yb-brand:focus-visible { outline: 2px solid #d49a18; outline-offset: 5px; border-radius: 3px; }
.yb-public-header { background: #fff; color: #164c3d; border-bottom: 1px solid #dce5e0; }
.yb-public-header .nav, .yb-public-header > .wrap { min-height: 68px; height: auto; box-sizing: border-box; }
.yb-public-header a:not(.nav-cta):not(.btn):not(.button) { color: #164c3d; }
.yb-portal header { background: #164c3d; min-height: 68px; height: auto; padding-top: 12px; padding-bottom: 12px; }
.top.yb-public-header { min-height: 68px; height: auto; padding-top: 12px; padding-bottom: 12px; }
.yb-portal header .who { min-width: 0; flex-wrap: wrap; }
.yb-portal header .who span { overflow-wrap: anywhere; }
@media(max-width: 600px) {
  .yb-brand .yb-logo { width: 140px; height: 34px; flex-basis: 140px; }
  .brand.yb-brand, .fbrand.yb-brand { gap: 8px; }
  .yb-brand .yb-portal-label { padding-left: 8px; font-size: 11px; }
  .yb-public-header .nav, .yb-public-header > .wrap { flex-wrap: wrap; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .yb-portal header { flex-wrap: wrap; gap: 12px; }
  .top.yb-public-header { flex-wrap: wrap; gap: 12px; }
}
