/* Motor de idiomas: tokens.css. Variáveis comuns a todos os apps (raio, fontes, ícones em data-URI, cores de
   acerto/erro, sombras), nos modos claro e escuro. As cores de MARCA e as derivadas delas ficam em langs/<code>.css
   (copiado para app/lang.css e carregado logo depois deste arquivo). Paleta derivada por design/apply_design.py.
   --font-lang: fonte extra do idioma; o valor real vem de LANG.fontLang (aplicado por core.js). */
:root {
  --accent: #f59e0b;
  --font-lang: system-ui;
  --font-display: "Bricolage Grotesque", var(--font-lang), ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Lexend", var(--font-lang), system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 16px;
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='19' r='3'/%3E%3Cpath d='M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15'/%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3C/svg%3E");
  --route-deco: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 120' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-dasharray='2 9'%3E%3Cpath d='M8 112c30-6 34-40 64-44s40 24 66 6 22-52 26-66'/%3E%3C/svg%3E");
  --ic-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --ic-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
  --card: #ffffff;
  --accent-soft: #fdecce;
  --accent-wash: #fef6e9;
  --accent-edge: #bf7b09;
  --accent-ink: #935f07;
  --on-accent: #332102;
  --flame: #f97316;
  --flame-soft: #ffedd5;
  --heart: #ef4444;
  --ok-solid: #15803d;
  --ok-edge: #0e5c2b;
  --ok: #13703a;
  --ok-bg: #e3f6e9;
  --ok-line: #b6e5c4;
  --toast-ink: #ffffff;
  --ink-fixed: #14151b;
  --ic-check-ok: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313703a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --shadow-1: 0 1px 2px rgb(20 22 30 / .04), 0 4px 14px -6px rgb(20 22 30 / .08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #ecebf1;
    --ink-2: #c9c9d3;
    --accent-edge: #bf7b09;
    --accent-ink: #f59e0b;
    --on-accent: #332102;
    --flame: #f97316;
    --heart: #ef4444;
    --ok-solid: #15803d;
    --ok-edge: #0e5c2b;
    --ok: #4ade80;
    --ok-bg: #0f2a1a;
    --ok-line: #1c4a2e;
    --toast: #f3f2f7;
    --toast-ink: #14151b;
    --ink-fixed: #14151b;
    --ic-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9c9d3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
    --ic-check-ok: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    --shadow-1: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #ecebf1;
  --ink-2: #c9c9d3;
  --accent-edge: #bf7b09;
  --accent-ink: #f59e0b;
  --on-accent: #332102;
  --flame: #f97316;
  --heart: #ef4444;
  --ok-solid: #15803d;
  --ok-edge: #0e5c2b;
  --ok: #4ade80;
  --ok-bg: #0f2a1a;
  --ok-line: #1c4a2e;
  --toast: #f3f2f7;
  --toast-ink: #14151b;
  --ink-fixed: #14151b;
  --ic-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9c9d3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
  --ic-check-ok: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --shadow-1: none;
  color-scheme: dark;
}
