/* beed compositions on top of PatternFly. Tokens only: see css/ui/tokens.css.
 * Add a rule here only when PatternFly has no component, layout or utility
 * for the need, and record the reason beside it.
 */

/* PatternFly's HTML/CSS release has no positioning engine; a menu opens under
 * its toggle, aligned to the toggle's end edge. */
.beed-menu-anchor { position: relative; }
.beed-menu-anchor > .pf-v6-c-menu {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-end: 0;
  z-index: var(--beed-layer-menu);
  min-inline-size: max-content;
}
.beed-menu-anchor.beed-m-align-start > .pf-v6-c-menu { inset-inline: 0 auto; }
/* Keep the POST form above the menu row's decorative ::before, like a direct menu link. */
.pf-v6-c-menu__list-item > form { display: flex; flex: 1; }

/* The theme button shows the theme it switches to. */
[data-ui-theme-icon] { display: none; }
:root:not(.pf-v6-theme-dark) [data-ui-theme-icon="light"],
:root.pf-v6-theme-dark [data-ui-theme-icon="dark"] { display: inline-flex; }

/* Wordmark until the approved logo asset replaces it. A text mark is as wide
 * as its text; PatternFly reserves an image logo's width. */
.beed-brand {
  inline-size: auto;
  font-family: var(--pf-t--global--font--family--heading);
  font-size: var(--pf-t--global--font--size--heading--h3);
  font-weight: var(--pf-t--global--font--weight--heading--bold);
  color: var(--pf-t--global--text--color--regular);
  text-decoration: none;
}
.beed-brand__context {
  color: var(--pf-t--global--text--color--subtle);
  font-weight: var(--pf-t--global--font--weight--body--default);
}

/* Figures line up; currency is always written beside the amount by the server. */
.beed-figure {
  font-family: var(--beed-figure-font-family);
  font-variant-numeric: var(--beed-figure-numeric);
  white-space: nowrap;
}
.pf-v6-c-table td.beed-figure,
.pf-v6-c-table th.beed-figure { text-align: end; }

/* Unknown is not zero: an unavailable fact is shown as such, never blank. */
.beed-unknown { color: var(--pf-t--global--text--color--subtle); font-style: italic; }

/* Stacked skeleton lines for content that has never loaded. */
.beed-skeleton { display: grid; gap: var(--beed-gap-tight); }

/* `hidden` must win over component display rules. */
[hidden] { display: none !important; }

/* The broker's name beside the wordmark (customer shell): one line, cut with
 * an ellipsis rather than pushing the masthead actions off a narrow screen. */
.pf-v6-c-masthead__brand { min-inline-size: 0; display: flex; align-items: center; }
.beed-brand__org {
  margin-inline-start: var(--beed-gap);
  padding-inline-start: var(--beed-gap);
  border-inline-start: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default);
  font-size: var(--pf-t--global--font--size--body--lg);
  color: var(--pf-t--global--text--color--regular);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Customer navigation: Find vehicles and Live auctions are rows that open
 * their auctions, and an auction its countries (PatternFly's expandable
 * rows; owner, 16 November). */
/* Provider marks and flags are supplied bitmaps; they take the text's height. */
.beed-nav-logo { block-size: 1em; inline-size: auto; max-inline-size: 2.5em; object-fit: contain; }
.beed-flag { block-size: 1em; inline-size: auto; vertical-align: -0.125em; }
.beed-provider-mark { block-size: 1em; inline-size: auto; max-inline-size: 2.75em; object-fit: contain; vertical-align: middle; }

/* A record's photo in a table row: fixed frame, so rows keep one height
 * whatever the source image's shape. */
.beed-thumb {
  inline-size: 4.5rem;
  block-size: 3.375rem;
  object-fit: cover;
  border-radius: var(--pf-t--global--border--radius--small);
  background-color: var(--pf-t--global--background--color--secondary--default);
  flex: 0 0 auto;
}

/* Secondary line under a cell's or fact's main value. PatternFly's HTML/CSS
 * release has no text utility classes in its core stylesheet. */
.beed-secondary {
  display: block;
  color: var(--pf-t--global--text--color--subtle);
  font-size: var(--pf-t--global--font--size--body--sm);
}
.beed-secondary > .pf-v6-svg { vertical-align: -0.125em; margin-inline-end: var(--pf-t--global--spacer--xs); }

/* The one large number of a summary card. */
.beed-stat {
  font-family: var(--pf-t--global--font--family--heading);
  font-size: var(--pf-t--global--font--size--heading--h1);
  font-weight: var(--pf-t--global--font--weight--heading--default);
  line-height: var(--pf-t--global--font--line-height--heading);
}

/* A summary card's name: body-sized, beside its status icon. */
.beed-stat__title {
  display: flex;
  align-items: center;
  gap: var(--pf-t--global--spacer--sm);
  margin-block-end: var(--pf-t--global--spacer--sm);
  font-family: var(--pf-t--global--font--family--body);
  font-size: var(--pf-t--global--font--size--body--default);
  font-weight: var(--pf-t--global--font--weight--body--default);
}
.beed-stat { display: block; }

/* Five equal summary cards on one line when there is room; PatternFly's grid
 * is twelve columns and its gallery cannot ask for exactly five. */
.beed-summary {
  display: grid;
  gap: var(--beed-gap);
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

/* A table whose row selects a record: the pointer says so on the whole row,
 * while the row's link stays the keyboard and screen-reader control. */
[data-ui-row-link] { cursor: pointer; }

/* Dated events, newest first (PatternFly has no timeline component): the
 * time, a marker on a rule, then what was recorded. */
.beed-timeline { list-style: none; margin: 0; padding: 0; }
.beed-timeline__item {
  display: grid;
  grid-template-columns: 5.5rem 1rem 1fr;
  column-gap: var(--beed-gap-tight);
  padding-block-end: var(--beed-gap-loose);
  position: relative;
}
.beed-timeline__item::before {
  content: "";
  position: absolute;
  inset-block: 1rem 0;
  inset-inline-start: calc(5.5rem + var(--beed-gap-tight) + 0.5rem);
  border-inline-start: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default);
}
.beed-timeline__item:last-child::before { display: none; }
.beed-timeline__marker {
  inline-size: 0.625rem;
  block-size: 0.625rem;
  margin-block-start: 0.4rem;
  justify-self: center;
  border-radius: var(--pf-t--global--border--radius--pill);
  background-color: var(--beed-tone-neutral);
}
.beed-timeline__marker[data-ui-tone="info"] { background-color: var(--beed-tone-info); }
.beed-timeline__marker[data-ui-tone="success"] { background-color: var(--beed-tone-success); }
.beed-timeline__marker[data-ui-tone="warning"] { background-color: var(--beed-tone-warning); }
.beed-timeline__marker[data-ui-tone="danger"] { background-color: var(--beed-tone-danger); }
.beed-timeline__title { font-weight: var(--pf-t--global--font--weight--body--bold); }

/* A native select as a toolbar filter (PatternFly's select menu needs its
 * React behaviour): as wide as its longest choice, never squeezed under its
 * own caret. */
.beed-filter { inline-size: auto; min-inline-size: 8rem; }

/* A picture beside the text that names it (a table's vehicle cell). */
.beed-media { display: flex; align-items: flex-start; gap: var(--beed-gap); }
.beed-media > :last-child { min-inline-size: 0; flex: 1 1 auto; }

/* One-line rules for dense rows. `beed-nowrap` never breaks (a figure's
 * qualifier, a sale time). `beed-line` is one line that gives way with an
 * ellipsis (a long title, a VIN) when the row runs out of room. */
