    layout->addWidget(new QLabel(name),1, Qt::AlignCenter);
    return widget(layout);
  }
  
  void DriveStats::replyFinished(QNetworkReply *l){
    QString answer = l->readAll();
    answer.chop(1);
  
    QJsonDocument doc = QJsonDocument::fromJson(answer.toUtf8());
    if (doc.isNull()) {
 
</s> remove   layout->addWidget(new QLabel(bold(QString("%1").arg(stat))), 1, Qt::AlignCenter);
  layout->addWidget(new QLabel(name),1, Qt::AlignCenter);
  return widget(layout);
 </s> add   QLabel *metric = new QLabel(QString("%1").arg(stat));
  metric->setStyleSheet(R"(
    font-size: 72px;
    font-weight: 700;
  )");
  layout->addWidget(metric, 0, Qt::AlignLeft);
  
  QLabel *label = new QLabel(name);
  label->setStyleSheet(R"(
    font-size: 32px;
    font-weight: 600;
  )");
  layout->addWidget(label, 0, Qt::AlignLeft);
  
  return layout; </s> remove QString bold(QString s) {
  return "<b>" + s + "</b>";
}

QWidget *widget(QLayout *l){
  QWidget *q = new QWidget();
  q->setLayout(l);
  return q;
}

QWidget *build_stat(QString name, int stat){
 </s> add QLayout *build_stat(QString name, int stat) { </s> remove QString create_jwt(QString dongle_id, int expiry=3600){
 </s> add QString create_jwt(QString dongle_id, int expiry=3600) { </s> remove QByteArray rsa_sign(QByteArray data){
 </s> add QByteArray rsa_sign(QByteArray data) { </s> remove double MILE_TO_KM = 1.60934;
 </s> add constexpr double MILE_TO_KM = 1.60934;
void DriveStats::replyFinished(QNetworkReply *l) {
    layout->addWidget(new QLabel(name),1, Qt::AlignCenter);
    return widget(layout);
  }
  
void DriveStats::replyFinished(QNetworkReply *l) {
    QString answer = l->readAll();
    answer.chop(1);
  
    QJsonDocument doc = QJsonDocument::fromJson(answer.toUtf8());
    if (doc.isNull()) {
keep keep keep keep replace keep keep keep keep keep
 offroad home style (#19593)

* make drive stats look nicer

* offroad alerts style

* rest of alerts

* move that

* fix up colors

Co-authored-by: Comma Device <device@comma.ai> 
selfdrive/ui/qt/widgets/drive_stats.cc