/* Keep account controls aligned on one flexible header row. */
.account {
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: var(--sp-2);
}

.account > * { align-self: center; }
.account-name { min-width: 0; }
.account-out,
.install-btn { line-height: 1.35; }

@media (max-width: 720px) {
  .account {
    max-width: 100%;
  }

  .account-name {
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }

  .account-out,
  .install-btn { flex: 0 0 auto; }

  /* Show the full install label on phones; the account items wrap as needed. */
  .install-btn .install-label { font-size: var(--fs-sm); }
  .install-btn .install-label::after { content: none; }
}

@media (max-width: 420px) {
  .topbar-row { justify-content: space-between; }

  .topbar-row .account {
    flex: 1 1 100%;
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }
}
