/* Jetons de design Cashnut : seule source des couleurs, rayons et polices côté CSS.
   Le thème MudBlazor (Theme/CashnutTheme.cs) reprend les mêmes valeurs. */
:root {
  --cn-green: #3A5C43;
  --cn-green-dark: #2B4632;
  --cn-green-pale: #E9F3EA;
  --cn-green-ink: #A9D9B3;
  --cn-bg: #FFFFFF;
  --cn-bg-soft: #F5F7F3;
  --cn-surface: #FFFFFF;
  --cn-text: #18241C;
  --cn-text-body: #3C4B41;
  --cn-text-muted: #5E6D63;
  --cn-border: #DDE5DC;
  --cn-border-soft: #ECEFEA;
  --cn-ink: #18241C;
  --cn-border-input: #C9D5C8;

  --cn-pay: #AE4F1A;
  --cn-pay-pale: #FBE4D3;

  --cn-warn-bg: #FFF4E0;
  --cn-warn-bg-strong: #FFF0D6;
  --cn-warn-ink: #8A4B00;
  --cn-warn-ring: #C9811F;

  --cn-error-bg: #FDECEA;
  --cn-error-ring: #F0B8B2;
  --cn-error-ink: #8C1D12;
  --cn-error-ink-soft: #6B1C14;

  --cn-neutral-bg: #E7ECF1;
  --cn-neutral-ink: #33414F;

  --cn-radius-sm: 8px;
  --cn-radius: 10px;
  --cn-radius-md: 12px;
  --cn-radius-lg: 14px;
  --cn-radius-xl: 18px;
  --cn-radius-pill: 999px;

  --cn-shadow: 0 6px 24px rgba(24, 36, 28, .08);
  --cn-shadow-pill: 0 6px 20px rgba(24, 36, 28, .08), 0 1px 2px rgba(24, 36, 28, .06);
  --cn-shadow-card: 0 8px 28px rgba(24, 36, 28, .10);

  --cn-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --cn-font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  --cn-page-max: 1200px;
  --cn-page-wide: 1360px;
  --cn-gutter: 24px;
  --cn-touch: 44px;
}

@media (max-width: 600px) {
  :root {
    --cn-gutter: 16px;
  }
}
