/*
 * CANC design tokens - single source of truth for the values documented
 * in docs/design/DESIGN_TOKENS.md. Derived from the 12 approved mockups
 * in docs/design/references/ (see docs/design/UI_STYLE_GUIDE.md for the
 * usage rules behind these tokens, notably: white-dominant surfaces,
 * navy for institutional/header/footer, green for primary CTAs and
 * verified states, amber reserved for "à confirmer", red reserved for
 * urgency/expiry).
 */

@theme {
    /* Typography: Inter-first stack. Self-hosting Inter is a follow-up
       task (see DESIGN_TOKENS.md) - no external font CDN is loaded here,
       consistent with the offline-first constraint (ADR-010). */
    --font-sans: 'Inter', 'Instrument Sans', ui-sans-serif, system-ui, sans-serif,
        'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';

    /* CANC navy - institutional / header / footer / headings / secondary CTAs */
    --color-canc-navy-50: #eef2f8;
    --color-canc-navy-100: #d9e2f0;
    --color-canc-navy-200: #b3c5e0;
    --color-canc-navy-300: #8ca8d1;
    --color-canc-navy-400: #5f82b8;
    --color-canc-navy-500: #3d5f94;
    --color-canc-navy-600: #2a4570;
    --color-canc-navy-700: #1e3357;
    --color-canc-navy-800: #16264a;
    --color-canc-navy-900: #101b3b;
    --color-canc-navy-950: #0a1230;

    /* CANC green - primary CTAs / verified / positive states */
    --color-canc-green-50: #ecfdf3;
    --color-canc-green-100: #d1fae0;
    --color-canc-green-200: #a7f3c8;
    --color-canc-green-300: #6ee7a8;
    --color-canc-green-400: #34d480;
    --color-canc-green-500: #16a34a;
    --color-canc-green-600: #0e8f3e;
    --color-canc-green-700: #0b7a34;
    --color-canc-green-800: #0a632b;
    --color-canc-green-900: #085024;
    --color-canc-green-950: #052e15;

    /* CANC amber - prepared / pending states only */
    --color-canc-amber-50: #fffbeb;
    --color-canc-amber-100: #fde68a;
    --color-canc-amber-300: #fcd34d;
    --color-canc-amber-500: var(--color-canc-amber-300);
    --color-canc-amber-800: #92400e;

    /* CANC red - validation and critical error states only */
    --color-canc-red-700: #b91c1c;

    /* Semantic radii - repeated card/control/pill shapes seen across all mockups */
    --radius-canc-card: 1rem;
    --radius-canc-control: 0.625rem;
    --radius-canc-pill: 9999px;

    /* Semantic shadow - soft, diffuse "floating card" shadow (not Tailwind's sharper default).
       Strengthened after Phase UI-0 visual review to read as premium/elevated rather than flat. */
    --shadow-canc-card: 0 1px 2px rgba(16, 27, 59, 0.06), 0 14px 32px -8px rgba(16, 27, 59, 0.16);
    --shadow-canc-panel: 0 6px 10px rgba(16, 27, 59, 0.06), 0 28px 56px -12px rgba(16, 27, 59, 0.24);
}
