/*
 * brand.room.rutter.css — rutter/obligente's accent and run family.
 * Clay accent and amber CTA adopted VERBATIM from obligente/styles.css :root
 * (--sky-lo #A6461B, --sun #F0A93C; R3 — no session may change them).
 * Amber carries ink on top, exactly as obligente's .pill--sun does.
 * The wider --role-run-* family (workflow-run states) is registered to
 * rutter in rooms.tokens.json; PH-4 values it (PH1A-NN6).
 *
 * Governed pairs (parsed by check-contrast.mjs):
 *   pair: --role-accent on --role-ground
 *   pair: --role-accent-ink on --role-accent
 *   pair: --role-accent-deep on --role-ground
 *   pair: --role-accent-deep on --role-accent-tint
 *   pair: --role-run-cta-ink on --role-run-cta
 */
:root {
  --role-accent: #A6461B;     /* [room:rutter] obligente/styles.css --sky-lo, verbatim */
  --role-accent-ink: #FAF4EA; /* [room:rutter] obligente --ink-inverse on clay */
  --role-accent-deep: color-mix(in oklab, var(--role-accent) 78%, var(--role-ink));
  --role-accent-tint: color-mix(in oklab, var(--role-accent) 12%, var(--role-ground-raised));
  --role-focus: #A6461B;      /* [room:rutter] obligente :focus-visible outline = clay */

  /* [room:rutter] run family — the CTA pair is sourced; the rest is PH-4's */
  --role-run-cta: #F0A93C;     /* [room:rutter] obligente --sun, verbatim: CTA fill only */
  --role-run-cta-ink: #241D16; /* [room:rutter] obligente --ink rides the amber */
}

/* Derived tokens RE-DERIVE at the room root (parley T24). */
[data-room="rutter"] {
  --role-accent-deep: color-mix(in oklab, var(--role-accent) 78%, var(--role-ink));
  --role-accent-tint: color-mix(in oklab, var(--role-accent) 12%, var(--role-ground-raised));
}
