Move to more flexible weight-based layout for prompt.