.beed-nowrap { white-space: nowrap; }
.beed-line {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* The explanatory line under a status wraps at a readable measure, so the
 * status column never takes the room the record's own column needs. */
.beed-note { max-inline-size: 13rem; }
/* A row's title selects the row. It reads as the record's name, not as a
 * link beside the real outbound link under it; hover and focus still mark it. */
.beed-row-title { color: var(--pf-t--global--text--color--regular); text-decoration: none; }
.beed-row-title:hover, .beed-row-title:focus-visible { text-decoration: underline; }
/* A wide table states how much room it has, and a region too narrow for the
 * one-line rules lets them wrap instead of pushing columns out of sight. */
.beed-fit { container-type: inline-size; }
.beed-fit .beed-media > :last-child { min-inline-size: 9rem; }
@container (max-width: 58rem) {
  .beed-fit .beed-nowrap { white-space: normal; }
}
/* While the table is a table (PatternFly stacks it below md), a region that
 * still cannot hold every column gives up the least important first: the
 * `beed-col-low` column, wide cell padding and the `beed-fold` qualifier
 * lines, then the picture. The record's panel shows all of them. */
@media (min-width: 48rem) {
  @container (max-width: 52rem) {
    .beed-fit .beed-col-low, .beed-fit .beed-fold { display: none; }
    .beed-fit .pf-v6-c-table__th, .beed-fit .pf-v6-c-table__td { padding-inline: var(--pf-t--global--spacer--sm); }
  }
  @container (max-width: 40rem) {
    .beed-fit .beed-thumb { display: none; }
  }
}
/* Stacked rows have one narrow value column: a long title or VIN wraps there. */
@media (max-width: 47.99rem) {
  .beed-fit .beed-line { white-space: normal; overflow-wrap: anywhere; }
  .beed-fit .beed-media > :last-child { min-inline-size: 0; }
}
/* A quarter-width record panel is never narrower than its facts need. */
[data-ui-drawer] > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel.pf-m-width-25 { min-inline-size: 21rem; }

/* A toolbar of native filters wraps onto further lines on a narrow screen;
 * PatternFly's toolbar expects its React overflow behaviour to do that. */
.beed-filters .pf-v6-c-toolbar__content-section,
.beed-filters .pf-v6-c-toolbar__group { flex-wrap: wrap; row-gap: var(--beed-gap-tight); }
.beed-filters .pf-v6-c-toolbar__item { min-inline-size: 0; max-inline-size: 100%; }

/* PatternFly's HTML/CSS release has no positioning engine; a popover opens
 * under its trigger (`data-ui-popover-toggle`), aligned to the trigger's end
 * edge, or to its start edge with `beed-m-align-start`. */
.beed-popover-anchor { position: relative; display: inline-block; }
.beed-popover-anchor > .pf-v6-c-popover {
  position: absolute;
  inset-block-start: calc(100% + var(--pf-t--global--spacer--sm));
  inset-inline-end: 0;
  z-index: var(--beed-layer-menu);
  inline-size: max-content;
  max-inline-size: min(24rem, calc(100vw - 2 * var(--beed-gap)));
  text-align: start;
  font-weight: var(--pf-t--global--font--weight--body--default);
  white-space: normal;
}
.beed-popover-anchor.beed-m-align-start > .pf-v6-c-popover { inset-inline: 0 auto; }
/* On a phone a popover beside its trigger would run off the screen: it spans
 * the viewport between the page gutters instead, under its trigger. */
@media (max-width: 36rem) {
  .beed-popover-anchor { position: static; }
  .beed-popover-anchor > .pf-v6-c-popover,
  .beed-popover-anchor.beed-m-align-start > .pf-v6-c-popover {
    inset-block-start: auto;
    inset-inline: var(--beed-gap);
    inline-size: auto;
    min-inline-size: 0;
    max-inline-size: calc(100vw - 2 * var(--beed-gap));
    margin-block-start: var(--pf-t--global--spacer--sm);
  }
}

/* A table grouped by day (live auctions): the group's name is a row of its
 * own above its records. PatternFly's table has no row-group heading. */
.beed-table-group > .pf-v6-c-table__th {
  padding-block-start: var(--beed-gap-loose);
  font-weight: var(--pf-t--global--font--weight--body--default);
}
.beed-table-group__title {
  font-family: var(--pf-t--global--font--family--heading);
  font-size: var(--pf-t--global--font--size--body--lg);
  color: var(--pf-t--global--text--color--regular);
}
.beed-table-group__caption {
  margin-inline-start: var(--beed-gap-tight);
  color: var(--pf-t--global--text--color--subtle);
  font-size: var(--pf-t--global--font--size--body--sm);
}
/* A record's own rows under it (a sale's lanes), column for column.
 * PatternFly's expandable row is a single full-width cell. */
.beed-subrow { background-color: var(--pf-t--global--background--color--secondary--default); }
.beed-subrow > .pf-v6-c-table__th { padding-inline-start: var(--pf-t--global--spacer--xl); font-weight: var(--pf-t--global--font--weight--body--default); }
/* The name of a row that is not itself a link. */
.beed-row-name { font-weight: var(--pf-t--global--font--weight--body--bold); }

/* ── Sale window ────────────────────────────────────────────────────────────
 * The window that holds a provider's own sale page (ui/window_base.html): a
 * slim masthead of facts, and under it either the opening steps or the
 * provider's page. Nothing here styles the provider's page itself. */
.beed-window { display: flex; flex-direction: column; min-block-size: 100vh; background-color: var(--pf-t--global--background--color--primary--default); }
.beed-window__masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--beed-gap-tight) var(--beed-gap);
  padding: var(--beed-gap-tight) var(--beed-gap-loose);
  border-block-end: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default);
}
.beed-window__facts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--beed-gap-tight) var(--beed-gap); min-inline-size: 0; flex: 1 1 auto; }
.beed-window__facts > * + * { padding-inline-start: var(--beed-gap); border-inline-start: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default); }
.beed-window__sale { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--beed-gap-tight) var(--beed-gap); }
.beed-window__sale-name { font-weight: var(--pf-t--global--font--weight--body--bold); }
.beed-window__fact { color: var(--pf-t--global--text--color--subtle); }
.beed-window__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--beed-gap-tight) var(--beed-gap); margin-inline-start: auto; }
.beed-window__state { display: inline-flex; align-items: center; gap: var(--beed-gap-tight); }
.beed-window__user { display: inline-flex; align-items: center; gap: var(--beed-gap-tight); padding-inline-start: var(--beed-gap); border-inline-start: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default); }
/* The window script's own controls and status line (audio, close, connection). */
.beed-window__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--beed-gap-tight) var(--beed-gap);
  padding: var(--beed-gap-tight) var(--beed-gap-loose);
  color: var(--pf-t--global--text--color--subtle);
  font-size: var(--pf-t--global--font--size--body--sm);
  border-block-end: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default);
}
.beed-window__controls > .beed-window__status { flex: 1 1 auto; margin: 0; color: var(--pf-t--global--text--color--regular); }
.beed-window__main { display: flex; flex-direction: column; flex: 1 1 auto; min-block-size: 0; }
.beed-window__opening { inline-size: min(36rem, 100%); margin-inline: auto; padding: 12vh var(--beed-gap-loose) var(--beed-gap-loose); }
.beed-window__opening > * + * { margin-block-start: var(--beed-gap); }
.beed-window__step-spinner { display: none; }
.pf-m-current > .pf-v6-c-progress-stepper__step-connector .beed-window__step-spinner { display: inline-block; }
.pf-m-current > .pf-v6-c-progress-stepper__step-connector .beed-window__step-mark,
.pf-m-pending > .pf-v6-c-progress-stepper__step-connector .beed-window__step-mark { display: none; }
/* The streamed picture of the provider's page keeps its own proportions; on a
 * narrow screen it scrolls sideways rather than shrinking past legibility. */
.beed-window__screen { overflow: auto; flex: 1 1 auto; }
.beed-window__screen > img { display: block; inline-size: 100%; block-size: auto; max-inline-size: 80rem; margin-inline: auto; touch-action: pan-x pan-y; }
.beed-window__screen > img:focus-visible { outline: var(--pf-t--global--border--width--strong) solid var(--pf-t--global--color--brand--default); outline-offset: calc(-1 * var(--pf-t--global--border--width--strong)); }
@media (max-width: 36rem) {
  .beed-window__screen > img { min-inline-size: 50rem; }
}
/* The provider's own page, unchanged, fills the rest of the window. */
.beed-window__frame { display: block; flex: 1 1 auto; inline-size: 100%; min-block-size: 22.5rem; border: 0; }

/* ── Find vehicles (design 15 November) ────────────────────────────────────
 * The search field takes the room the toolbar has; the filter panel is a
 * column of sections with its actions kept in reach at the end. */
