.profile {
  max-width: 720px;
  margin: 0 auto;
}

.profile-header {
  margin-bottom: 1.5rem;
}

.title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.intro {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
}

:host-context(.dark) .intro {
  color: #9ca3af;
}

.card {
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
}

:host-context(.dark) .card {
  background-color: #111827;
  border-color: #1f2937;
}

.card-title {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
}

:host-context(.dark) .card-title {
  color: #9ca3af;
}

.card-intro {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: #4b5563;

  code {
    padding: 0.0625rem 0.25rem;
    border-radius: 0.25rem;
    background-color: rgba(0, 0, 0, 0.05);
    font-family: ui-monospace, monospace;
    font-size: 0.875em;
  }
}

:host-context(.dark) .card-intro {
  color: #d1d5db;

  code {
    background-color: rgba(255, 255, 255, 0.08);
  }
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem 1.25rem;
  margin: 0;

  @media (max-width: 540px) {
    grid-template-columns: 1fr;
  }

  > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  dt {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    font-weight: 500;
  }

  dd {
    margin: 0;
    font-size: 0.875rem;
    color: #111827;
  }

  dd.mono {
    font-family: ui-monospace, monospace;
    font-size: 0.75rem;
    color: #374151;
    word-break: break-all;
  }
}

:host-context(.dark) .grid {
  dt {
    color: #9ca3af;
  }

  dd {
    color: #f3f4f6;
  }

  dd.mono {
    color: #d1d5db;
  }
}

.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.role-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background-color: rgba(29, 78, 216, 0.1);
  color: var(--color-brand-primary-700, #1e40af);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

:host-context(.dark) .role-chip {
  background-color: rgba(96, 165, 250, 0.16);
  color: #bfdbfe;
}
