.uc-language-nav{display:flex;gap:.2rem;align-items:center;justify-content:flex-end;flex-wrap:wrap;font:700 .75rem/1.2 system-ui,sans-serif;margin:.3rem 0}.uc-language-nav a{display:inline-flex;align-items:center;justify-content:center;min-width:2rem;min-height:2rem;padding:.3rem .45rem;border:1px solid #796b7c;border-radius:.55rem;color:#322638;background:#faf7f5;text-decoration:none}.uc-language-nav a:hover,.uc-language-nav a:focus-visible{outline:2px solid #d6178a;outline-offset:2px}.uc-language-nav a[aria-current]{color:#fff;background:#71305f;border-color:#71305f}.site-header .uc-language-nav{grid-column:1/-1;flex-basis:100%}.auth-body>.uc-language-nav{padding:0 clamp(1rem,4vw,3rem)}.uc-language-note{display:flex;align-items:baseline;justify-content:space-between;gap:.6rem;flex-wrap:wrap;padding:.7rem 1rem;margin:0 0 1rem;border-left:3px solid #a13678;background:#f2ebf2;color:#342836;font:400 .85rem/1.5 system-ui,sans-serif;border-radius:.4rem}.uc-language-note a{color:#692257;text-decoration:underline;white-space:nowrap}.uc-language-note p{margin:0}.uc-translation-source{white-space:pre-wrap;border-left:3px solid #866582;padding:1rem}.uc-translation-list{list-style:none;padding:0}.uc-translation-list li{display:flex;justify-content:space-between;gap:1rem;padding:.75rem 0;border-bottom:1px solid #ccc}.uc-translation-list span{flex-shrink:0;color:#625465}.uc-source-text{font:inherit;color:inherit}@media(max-width:640px){.site-header .uc-language-nav{justify-content:flex-start;width:100%;margin-top:.45rem}.uc-language-nav a{min-width:2.25rem;min-height:2.25rem}.uc-language-note{font-size:.8rem}.uc-translation-list li{display:block}}
/* Longer German/Romansh labels must wrap rather than widen the mobile grid. */
html:not([lang="fr"]) .site-main :is(h1,h2,h3){overflow-wrap:anywhere;hyphens:auto}
@media(max-width:640px){
    html:not([lang="fr"]) body.profile-showcase .primary-nav a{min-width:0;white-space:normal;overflow-wrap:anywhere;hyphens:auto;text-align:center}
    /* Leave the auth brand its own row; language controls must not cover it. */
    .auth-body>.uc-language-nav{margin:4.5rem 1rem 0;padding:0;justify-content:flex-start}
    .auth-body main{min-height:calc(100vh - 7rem);padding-top:1.5rem}
    .auth-body>.flash{position:static;max-width:none;margin:1rem}
}
