body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tfbfd-card,
body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tfbfd-app>.tfbfd-card{
  margin-bottom:16px!important;
  padding:20px!important;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tfbfd-card>p,
body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tfbfd-card>p{
  max-width:920px;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tfbfd-card>form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:10px 14px;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tfbfd-card>form>label{
  grid-column:1/-1;
  margin:0!important;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tfbfd-card>form>select{
  margin:0!important;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tfbfd-grid.two{
  grid-template-columns:minmax(320px,.85fr) minmax(0,1.15fr)!important;
  gap:22px!important;
  align-items:start!important;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tfbfd-grid.two>div{
  align-self:start!important;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tfbfd-card :is(h2,h3){
  margin-bottom:14px!important;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tfbfd-empty.compact{
  min-height:72px!important;
  padding:16px!important;
}

@media(max-width:900px){
  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tfbfd-grid.two{
    grid-template-columns:minmax(0,1fr)!important;
    gap:18px!important;
  }
}

@media(max-width:767px){
  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tfbfd-card,
  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tfbfd-app>.tfbfd-card{
    margin-bottom:12px!important;
    padding:15px!important;
  }

  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tfbfd-card>form{
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
  }

  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tfbfd-card h3,
  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tfbfd-card h3{
    font-size:23px!important;
    line-height:1.15!important;
  }

  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tfbfd-card form>.tfbfd-btn,
  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tfbfd-card form>button{
    width:100%!important;
  }

  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tfbfd-grid.two{
    gap:20px!important;
  }

  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tfbfd-empty.compact{
    min-height:0!important;
    padding:14px!important;
  }
}
