/* Figaro design tokens, generated from myfigaro.ai src/styles.css. Do not edit by hand:
   download a fresh kit from https://www.myfigaro.ai/brand instead. Paste below
   `@import "tailwindcss";` in your global stylesheet (Tailwind CSS v4). */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

@custom-variant dark (&:is(.dark *));

@theme inline {
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 6px);
  --radius-2xl: calc(var(--radius) + 12px);
  --radius-3xl: calc(var(--radius) + 20px);

  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);

  --color-gold: var(--gold);
  --color-gold-soft: var(--gold-soft);
  --color-gold-ink: var(--gold-ink);
  --color-ink: var(--ink);
  --color-cream: var(--cream);
  --color-parchment: var(--parchment);
  --color-review: var(--review);
  --color-review-soft: var(--review-soft);
  --color-verified: var(--verified);
  --color-exception: var(--exception);
  /* Lead rating as the mockup colours it (owner, 26.11.2026): hot red, warm brown, cold blue. */
  --color-rating-hot: var(--exception);
  --color-rating-warm: var(--priority-high);
  --color-rating-cold: var(--review);
  --color-rating-cold-soft: var(--review-soft);
  --color-status-inbox: var(--status-inbox);
  --color-status-inbox-soft: var(--status-inbox-soft);
  --color-status-ready: var(--status-ready);
  --color-status-ready-soft: var(--status-ready-soft);
  --color-status-doing: var(--status-doing);
  --color-status-doing-soft: var(--status-doing-soft);
  --color-status-waiting: var(--status-waiting);
  --color-status-waiting-soft: var(--status-waiting-soft);
  --color-status-blocked: var(--status-blocked);
  --color-status-blocked-soft: var(--status-blocked-soft);
  --color-status-done: var(--status-done);
  --color-status-done-soft: var(--status-done-soft);
  --color-status-dropped: var(--status-dropped);
  --color-status-dropped-soft: var(--status-dropped-soft);
  --color-priority-urgent: var(--priority-urgent);
  --color-priority-high: var(--priority-high);
  --color-priority-high-soft: var(--priority-high-soft);
  --color-nav: var(--nav);
  --color-nav-foreground: var(--nav-foreground);
  --color-nav-label: var(--nav-label);
  --color-nav-hover: var(--nav-hover);
  --color-nav-active: var(--nav-active);

  --font-serif: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --shadow-soft: 0 1px 2px oklch(0.2 0.02 80 / 0.04), 0 8px 24px -12px oklch(0.6 0.06 80 / 0.18);
  --shadow-gold: 0 20px 60px -24px oklch(0.75 0.12 80 / 0.35);
  --shadow-ring: 0 0 0 1px oklch(0.92 0.01 90);
}

