body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body{
  --tf-membership-gap:16px;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tf90-section,
body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tf90-two{
  margin-top:var(--tf-membership-gap)!important;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf90-credit-adjustments .tf-credit-adjust-form{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px 16px!important;
  align-items:end!important;
  max-width:none!important;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf90-credit-adjustments .tf-credit-adjust-form>label{
  min-width:0!important;
  margin:0!important;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf90-credit-adjustments .tf-credit-adjust-form>label:nth-of-type(4){
  grid-column:1/3;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf90-credit-adjustments textarea{
  min-height:76px!important;
  height:76px!important;
  resize:vertical;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf90-credit-adjustments .tribal-btn{
  width:100%!important;
  min-height:46px;
  margin:0!important;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf90-credit-history .tf90-empty{
  min-height:72px!important;
  display:grid!important;
  place-items:center;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tf90-two{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr)!important;
  gap:var(--tf-membership-gap)!important;
  align-items:start!important;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tf90-two>.tf90-section{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  align-self:start!important;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tf90-two .tf90-settings textarea{
  min-height:96px!important;
  height:96px!important;
  resize:vertical;
}

body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tf90-two details summary{
  overflow-wrap:anywhere;
}

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

@media(max-width:760px){
  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body{
    --tf-membership-gap:12px;
  }

  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tf90-section,
  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tf90-two>.tf90-section{
    padding:15px!important;
  }

  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf90-credit-adjustments .tf-credit-adjust-form,
  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tf90-two>.tf90-section .tf90-settings{
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
  }

  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf90-credit-adjustments .tf-credit-adjust-form>label:nth-of-type(4){
    grid-column:auto;
  }

  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf90-credit-adjustments textarea,
  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tf90-two .tf90-settings textarea{
    min-height:92px!important;
    height:92px!important;
  }

  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf90-credit-adjustments .tribal-btn,
  body.tf-view-clients:not(.tf-client-portal) .tf-client-profile .tf-profile-body>.tf90-two .tribal-btn{
    width:100%!important;
  }
}
