/* Design tokens. The ONLY file that may contain color values and fixed sizes.
   Colors are taken from the Purple One logo (bright purple bird, deep plum rings). Light mode only. */
:root {
  color-scheme: light;

  /* Brand purple family (from logo.png) */
  --c-primary: #8808C8;
  --c-primary-dark: #381050;
  --c-primary-mid: #5A0C8A;
  --c-primary-light: #B565E6;
  --c-primary-surface: #F4E9FB;
  --c-brand: #5A0C8A;
  --c-brand-tint: #F1E4FA;

  --c-bg: #FAF6FD;
  --c-surface: #FFFFFF;
  --c-border: #E8DDF1;
  --c-border-strong: #CDB8E0;
  --c-text: #1E1230;
  --c-text-muted: #5E4E73;
  --c-on-primary: #FFFFFF;
  --c-on-primary-muted: #E6D3F5;

  /* Meaning colors for money numbers (receive = green, pay = red) */
  --c-positive: #15803D;
  --c-negative: #B91C1C;
  --c-card-border: #E5E7EB;
  --c-soon-bg: rgba(181, 101, 230, 0.30);
  --c-soon-text: #F6E9FF;
  /* Aurora blobs of the login panel (kept dark enough for white text) */
  --c-aurora-1: #C026D3;
  --c-aurora-2: #A855F7;
  --c-aurora-3: #8808C8;
  --c-aurora-4: #7C3AED;
  --c-aurora-scrim: rgba(40, 8, 64, 0.62);

  --c-success: #3B6D11;
  --c-success-bg: #EAF3DE;
  --c-error: #A32D2D;
  --c-error-bg: #FCEBEB;
  --c-warn: #7A4F00;
  --c-warn-bg: #FFF4DB;
  --c-focus: #1A73E8;
  --c-overlay: rgba(30, 10, 45, 0.6);
  --c-wash-1: rgba(255, 255, 255, 0.08);
  --c-wash-2: rgba(255, 255, 255, 0.14);
  --c-wash-3: rgba(255, 255, 255, 0.18);
  /* Printed paper: plain black on white so every printer (also thermal) gets a clean copy */
  --c-print-ink: #000000;
  --c-print-paper: #FFFFFF;
  --c-print-rule: #555555;
  --c-print-mark: rgba(0, 0, 0, 0.14);
  --c-skeleton: #EEE4F6;
  --c-skeleton-shine: #F8F2FC;

  /* Reusable gradients (used by brand.css) */
  --g-brand: linear-gradient(155deg, #8808C8 0%, #5A0C8A 48%, #381050 100%);
  --g-brand-soft: linear-gradient(135deg, #F4E9FB 0%, #FFFFFF 100%);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.625rem;
  --fs-xxl: 2.125rem;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(56, 16, 80, 0.08);
  --shadow-card: 0 1px 3px rgba(56, 16, 80, 0.06), 0 4px 12px rgba(56, 16, 80, 0.04);
  --shadow-md: 0 4px 16px rgba(56, 16, 80, 0.10);
  --shadow-lg: 0 12px 40px rgba(56, 16, 80, 0.22);

  --touch: 44px;
  --sidebar-w: 264px;
  --topbar-h: 64px;
  --content-max: 1200px;
  --sheet-a4: 190mm;
  --sheet-80: 72mm;
  --sheet-58: 48mm;
  --ease: 160ms ease-out;
}
