@layer components {
  .profile-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--op-space-x-small) var(--op-space-small);
  }

  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .profile {
    display: flex;
    flex-direction: column;
    gap: var(--op-space-large);
    max-width: 64rem;
    margin-inline: auto;
    width: 100%;
  }

  .profile-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--op-space-small);
    padding: var(--op-space-2x-large) var(--op-space-medium);
    text-align: center;
  }

  .profile-hero__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 9.6rem;
    height: 9.6rem;
    border-radius: 50%;
    background-color: var(--op-color-neutral-plus-five);
    color: var(--op-color-primary-base);
    overflow: hidden;
    position: relative;
    cursor: default;
  }

  .profile-hero__avatar--uploadable {
    cursor: pointer;
  }

  .profile-hero__avatar-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 180ms ease;
  }

  .profile-hero__avatar--uploadable:hover .profile-hero__avatar-overlay {
    opacity: 1;
  }

  .profile-hero__avatar .icon {
    --icon-size: 5.6rem;
  }

  .profile-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .profile-hero__name {
    font-size: var(--op-font-x-large);
    font-weight: var(--op-font-weight-bold);
    margin: 0;
  }

  .profile-hero__email {
    color: var(--op-color-neutral-base);
    font-size: var(--op-font-medium);
    margin: 0;
  }

  .profile-section {
    background-color: var(--op-color-neutral-plus-max);
    border-radius: var(--op-radius-2x-large);
    padding: var(--op-space-large);
    display: flex;
    flex-direction: column;
    gap: var(--op-space-medium);
  }

  .profile-section__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--op-space-small);
  }

  .profile-section__title {
    font-size: var(--op-font-large);
    font-weight: var(--op-font-weight-bold);
    margin: 0;
    color: var(--op-color-primary-base);
  }

  .profile-section__subtitle {
    color: var(--op-color-neutral-base);
    font-size: var(--op-font-small);
    margin-top: var(--op-space-2x-small);
  }

  .profile-section__status {
    display: inline-flex;
    align-items: center;
    gap: var(--op-space-2x-small);
    padding: var(--op-space-2x-small) var(--op-space-small);
    border-radius: var(--op-radius-pill);
    font-size: var(--op-font-x-small);
    font-weight: var(--op-font-weight-bold);
    background-color: var(--op-color-neutral-plus-five);
    color: var(--op-color-neutral-on-plus-max);
  }

  .profile-section__status--connected {
    background-color: var(--op-color-success-plus-five, var(--op-color-neutral-plus-five));
    color: var(--op-color-success-base, var(--op-color-primary-base));
  }

  .profile-section__divider {
    height: 1px;
    background-color: var(--op-color-neutral-plus-four);
    border: 0;
    margin: 0;
  }

}
