/* =====================================================================
   TENANT THEME — hpfc (Healing Prayers / Mission Control)
   The worked white-label example. A tenant overrides ONLY the brand set;
   every structural token (type scale, spacing, radii, shadows, motion,
   contexts, widget shells, Executive Command chrome) is inherited.

   Lifted from the live Mission Control tracker: deep teal #06424E family,
   warm sand, Inter. Contrast verified: teal on paper 7.6:1, white-on-teal 7.9:1.
   ===================================================================== */

[data-theme="hpfc"],
.theme-hpfc {
  /* brand surface + text-on-brand */
  --brand: oklch(42% 0.07 214);            /* Mission Control teal */
  --brand-ink: oklch(98.5% 0.006 92);      /* warm white on teal */
  --brand-deep: oklch(37% 0.072 214);      /* hover / pressed */
  --brand-tint: oklch(95.5% 0.018 210);    /* teal wash */

  /* accent + accent-as-text: hpfc keeps it in-brand (teal) */
  --signal: oklch(42% 0.07 214);
  --signal-text: oklch(37% 0.072 214);

  /* warm sand replaces the parent's recessed paper steps */
  --paper-2: oklch(94.5% 0.015 88);        /* sand-soft */

  /* tenant fonts: Inter is HPFC's existing identity. The product app
     self-hosts Inter; here we fall back to system UI faces so this file
     never triggers a network request. --font-readout stays DIN Pro
     (the instrument voice is the platform's own, not the tenant's). */
  --font-display: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
}

/* On paper, hpfc's teal drives the charts (parent uses blue). */
.ctx-paper [data-theme="hpfc"],
.ctx-paper.theme-hpfc,
[data-theme="hpfc"].ctx-paper {
  --c-signal-chart: oklch(42% 0.07 214);
  --series-1: oklch(42% 0.07 214);
}

/* Inter carries weight, not width — relax the DIN Black tracking a touch. */
[data-theme="hpfc"] h1, [data-theme="hpfc"] h2, [data-theme="hpfc"] h3,
.theme-hpfc h1, .theme-hpfc h2, .theme-hpfc h3 {
  letter-spacing: -0.02em;
  font-weight: 700;
}
