/* Idioma en: cores de marca e paleta derivada (claro e escuro). Copiado para <app>/app/lang.css por build/sync_apps.py.
   Para trocar a marca: mude --brand, --brand-2 e --accent e derive o resto (design/apply_design.py do app espanhol). */
:root {
  --brand: #1e3a8a;
  --brand-2: #2f54c9;
  --bg: #edeef4;
  --bg-outer: #d8dae5;
  --ink: #151926;
  --ink-2: #383c4d;
  --muted: #5b6172;
  --line: #d6d8e3;
  --line-strong: #babdce;
  --grid-dot: #bcc2d7;
  --primary: #2f54c9;
  --primary-edge: #223c91;
  --tint: #f0f3fb;
  --tint-2: #dee4f6;
  --tint-edge: #c1ccef;
  --primary-ink: #2f54c9;
  --focus: #2f54c9;
  --brand-ink: #1e3a8a;
  --band: #1e3a8a;
  --band-2: #2748ad;
  --cover-3a: #695d5e;
  --cover-3b: #1e3a8a;
  --bad-solid: #cc1e1e;
  --bad-edge: #8f1515;
  --bad-bg: #faebeb;
  --bad-line: #f0bcbc;
  --bad: #c61d1d;
  --sel: #2f54c9;
  --sel-bg: #eef1fb;
  --sel-line: #c5cff0;
  --toast: #151926;
  --ic-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6172' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --ic-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23383c4d' 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");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10131c;
    --bg-outer: #090c14;
    --card: #191d28;
    --muted: #85899b;
    --line: #292c3c;
    --line-strong: #393e50;
    --grid-dot: #1f2640;
    --primary: #2f54c9;
    --primary-edge: #223c91;
    --tint: #1c253f;
    --tint-2: #1f2b52;
    --tint-edge: #223368;
    --primary-ink: #7c93dd;
    --focus: #3b5ecc;
    --brand-ink: #6d7fb3;
    --band: #1e3a8a;
    --band-2: #2748ad;
    --cover-3a: #695d5e;
    --cover-3b: #1e3a8a;
    --accent-soft: #493922;
    --accent-wash: #2f2a25;
    --flame-soft: #462e24;
    --bad-solid: #cc1e1e;
    --bad-edge: #8f1515;
    --bad-bg: #3d1d26;
    --bad-line: #6a1d24;
    --bad: #f76666;
    --sel: #5f7bd5;
    --sel-bg: #1e294b;
    --sel-line: #233670;
    --ic-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2385899b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  }
}
:root[data-theme="dark"] {
  --bg: #10131c;
  --bg-outer: #090c14;
  --card: #191d28;
  --muted: #85899b;
  --line: #292c3c;
  --line-strong: #393e50;
  --grid-dot: #1f2640;
  --primary: #2f54c9;
  --primary-edge: #223c91;
  --tint: #1c253f;
  --tint-2: #1f2b52;
  --tint-edge: #223368;
  --primary-ink: #7c93dd;
  --focus: #3b5ecc;
  --brand-ink: #6d7fb3;
  --band: #1e3a8a;
  --band-2: #2748ad;
  --cover-3a: #695d5e;
  --cover-3b: #1e3a8a;
  --accent-soft: #493922;
  --accent-wash: #2f2a25;
  --flame-soft: #462e24;
  --bad-solid: #cc1e1e;
  --bad-edge: #8f1515;
  --bad-bg: #3d1d26;
  --bad-line: #6a1d24;
  --bad: #f76666;
  --sel: #5f7bd5;
  --sel-bg: #1e294b;
  --sel-line: #233670;
  --ic-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2385899b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