.beed-find__query { flex: 1 1 18rem; max-inline-size: 50rem; }
.beed-find__query .pf-v6-c-text-input-group { inline-size: 100%; }
.beed-find__filters { display: grid; gap: var(--beed-gap); }
.beed-find__chosen {
  margin-inline-start: auto;
  padding-inline-start: var(--beed-gap);
  max-inline-size: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--pf-t--global--font--size--body--sm);
}
.beed-find__narrow { margin-block-end: var(--beed-gap-tight); }
.beed-find__options { display: grid; gap: var(--beed-gap-tight); margin-block-end: var(--beed-gap-tight); }
.beed-find__range { display: grid; grid-template-columns: 1fr 1fr; gap: var(--beed-gap-tight); }
.beed-find__error { color: var(--beed-tone-danger); font-size: var(--pf-t--global--font--size--body--sm); }
.beed-find__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--beed-gap-tight);
  position: sticky;
  inset-block-end: 0;
  padding-block: var(--beed-gap-tight);
  background-color: var(--pf-t--global--background--color--primary--default);
}
.beed-find__summary { align-items: center; margin-block-end: var(--beed-gap-tight); }
.beed-find__notice { margin-block-end: var(--beed-gap); }
.beed-find__group {
  margin-block-start: var(--beed-gap-tight);
  color: var(--pf-t--global--text--color--subtle);
  font-size: var(--pf-t--global--font--size--body--sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.beed-find__options .pf-v6-c-check { grid-template-columns: auto 1fr auto; }
.beed-find__options .pf-v6-c-check__description { grid-column: 3; grid-row: 1; margin: 0; }

/* Signed-out entry pages (designs "C01 Member sign in" and "B01 Staff sign
 * in", Milestone 1): one 30rem card at every width, on the page's secondary
 * surface. PatternFly's login layout moves its header beside the card on a
 * wide screen, sets the title beside its description and centres the card in
 * the window; the approved design stacks the identity, the title and its one
 * sentence inside the card, pads the card by one xl step all round and keeps
 * its top edge still, so a message arriving above the form never moves the
 * heading. Every size below is a PatternFly spacer, radius or width token. */
.beed-entry { background-color: var(--pf-t--global--background--color--secondary--default); }
@media (min-width: 36rem) {
  /* From `sm` up PatternFly centres the card; here it hangs from a fixed line. */
  .beed-entry {
    align-items: flex-start;
    padding-block-start: clamp(var(--pf-t--global--spacer--lg), 18.52vh, calc(2.5 * var(--pf-t--global--spacer--4xl)));
  }
}
.beed-entry > .pf-v6-c-login__container { display: block; max-inline-size: calc(30rem + 2 * var(--beed-gap)); padding-inline: var(--beed-gap); }
.beed-entry .pf-v6-c-login__main {
  border: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default);
  border-radius: var(--pf-t--global--border--radius--medium);
}
.beed-entry .pf-v6-c-login__main > .pf-v6-c-login__main-header {
  display: block;
  padding: var(--pf-t--global--spacer--xl) var(--pf-t--global--spacer--xl) 0;
}
.beed-entry .pf-v6-c-login__main > .pf-v6-c-login__main-body {
  padding: var(--pf-t--global--spacer--lg) var(--pf-t--global--spacer--xl) var(--pf-t--global--spacer--xl);
}
.beed-entry .pf-v6-c-login__main-header > p { margin-block-start: var(--pf-t--global--spacer--xs); color: var(--pf-t--global--text--color--subtle); }
.beed-entry .pf-v6-c-login__footer { padding-inline: 0; }
/* The identity row is as tall as the wordmark: the theme switch beside it is a
 * larger target that must not push the title down. */
.beed-entry__brand { display: flex; align-items: center; min-block-size: var(--pf-t--global--spacer--lg); margin-block-end: var(--beed-gap); }
.beed-entry__brand > :last-child { margin-block: calc(-1 * var(--pf-t--global--spacer--sm)); margin-inline-end: calc(-1 * var(--pf-t--global--spacer--sm)); }
.beed-entry__identity { display: flex; align-items: center; gap: var(--pf-t--global--spacer--sm); min-inline-size: 0; }
.beed-entry__identity > .beed-brand { display: flex; align-items: center; min-inline-size: 0; line-height: var(--pf-t--global--font--line-height--heading); }
/* In the card the broker's name is written at reading weight beside the mark. */
.beed-entry .beed-brand__org { font-weight: var(--pf-t--global--font--weight--body--default); }
.beed-entry__messages { margin-block-end: var(--beed-gap-loose); }
/* Blocks of an entry card (message, returning account, form) sit one form
 * step apart, the same gap PatternFly's form puts between its groups. */
.beed-entry__stack { display: grid; gap: var(--pf-t--global--spacer--lg); }
.beed-entry__stack > * { min-inline-size: 0; }
/* Remember me and Forgot password share a line; on a narrow card the link
 * moves under the checkbox whole instead of both breaking mid-phrase. */
.beed-entry__options { row-gap: var(--pf-t--global--spacer--sm); }
.beed-entry__options > * { white-space: nowrap; }
/* The main action and the quieter one under it. */
.beed-entry__actions { display: grid; gap: var(--pf-t--global--spacer--sm); }
.beed-entry__rule { margin-block: var(--beed-gap-loose); }
/* Footer lines under the rule; the question that leads one ("Invited?"). */
.beed-entry__links { display: grid; gap: var(--pf-t--global--spacer--sm); }
.beed-entry__lead { color: var(--pf-t--global--text--color--subtle); }
.beed-entry__links .pf-v6-c-button.pf-m-plain { vertical-align: middle; color: var(--pf-t--global--icon--color--subtle); }
/* The help under its trigger: PatternFly's 20rem popover, its arrow on the
 * trigger. On a phone the popover spans the screen and has no arrow to aim. */
@media not all and (max-width: 36rem) {
  .beed-entry .beed-popover-anchor.beed-m-align-start > .pf-v6-c-popover {
    inset-block-start: calc(100% + var(--pf-t--global--spacer--sm) + var(--pf-t--global--spacer--xs));
    inset-inline-start: calc(-1 * var(--pf-t--global--spacer--md));
    inline-size: 20rem;
  }
}
@media (max-width: 36rem) { .beed-entry .pf-v6-c-popover__arrow { display: none; } }
/* An outcome that replaces the form: its tone's icon on a line of its own
 * above the sentence. */
.beed-entry__status-icon { display: flex; margin-block-end: var(--beed-gap); }
/* The summary, the outcome sentence and a late message take focus only to be
 * announced; none of them is a control, so they carry no focus ring. */
.beed-entry__summary:focus, .beed-entry__status:focus, .beed-entry [role="alert"][tabindex="-1"]:focus { outline: none; }
/* The account this device last used: who, and the way to change it. */
.beed-entry__known { display: flex; align-items: center; gap: var(--pf-t--global--spacer--md); }
.beed-entry__known-name { flex: 1 1 auto; min-inline-size: 0; overflow-wrap: anywhere; }
/* A field in use is marked on its own border (design: the 2px "clicked"
 * control border) instead of the browser's ring inside the box. */
.beed-entry .pf-v6-c-form-control:focus-within::after { border-width: var(--pf-t--global--border--width--control--clicked); }
.beed-entry .pf-v6-c-form-control:not(.pf-m-error):focus-within::after { border-color: var(--pf-t--global--border--color--clicked); }
.beed-entry .pf-v6-c-form-control > input:focus-visible { outline: none; }
/* A password field keeps a live region under it for the Caps Lock note; while
 * that region shows nothing it takes no room, so the fields keep their step. */
.beed-entry .pf-v6-c-form__helper-text:not(:has(.pf-v6-c-helper-text__item:not([hidden]))) { margin-block-start: 0; }
/* While the form is being sent its button shows the spinner in the button's
 * own colours (design "Submitting"); the shared once-only guard would grey it. */
.beed-entry .pf-v6-c-button.pf-m-primary.pf-m-in-progress.pf-m-aria-disabled {
  background-color: var(--pf-t--global--color--brand--default);
  color: var(--pf-t--global--text--color--on-brand--default);
}
/* PatternFly animates a full-width button's padding as the page first appears.
 * On a signed-out page that is the Sign in button moving while it is being
 * reached for, and a browser without script never sees it settle. */
.beed-entry .pf-v6-c-button { transition: none; }

/* ── Broker Overview (design B02, 19 November) ───────────────────────────── */

/* Text that carries a tone beside its words (an overdue date, a stale read).
 * PatternFly's HTML/CSS release has no text-colour utilities. */
.beed-toned[data-ui-tone="danger"] { color: var(--pf-t--global--text--color--status--danger--default); }
.beed-toned[data-ui-tone="warning"] { color: var(--pf-t--global--text--color--status--warning--default); }
.beed-toned[data-ui-tone="success"] { color: var(--pf-t--global--text--color--status--success--default); }
.beed-toned[data-ui-tone="info"] { color: var(--pf-t--global--text--color--status--info--default); }

/* A card whose whole subject has a tone: its outline says so, and its text
 * says why. PatternFly's card has no status variant. */
.pf-v6-c-card.beed-toned-card[data-ui-tone="danger"] { border-color: var(--pf-t--global--border--color--status--danger--default); }
.pf-v6-c-card.beed-toned-card[data-ui-tone="warning"] { border-color: var(--pf-t--global--border--color--status--warning--default); }
.pf-v6-c-card.beed-toned-card[data-ui-tone="success"] { border-color: var(--pf-t--global--border--color--status--success--default); }
/* PatternFly 6.7 draws a card's outline on its ::before, so the tone is set there too. */
.pf-v6-c-card.beed-toned-card[data-ui-tone="danger"]::before { border-color: var(--pf-t--global--border--color--status--danger--default); }
.pf-v6-c-card.beed-toned-card[data-ui-tone="warning"]::before { border-color: var(--pf-t--global--border--color--status--warning--default); }
.pf-v6-c-card.beed-toned-card[data-ui-tone="success"]::before { border-color: var(--pf-t--global--border--color--status--success--default); }

/* Four summary cards with money in them need more room each than the five
 * count cards of `beed-summary`. */
.beed-summary--wide { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.beed-summary--wide > .pf-v6-c-card { min-inline-size: 0; }
.beed-stat__note {
  font-family: var(--pf-t--global--font--family--body);
  font-size: var(--pf-t--global--font--size--body--default);
  color: var(--pf-t--global--text--color--subtle);
}
.beed-stat--none { color: var(--pf-t--global--text--color--subtle); }
.beed-stat__note { font-weight: var(--pf-t--global--font--weight--body--default); white-space: nowrap; }
.beed-stat__title .pf-v6-c-button__icon { color: var(--pf-t--global--icon--color--subtle); }

/* A card's last line and a card's heading: the link or name at the start, its
 * source or caption at the end, wrapping when the card is narrow. */
.beed-card-foot, .beed-card-head, .beed-rows__head, .beed-freshness {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--beed-gap-tight) var(--beed-gap);
}
.beed-card-head > .beed-secondary, .beed-card-foot > .beed-secondary { display: inline; }
.beed-freshness { justify-content: flex-end; align-items: center; }
.beed-inline { display: inline; }

/* The Overview's two regions: the wins table and the column of account
 * state, sales and activity. Beside one another from 2xl, where the table's
 * five columns still fit; below that the side cards sit in columns of their
 * own under the table. PatternFly's grid cannot give the side column a
 * readable minimum. */
.beed-overview { display: grid; gap: var(--beed-gap-loose); grid-template-columns: minmax(0, 1fr); }
.beed-overview__side {
  display: grid;
  gap: var(--beed-gap-loose);
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
}
.beed-overview__main, .beed-overview__side > * { min-inline-size: 0; }
@media (min-width: 90.625rem) {
  .beed-overview { grid-template-columns: minmax(0, 2.2fr) minmax(24rem, 1fr); align-items: start; }
  .beed-overview__side { grid-template-columns: minmax(0, 1fr); }
}

/* The one status a side card is about: its icon, then its words. */
.beed-status-card { display: flex; gap: var(--beed-gap); align-items: flex-start; }
.beed-status-card__title {
  font-size: var(--pf-t--global--font--size--body--default);
  font-weight: var(--pf-t--global--font--weight--body--bold);
  margin-block-end: var(--pf-t--global--spacer--xs);
}

/* Short records under one another in a card (finished sales, items to
 * review), each separated by a rule. Lighter than a table or a data list. */
.beed-rows, .beed-events, .beed-steps { list-style: none; margin: 0; padding: 0; }
.beed-rows__item { padding-block: var(--beed-gap); border-block-end: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default); }
.beed-rows__item:first-child { padding-block-start: 0; }
.beed-rows__item:last-child { border-block-end: 0; padding-block-end: 0; }

