/* Idioma zh: cores de marca e paleta derivada (claro e escuro). Copiado para <app>/app/lang.css por build/sync_apps.py.
   Marca verde-jade (#115e59 / #0f766e) com destaque dourado (#d97706, sobrescreve o --accent de tokens.css no claro);
   erro em magenta como no alemão. Contraste AA conferido no claro e no escuro (texto sobre card, bg, tint, faixas). */
:root {
  --brand: #115e59;
  --brand-2: #0f766e;
  --bg: #edf1f0;
  --bg-outer: #d6dedc;
  --ink: #121a19;
  --ink-2: #33403e;
  --muted: #56635f;
  --line: #d2dbd9;
  --line-strong: #b3c0bd;
  --grid-dot: #b7c3c0;
  --primary: #0f766e;
  --primary-edge: #0a4f4a;
  --tint: #eaf6f4;
  --tint-2: #d2ede9;
  --tint-edge: #a6dbd3;
  --primary-ink: #0f766e;
  --focus: #0f766e;
  --brand-ink: #115e59;
  --band: #115e59;
  --band-2: #134e4a;
  --cover-3a: #8a5206;
  --cover-3b: #115e59;
  --bad-solid: #cc1e7b;
  --bad-edge: #8f1556;
  --bad-bg: #faebf3;
  --bad-line: #f0bcd7;
  --bad: #be1c72;
  --sel: #115e59;
  --sel-bg: #e6f1ef;
  --sel-line: #a9cfc9;
  --toast: #121a19;
  --accent: #d97706;
  --accent-soft: #fbe7c6;
  --accent-wash: #fdf4e6;
  --accent-edge: #a95c04;
  --accent-ink: #8f4a03;
  --on-accent: #2b1700;
  --ic-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356635f' 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='%2333403e' 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: #0e1514;
    --bg-outer: #080c0b;
    --card: #162120;
    --muted: #8b9a97;
    --line: #253331;
    --line-strong: #354644;
    --grid-dot: #1d2928;
    --primary: #0f766e;
    --primary-edge: #0a4f4a;
    --tint: #11302d;
    --tint-2: #15403c;
    --tint-edge: #1c534e;
    --primary-ink: #4fd1bf;
    --focus: #2bb3a3;
    --brand-ink: #6cc7bb;
    --band: #115e59;
    --band-2: #134e4a;
    --cover-3a: #7a4a06;
    --cover-3b: #115e59;
    --accent-soft: #4a3413;
    --accent-wash: #2e2618;
    --flame-soft: #472d1f;
    --bad-solid: #cc1e7b;
    --bad-edge: #8f1556;
    --bad-bg: #3e1c33;
    --bad-line: #6a1c4a;
    --bad: #f65daf;
    --sel: #6cc7bb;
    --sel-bg: #152120;
    --sel-line: #2b3f3c;
    --ic-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b9a97' 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: #0e1514;
  --bg-outer: #080c0b;
  --card: #162120;
  --muted: #8b9a97;
  --line: #253331;
  --line-strong: #354644;
  --grid-dot: #1d2928;
  --primary: #0f766e;
  --primary-edge: #0a4f4a;
  --tint: #11302d;
  --tint-2: #15403c;
  --tint-edge: #1c534e;
  --primary-ink: #4fd1bf;
  --focus: #2bb3a3;
  --brand-ink: #6cc7bb;
  --band: #115e59;
  --band-2: #134e4a;
  --cover-3a: #7a4a06;
  --cover-3b: #115e59;
  --accent-soft: #4a3413;
  --accent-wash: #2e2618;
  --flame-soft: #472d1f;
  --bad-solid: #cc1e7b;
  --bad-edge: #8f1556;
  --bad-bg: #3e1c33;
  --bad-line: #6a1c4a;
  --bad: #f65daf;
  --sel: #6cc7bb;
  --sel-bg: #152120;
  --sel-line: #2b3f3c;
  --ic-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b9a97' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
