/* Kota's default theme: B Metsä, the calm forest (Kosti, 2026-11-17;
   vault: Projects/Kota/Kota visual identity). Pine green leads, bark brown
   for wood and secondary things, the flame only as a spark. Every text
   colour is at least 4.5:1 on ground, panel and sunk in both modes, and
   --rule (control borders) at least 3:1 on panel.
   A community skin (Kota UI v2) is another file here with the same
   variables, picked by KOTA_THEME. */

:root {
  --ground: #f1f4ec;    /* Jäkälä: the page */
  --panel: #fbfcf8;     /* cards, dialogs */
  --sunk: #e2e9d9;      /* Lehvä: fills, hover, selected */
  --border: #cad4bd;    /* dividers (decorative only) */
  --rule: #7f8f74;      /* input and control borders */
  --text: #1e2a1d;
  --soft: #3b4937;
  --muted: #56644f;
  --accent: #2f5a34;    /* Kuusi: primary buttons, links, focus */
  --accent-ink: #f7faf2;
  --bark: #7a4b2a;      /* Kaarna: wood, second accent */
  --bark-ink: #fbf6ee;
  --spark: #e07a3a;     /* Kipinä: new, live (never text) */
  --warn: #a3302c;
  --ok: #2e6a35;
  --info: #2f6460;
  --warn-wash: #f5e3df;
  --ok-wash: #dcebd8;
  --shadow: 0 1px 2px rgba(20, 40, 20, .08), 0 4px 14px rgba(20, 40, 20, .06);
  --display: "Bitter", Georgia, serif;
  --body: "Nunito", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  /* The mark (B, flat two-tone) */
  --mark-lit: #6e8b4e;
  --mark-shade: #3e5a35;
  --mark-door: #1f2f1f;
  --mark-pole: #7a4b2a;
  --mark-flame: #e07a3a;
  --mark-flame-in: #f6b54c;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #121913;  /* Yö */
    --panel: #1a231b;
    --sunk: #0d130e;
    --border: #2d3a2e;
    --rule: #66775f;
    --text: #e7ede0;
    --soft: #c6d0bb;
    --muted: #98a68f;
    --accent: #95c47c;
    --accent-ink: #101710;
    --bark: #d9a57a;
    --bark-ink: #121913;
    --spark: #e8823f;
    --warn: #f29a87;
    --ok: #9fcc86;
    --info: #8cc3bc;
    --warn-wash: #3a1f1b;
    --ok-wash: #1f3322;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35);
    --mark-lit: #86a665;
    --mark-shade: #557a47;
    --mark-door: #0d130e;
    --mark-pole: #c08a5c;
    --mark-flame: #e8823f;
    --mark-flame-in: #f7be5a;
    color-scheme: dark;
  }
}