/* Dated events grouped under their day: a glyph, what happened, the hour. */
.beed-day {
  margin-block: var(--beed-gap) var(--beed-gap-tight);
  font-size: var(--pf-t--global--font--size--body--sm);
  color: var(--pf-t--global--text--color--subtle);
  text-transform: uppercase;
}
.beed-day:first-child { margin-block-start: 0; }
.beed-events__item { display: flex; gap: var(--beed-gap); align-items: flex-start; padding-block: var(--beed-gap-tight); }
.beed-events__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  inline-size: 1.75rem;
  block-size: 1.75rem;
  border-radius: var(--pf-t--global--border--radius--pill);
  background-color: var(--pf-t--global--background--color--secondary--default);
}
.beed-events__text { flex: 1 1 auto; min-inline-size: 0; }

/* Numbered setup steps (new organization): the number, the step, its action. */
.beed-steps__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--beed-gap);
  padding-block: var(--beed-gap);
  border-block-start: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default);
}
.beed-steps { margin-block-start: var(--beed-gap); }
.beed-steps__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  inline-size: 1.75rem;
  block-size: 1.75rem;
  border-radius: var(--pf-t--global--border--radius--pill);
  border: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--brand--default);
  font-size: var(--pf-t--global--font--size--body--sm);
}
.beed-steps__item[data-done] .beed-steps__number { border-color: var(--pf-t--global--border--color--status--success--default); color: var(--pf-t--global--text--color--status--success--default); }
.beed-steps__text { flex: 1 1 16rem; min-inline-size: 0; }

/* Paragraphs of help in a popover, and a preview's facts under its heading. */
.beed-prose > p + p { margin-block-start: var(--beed-gap); }
.beed-preview-facts { margin-block-start: var(--beed-gap); }

/* The invitation dialog's fields sit in pairs when there is room. */
.beed-invite__pair { display: grid; gap: var(--beed-gap); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }

/* A card whose rows open a popover lets it reach past the card's edge;
 * PatternFly's card scrolls its overflow, which would cut the popover. */
.pf-v6-c-card.beed-card-open { overflow: visible; }

/* B05 member directory: stack contact details and wrap filters on narrow screens. */
.beed-member-crumb { padding: var(--beed-gap) var(--pf-t--global--spacer--lg) 0; font-size: var(--pf-t--global--font--size--sm); }
.beed-member-form { max-inline-size: 48rem; }
/* B05 Members directory (Figma "B05 Members"). One bordered panel holds the
 * toolbar, the table and its paging row, as the frame draws it. PatternFly has
 * no component for a cell's second and third lines, a logo-and-flag pair or a
 * fixed column split, so those are composed here from tokens. */
/* The frame sets the panel 8px under the tabs and 24px above the page's end. */
.beed-directory.pf-v6-c-page__main-section { padding-block: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--lg); }
.beed-directory__panel {
  border: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default);
  background: var(--pf-t--global--background--color--primary--default);
}
/* PatternFly's toolbar expects a padded container; here it is the panel's first row. */
.beed-directory__panel > .pf-v6-c-toolbar { padding: var(--pf-t--global--spacer--md); }
.beed-directory__search { inline-size: min(100%, 21.25rem); }
.beed-directory__search > .pf-v6-c-text-input-group { inline-size: 100%; }
/* A native select sized to its text needs room for the caret PatternFly lays over its end. */
.beed-directory .beed-filter > select { padding-inline-end: var(--pf-t--global--spacer--2xl); }
.beed-directory__count { align-self: center; color: var(--pf-t--global--text--color--subtle); }
/* The frame gives an empty directory 64px above and below its message. */
.beed-directory__empty { padding-block: var(--pf-t--global--spacer--3xl); }
.beed-directory__link { margin: 0; padding: var(--pf-t--global--spacer--md) var(--pf-t--global--spacer--md) 0; color: var(--pf-t--global--text--color--subtle); font-size: var(--pf-t--global--font--size--body--sm); overflow-wrap: anywhere; }
/* The frame's column split (of 1568: 280, 200, 150, 220, 200 and 64), kept as
 * shares so the member column absorbs a narrower panel. */
/* The frame's table, as on B03: header words at body size over a rule, and the
 * first and last cells inset like the toolbar above them. */
