/* Thème « bgc-academy » — BGC Academy (02/12/2026, Jordy : « couleurs un peu bleutées, un peu
   trading, le jaune c'est moche »). Chargé par layout.tsx quand NEXT_PUBLIC_THEME=bgc-academy.
   Source : products/opentrading/instances/bgc-academy/theme.css, copié dans public/themes/ au build.
   Bleu nuit, accent bleu électrique #4F8CFF, lueur cyan, vert hausse / rouge baisse. Aucun or. */
html:root {
  --color-primary: #2563EB;
  --color-primary-hover: #1D4ED8;
  --color-primary-soft: rgba(37, 99, 235, 0.10);
  --color-primary-fill: #2563EB;
  --color-primary-deep: #1D4ED8;
  --color-accent: #0284C7;
  --color-accent-hover: #0369A1;
  --color-accent-soft: rgba(2, 132, 199, 0.10);
  --color-warning: #EA580C;
}
html.dark {
  --color-primary: #4F8CFF;
  --color-primary-hover: #6EA2FF;
  --color-primary-soft: rgba(79, 140, 255, 0.13);
  --color-primary-fill: #2F6FE8;   /* blanc dessus : 4,61:1 */
  --color-primary-deep: #2563EB;   /* blanc dessus : 5,17:1 */
  --color-accent: #38BDF8;
  --color-accent-hover: #7DD3FC;
  --color-accent-soft: rgba(56, 189, 248, 0.13);
  --color-background: #060B14;
  --color-surface: #0B1322;
  --color-surface-2: #101B2E;
  --color-surface-3: #16233A;
  --color-surface-hover: #132036;
  --color-border-subtle: #111C30;
  --color-border: #1C2B45;
  --color-border-strong: #2B3F62;
  --color-text: #EAF1FF;
  --color-text-muted: #9FB0CC;
  --color-text-faint: #8193B1;
  --color-success: #22C55E;
  --color-warning: #F97316;
  --color-error: #EF4444;
  --ck-bg-surface: #0B1322;
  --ck-bg-elevated: #101B2E;
  --ck-bg-overlay: #16233A;
  --ck-border-subtle: #16233A;
  --ck-border: #1C2B45;
  --ck-border-strong: #2B3F62;
  --ck-text-primary: #EAF1FF;
  --ck-text-secondary: #9FB0CC;
  --ck-text-muted: #8193B1;
}
::selection { background: #4F8CFF; color: #05101F; }

/* Couleurs de section : bleu électrique, cyan, vert hausse. Plus d'ambre, plus de violet. */
html :root, html [data-tone="home"] { --tone: #4F8CFF; --tone-2: #38BDF8; --tone-ink: #2563EB; }
html [data-tone="trading"] { --tone: #22C55E; --tone-2: #38BDF8; --tone-ink: #15803D; }
html [data-tone="learn"] { --tone: #38BDF8; --tone-2: #4F8CFF; --tone-ink: #0369A1; }
html [data-tone="community"] { --tone: #6EA2FF; --tone-2: #38BDF8; --tone-ink: #1D4ED8; }
html [data-tone="rewards"] { --tone: #38BDF8; --tone-2: #22C55E; --tone-ink: #0369A1; }
html [data-tone="account"] { --tone: #4F8CFF; --tone-2: #6EA2FF; --tone-ink: #1D4ED8; }
html.dark, html.dark [data-tone="home"] { --tone: #4F8CFF; --tone-2: #38BDF8; --tone-ink: #93B8FF; }
html.dark [data-tone="trading"] { --tone-ink: #4ADE80; }
html.dark [data-tone="learn"] { --tone-ink: #7DD3FC; }
html.dark [data-tone="community"] { --tone-ink: #A5C4FF; }
html.dark [data-tone="rewards"] { --tone-ink: #7DD3FC; }
html.dark [data-tone="account"] { --tone-ink: #93B8FF; }
html .ot-unread { --tone: #4F8CFF; --tone-2: #38BDF8; }

/* Carte « L'académie » de l'accueil : papier glacé bleuté au lieu du papier crème. */
html .desk-lesson { --desk-paper: #E6EEFB; --desk-ink: #0B1322; --desk-paper-muted: #44536D; --desk-paper-line: #C3D2EA; }
