# XWUIAudienceSegmentBoard

A grid of audience segment cards (composing `XWUICard`): member count, period
growth (colour-coded +/-), an engagement bar, and channel/tag chips. Clicking
a card selects it.

Second component in `industry/marketing/`, wiring `XWUISuperMarketing`'s
`marketing-audiences` leaf. See `XWUIAudienceSegmentBoard.ts`'s header for why
this was chosen over a content-calendar view for this leaf.

## Loading / error / empty

Same host-set-flag contract as `XWUICampaignWorkbench`: `data.loading` and
`data.error` are flags a host flips while its own fetch is in flight, not
state this component derives - it never calls a network API itself.

## Selection

Clicking a card fires `data.onSelectSegment`, the `onSelectSegment()`
subscriber API, and a bubbling `xwui-audience-segment-board:select-segment`
event, then highlights the card (`selectedSegmentId`, controlled or
uncontrolled the same way `XWUICampaignWorkbench.selectedCampaignId` is).

## RTL

`config.direction: 'rtl'` sets `dir="rtl"` on the root and mirrors each card's
internal metric/engagement rows.

## Basic Usage

Four segments spanning growth, decline, and channels.

```api
```