.beed-directory__table > thead > tr > th { border-block-end: var(--pf-t--global--border--width--divider--default) solid var(--pf-t--global--border--color--default); font-size: var(--pf-t--global--font--size--body--default); }
.beed-directory__table > :is(thead, tbody) > tr > :first-child { padding-inline-start: var(--pf-t--global--spacer--md); }
.beed-directory__table > :is(thead, tbody) > tr > :last-child { padding-inline-end: var(--pf-t--global--spacer--md); }
/* Exact shares only where the frame's width is available (2xl); narrower, they are hints and no word is cut. */
@media (min-width: 90.625rem) { .beed-directory__table { table-layout: fixed; } }
.beed-directory__table thead .beed-directory__col-invitation { inline-size: 17.86%; }
.beed-directory__table thead .beed-directory__col-access, .beed-directory__table thead .beed-directory__col-login { inline-size: 12.76%; }
.beed-directory__table thead .beed-directory__col-permission { inline-size: 9.57%; }
/* "Last sign-in" must not break at its hyphen when the column is narrow (1440). */
.beed-directory__table thead .beed-directory__col-login .pf-v6-c-table__text { white-space: nowrap; }
.beed-directory__table thead .beed-directory__col-accounts { inline-size: 14.03%; }
.beed-directory__table thead .beed-directory__col-action { inline-size: 4.5rem; }
.beed-directory__table thead .beed-directory__col-message { inline-size: 31%; }
.beed-directory__table thead .beed-directory__col-asked { inline-size: 12.76%; }
.beed-directory__table thead .beed-directory__col-status { inline-size: 14.03%; }
.beed-directory__table thead .beed-directory__col-decide { inline-size: 14.5%; }
.beed-directory td { overflow-wrap: anywhere; }
/* In the stacked (narrow) table a cell is a grid; a label keeps its own width
 * and a quiet value leaves its column name at full strength. */
.beed-directory__table td.beed-directory__quiet::before { color: var(--pf-t--global--text--color--regular); }
.beed-directory td > .pf-v6-c-label { justify-self: start; }
.beed-directory td small {
  display: block;
  margin-block-start: var(--pf-t--global--spacer--xs);
  color: var(--pf-t--global--text--color--subtle);
  font-size: var(--pf-t--global--font--size--body--sm);
  line-height: var(--pf-t--global--font--line-height--body);
}
.beed-directory__name { font-weight: var(--pf-t--global--font--weight--body--bold); text-decoration: none; }
a.beed-directory__name:hover, a.beed-directory__name:focus-visible { text-decoration: underline; }
.beed-directory__quiet, .beed-directory__table td.beed-directory__quiet, .beed-directory__removed .beed-directory__name { color: var(--pf-t--global--text--color--subtle); }
.beed-directory__marks { display: flex; flex-wrap: wrap; align-items: center; gap: var(--pf-t--global--spacer--xs) var(--pf-t--global--spacer--sm); }
.beed-directory__mark { display: inline-flex; align-items: center; gap: var(--pf-t--global--spacer--xs); }
.beed-directory__delivery { margin-block-start: var(--pf-t--global--spacer--xs); }
.beed-directory__decide { display: flex; align-items: center; justify-content: flex-end; }
@media (max-width: 61.99rem) { .beed-directory__decide { justify-content: flex-start; } }
/* A row menu with descriptions wraps at the frame's width instead of growing
 * to its longest line; on the last rows of a long page it opens upward, where
 * PatternFly's React positioning would flip it. */
.beed-directory .beed-menu-anchor > .pf-v6-c-menu { inline-size: 20rem; max-inline-size: calc(100vw - var(--pf-t--global--spacer--2xl)); min-inline-size: 0; }
.beed-directory tbody > tr:nth-child(n+6):nth-last-child(-n+4) .beed-menu-anchor > .pf-v6-c-menu { inset-block: auto 100%; }
.beed-directory__foot {
  display: flex;
  justify-content: flex-end;
  padding: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--md);
}
.beed-directory__table + .beed-directory__foot { border-block-start: 0; }
/* Dialogs of the directory: the quoted request, the per-channel result rows
 * and the closing rule under a form. */
.beed-directory-quote { margin: 0; padding-inline-start: var(--pf-t--global--spacer--md); border-inline-start: var(--pf-t--global--border--width--extra-strong) solid var(--pf-t--global--border--color--default); color: var(--pf-t--global--text--color--subtle); }
.beed-directory-result { list-style: none; margin: 0; padding: 0; border: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default); border-radius: var(--pf-t--global--border--radius--small); }
.beed-directory-result > li { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--md); padding: var(--pf-t--global--spacer--md); }
.beed-directory-result > li + li { border-block-start: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default); }
.beed-directory-result__main { flex: 1 1 16rem; min-inline-size: 0; display: grid; gap: var(--pf-t--global--spacer--xs); }
.beed-directory-result__target { font-weight: var(--pf-t--global--font--weight--body--bold); overflow-wrap: anywhere; }
.beed-directory-rule { color: var(--pf-t--global--text--color--regular); font-size: var(--pf-t--global--font--size--body--sm); }
.beed-directory-stack { display: grid; gap: var(--pf-t--global--spacer--md); }

/* B06 member page (M5.01). The ID/joined line and the state label share one
 * wrapping line under the title; a lifecycle row ends in its own action; the
 * app sign-ins sit as plain lines under the sessions row; a card or form the
 * B05 menu links to by #anchor stops below the masthead, not under it. */
.beed-member-balance { white-space: normal; overflow-wrap: anywhere; }
.beed-member-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--beed-gap-tight); }
.beed-row-actions { margin-block-start: var(--beed-gap-tight); }
.beed-device-list { list-style: none; margin: var(--beed-gap-tight) 0 0; padding: 0; }
.beed-device-list > li + li { margin-block-start: var(--pf-t--global--spacer--xs); }
.beed-device-list .beed-secondary { display: inline; }
.beed-anchor { scroll-margin-block-start: var(--pf-t--global--spacer--3xl); }

/* Record tables (C06, docs/SCOPE-requirements.md "Carbon tables"):
 * js/data-table.js gives a PatternFly table's headers PatternFly sort buttons
 * that reorder only the loaded rows. Its one glyph shows both directions while
 * a column is unsorted and the active direction once it is. */
:is(.pf-v6-c-table__sort-indicator, .beed-stacked-sort) svg [data-unsorted],
:is(.pf-v6-c-table__sort-indicator, .beed-stacked-sort) svg[data-direction="0"] [data-sorted] { display: none; }
:is(.pf-v6-c-table__sort-indicator, .beed-stacked-sort) svg[data-direction="0"] [data-unsorted] { display: inline; }
:is(.pf-v6-c-table__sort-indicator, .beed-stacked-sort) svg[data-direction="1"] { transform: rotate(180deg); }
/* A stacked pf-m-grid-md table has no header row (PatternFly hides it under
 * the same container condition below), so its sort buttons sit above it. */
.beed-stacked-sort { display: none; }
@container pf-v6-contain-table (max-width: calc(48rem - 1px)) {
  .beed-stacked-sort {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: var(--pf-t--global--spacer--sm);
    margin-block-end: var(--pf-t--global--spacer--md);
  }
}

/* M5.02 private notes: an unbroken word or link in a note wraps inside its
 * card at 390 px and 200 % zoom instead of widening the page. */
.beed-note-body { overflow-wrap: anywhere; }

/* M5.03 welcome text: the preview is the exact text a broker copies, so its
 * line breaks and numbered steps are kept; the sign-in address wraps inside
 * the card at 390 px and 200 % zoom. PatternFly has no preformatted block. */
.beed-welcome-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-block: var(--pf-t--global--spacer--sm);
  padding: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--md);
  border: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default);
  border-radius: var(--pf-t--global--border--radius--small);
  background: var(--pf-t--global--background--color--secondary--default);
}

/* P01 Public entry page (approved design, Milestone 1). A marketing page of
 * full-width bands with a centred 75rem column: PatternFly's Page is an
 * application frame (grey chrome, inset rounded main) and has no band, hero,
 * eyebrow or figure. Everything inside the bands is a PatternFly component
 * (Card, Button, Divider, Menu, Menu toggle, Title, Icon, List, Modal). */
