/* Idioma de: 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: #27272a;
  --brand-2: #b91c1c;
  --bg: #eeeef0;
  --bg-outer: #d9d9dd;
  --ink: #16171c;
  --ink-2: #383a46;
  --muted: #5c5f68;
  --line: #d7d7dd;
  --line-strong: #bbbcc4;
  --grid-dot: #bebec2;
  --primary: #b91c1c;
  --primary-edge: #851414;
  --tint: #faefef;
  --tint-2: #f4dbdb;
  --tint-edge: #eabbbb;
  --primary-ink: #b91c1c;
  --focus: #b91c1c;
  --brand-ink: #27272a;
  --band: #27272a;
  --band-2: #772122;
  --cover-3a: #6f511f;
  --cover-3b: #27272a;
  --bad-solid: #cc1e7b;
  --bad-edge: #8f1556;
  --bad-bg: #faebf3;
  --bad-line: #f0bcd7;
  --bad: #be1c72;
  --sel: #27272a;
  --sel-bg: #eeeeee;
  --sel-line: #c3c3c3;
  --toast: #16171c;
  --ic-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5f68' 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='%23383a46' 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: #111216;
    --bg-outer: #0a0b0e;
    --card: #1a1b21;
    --muted: #868893;
    --line: #2a2b32;
    --line-strong: #3a3b44;
    --grid-dot: #212228;
    --primary: #b91c1c;
    --primary-edge: #851414;
    --tint: #301b20;
    --tint-2: #431b20;
    --tint-edge: #5a1b1f;
    --primary-ink: #d47575;
    --focus: #bf2e2e;
    --brand-ink: #808081;
    --band: #27272a;
    --band-2: #772122;
    --cover-3a: #6f511f;
    --cover-3b: #27272a;
    --accent-soft: #4a381c;
    --accent-wash: #30281f;
    --flame-soft: #472d1f;
    --bad-solid: #cc1e7b;
    --bad-edge: #8f1556;
    --bad-bg: #3e1c33;
    --bad-line: #6a1c4a;
    --bad: #f65daf;
    --sel: #808081;
    --sel-bg: #1d1e23;
    --sel-line: #202025;
    --ic-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23868893' 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: #111216;
  --bg-outer: #0a0b0e;
  --card: #1a1b21;
  --muted: #868893;
  --line: #2a2b32;
  --line-strong: #3a3b44;
  --grid-dot: #212228;
  --primary: #b91c1c;
  --primary-edge: #851414;
  --tint: #301b20;
  --tint-2: #431b20;
  --tint-edge: #5a1b1f;
  --primary-ink: #d47575;
  --focus: #bf2e2e;
  --brand-ink: #808081;
  --band: #27272a;
  --band-2: #772122;
  --cover-3a: #6f511f;
  --cover-3b: #27272a;
  --accent-soft: #4a381c;
  --accent-wash: #30281f;
  --flame-soft: #472d1f;
  --bad-solid: #cc1e7b;
  --bad-edge: #8f1556;
  --bad-bg: #3e1c33;
  --bad-line: #6a1c4a;
  --bad: #f65daf;
  --sel: #808081;
  --sel-bg: #1d1e23;
  --sel-line: #202025;
  --ic-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23868893' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
