/* Orbvane kit design tokens. Every app imports this first. Light is the default; dark applies by system preference
   or data-theme="dark". Neutrals and status colours are shared; an app overrides only the --accent* and --chart-*
   group for its own brand (TealJar = Lagoon, the values below). */
:root {
  --font-ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --paper: #f2f4f7;
  --surface: #ffffff;
  --surface-2: #eceff3;
  --line: #dce1e8;
  --line-soft: #e9edf2;
  --ink: #111827;
  --ink-2: #374151;
  --ink-3: #556070;

  --accent: #0b7285;
  --accent-ink: #ffffff;
  --accent-soft: #dcf0f2;
  --accent-line: #b5dde3;

  --ok: #1f7a35;
  --ok-soft: #e0f1e4;
  --warn: #a8670f;
  --warn-soft: #f7ead4;
  --over: #c0364f;
  --over-soft: #f8dde2;

  --chart-1: #085a69;
  --chart-2: #1592a8;
  --chart-3: #2f8a3c;
  --chart-4: #2f6fcf;
  --chart-5: #a8670f;
  --chart-6: #6a4fc0;
  --chart-7: #556070;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --space: 8px;
  --shadow: none;

  --fs-title: 20px;
  --fs-body: 14px;
  --fs-label: 12px;
  --fs-amount-lg: 28px;

  color-scheme: light;
}

/* dark: D2 "Ink blue", a deep blue-grey like iOS dark; light: L2 "Cool mist", blue-grey page with white
   cards. His pick 2026-11-13 for every Orbvane app, current and future (was teal-slate #172524, 2026-10-19). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f141a;
    --surface: #161d26;
    --surface-2: #1f2833;
    --line: #2a3542;
    --line-soft: #1c242e;
    --ink: #e6edf5;
    --ink-2: #b4c0ce;
    --ink-3: #93a1b3;
    --accent: #4cc4d4;
    --accent-ink: #0b1a1c;
    --accent-soft: #172832;
    --accent-line: #24434d;
    --ok: #5fd08a;
    --ok-soft: #15291f;
    --warn: #e6ac4f;
    --warn-soft: #2f2718;
    --over: #f47f93;
    --over-soft: #3a1c26;
    --chart-1: #1f98aa;
    --chart-2: #4cc4d4;
    --chart-3: #4fae4b;
    --chart-4: #4f86dc;
    --chart-5: #c9902f;
    --chart-6: #8a70d8;
    --chart-7: #7c8899;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.25);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0f141a;
  --surface: #161d26;
  --surface-2: #1f2833;
  --line: #2a3542;
  --line-soft: #1c242e;
  --ink: #e6edf5;
  --ink-2: #b4c0ce;
  --ink-3: #93a1b3;
  --accent: #4cc4d4;
  --accent-ink: #0b1a1c;
  --accent-soft: #172832;
  --accent-line: #24434d;
  --ok: #5fd08a;
  --ok-soft: #15291f;
  --warn: #e6ac4f;
  --warn-soft: #2f2718;
  --over: #f47f93;
  --over-soft: #3a1c26;
  --chart-1: #1f98aa;
  --chart-2: #4cc4d4;
  --chart-3: #4fae4b;
  --chart-4: #4f86dc;
  --chart-5: #c9902f;
  --chart-6: #8a70d8;
  --chart-7: #7c8899;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.25);
  color-scheme: dark;
}