.beed-public {
  display: flex;
  flex-direction: column;
  min-block-size: 100vh;
  background: var(--pf-t--global--background--color--primary--default);
  color: var(--pf-t--global--text--color--regular);
}
.beed-public__body { position: relative; display: flex; flex-direction: column; flex: 1 0 auto; }
.beed-public__body > main { flex: 1 0 auto; }
.beed-public__inner {
  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: calc(75rem + 2 * var(--pf-t--global--spacer--md));
  margin-inline: auto;
  padding-inline: var(--pf-t--global--spacer--md);
}
/* Masthead: white bar with a rule, brand at the start, entrances at the end. */
.beed-public__masthead {
  position: relative;
  z-index: var(--beed-layer-menu);
  background: var(--pf-t--global--background--color--primary--default);
  border-block-end: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default);
}
.beed-public__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pf-t--global--spacer--md);
  min-block-size: var(--pf-t--global--spacer--3xl);
}
.beed-public__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--pf-t--global--spacer--sm);
  font-family: var(--pf-t--global--font--family--heading);
  font-size: var(--pf-t--global--font--size--2xl);
  font-weight: var(--pf-t--global--font--weight--heading--default);
  line-height: var(--pf-t--global--font--line-height--heading);
  color: var(--pf-t--global--text--color--regular);
  text-decoration: none;
}
/* The mark keeps its own proportions (19.25 : 30) at 1.25 times the word's size. */
.beed-public__mark { display: inline-flex; font-size: 1.25em; }
.beed-public__mark > .pf-v6-svg { inline-size: calc(1em * 19.2473 / 30); block-size: 1em; fill-rule: evenodd; }
.beed-public__nav { display: none; }
/* The narrow-screen toggle shows the glyph of what it does next. */
.beed-public__toggle [data-public-menu-icon="close"],
.beed-public__toggle[aria-expanded="true"] [data-public-menu-icon="open"] { display: none; }
.beed-public__toggle[aria-expanded="true"] [data-public-menu-icon="close"] { display: inline-flex; }
/* The narrow-screen menu is a sheet under the masthead, as wide as the page,
 * over a scrim; PatternFly's Menu has no full-width placement. */
.beed-public__masthead > .pf-v6-c-menu {
  position: absolute;
  inset-block-start: 100%;
  inset-inline: 0;
  border-radius: var(--pf-t--global--border--radius--sharp);
}
.beed-public__masthead .pf-v6-c-divider {
  margin-block: calc(var(--pf-t--global--spacer--sm) + var(--pf-t--global--spacer--xs));
}
.beed-public__scrim {
  display: none;
  position: absolute;
  inset: 0;
  z-index: var(--pf-t--global--z-index--xs);
  background: color-mix(in srgb, var(--pf-t--global--background--color--backdrop--default) 50%, transparent);
}
@media not all and (min-width: 48rem) {
  .beed-public:has(#public-menu:not([hidden])) .beed-public__scrim { display: block; }
}
/* Bands. */
.beed-public__band { padding-block: var(--pf-t--global--spacer--2xl); }
.beed-public__band.beed-m-secondary { background: var(--pf-t--global--background--color--secondary--default); }
.beed-public__band.beed-m-hero { padding-block: var(--pf-t--global--spacer--xl) var(--pf-t--global--spacer--2xl); }
.beed-public__hero { display: flex; flex-direction: column; gap: var(--pf-t--global--spacer--xl); }
.beed-public__purpose { display: flex; flex-direction: column; gap: var(--pf-t--global--spacer--lg); min-inline-size: 0; }
.beed-public__heading { display: flex; flex-direction: column; gap: var(--pf-t--global--spacer--md); }
/* The hero line breaks into even lines instead of leaving one word behind. */
.beed-public__display { text-wrap: balance; }
.beed-public__eyebrow {
  font-size: var(--pf-t--global--font--size--xs);
  font-weight: var(--pf-t--global--font--weight--body--bold);
  line-height: var(--pf-t--global--font--line-height--heading);
  letter-spacing: var(--beed-public-eyebrow-letter-spacing);
  text-transform: uppercase;
  color: var(--pf-t--global--text--color--subtle);
}
.beed-public__lede {
  font-size: var(--pf-t--global--font--size--body--lg);
  line-height: var(--pf-t--global--font--line-height--body);
  color: var(--pf-t--global--text--color--subtle);
}
.beed-public__note {
  display: flex;
  align-items: flex-start;
  gap: var(--pf-t--global--spacer--sm);
  font-size: var(--pf-t--global--font--size--body--default);
  color: var(--pf-t--global--text--color--subtle);
}
.beed-public__note > .pf-v6-c-icon { flex: none; margin-block-start: var(--pf-t--global--spacer--xs); color: var(--pf-t--global--icon--color--regular); }
/* The sign-in card: one entrance per role, glyph in a round well beside it. */
.beed-public__doors { display: flex; flex-direction: column; gap: var(--pf-t--global--spacer--md); }
.beed-public__door { display: flex; align-items: flex-start; gap: var(--pf-t--global--spacer--md); }
.beed-public__door-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: calc(var(--pf-t--global--spacer--xl) + var(--pf-t--global--spacer--sm));
  block-size: calc(var(--pf-t--global--spacer--xl) + var(--pf-t--global--spacer--sm));
  border-radius: var(--pf-t--global--border--radius--pill);
  background: var(--pf-t--global--background--color--secondary--default);
  color: var(--pf-t--global--icon--color--brand--default);
  font-size: var(--pf-t--global--icon--size--font--lg);
}
.beed-public__door-content { flex: 1 1 0; min-inline-size: 0; display: flex; flex-direction: column; gap: var(--pf-t--global--spacer--md); }
.beed-public__door-heading { display: flex; flex-direction: column; gap: var(--pf-t--global--spacer--xs); }
.beed-public__door-actions { display: flex; flex-direction: column; align-items: stretch; gap: var(--pf-t--global--spacer--sm); }
.beed-public__text { font-size: var(--pf-t--global--font--size--body--default); color: var(--pf-t--global--text--color--subtle); }
/* How it works: numbered steps, stacked, then three across. */
.beed-public__section-heading { display: flex; flex-direction: column; gap: var(--pf-t--global--spacer--sm); margin-block-end: var(--pf-t--global--spacer--lg); }
.beed-public__steps { display: grid; gap: var(--pf-t--global--spacer--md); }
.beed-public__step { display: flex; flex-direction: column; gap: var(--pf-t--global--spacer--md); }
.beed-public__step-text { display: flex; flex-direction: column; gap: var(--pf-t--global--spacer--sm); }
/* Facts: one large figure over its caption. */
.beed-public__facts { display: grid; gap: var(--pf-t--global--spacer--lg); }
.beed-public__fact { display: flex; flex-direction: column; gap: var(--pf-t--global--spacer--xs); }
.beed-public__figure {
  font-family: var(--pf-t--global--font--family--heading);
  font-size: var(--beed-public-figure-font-size);
  font-weight: var(--pf-t--global--font--weight--body--default);
  line-height: var(--pf-t--global--font--line-height--heading);
}
.beed-public__facts-note { margin-block-start: var(--pf-t--global--spacer--lg); }
.beed-public__footer {
  border-block-start: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default);
  padding-block: var(--pf-t--global--spacer--lg) var(--pf-t--global--spacer--xl);
}
.beed-public__footer-bar { display: flex; flex-direction: column; align-items: flex-start; gap: var(--pf-t--global--spacer--sm); }
.beed-public__footer-links { display: flex; flex-direction: column; align-items: flex-start; }
/* The questions in "How to get access": body text in the emphasis weight. */
.beed-public__question { font-size: var(--pf-t--global--font--size--body--default); font-weight: var(--pf-t--global--font--weight--body--bold); }
@media (min-width: 48rem) {
  .beed-public__inner {
    max-inline-size: calc(75rem + 2 * var(--pf-t--global--spacer--lg));
    padding-inline: var(--pf-t--global--spacer--lg);
  }
  .beed-public__bar { min-block-size: calc(var(--pf-t--global--spacer--3xl) + var(--pf-t--global--spacer--sm)); }
  .beed-public__nav { display: block; }
  .beed-public__toggle, .beed-public__masthead > .pf-v6-c-menu { display: none; }
  .beed-public__door-actions { flex-direction: row; align-items: center; gap: var(--pf-t--global--spacer--md); }
  .beed-public__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pf-t--global--spacer--lg); }
  .beed-public__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beed-public__footer { padding-block: var(--pf-t--global--spacer--lg); }
  .beed-public__footer-bar { flex-direction: row; align-items: center; justify-content: space-between; }
  .beed-public__footer-links { flex-direction: row; align-items: center; gap: var(--pf-t--global--spacer--sm); }
}
@media (min-width: 62rem) {
  .beed-public__band { padding-block: var(--pf-t--global--spacer--4xl); }
  .beed-public__band.beed-m-hero { padding-block: var(--pf-t--global--spacer--4xl); }
  .beed-public__band.beed-m-facts { padding-block: var(--pf-t--global--spacer--2xl); }
  .beed-public__hero { flex-direction: row; align-items: center; gap: var(--pf-t--global--spacer--3xl); }
  .beed-public__purpose { flex: 1 1 0; }
  .beed-public__entry { flex: none; inline-size: 31.25rem; }
  .beed-public .beed-public__display {
    font-size: var(--beed-public-display-font-size);
    line-height: var(--beed-public-display-line-height);
    letter-spacing: var(--beed-public-display-letter-spacing);
  }
  .beed-public__lede { font-size: var(--pf-t--global--font--size--lg); }
  .beed-public .beed-public__section-title { font-size: var(--beed-public-title-font-size); }
  .beed-public__section-heading { margin-block-end: var(--pf-t--global--spacer--xl); }
}

