/* Header-only change from the verified v20.86 base. */
.app-topbar .topbar-row.header-grid{
  display:grid !important;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:16px;
  direction:ltr !important;
}
.app-topbar .header-left,
.app-topbar .header-center,
.app-topbar .header-right{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  direction:ltr !important;
}
.app-topbar .header-left{justify-content:flex-start;}
.app-topbar .header-center{justify-content:center;white-space:nowrap;}
.app-topbar .header-right{justify-content:flex-end;}
@media(max-width:1280px){
  .app-topbar .topbar-row.header-grid{grid-template-columns:1fr;justify-items:stretch;}
  .app-topbar .header-left,.app-topbar .header-center,.app-topbar .header-right{justify-content:center;flex-wrap:wrap;}
}

/* Name sits directly over Home while the navigation buttons stay aligned. */
.app-topbar{padding-top:25px}
.app-topbar .header-left{position:relative}
.app-topbar .header-user-name{position:absolute;left:0;bottom:calc(100% + 3px);max-width:min(360px,90vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:16px;color:#4b5568;font-weight:600}
@media(max-width:1280px){.app-topbar .header-user-name{left:50%;transform:translateX(-50%);text-align:center}}
