.profile-page { font-size: 1rem; }
.profile-compact-heading { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.profile-compact-heading h1 { font-size: 2.5rem; }
.profile-compact-heading p { margin-top: 4px; color: var(--muted); }
.profile-compact-avatar { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border: 1px solid #f4bb8355; border-radius: 16px; background: #f4bb8310; color: var(--accent); font-size: 1.5rem; font-weight: 650; }
.profile-sections { display: grid; gap: 8px; }
.profile-section-wrap { min-width: 0; }
.profile-section { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: clip; }
.profile-section > summary { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 14px 20px; }
.profile-section > summary:hover { background: #ffffff03; }
.profile-section > summary:focus-visible { outline-offset: -4px; }
.profile-section-copy { display: block; min-width: 0; flex: 1; }
.profile-section .summary-title { font-size: 1.125rem; }
.profile-saved-summary { display: block; color: var(--muted); font-size: 1rem; margin-top: 4px; line-height: 1.5; overflow-wrap: anywhere; }
.profile-save-state { display: block; font-size: 1rem; color: var(--muted); }
.profile-save-state:empty { display: none; }
.profile-save-state[data-state="saved"] { color: var(--success); }
.profile-save-state[data-state="error"] { color: var(--danger); }
.profile-section[open] > summary { border-bottom: 1px solid var(--border); }
.profile-section-form, .profile-account-body, .profile-notifications-body { padding: 24px 22px; }
.profile-notifications-body .form-note { font-size: 1rem; }
.profile-page .profile-section-form { margin: 0; gap: 22px; }
.profile-page .profile-exercise-group + .profile-exercise-group { margin-top: 0; padding-top: 22px; }
.profile-page .field-help, .profile-page .field-error, .profile-page .optional, .profile-page .connection-state, .profile-page .picker-empty { font-size: 1rem; }
.profile-page .profile-exercise-group legend { font-size: 1rem; }
.profile-page .profile-exercise-group .field-help { margin-top: 0; margin-bottom: 12px; }
.profile-page .profile-section-form textarea { min-height: 108px; }
.profile-page .profile-section-form [data-profile-fallback] { justify-self: start; }
.profile-page.is-autosaving [data-profile-fallback] { display: none; }
.profile-save-feedback { margin-top: 8px; padding: 12px 16px; border-left: 3px solid var(--danger); color: var(--danger); font-size: 1rem; background: #ffb5ad08; }
.profile-save-feedback ul { margin: 0; padding-left: 20px; }
.profile-save-feedback .text-button { color: var(--danger); }
.profile-save-feedback.is-pending { color: var(--accent); border-color: var(--accent); }
.profile-page .exercise-picker-selected { display: flex; gap: 8px; margin: 0 0 8px; flex-wrap: wrap; }
.profile-page .exercise-chip { min-height: 44px; padding: 8px 12px; font-size: 1rem; }
.profile-page .picker-no-selection { color: var(--muted); font-size: 1rem; }
.profile-page .picker-add { font-size: 1rem; min-height: 44px; }
.profile-page .exercise-picker-catalog { margin-top: 8px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: #101724; }
.profile-page .exercise-picker-search { margin-bottom: 10px; }
.profile-page .exercise-picker-search input { min-height: 46px; font-size: 1rem; }
.profile-page .exercise-picker-options { max-height: 280px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.profile-page .exercise-picker-option { font-size: 1rem; min-height: 48px; }
.profile-page .exercise-picker-option input { flex: none; }
.profile-account-body .connection-section:first-child { padding-top: 0; }
.profile-account-body > .connection-section:last-of-type { padding-bottom: 0; border-bottom: 0; }
.profile-install { margin: 14px 2px 0; }
.profile-install > .text-button { color: var(--muted); font-weight: 500; font-size: 1rem; }
.profile-install > div { padding: 8px 0 0; color: var(--muted); font-size: 1rem; }
.profile-install p + p { margin-top: 10px; }
.profile-install #install-app { margin-bottom: 12px; }
@media (max-width: 600px) {
  .profile-section > summary { padding: 12px 16px; gap: 12px; }
  .profile-section-form, .profile-account-body, .profile-notifications-body { padding: 20px 16px; }
  .profile-section .summary-title { font-size: 1rem; }
  .profile-page .exercise-picker-catalog { padding: 10px; }
}