/* ── Broker shell and Overview fidelity (Figma B02, 28 November) ─────────── */

/* The broker menu's reference row sits at the foot of the menu, apart from
 * the work rows (design: "pinned to the bottom"). PatternFly's nav has no
 * footer slot; the last sidebar body already fills the sidebar's height. */
.pf-v6-c-page__sidebar-body:has(> .pf-v6-c-nav > .beed-nav-foot),
.pf-v6-c-nav:has(> .beed-nav-foot) { display: flex; flex-direction: column; flex: 1 1 auto; }
.beed-nav-foot { margin-block-start: auto; padding-block-start: var(--beed-gap-loose); }

/* A page title and the sentence under it (PatternFly page header: text to
 * element gap). */
.pf-v6-c-page__main-section h1.pf-v6-c-title + p { margin-block-start: var(--pf-t--global--spacer--sm); }

/* The Overview's regions sit one gutter apart inside a single padded section
 * (design: one loose gap between the freshness line, the figures and the panels);
 * separate PatternFly page sections would add their paddings together. */
.pf-v6-c-page__main-section.beed-dash { padding-block-start: var(--pf-t--global--spacer--sm); }
.beed-dash__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--beed-gap-loose); }
/* Body-sized subtle text: a panel's one sentence, an empty panel's reason. */
.beed-dash__lede, .beed-freshness__text { color: var(--pf-t--global--text--color--subtle); }
.beed-freshness__text > .pf-v6-svg, .beed-freshness__text .beed-toned > .pf-v6-svg,
.beed-stat__hint > .pf-v6-svg { vertical-align: -0.125em; margin-inline-end: var(--pf-t--global--spacer--xs); }

/* Overview summary cards (design "B02 metric card"): name and help, figure,
 * hint, then the link and source held at the card's foot. */
.beed-dash .beed-summary--wide > .pf-v6-c-card > .pf-v6-c-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--pf-t--global--spacer--xs);
  padding-block: var(--beed-gap) var(--pf-t--global--spacer--xs);
}
.beed-dash .beed-summary--wide > .pf-v6-c-card > .pf-v6-c-card__footer { padding-block-end: var(--beed-gap); }
.beed-dash .beed-summary--wide > .pf-v6-c-card > .pf-v6-c-card__body:last-child { padding-block-end: var(--beed-gap); }
.beed-dash .beed-summary--wide > .pf-v6-c-card { min-block-size: 10rem; }
.beed-dash .beed-stat__title {
  gap: var(--pf-t--global--spacer--xs);
  margin-block-end: 0;
  font-weight: var(--pf-t--global--font--weight--body--bold);
}
.beed-dash .beed-stat { font-size: var(--pf-t--global--font--size--3xl); }
.beed-dash .beed-stat > .beed-stat__note { margin-inline-start: var(--pf-t--global--spacer--xs); }
.beed-stat__hint { display: block; color: var(--pf-t--global--text--color--subtle); }
.beed-card-foot__note { flex: 1 0 100%; }
.beed-card-foot__note.beed-secondary { display: block; }

/* A panel heading's count and its caption with a link. */
.beed-card-head__title { display: inline-flex; align-items: center; gap: var(--beed-gap-tight); }
.beed-card-head__meta { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: var(--beed-gap-tight); }

/* A second label under a row's status (the stale mark) starts its own line. */
.beed-label-line { display: block; margin-block-start: var(--pf-t--global--spacer--xs); }
.beed-dash .beed-label-line + .beed-note { margin-block-start: var(--pf-t--global--spacer--xs); }
/* The row's action ends the row while the table is a table. PatternFly's
 * own action cell moves beside the first cell once the rows stack, which
 * leaves a car's name no room on a phone. */
@media (min-width: 48rem) {
  .pf-v6-c-table__td.beed-cell-end { text-align: end; }
}

/* Names inside the Overview's short records carry PatternFly's body bold,
 * not the browser's `bolder`. */
.beed-dash .beed-rows__head strong, .beed-dash .beed-events__text strong, .beed-dash .beed-steps__text strong {
  font-weight: var(--pf-t--global--font--weight--body--bold);
}
.beed-dash .beed-events__text strong { display: block; }
.beed-dash .beed-day { font-weight: var(--pf-t--global--font--weight--body--bold); }
/* A sale's marks, name and day on one centred line. */
.beed-dash .beed-rows__head { align-items: center; }
.beed-sale-line { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--pf-t--global--spacer--xs) var(--beed-gap-tight); }

/* Setup steps: the step's sentence is body text; a step that waits for the
 * others is drawn in the neutral colour (its words say what it waits for). */
.beed-steps__body { display: block; color: var(--pf-t--global--text--color--subtle); }
.beed-steps__item[data-waiting] .beed-steps__number { border-color: var(--pf-t--global--border--color--default); color: var(--pf-t--global--text--color--subtle); }

/* B03 Auction accounts (Figma "B03 Auction accounts"). One bordered panel holds
 * the toolbar and the table, as the frames draw it. PatternFly has no component
 * for a cell's second line or a fixed column split, so those are composed here
 * from tokens. */
.beed-accounts__lede { margin-block-start: var(--pf-t--global--spacer--sm); }
.beed-accounts__panel {
  border: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default);
  background: var(--pf-t--global--background--color--primary--default);
}
/* PatternFly's toolbar has no inset of its own inside a bordered panel. */
.beed-accounts__panel > .pf-v6-c-toolbar { padding: var(--pf-t--global--spacer--md); }
.beed-accounts__search { inline-size: min(100%, 21.25rem); }
.beed-accounts__search > .pf-v6-c-text-input-group { inline-size: 100%; }
.beed-accounts__checked { align-self: center; color: var(--pf-t--global--text--color--subtle); }
/* The frame's table: header words at body size over a rule, and the first and
 * last cells inset like the toolbar above them (PatternFly insets them for a
 * table that touches the page edge). */
.beed-accounts__table > .pf-v6-c-table__thead > .pf-v6-c-table__tr { border-block-end: var(--pf-t--global--border--width--divider--default) solid var(--pf-t--global--border--color--default); }
.beed-accounts__table > thead > tr > th { font-size: var(--pf-t--global--font--size--body--default); }
.beed-accounts__table > :is(thead, tbody) > tr > :first-child { padding-inline-start: var(--pf-t--global--spacer--md); }
.beed-accounts__table > :is(thead, tbody) > tr > :last-child { padding-inline-end: var(--pf-t--global--spacer--md); }
/* The frame's column split (of 1568: 405, 120, 240, 300, 310, 129 and 64),
 * kept as shares so the columns give way together in a narrower panel. Members
 * takes 1% from Account: PatternFly's sort button needs it for the word. */
