/* Keep navigation labels centered despite legacy theme display rules. */
.topbar nav a{display:inline-flex;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;margin-left:0}
@media(max-width:850px){
 .topbar nav{display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);align-items:center!important;justify-content:center;gap:8px!important;width:100%;min-width:0}
 .topbar nav>a{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;margin:0!important;width:100%;min-width:0;min-height:52px;height:52px;padding:8px 6px!important;line-height:1.25;font-size:13px;white-space:normal;overflow-wrap:normal;word-break:normal;flex:none}
 body button,body input[type="button"],body input[type="submit"],body [role="button"],body a.hero-button,body a.family-action,body a.option-link,body a.back-link{text-align:center!important;align-items:center!important;justify-content:center!important;box-sizing:border-box}
 body .hero-button,body .family-action,body .primary{justify-content:center!important;text-align:center!important;gap:10px}
 .topbar .parent-account-menu>a{display:flex;align-items:center;justify-content:center;text-align:center!important}
 .topbar nav>.parent-account-menu{min-width:0;width:100%}
}
@media(max-width:480px){.topbar nav{gap:6px!important}.topbar nav>a{padding:8px 4px!important;font-size:12px!important}}