# HTML Body Classes

The B2Bsellers Suite adds dynamic CSS body classes to identify the current user type and role. These classes enable conditional styling and JavaScript functionality based on the B2B context.

## Available Body Classes

* `is-b2b-sales-representative`
* `is-b2b-sales-representative-logged-in-as-customer`
* `is-b2b-employee`
* `is-b2b-employee-admin`
* `is-b2b-employee-{role}`  (e.g. `is-b2b-employee-purchaser` )

{% hint style="info" %}
If the user is not authenticated or is logged in as a private customer, no additional class will be applied.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.b2b-sellers.com/b2b-platform/developer-guide/b2bsellers-core-plugin/html-body-classes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