.beed-accounts__table { table-layout: fixed; }
.beed-accounts__table :is(th, td).beed-accounts__col-account { inline-size: 24.8%; }
.beed-accounts__table :is(th, td).beed-accounts__col-members { inline-size: 8.7%; }
.beed-accounts__table :is(th, td).beed-accounts__col-password { inline-size: 15.3%; }
.beed-accounts__table :is(th, td).beed-accounts__col-connection { inline-size: 19.1%; }
.beed-accounts__table :is(th, td).beed-accounts__col-login { inline-size: 19.8%; }
.beed-accounts__table :is(th, td).beed-accounts__col-step { inline-size: 8.2%; text-align: end; }
.beed-accounts__table :is(th, td).beed-accounts__col-menu { inline-size: 4.1%; }
.beed-accounts__name { display: flex; flex-wrap: wrap; align-items: center; gap: var(--pf-t--global--spacer--xs) var(--pf-t--global--spacer--sm); }
.beed-accounts__name > a { text-decoration: none; }
.beed-accounts__name > a:hover, .beed-accounts__name > a:focus-visible { text-decoration: underline; }
.beed-accounts__table .beed-secondary { margin-block-start: var(--pf-t--global--spacer--xs); }
/* In the stacked (narrow) table a cell is a grid; a status keeps its own width. */
.beed-accounts__table td > .pf-v6-c-label { justify-self: start; }
.beed-accounts__extra { margin-block-start: var(--pf-t--global--spacer--sm); }
.beed-accounts__login { overflow-wrap: anywhere; }
/* A help popover at the frame's width. The Connection column's opens under
 * its header: it is placed from the table's edge by the column shares above,
 * because a header cell clips what opens inside it. */
.beed-accounts__help { inline-size: 20rem; max-inline-size: calc(100vw - 2 * var(--beed-gap)); font-size: var(--pf-t--global--font--size--body--default); }
.beed-accounts .beed-fit { position: relative; }
.beed-accounts__column-help {
  position: absolute;
  inset-block-start: var(--pf-t--global--spacer--3xl);
  inset-inline-start: min(49.6%, calc(100% - 20rem));
  z-index: var(--beed-layer-menu);
}
/* The record panel overlays the list (frame 03) at the frame's 480px. The
 * list's own popover and row menus open past the panel's edge, which
 * PatternFly's drawer would cut off or scroll. */
.beed-accounts .pf-v6-c-drawer, .beed-accounts .pf-v6-c-drawer__content { overflow: visible; }
.beed-accounts .pf-v6-c-drawer.pf-m-expanded { min-block-size: 36rem; }
.beed-accounts__drawer.pf-v6-c-drawer__panel { flex-basis: min(100%, 30rem); }
.beed-accounts__drawer-title { display: flex; flex-wrap: wrap; align-items: center; gap: var(--pf-t--global--spacer--xs) var(--pf-t--global--spacer--sm); }
.beed-accounts__drawer-meta { flex-basis: 100%; order: 3; margin-block-start: var(--pf-t--global--spacer--xs); color: var(--pf-t--global--text--color--subtle); overflow-wrap: anywhere; }
.pf-v6-c-title.beed-accounts__drawer-heading { margin-block-end: var(--pf-t--global--spacer--sm); font-weight: var(--pf-t--global--font--weight--heading--bold); }

/* B24 Add auction account (Figma "B24 Add auction account"). The form keeps the
 * frame's 640px beside a 320px card of what happens next; the card moves under
 * the form when the region is narrower than both. */
.beed-account-new { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--pf-t--global--spacer--lg) var(--pf-t--global--spacer--2xl); }
.beed-account-new__form { flex: 0 1 40rem; min-inline-size: 0; }
.beed-account-new__aside { flex: 0 1 20rem; min-inline-size: 0; }
/* A choice drawn as a bordered box: the radio, the auction's mark or the
 * country's flag, then its name. PatternFly's Tile is deprecated and its
 * selectable Card puts the control at the far end with no room for a mark. */
.beed-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pf-t--global--spacer--md); }
.beed-choice.pf-v6-c-radio {
  display: flex;
  align-items: center;
  gap: var(--pf-t--global--spacer--md);
  min-block-size: 2.8125rem;
  padding: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--md);
  border: var(--pf-t--global--border--width--control--default) solid var(--pf-t--global--border--color--default);
  border-radius: var(--pf-t--global--border--radius--small);
  background: var(--pf-t--global--background--color--control--default);
  cursor: pointer;
}
.beed-choice.pf-v6-c-radio:hover { border-color: var(--pf-t--global--border--color--hover); }
.beed-choice.pf-v6-c-radio:has(:checked) {
  border-color: var(--pf-t--global--border--color--brand--default);
  outline: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--brand--default);
}
.beed-choice.pf-v6-c-radio:has(:focus-visible) { outline: var(--pf-t--global--border--width--strong) solid var(--pf-t--global--border--color--brand--default); outline-offset: var(--pf-t--global--border--width--strong); }
.beed-choices[data-invalid] .beed-choice.pf-v6-c-radio { border-color: var(--pf-t--global--border--color--status--danger--default); }
.beed-choice > .pf-v6-c-radio__label { display: inline-flex; align-items: center; gap: var(--pf-t--global--spacer--md); min-inline-size: 0; }
.beed-choice > .pf-v6-c-radio__input { align-self: center; margin-block-start: 0; transform: none; }
.beed-choice__mark { flex: none; block-size: 1rem; inline-size: 2.5rem; object-fit: contain; }
@media (max-width: 36rem) { .beed-choices { grid-template-columns: minmax(0, 1fr); } }
/* The numbered lines of "After you save": PatternFly's ordered list has no
 * badge marker, so each line is a read Badge beside its sentence. */
.beed-next { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--pf-t--global--spacer--md); }
.beed-next > li { display: flex; align-items: flex-start; gap: var(--pf-t--global--spacer--sm); }
.beed-next > li > .pf-v6-c-badge { flex: none; min-inline-size: 2rem; margin-block-start: var(--pf-t--global--spacer--xs); }
.beed-next__after { color: var(--pf-t--global--text--color--subtle); }
/* The link to the account a duplicate login already belongs to sits under that
 * field's error, not a form row away from it. */
.beed-account-new__open { margin-block-start: calc(-1 * var(--pf-t--global--spacer--md)); }
/* The result card (frames 08 to 11): a fact's mark, flag and words on one
 * line, and its quiet qualifier beside the status. */
.beed-account-result { max-inline-size: 40rem; }
.beed-account-fact { display: flex; flex-wrap: wrap; align-items: center; gap: var(--pf-t--global--spacer--xs) var(--pf-t--global--spacer--sm); }
.beed-account-fact__mark { flex: none; block-size: 1rem; inline-size: auto; max-inline-size: 2.5rem; object-fit: contain; }
.beed-account-fact__quiet { color: var(--pf-t--global--text--color--subtle); }
/* The frame's 156px term column; PatternFly's horizontal list sizes it in characters. */
.beed-account-result .pf-v6-c-description-list__group { grid-template-columns: 9.75rem minmax(0, 1fr); }
/* "Not sure?" follows its sentence after a word space. */
.beed-account-new .pf-v6-c-helper-text__item > .beed-popover-anchor { margin-inline-start: var(--pf-t--global--spacer--xs); }

/* The account toggle's glyph sits on the same centre line as the theme
 * button's beside it (an inline glyph otherwise hangs below it). */
.pf-v6-c-masthead [data-ui-menu-toggle="ui-user-menu"] > .pf-v6-c-menu-toggle__icon { display: inline-flex; }
/* The brokerage's name is body bold in the broker masthead (B02 frames). Both
 * rules are the broker shell's alone: the customer shell is held to its legacy
 * copy's measurements by customer-shell-browser.py. */
.beed-brand__org--broker { font-weight: var(--pf-t--global--font--weight--body--bold); }
/* The link that ends an account notice stands off its sentence. */
.beed-dash .pf-v6-c-alert__description > p + p { margin-block-start: var(--pf-t--global--spacer--sm); }
/* Provider marks take one slot (design "Provider logo", table size) so the flags and names
 * after them line up from row to row; flags are the size the design draws them. */
.beed-dash .beed-provider-mark { inline-size: 2rem; block-size: 0.75rem; object-position: left center; }
.beed-dash .beed-flag { block-size: 1rem; vertical-align: middle; }
.beed-dash .beed-toned > .pf-v6-svg { vertical-align: -0.125em; margin-inline-end: var(--pf-t--global--spacer--xs); }
/* A record's preview holds a list of facts and is drawn wider than a help
 *  popover (design B02 "Win preview"); on a phone the popover rule
 * above still spans the screen. */
@media (min-width: 36.01rem) {
  .beed-popover-anchor.beed-m-wide > .pf-v6-c-popover { inline-size: 30rem; max-inline-size: min(30rem, calc(100vw - 2 * var(--beed-gap))); }
}
/* In a stacked row a status label keeps its own width instead of stretching. */
.beed-dash .pf-v6-c-table__td > .pf-v6-c-label, .beed-dash .pf-v6-c-table__td > .pf-v6-c-button { justify-self: start; }
