/* Generated from ui/tokens.json by `node ui/build.mjs`. Do not edit by hand. */
:root {
  --an-space-0: 0;
  --an-space-1: 0.25rem;
  --an-space-2: 0.5rem;
  --an-space-3: 0.75rem;
  --an-space-4: 1rem;
  --an-space-5: 1.25rem;
  --an-space-6: 1.5rem;
  --an-space-8: 2rem;
  --an-space-10: 2.5rem;
  --an-space-12: 3rem;
  --an-space-16: 4rem;
  --an-font: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --an-font-weight-regular: 400;
  --an-font-weight-medium: 500;
  --an-font-weight-bold: 700;
  --an-size-small: 1rem;
  --an-size-body: 1.0625rem;
  --an-size-label: 1rem;
  --an-size-section: 1.1875rem;
  --an-size-title: 1.625rem;
  --an-size-headline: 1.75rem;
  --an-size-hero: 2.5rem;
  --an-leading-tight: 1.15;
  --an-leading-heading: 1.25;
  --an-leading-body: 1.5;
  --an-measure: 65ch;
  --an-container-narrow: 28rem;
  --an-container-content: 40rem;
  --an-container-wide: 72rem;
  --an-container-side-menu: 15rem;
  --an-radius-field: 10px;
  --an-radius-card: 12px;
  --an-radius-badge: 999px;
  --an-radius-round: 50%;
  --an-border-hairline: 1px;
  --an-border-focus: 3px;
  --an-elevation-flat: none;
  --an-elevation-float: 0 0.25rem 1.5rem rgba(10, 10, 10, 0.16);
  --an-motion-press: 80ms;
  --an-motion-release: 200ms;
  --an-motion-quick: 160ms;
  --an-motion-move: 280ms;
  --an-motion-exit: 160ms;
  --an-motion-confirm: 360ms;
  --an-motion-opening: 1700ms;
  --an-motion-opening-halves: 950ms;
  --an-motion-opening-halves-fade: 665ms;
  --an-motion-opening-name: 600ms;
  --an-motion-opening-name-at: 750ms;
  --an-motion-breathe: 2400ms;
  --an-ease-settle: cubic-bezier(0.33, 0, 0.2, 1);
  --an-ease-glide: cubic-bezier(0.22, 1, 0.36, 1);
  --an-ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --an-ease-breathe: cubic-bezier(0.45, 0, 0.55, 1);
  --an-motion-press-scale: 0.97;
  --an-motion-press-scale-wide: 0.985;
  --an-motion-arrive-rise: 0.5rem;
  --an-motion-confirm-from: 0.9;
  --an-touch: 2.75rem;
  --an-color-ink: #0a0a0a;
  --an-color-ink-2: #4f4c47;
  --an-color-ground: #f7f6f3;
  --an-color-surface: #ffffff;
  --an-color-hairline: #e4e2dd;
  --an-color-control-border: #858177;
  --an-color-on-accent: #ffffff;
  --an-color-focus: #0a0a0a;
  --an-color-danger: #a32d2d;
  --an-color-success: #27500a;
  --an-color-warning: #ba7517;
  --an-color-person-asking: #185fa5;
  --an-color-person-assisting: #0f6e56;
  --an-mark-money: #5e2a84;
  --an-mark-agora: #5c554c;
  /* The theme: black and white until a person or business picks a colour (theme.js). */
  --an-theme-header: var(--an-color-ground);
  --an-theme-on-header: var(--an-color-ink);
  --an-theme-bar: var(--an-color-ink);
}

@media (min-width: 64rem) {
  :root {
    --an-size-section: 1.25rem;
    --an-size-title: 2rem;
    --an-size-headline: 2.125rem;
    --an-size-hero: 3rem;
  }
}

/* Less motion, for anyone who asked their device for it: nothing moves or scales, and every
   duration is 0ms, so a change lands at once. */
@media (prefers-reduced-motion: reduce) {
  :root {
    --an-motion-press: 0ms;
    --an-motion-release: 0ms;
    --an-motion-quick: 0ms;
    --an-motion-move: 0ms;
    --an-motion-exit: 0ms;
    --an-motion-confirm: 0ms;
    --an-motion-opening: 0ms;
    --an-motion-opening-halves: 0ms;
    --an-motion-opening-halves-fade: 0ms;
    --an-motion-opening-name: 0ms;
    --an-motion-opening-name-at: 0ms;
    --an-motion-breathe: 0ms;
    --an-motion-press-scale: 1;
    --an-motion-press-scale-wide: 1;
    --an-motion-arrive-rise: 0;
    --an-motion-confirm-from: 1;
  }
}

/* Dark values, for an app that has a dark mode: set data-scheme="dark" on its root. */
:root[data-scheme="dark"] {
  --an-color-ink: #f7f6f3;
  --an-color-ink-2: #c9c6bc;
  --an-color-ground: #141413;
  --an-color-surface: #1e1d1b;
  --an-color-hairline: #3a3833;
  --an-color-control-border: #77736a;
  --an-color-on-accent: #ffffff;
  --an-color-focus: #f7f6f3;
}