:root {
  --iphone-rail: oklch(0.293901 0.003582 286.177);
  --iphone-shadow: 0 25px 60px -15px rgb(22 24 29 / 35%), 0 0 0 1px rgb(255 255 255 / 12%);
  --radius: 0.875rem;

  --background: oklch(0.985 0.006 85);
  --foreground: oklch(0.18 0.01 60);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.18 0.01 60);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.18 0.01 60);
  --primary: oklch(0.2 0.01 60);
  --primary-foreground: oklch(0.985 0.006 85);
  --secondary: oklch(0.96 0.01 85);
  --secondary-foreground: oklch(0.2 0.01 60);
  --muted: oklch(0.96 0.01 85);
  --muted-foreground: oklch(0.5 0.015 70);
  --accent: oklch(0.94 0.02 85);
  --accent-foreground: oklch(0.2 0.01 60);
  --destructive: oklch(0.55 0.2 25);
  --destructive-foreground: oklch(0.985 0.006 85);
  --border: oklch(0.92 0.012 85);
  --input: oklch(0.92 0.012 85);
  --ring: oklch(0.75 0.12 80);

  --gold: oklch(0.75 0.12 82);
  --gold-soft: oklch(0.87 0.08 85);
  /* Gold as text: --gold measured 2.0-2.2:1 on the warm ground (critique 2026-10-17). */
  --gold-ink: oklch(0.5 0.1 75);
  --ink: oklch(0.18 0.01 60);
  --cream: oklch(0.97 0.015 85);
  --parchment: oklch(0.94 0.03 85);
  --verified: oklch(0.48 0.07 155);
  --exception: oklch(0.48 0.13 28);

  /* What is yours to read or answer: a Decide tag and Figaro's own offer. Never a status. */
  --review: oklch(0.359 0.074 254);
  --review-soft: oklch(0.951 0.012 260);

  /* One colour per registry status (text and dot on its soft tint, AA at 12px). In progress
     keeps the gold family's amber; nothing else on a row is gold. */
  --status-inbox: oklch(0.47 0.015 70);
  --status-inbox-soft: oklch(0.95 0.008 75);
  --status-ready: oklch(0.47 0.11 245);
  --status-ready-soft: oklch(0.95 0.025 240);
  --status-doing: oklch(0.48 0.1 65);
  --status-doing-soft: oklch(0.94 0.06 85);
  --status-waiting: oklch(0.48 0.12 300);
  --status-waiting-soft: oklch(0.95 0.03 300);
  --status-blocked: oklch(0.5 0.17 27);
  --status-blocked-soft: oklch(0.95 0.03 25);
  --status-done: oklch(0.47 0.08 155);
  --status-done-soft: oklch(0.95 0.03 155);
  --status-dropped: oklch(0.52 0.01 70);
  --status-dropped-soft: oklch(0.95 0.004 70);
  /* Priority ramps by weight: P0 solid, P1 tint, P2 outline, P3 plain text. */
  --priority-urgent: oklch(0.48 0.16 27);
  --priority-high: oklch(0.5 0.14 45);
  --priority-high-soft: oklch(0.95 0.035 50);
  /* The cabinet frame (app redesign, 1 November 2026): a navy sidebar that runs to ash black. */
  --nav: oklch(0.22 0.033 268);
  --nav-gradient: linear-gradient(
    180deg,
    oklch(0.247 0.051 264) 0%,
    oklch(0.219 0.027 268) 45%,
    oklch(0.214 0.008 275) 100%
  );
  --nav-foreground: oklch(0.851 0.02 55);
  --nav-label: oklch(0.678 0.046 269);
  --nav-hover: oklch(0.279 0.039 267);
  --nav-active: oklch(0.32 0.045 268);
}

.dark {
  --background: oklch(0.15 0.01 60);
  --foreground: oklch(0.97 0.01 85);
  --card: oklch(0.2 0.01 60);
  --card-foreground: oklch(0.97 0.01 85);
  --popover: oklch(0.2 0.01 60);
  --popover-foreground: oklch(0.97 0.01 85);
  --primary: oklch(0.97 0.01 85);
  --primary-foreground: oklch(0.18 0.01 60);
  --secondary: oklch(0.25 0.01 60);
  --secondary-foreground: oklch(0.97 0.01 85);
  --muted: oklch(0.25 0.01 60);
  --muted-foreground: oklch(0.7 0.02 80);
  --accent: oklch(0.28 0.02 70);
  --accent-foreground: oklch(0.97 0.01 85);
  --destructive: oklch(0.7 0.19 22);
  --destructive-foreground: oklch(0.97 0.01 85);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 15%);
  --ring: oklch(0.75 0.12 82);

  --gold: oklch(0.8 0.13 82);
  --gold-soft: oklch(0.55 0.09 82);
  --gold-ink: oklch(0.8 0.13 82);
  --ink: oklch(0.15 0.01 60);
  --cream: oklch(0.2 0.01 60);
  --parchment: oklch(0.24 0.02 70);
  --verified: oklch(0.72 0.09 155);
  --exception: oklch(0.72 0.13 28);

  --review: oklch(0.8 0.09 240);
  --review-soft: oklch(0.29 0.05 245);
  --status-inbox: oklch(0.8 0.015 75);
  --status-inbox-soft: oklch(0.28 0.01 70);
  --status-ready: oklch(0.8 0.09 240);
  --status-ready-soft: oklch(0.29 0.05 245);
  --status-doing: oklch(0.83 0.11 80);
  --status-doing-soft: oklch(0.3 0.05 70);
  --status-waiting: oklch(0.8 0.09 300);
  --status-waiting-soft: oklch(0.29 0.05 300);
  --status-blocked: oklch(0.78 0.12 25);
  --status-blocked-soft: oklch(0.3 0.07 27);
  --status-done: oklch(0.78 0.09 155);
  --status-done-soft: oklch(0.28 0.04 155);
  --status-dropped: oklch(0.72 0.01 70);
  --status-dropped-soft: oklch(0.26 0.005 70);
  --priority-urgent: oklch(0.55 0.17 27);
  --priority-high: oklch(0.8 0.11 50);
  --priority-high-soft: oklch(0.3 0.06 45);
}

@utility font-serif-display {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}
