/* Idioma es: 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: #9a3412;
  --brand-2: #ea580c;
  --bg: #f2eeef;
  --bg-outer: #e2dadb;
  --ink: #21181a;
  --ink-2: #423b44;
  --muted: #686066;
  --line: #dfd8db;
  --line-strong: #c6bdc2;
  --grid-dot: #d7c0bd;
  --primary: #c94c0a;
  --primary-edge: #913707;
  --tint: #fef3ee;
  --tint-2: #fce4d8;
  --tint-edge: #f9cdb6;
  --primary-ink: #b24309;
  --focus: #c94c0a;
  --brand-ink: #9a3412;
  --band: #9a3412;
  --band-2: #c6480f;
  --cover-3a: #ba5910;
  --cover-3b: #9a3412;
  --bad-solid: #cc1e40;
  --bad-edge: #8f152d;
  --bad-bg: #faebee;
  --bad-line: #f0bcc6;
  --bad: #c41d3d;
  --sel: var(--primary);
  --sel-bg: var(--tint);
  --sel-line: var(--tint-edge);
  --toast: #21181a;
  --ic-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23686066' 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='%23423b44' 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: #191314;
    --bg-outer: #110c0c;
    --card: #231c1f;
    --muted: #8f8991;
    --line: #352c30;
    --line-strong: #483d42;
    --grid-dot: #3e2522;
    --primary: #c94c0a;
    --primary-edge: #913707;
    --tint: #3f241c;
    --tint-2: #572c1a;
    --tint-edge: #733417;
    --primary-ink: #f08750;
    --focus: #ea580c;
    --brand-ink: #b66d54;
    --band: #9a3412;
    --band-2: #c6480f;
    --cover-3a: #ba5910;
    --cover-3b: #9a3412;
    --accent-soft: #51391b;
    --accent-wash: #38291d;
    --flame-soft: #4e2d1d;
    --bad-solid: #cc1e40;
    --bad-edge: #8f152d;
    --bad-bg: #451c26;
    --bad-line: #6f1d2e;
    --bad: #f76883;
    --sel: var(--primary);
    --sel-bg: var(--tint);
    --sel-line: var(--tint-edge);
    --ic-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f8991' 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: #191314;
  --bg-outer: #110c0c;
  --card: #231c1f;
  --muted: #8f8991;
  --line: #352c30;
  --line-strong: #483d42;
  --grid-dot: #3e2522;
  --primary: #c94c0a;
  --primary-edge: #913707;
  --tint: #3f241c;
  --tint-2: #572c1a;
  --tint-edge: #733417;
  --primary-ink: #f08750;
  --focus: #ea580c;
  --brand-ink: #b66d54;
  --band: #9a3412;
  --band-2: #c6480f;
  --cover-3a: #ba5910;
  --cover-3b: #9a3412;
  --accent-soft: #51391b;
  --accent-wash: #38291d;
  --flame-soft: #4e2d1d;
  --bad-solid: #cc1e40;
  --bad-edge: #8f152d;
  --bad-bg: #451c26;
  --bad-line: #6f1d2e;
  --bad: #f76883;
  --sel: var(--primary);
  --sel-bg: var(--tint);
  --sel-line: var(--tint-edge);
  --ic-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f8991' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
