/* Shared single-row header; navigation collapses according to measured labels. */
body.ul-root header.topbar{display:flex;flex-wrap:nowrap;align-items:center;gap:12px;height:auto;min-height:72px;overflow:visible}
body.ul-root header.topbar>.brand{flex:0 0 auto;white-space:nowrap}
body.ul-root header.topbar .ul-wordmark{white-space:nowrap;line-height:1.15}
body.ul-root header.topbar .ul-wordmark>span{display:inline}
body.ul-root header.topbar>.top-cta{display:none}
body.ul-root header.topbar>.language-picker{margin-inline-start:auto;flex:0 0 auto;position:relative;z-index:200}
body.ul-root header.topbar>.nav:not([hidden]){position:static;display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:4px;padding:0;width:auto;min-height:0;margin:0;border:0!important;border-radius:0;background:transparent!important;background-image:none!important;box-shadow:none;backdrop-filter:none;flex:1 1 auto}
body.ul-root header.topbar>.nav a{display:flex;align-items:center;min-height:44px;padding:10px 12px;font:600 14px/1.4 Inter,system-ui,sans-serif;white-space:nowrap;border-radius:14px;animation:none}
body.ul-root header.topbar>.nav[hidden],body.ul-root header.topbar>.ul-menu-toggle[hidden]{display:none!important}
body.ul-root header.topbar>.ul-menu-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;flex:0 0 44px;width:44px;height:44px;padding:10px;border:1px solid currentColor;border-radius:14px;background:transparent;color:var(--ul-brand-primary)}
.ul-menu-toggle>span{display:block;width:22px;height:2px;background:currentColor;pointer-events:none}
.ul-menu-toggle[aria-expanded=true]>span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.ul-menu-toggle[aria-expanded=true]>span:nth-child(2){opacity:0}
.ul-menu-toggle[aria-expanded=true]>span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
body.ul-root header.topbar[data-compact=true]>.nav:not([hidden]){position:absolute;inset-inline:0;top:calc(100% + 8px);z-index:100;display:flex;flex-direction:column;align-items:stretch;width:100%;max-height:calc(100dvh - 120px);overflow-y:auto;box-sizing:border-box;padding:10px;border-radius:24px;background:var(--ul-brand-paper)!important}
body.ul-root header.topbar[data-compact=true]>.nav a{white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){body.ul-root header.topbar{gap:8px;min-height:64px}body.ul-root header.topbar .brand{font-size:22px;gap:8px}body.ul-root header.topbar .ul-brand-symbol{width:34px}body.ul-root:has(#young-adults:not([hidden])) .topbar .brand{--ya-logo-size:34px!important}}
