/* Header, fact table and door out, divided by rendered `Divider`s, so the sheet owns only rhythm. The
   identity column shrinks: the avatar is fixed, the name wraps. */
@layer theme, base, lotics, components, utilities;
@layer lotics.tokens, lotics.reset, lotics.components;

@layer lotics.components {
  .lotics-member-profile-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    /* Laid out in a popover of given width, it holds its size rather than squashing the name. */
    flex-shrink: 0;
    gap: var(--lotics-space-10);
  }

  /* A top-aligned name beside a 72px circle reads as a slipped caption. */
  .lotics-member-profile-card__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 0;
    gap: var(--lotics-space-12);
  }

  .lotics-member-profile-card__identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
    gap: var(--lotics-space-2);
  }

  /* A real gutter, where the column's 1px rhythm would read as a collision. */
  .lotics-member-profile-card__status {
    margin-top: var(--lotics-space-4);
  }
}
