/* These two profile templates only. Keep full source text and navigation roles. */
.profile-refined { max-width: 1120px; padding-top: 16px; color: #243645; font-size: 15px; overflow-wrap: anywhere; }
.profile-refined .profile-detail-card { border: 0; border-radius: 0; box-shadow: none; background: #fff; }
.profile-refined .profile-detail-header { padding: 0 0 32px; background: #fff; border-bottom: 1px solid #DFE3E4; }
.profile-detail-page.profile-refined .profile-detail-header h1 { font-size: 30px; font-weight: 500; line-height: 1.5; text-align: left; }
.profile-refined .teacher-profile-section h2,
.profile-refined .student-profile-section h2 { margin: 0 0 20px; padding: 0 0 16px; border-bottom: 1px solid #DFE3E4; font-size: 24px; font-weight: 700; line-height: 1.5; text-align: left; }
.profile-refined .student-profile-section h2::before,
.profile-refined .student-profile-section h2::after { content: none; }
.profile-refined .wraptext { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.9; }
.profile-refined .profile-detail-actions { background: #fff; border: 0; padding: 32px 0; justify-content: flex-start; flex-wrap: wrap; }
.profile-refined .profile-detail-actions .btn { min-width: 0; max-width: 100%; font-size: 14px; font-weight: 500; }
.profile-refined #backButton { color: #243645; background: #fff; border-color: #DFE3E4; }
.profile-refined #backButton:hover { background: #F5F6F4; }
.profile-refined .profile-region-nav { display: block; margin: 24px 0 0; padding: 16px 0; border-top: 1px solid #DFE3E4; }
.profile-refined .profile-region-link { display: inline-block; padding: 8px 0; color: #243645; font-size: 14px; font-weight: 400; line-height: 1.8; text-decoration: underline; text-underline-offset: 4px; }
.profile-refined a:focus-visible, .profile-refined button:focus-visible { outline: 3px solid #537795; outline-offset: 2px; }
.profile-refined .profile-related { max-width: none; }
.profile-refined .profile-related h2 { font-size: 20px; font-weight: 500; text-align: left; }
.profile-refined .profile-related-card { border: 0; border-radius: 0; border-top: 1px solid #DFE3E4; padding: 24px 0; background: #fff; }
.student-profile-page .student-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 48px; padding-top: 32px; align-items: start; }
.student-profile-page .student-contact { grid-column: 2; grid-row: 1; padding: 24px; background: #F5F6F4; font-size: 13px; }
.student-profile-page .student-contact-rate { margin: 0 0 24px; }
.student-profile-page .student-contact-rate span { display: block; color: #626B71; margin-bottom: 8px; }
.student-profile-page .student-contact-rate strong { font-size: 30px; font-weight: 500; font-variant-numeric: tabular-nums; }
.student-profile-page .profile-mobile-action { display: block; padding: 0; margin: 0; }
.student-profile-page .profile-mobile-action .btn { width: 100%; min-width: 0; font-size: 14px; }
.student-profile-page .profile-detail-body { grid-column: 1; grid-row: 1; padding: 0; }
.student-profile-page .profile-detail-grid { display: block; }
.student-profile-page .profile-detail-grid > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 12px 0; border: 0; border-bottom: 1px solid #DFE3E4; background: #fff; }
.student-profile-page .profile-detail-grid dt { font-size: 14px; font-weight: 400; color: #626B71; }
.student-profile-page .profile-detail-grid dd { margin: 0; font-size: 15px; font-weight: 400; }
@media (max-width: 991.98px) {
  .student-profile-page .student-profile-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; }
}
@media (max-width: 767.98px) {
  .profile-refined { padding: 0 20px; }
  .profile-detail-page.profile-refined .profile-detail-header h1 { font-size: 24px; }
  .profile-refined .teacher-profile-section h2,
  .profile-refined .student-profile-section h2 { font-size: 22px; }
  .student-profile-page .student-profile-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; }
  .student-profile-page .student-contact { grid-column: 1; grid-row: 1; padding: 20px; }
  .student-profile-page .profile-detail-body { grid-row: 2; }
  .student-profile-page .profile-detail-grid > div { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 479.98px) {
  .student-profile-page .profile-detail-grid > div { grid-template-columns: 1fr; gap: 4px; }
}
