:root,
[data-appearance="light"] {
  color-scheme: light;
  --app-bg: #f4f5f1;
  --app-surface: #ffffff;
  --app-surface-muted: #eef0eb;
  --app-text: #171916;
  --app-text-muted: #646c62;
  --app-border: #d6dad1;
  --app-control: #ffffff;
  --app-primary: #171916;
  --app-primary-text: #ffffff;
  --app-danger: #9b2f2a;
  --app-warning: #80570f;
  --app-focus: #52744a;
}

[data-appearance="dark"] {
  color-scheme: dark;
  --app-bg: #0d100e;
  --app-surface: #171b18;
  --app-surface-muted: #202520;
  --app-text: #f4f6f2;
  --app-text-muted: #b1bab0;
  --app-border: #394039;
  --app-control: #202520;
  --app-primary: #f4f6f2;
  --app-primary-text: #111411;
  --app-danger: #ff938c;
  --app-warning: #f0c56f;
  --app-focus: #9fc995;
}

@media (prefers-color-scheme: dark) {
  [data-appearance="system"] {
    color-scheme: dark;
    --app-bg: #0d100e;
    --app-surface: #171b18;
    --app-surface-muted: #202520;
    --app-text: #f4f6f2;
    --app-text-muted: #b1bab0;
    --app-border: #394039;
    --app-control: #202520;
    --app-primary: #f4f6f2;
    --app-primary-text: #111411;
    --app-danger: #ff938c;
    --app-warning: #f0c56f;
    --app-focus: #9fc995;
  }
}
