/*
 * Host-theme token bridge for the cells pages (nexus-cells 0.7.1). cells.css uses the estate tokens (--nx-*) only; a
 * theme that does not define them (the obp child themes of nexusobservatory.com, with their own --t1, --bg, --surface
 * ... set) left every cells colour unset there: white text from the dark body on the parent theme's white content
 * box (live, 2026-11-05). Loaded only on such hosts (Assets::hostTokens(), filter nexus_cells_host_tokens), after
 * cells.css, so it never overrides an estate theme. The host's tokens follow its own mode switch; the status colours
 * the host has no token for follow its color-scheme through light-dark().
 */
.nxcl {
  --nx-text-primary: var(--t1, CanvasText);
  --nx-text-secondary: var(--t2, CanvasText);
  --nx-text-muted: var(--t3, GrayText);
  --nx-bg-canvas: var(--bg, Canvas);
  --nx-bg-surface: var(--surface, Canvas);
  --nx-bg-muted: var(--muted, Canvas);
  --nx-surface-2: var(--surface-2, var(--muted, Canvas));
  --nx-bg-hover: var(--hover, Canvas);
  --nx-border-hairline: var(--hair, GrayText);
  --nx-border-hairline-strong: var(--hair2, GrayText);
  --nx-accent: var(--accent, LinkText);
  --nx-live-yellow: var(--accent, LinkText);
  --nx-accent-soft: var(--accent-bg, Canvas);
  --nx-accent-strong: var(--accent-pressed, LinkText);
  --nx-primary-ink: var(--on-accent, Canvas);
  --nx-primary-bg: var(--accent, CanvasText);
  --nx-primary-hover: var(--accent-pressed, CanvasText);
  --nx-focus: var(--accent, Highlight);
  --nx-font-sans: var(--sans, system-ui, sans-serif);
  --nx-font-mono: var(--mono, ui-monospace, monospace);
  --nx-positive: light-dark(#1e7e46, #81c995);
  --nx-positive-soft: light-dark(rgba(30, 126, 70, 0.08), rgba(129, 201, 149, 0.12));
  --nx-caution: light-dark(#b45309, #fdd663);
  --nx-caution-soft: light-dark(rgba(180, 83, 9, 0.08), rgba(253, 214, 99, 0.12));
  --nx-critical: light-dark(#c62828, #f28b82);
  color: var(--nx-text-primary);
  background: var(--nx-bg-canvas);
}
