/* Live meeting colour tokens (VETI-6962) -- the "Meetings Live Mode" design, light and dark.

   Ported verbatim from the Claude Design system's tokens/colors.css + tokens/spacing.css (the same
   source education-tokens.css was ported from), plus the few literals the Live Mode screen itself
   uses: the header's gradient and glass overlays, the stage overlays and the nine anchor-kind
   colours (and their dark-mode variants) from its KINDS table.

   Scoped under .lsv2 -- the class LiveSession puts on its shell when LiveSessionNewTheme is on --
   and --tl- prefixed like the other scoped palettes. The theme comes from the shell's data-theme
   attribute, which LiveSession binds to ThemeStateService, so the meeting follows the app's
   light/dark switch and the header's Light/Dark button flips both. */
.lsv2,
body:has(.live-session-shell.lsv2.is-foreground) .fluent-toast-provider {
  /* Brand -- same hex in both modes */
  --tl-navy: #0B1F3A;
  --tl-gold: #F4A623;
  --tl-blue: #2D6CDF;
  --tl-white: #FFFFFF;

  /* Status -- same hex in both modes */
  --tl-success: #22C55E;
  --tl-error: #EF4444;

  /* Semantic -- light */
  --tl-bg: #F0F2F5;
  --tl-surface: #FFFFFF;
  --tl-surface-alt: #F8F7F4;
  --tl-border: #E2E6EB;
  --tl-text: #0B1F3A;
  --tl-text-2: #555555;
  --tl-text-muted: #8A8A8A;
  --tl-success-fg: #15803D;
  --tl-success-bg: #DCFCE7;
  --tl-warning-fg: #B4790F;
  --tl-error-fg: #B91C1C;
  --tl-tab-active: #0B1F3A;
  --tl-primary: #0B1F3A;
  --tl-primary-text: #FFFFFF;

  /* Header strip: 135deg navy -> blue -> gold, glass buttons and pills */
  --tl-header-gradient: linear-gradient(135deg, #0B1F3A 0%, #2D6CDF 50%, #F4A623 100%);
  --tl-header-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  --tl-header-shimmer: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0) 100%);
  --tl-header-divider: rgba(255, 255, 255, 0.4);
  --tl-header-subtle: rgba(255, 255, 255, 0.82);
  --tl-header-btn-bg: rgba(11, 31, 58, 0.32);
  --tl-header-btn-border: rgba(255, 255, 255, 0.28);
  --tl-header-pill-bg: rgba(11, 31, 58, 0.35);
  --tl-header-pill-border: rgba(255, 255, 255, 0.22);

  /* Shadows */
  --tl-soft-shadow: 0 8px 24px rgba(11, 31, 58, 0.10);

  /* Anchor kinds (the design's KINDS table) */
  --tl-kind-pin: #F4A623;
  --tl-kind-note: #2D6CDF;
  --tl-kind-document: #7A8699;
  --tl-kind-poll: #0EA5A0;
  --tl-kind-pinned-moment: #B4790F;
  --tl-kind-decision: #0B1F3A;
  --tl-kind-insight: #3B82F6;
  --tl-kind-action: #22C55E;
  --tl-kind-learning: #6B5BD2;

  /* Radii (tokens/spacing.css) */
  --tl-radius-card: 12px;
  --tl-radius-shell: 16px;
  --tl-radius-button: 8px;
  --tl-radius-pill: 20px;

  --tl-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Semantic -- dark (tokens/colors.css [data-theme="dark"]) */
.lsv2[data-theme="dark"],
body:has(.live-session-shell.lsv2.is-foreground[data-theme="dark"]) .fluent-toast-provider {
  --tl-bg: #080F1A;
  --tl-surface: #0D1B2E;
  --tl-surface-alt: #152336;
  --tl-border: #1E2F45;
  --tl-text: #FFFFFF;
  --tl-text-2: #CBD5E1;
  --tl-text-muted: #64748B;
  --tl-success-fg: #4ADE80;
  --tl-success-bg: #10261A;
  --tl-warning-fg: #F4A623;
  --tl-error-fg: #F87171;
  --tl-tab-active: #FFFFFF;
  --tl-primary: #F4A623;
  --tl-primary-text: #0B1F3A;
  --tl-soft-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);

  /* The two kinds that would vanish on a dark surface (KINDS colorDark) */
  --tl-kind-pinned-moment: #E6C88A;
  --tl-kind-decision: #F1F1F1;
}
