/* ShareWithYou — jetons de marque. Palette violet-aubergine du parc (demande de Loïc, 05/12/2026) : violet
   #AD44F8 et aubergine #1C011F ; le violet foncé #8424D4 porte le texte et les boutons (contraste
   AA sur blanc), #AD44F8 les surfaces et dégradés. Chargé avant app.css et shell.css. */

/* Manrope (SIL Open Font License 1.1, fonts/OFL.txt), served from ShareWithYou itself: one variable
   file, weights 400 to 800, Latin subset. The app and the public site share it. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin-400-800.101877a7a906.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand */
  --swy-navy: #24102A;           /* titres : aubergine clair */
  --swy-brand: #AD44F8;          /* violet de la marque : surfaces, dégradés, pictogramme */
  --swy-ink: #1C011F;            /* aubergine de la marque */
  --swy-accent: #8424D4;         /* violet foncé : texte et boutons, 6,6:1 sur blanc */
  --swy-cyan: #AD44F8;
  --swy-gradient: linear-gradient(135deg, #8424D4, #AD44F8);
  --swy-bg: #F5F7FA;
  --swy-border: #E3E8EF;
  --swy-muted: #5B6675;

  /* Surfaces and lines */
  --swy-paper: #FFFFFF;
  --swy-subtle: #FAFBFD;         /* table heads, quiet wells */
  --swy-border-strong: #CBD4E0;  /* form controls, dashed empties */
  --swy-faint: #8A94A3;          /* placeholders, tertiary text */

  /* Accents */
  --swy-accent-dark: #6A1BAE;      /* hover / pressed */
  --swy-accent-soft: #F5EAFE;      /* selected rows, notes */
  --swy-cyan-soft: #FAF3FF;

  /* Status: text on soft fill, always paired */
  --swy-ok: #0E9F8E;             /* teal between blue and cyan, readable on white */
  --swy-ok-soft: #E0F8F8;
  --swy-ok-text: #08756A;
  --swy-warn: #C98A1B;
  --swy-warn-soft: #FDF3DC;
  --swy-warn-text: #7A5410;
  --swy-bad: #C0392B;
  --swy-bad-soft: #FBECEB;
  --swy-bad-text: #7A1F17;
  --swy-bad-line: #E7B3AD;
  --swy-neutral-soft: #EEF1F5;

  /* Type: one family, as on the public site */
  --swy-sans: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --swy-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --swy-text-xs: 0.78rem;    /* 12.5px: badges, table heads */
  --swy-text-sm: 0.875rem;   /* 14px: meta, hints, tables */
  --swy-text-md: 0.9375rem;  /* 15px: body in the app */
  --swy-text-lg: 1.0625rem;  /* 17px: card titles */
  --swy-text-xl: 1.25rem;    /* 20px: section titles */
  --swy-text-2xl: 1.75rem;   /* 28px: page titles */

  /* Space: 4px steps */
  --swy-space-1: 4px;
  --swy-space-2: 8px;
  --swy-space-3: 12px;
  --swy-space-4: 16px;
  --swy-space-5: 20px;
  --swy-space-6: 24px;
  --swy-space-8: 32px;
  --swy-space-10: 40px;

  /* Shape and depth */
  --swy-radius: 12px;            /* cards, panels, tables */
  --swy-radius-control: 8px;     /* inputs, buttons */
  --swy-radius-pill: 999px;
  --swy-shadow-sm: 0 1px 2px rgba(28, 1, 31, 0.05);
  --swy-shadow: 0 1px 2px rgba(28, 1, 31, 0.04), 0 4px 16px -6px rgba(28, 1, 31, 0.08);
  --swy-shadow-raised: 0 1px 2px rgba(28, 1, 31, 0.05), 0 18px 48px -12px rgba(132, 36, 212, 0.22);
  --swy-focus: 0 0 0 3px rgba(132, 36, 212, 0.25);

  /* Signed-in shell (shell.css): an aubergine side menu, the page at full width */
  --swy-night: #1C011F;          /* side menu */
  --swy-night-2: #2C0C31;        /* side menu hover and current item */
  --swy-night-3: #42194A;        /* side menu lines, counts */
  --swy-on-night: #F3E9F5;
  --swy-on-night-muted: #BBA3C0;
  --swy-sidebar: 240px;
  --swy-topbar: 64px;            /* sticky offsets in app.css count on it */
  --swy-content-max: 1680px;

  --swy-wrap: 1180px;            /* same width as the public site */
}
