body.public-profile [data-tab="perfil"] { display: none; }
.profile-student-select { width: min(100%, 420px); margin-bottom: 24px; }
.profile-weekly { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px; border-left: 4px solid; margin-bottom: 24px; line-height: 1.5; }
.profile-weekly.overdue { background: #3c1f1b; border-color: #ff8e80; color: #ffd9d4; }
.profile-weekly.current { background: #1e3028; border-color: #8cd9b8; color: #c9f5df; }
.profile-identity { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; }
.profile-identity h3 { margin-bottom: 12px; }
.profile-photo { width: 104px; height: 104px; flex: none; border-radius: 50%; overflow: hidden; background: var(--volt); color: #101208; display: grid; place-items: center; font-size: 36px; font-weight: 700; }
.profile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-photo-label { display: block; font-size: 14px; margin-bottom: 10px; }
.profile-photo-label input { display: block; max-width: 100%; margin-top: 8px; font-size: 14px; }
.profile-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 20px 0 28px; }
.profile-fields .field { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.profile-fields input { width: 100%; min-width: 0; }
.profile-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding-bottom: 28px; }
.profile-save-status { margin: 0; color: #98dded; }
.profile-history { border-top: 1px solid var(--line); padding-top: 28px; }
.weight-chart { display: block; width: 100%; max-width: 900px; height: auto; margin: 20px 0; }
.weight-chart text { fill: #c4cab5; font: 13px system-ui, sans-serif; }
.profile-empty { margin: 24px 0; color: var(--ink-soft); }
.profile-table-scroll { overflow-x: auto; width: 100%; margin-top: 24px; }
.profile-table-scroll table { border-collapse: collapse; width: 100%; font-size: 14px; }
.profile-table-scroll th, .profile-table-scroll td { padding: 12px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.profile-table-scroll th { color: #98dded; }
@media(max-width: 700px) {
  .profile-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .profile-identity { align-items: flex-start; }
  .profile-identity > div:last-child { min-width: 0; }
  .profile-photo { width: 72px; height: 72px; }
}
@media(max-width: 420px) { .profile-fields { grid-template-columns: minmax(0,1fr); } }
