/* EduMicroApps tokens for APEX — derived from tokens.json; regenerate when tokens change. */
:root, [data-theme="light"] {
  --ema-surface-100: #f7f6f1;
  --ema-surface-200: #ecebe3;
  --ema-surface-raised: #ffffff;
  --ema-ink: #1a1f1c;
  --ema-ink-muted: #5b625d;
  --ema-hairline: #dedcd0;
  --ema-border-strong: #8a8f84;
  --ema-brand: #1f6f4a;
  --ema-on-brand: #ffffff;
  --ema-hero: #1f6f4a;
  --ema-on-hero: #ffffff;
  --ema-brand-tint: #a7d7bb;
  --ema-accent: #f2a516;
  --ema-info: #2f5d9e;
  --ema-danger: #b42318;
  --ema-focus-ring: var(--ema-info);
  --ema-shadow-pop: 0 8px 24px rgba(26,31,28,0.12);
}
[data-theme="dark"] {
  color-scheme: dark;
  --ema-surface-100: #121513;
  --ema-surface-200: #1b1f1c;
  --ema-surface-raised: #222724;
  --ema-ink: #eef2ee;
  --ema-ink-muted: #a3aba5;
  --ema-hairline: #2a302c;
  --ema-border-strong: #737b75;
  --ema-brand: #4cc38a;
  --ema-on-brand: #0d1a13;
  --ema-hero: #1c3a2b;
  --ema-on-hero: #eef2ee;
  --ema-brand-tint: #2c5a42;
  --ema-accent: #f5b73b;
  --ema-info: #7aa7e6;
  --ema-danger: #f97066;
  --ema-focus-ring: var(--ema-info);
  --ema-shadow-pop: 0 8px 24px rgba(0,0,0,0.5);
}
:root {
  --ema-space-1: 4px;
  --ema-space-2: 8px;
  --ema-space-4: 16px;
  --ema-space-6: 24px;
  --ema-space-8: 32px;
  --ema-radius-sm: 6px;
  --ema-radius-md: 10px;
  --ema-radius-lg: 16px;
  --ema-radius-pill: 9999px;
  --ema-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ema-font-sans: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ema-font-mono: "Atkinson Hyperlegible Mono", ui-monospace, Menlo, monospace;
}
