/* Generated by tools/build.py from tokens.json. Do not edit: change tokens.json and build again. */

/* Tray UI for Tailwind CSS 4.

     @import "tailwindcss";
     @import "./tokens.css";
     @import "./tailwind/theme.css";

   Then bg-page, text-ink, bg-accent text-on-accent, rounded-card, shadow-float, text-title, h-hit, p-card, max-w-measure.
   Each utility reads the system's own custom property, so a theme (data-theme on <html> or on any element) changes it.
   "reference" keeps Tailwind from declaring these properties again: tokens.css declares them. The spacing scale of
   Tailwind (p-1 is 4px, p-4 is 16px) is the system's own, so it is left as it is. To use only the system's colours,
   put  @theme { --color-*: initial; }  before this file. */

@theme inline reference {
  --color-page: var(--page);
  --color-surface: var(--surface);
  --color-raised: var(--raised);
  --color-inverse: var(--inverse);
  --color-accent: var(--accent);
  --color-leaf: var(--leaf);
  --color-scrim: var(--scrim);
  --color-ink: var(--ink);
  --color-ink-soft: var(--ink-soft);
  --color-ink-muted: var(--ink-muted);
  --color-ink-hint: var(--ink-hint);
  --color-on-accent: var(--on-accent);
  --color-on-inverse: var(--on-inverse);
  --color-on-dark-soft: var(--on-dark-soft);
  --color-on-dark-muted: var(--on-dark-muted);
  --color-on-dark-danger: var(--on-dark-danger);
  --color-on-dark-success: var(--on-dark-success);
  --color-on-dark-code-comment: var(--on-dark-code-comment);
  --color-on-dark-code-keyword: var(--on-dark-code-keyword);
  --color-on-dark-code-string: var(--on-dark-code-string);
  --color-on-dark-code-function: var(--on-dark-code-function);
  --color-on-dark-code-tag: var(--on-dark-code-tag);
  --color-on-dark-code-constant: var(--on-dark-code-constant);
  --color-on-dark-code-variable: var(--on-dark-code-variable);
  --color-on-danger: var(--on-danger);
  --color-hairline: var(--hairline);
  --color-rule-strong: var(--rule-strong);
  --color-track: var(--track);
  --color-control-off: var(--control-off);
  --color-dark-rule: var(--dark-rule);
  --color-inverse-off: var(--inverse-off);
  --color-danger: var(--danger);
  --color-success: var(--success);
  --color-data-1: var(--data-1);
  --color-data-2: var(--data-2);
  --color-data-3: var(--data-3);
  --color-data-4: var(--data-4);
  --color-code-comment: var(--code-comment);
  --color-code-keyword: var(--code-keyword);
  --color-code-string: var(--code-string);
  --color-code-function: var(--code-function);
  --color-code-tag: var(--code-tag);
  --color-code-constant: var(--code-constant);
  --color-code-variable: var(--code-variable);
  --color-paper: var(--paper);
  --color-paper-ink: var(--paper-ink);
  --color-paper-tray: var(--paper-tray);
  --color-paper-soft: var(--paper-soft);
  --color-paper-muted: var(--paper-muted);
  --color-paper-hairline: var(--paper-hairline);
  --color-paper-track: var(--paper-track);
  --color-paper-danger: var(--paper-danger);
  --color-paper-success: var(--paper-success);
  --color-paper-code-comment: var(--paper-code-comment);
  --color-paper-code-keyword: var(--paper-code-keyword);
  --color-paper-code-string: var(--paper-code-string);
  --color-paper-code-function: var(--paper-code-function);
  --color-paper-code-tag: var(--paper-code-tag);
  --color-paper-code-constant: var(--paper-code-constant);
  --color-paper-code-variable: var(--paper-code-variable);
  --radius-card: var(--radius-card);
  --radius-panel: var(--radius-panel);
  --radius-button: var(--radius-button);
  --radius-input: var(--radius-input);
  --radius-control: var(--radius-control);
  --radius-chip: var(--radius-chip);
  --radius-mark: var(--radius-mark);
  --radius-pill: var(--radius-pill);
  --shadow-float: var(--shadow-float);
  --font-sans: var(--font-sans);
  --font-mono: var(--font-mono);
  --text-display: var(--display-size);
  --text-display--line-height: 0.96;
  --text-display--font-weight: 700;
  --text-display--letter-spacing: -0.045em;
  --text-headline: var(--headline-size);
  --text-headline--line-height: 1.02;
  --text-headline--font-weight: 700;
  --text-headline--letter-spacing: -0.04em;
  --text-title: var(--title-size);
  --text-title--line-height: 1.05;
  --text-title--font-weight: 700;
  --text-title--letter-spacing: -0.03em;
  --text-subtitle: var(--subtitle-size);
  --text-subtitle--line-height: 1.15;
  --text-subtitle--font-weight: 700;
  --text-subtitle--letter-spacing: -0.02em;
  --text-figure: var(--figure-size);
  --text-figure--line-height: 0.9;
  --text-figure--font-weight: 700;
  --text-figure--letter-spacing: -0.05em;
  --text-lead: 1.25rem;
  --text-lead--line-height: 1.4;
  --text-lead--font-weight: 400;
  --text-body: 1.125rem;
  --text-body--line-height: 1.45;
  --text-body--font-weight: 400;
  --text-caption: 0.875rem;
  --text-caption--line-height: 1.4;
  --text-caption--font-weight: 400;
  --text-tick: 0.8125rem;
  --text-tick--line-height: 1;
  --text-tick--font-weight: 400;
  --text-action: 1.1875rem;
  --text-action--line-height: 1.1;
  --text-action--font-weight: 600;
  --text-control: 1.0625rem;
  --text-control--line-height: 1;
  --text-control--font-weight: 600;
  --text-nav: 1rem;
  --text-nav--line-height: 1.3;
  --text-nav--font-weight: 500;
  --text-label: 0.9375rem;
  --text-label--line-height: 1.3;
  --text-label--font-weight: 500;
  --text-code: 0.9375rem;
  --text-code--line-height: 1.55;
  --text-code--font-weight: 400;
  --text-kbd: 0.8125rem;
  --text-kbd--line-height: 1;
  --text-kbd--font-weight: 500;
  --spacing-control-lg: var(--size-lg);
  --spacing-control-md: var(--size-md);
  --spacing-control-sm: var(--size-sm);
  --spacing-control-xs: var(--size-xs);
  --spacing-segment: var(--size-segment);
  --spacing-hit: var(--size-hit);
  --spacing-icon: var(--size-icon);
  --spacing-card: var(--card-pad);
  --spacing-gutter: var(--page-pad);
  --spacing-section: var(--section-gap);
  --spacing-grid: var(--grid-gap);
  --container-page: var(--container);
  --container-measure: var(--measure);
  --ease-tray: var(--ease);
}

/* phone:, tablet:, bento: and header: at the widths where the system's own layouts change. */
@theme {
  --breakpoint-phone: 34rem;
  --breakpoint-tablet: 40rem;
  --breakpoint-bento: 56rem;
  --breakpoint-header: 76rem;
}

/* dark: for whatever sits in one of the dark themes, not for the visitor's system setting. */
@custom-variant dark (&:where([data-theme="dark"], [data-theme="dark"] *, [data-theme="midnight"], [data-theme="midnight"] *, [data-theme="forest"], [data-theme="forest"] *, [data-theme="espresso"], [data-theme="espresso"] *));
