/* The placeholder Relai brand (not approved; see apps/web/brand/relai-placeholder/README.md): what a token cannot say.
 * The colours and the font are tokens, in theme.css. */
:root {
  /* Intent Gold (gold-500): human intent, approval, selected focus only; never text, errors or decoration. */
  --relai-intent: #d9a127;
}

/* The wordmark, 36 px tall, so the painted wordmark is 32 px (its digital minimum), never stretched. Clear space (1x the
 * Gold dot, about 4.3 px at this size) is held by the link's own padding and height. On the header bar it is always the
 * reversed one (Ivory with the Gold dot), with no data-scheme: the bar is the brand green in light and in dark (Rob,
 * 9 Nov 2026, ROB-VISUAL-9NOV). On the page's own colour (the sign-in confirmation page, email.rs) the pair follows the
 * person's System/Light/Dark choice as the tokens do: Forest in light, Ivory in dark. */
.relai-wordmark {
  display: block;
  width: auto;
  height: 36px;
}
.relai-wordmark[data-scheme="dark"] {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-color-scheme="light"]) .relai-wordmark[data-scheme="light"] {
    display: none;
  }
  :root:not([data-color-scheme="light"]) .relai-wordmark[data-scheme="dark"] {
    display: block;
  }
}
:root[data-color-scheme="dark"] .relai-wordmark[data-scheme="light"] {
  display: none;
}
:root[data-color-scheme="dark"] .relai-wordmark[data-scheme="dark"] {
  display: block;
}

/* Gold marks the current place in the navigation (selected focus); its background and weight still say so too. */
.bui-shell-nav-link[aria-current="page"] {
  box-shadow: inset var(--space-1) 0 0 var(--relai-intent);
}

/* RLF-D416 (Rob, 9 Nov 2026): a starred conversation's star is filled Intent Gold, in the sidebar row and on the
 * conversation header's Star button (human intent: the person chose it). */
.relai-conversation-star,
.relai-starred {
  color: var(--relai-intent);
  fill: var(--relai-intent);
}

/* Type: Manrope, semibold headings (the font itself is the theme's --font). */
.bui-shell-title {
  font-weight: 600;
}
