.therapist-dashboard-page .parent-dashboard-heading.therapist-profile-heading {
  max-width: 1050px;
  margin: 0 auto 16px;
}
.therapist-dashboard-page
  .parent-dashboard-heading.therapist-profile-heading
  h1 {
  margin: 8px 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}
.therapist-dashboard-page
  .parent-dashboard-heading.therapist-profile-heading
  p {
  font-size: 14px;
  line-height: 1.6;
}
.tp-profile .tp-summary {
  padding: 16px 20px;
  margin-bottom: 14px;
  border-radius: 14px;
  box-shadow: 0 4px 20px #39452a06;
}
.tp-profile .tp-avatar {
  flex-basis: 62px;
  width: 62px;
  height: 62px;
}
.tp-profile .tp-identity h2 {
  font-size: 20px;
  margin-bottom: 5px;
}
.tp-profile .tp-identity p {
  font-size: 13px;
}
.tp-profile .tp-status {
  font-size: 11px;
  padding: 8px 12px;
}
.tp-section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin-bottom: 16px;
}
.tp-section-links button {
  flex-shrink: 0;
  padding: 6px 10px;
  border: 1px solid #dfe5d8;
  border-radius: 8px;
  background: #fffef9;
  color: #65734f;
  font-size: 12px;
  text-decoration: none;
}
.tp-section-links button:hover,
.tp-section-links button:focus-visible {
  background: #edf2e5;
  border-color: #87976d;
}
.therapist-dashboard-page .tp-profile .tp-form {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  gap: 16px;
}
.therapist-dashboard-page .tp-profile .tp-card {
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px #33432a05;
  scroll-margin-top: 100px;
}
.tp-profile .tp-section-heading {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0e7;
}
.tp-profile .tp-section-heading h3 {
  font-size: 16px;
}
.tp-profile .tp-section-heading p {
  font-size: 12px;
}
.tp-profile .tp-section-heading > span {
  flex-basis: 36px;
  height: 36px;
  border-radius: 10px;
}
.tp-section-count {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #a3ab96;
}
.therapist-dashboard-page .tp-profile .assessment-field-grid {
  gap: 14px 20px;
}
.therapist-dashboard-page
  .tp-profile
  .assessment-field-grid
  > label
  > span:first-child {
  display: flex;
  align-items: flex-end;
  min-height: 0;
  line-height: 18px;
  font-size: 12px;
}
.tp-profile .tp-profile-checks {
  padding: 16px;
  margin: 0;
  border: 1px solid #e2e8da;
  border-radius: 9px;
  background: #fcfdf9;
}
.tp-profile .tp-profile-checks legend {
  color: #536744;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 700;
}
.tp-profile .child-rich-text {
  margin-top: 0;
  color: #526048;
  font-size: 12px;
  font-weight: 600;
}
.tp-profile .child-rich-text .ck-editor__editable_inline {
  min-height: 120px;
  max-height: 300px;
  overflow-y: auto;
}
.tp-profile .tp-credential {
  border-style: solid;
  background: #f8faf4;
  padding: 16px 18px;
}
.therapist-dashboard-page .tp-profile .tp-save-bar {
  position: static;
  padding: 16px 20px;
  border: 1px solid #dfe5d8;
  border-radius: 12px;
  background: #fffef9;
  box-shadow: 0 -4px 22px #33432a0c;
}
@media (max-width: 640px) {
  .therapist-dashboard-page .tp-profile .tp-card {
    padding: 20px 16px;
  }
  .therapist-dashboard-page .tp-profile .assessment-field-grid {
    grid-template-columns: 1fr;
  }
  .therapist-dashboard-page
    .tp-profile
    .assessment-field-grid
    > label
    > span:first-child {
    min-height: 0;
  }
  .tp-profile .tp-summary {
    padding: 20px;
  }
  .therapist-dashboard-page .tp-profile .tp-save-bar {
    padding: 12px 16px;
  }
}

.therapist-dashboard-page .tp-profile .assessment-field-grid {
  margin-top: 0;
}
.therapist-dashboard-page
  .tp-profile
  .assessment-field-grid
  + .assessment-field-grid {
  margin-top: 14px;
}
.therapist-dashboard-page .admin-dashboard-content.therapist-profile-content {
  padding: 24px 20px;
}
.therapist-profile-content .tp-profile {
  max-width: none;
  margin: 0;
}
.therapist-dashboard-page
  .therapist-profile-content
  .parent-dashboard-heading.therapist-profile-heading {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
@media (max-width: 640px) {
  .therapist-dashboard-page .admin-dashboard-content.therapist-profile-content {
    padding: 18px 12px;
  }
}

.tp-section-links button {
  font-family: inherit;
  cursor: pointer;
}
.tp-section-links button[aria-pressed="true"] {
  background: #536744;
  color: #fff;
  border-color: #536744;
}
.therapist-dashboard-page .tp-profile .tp-card[hidden] {
  display: none;
}
.therapist-dashboard-page .tp-profile .tp-form label.tp-practice-check {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  line-height: 1.5;
}
.therapist-dashboard-page
  .tp-profile
  .tp-form
  label.tp-practice-check
  input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
}
