/*
  Ledger tokens. Change these to restyle the app.
  The same names are used in react/src/ledger/tokens.css and in the Figma file.
*/
:root,
[data-theme="light"] {
  --lg-bg: #f6f7f5;
  --lg-surface: #ffffff;
  --lg-surface-2: #eef1ef;
  --lg-ink: #14201c;
  --lg-ink-2: #4a5751;
  --lg-muted: #626e69;
  --lg-line: #e4e8e5;
  --lg-line-strong: #dde3df;
  --lg-accent: #0e7c66;
  --lg-accent-text: #0b6e5a;
  --lg-accent-soft: #e8f3f0;
  --lg-on-accent: #ffffff;
  --lg-on-accent-muted: #e8f6f1;
  --lg-focus: #0e7c66;
  --lg-bar-in: #0e7c66;
  --lg-bar-out: #c9d3ce;
  --lg-account-2: #5fae98;
  --lg-account-3: #a8d3c6;
  --lg-warn: #8a3b12;
  --lg-warn-soft: #f2e3d9;
  --lg-tip-bg: #14201c;
  --lg-tip-ink: #ffffff;
  --lg-scrim: rgb(20 32 28 / 0.4);
  --lg-shadow: 0 24px 60px rgb(20 32 28 / 0.18);

  --lg-radius: 12px;
  --lg-radius-sm: 8px;
  --lg-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --lg-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Motion: see motion.md */
  --lg-duration: 720ms;
  --lg-ease: cubic-bezier(0.65, 0, 0.35, 1);
  --lg-stagger: 40ms;
  --lg-fade: 160ms;
}

[data-theme="dark"] {
  --lg-bg: #0d1412;
  --lg-surface: #151e1b;
  --lg-surface-2: #1e2a26;
  --lg-ink: #e6eeea;
  --lg-ink-2: #bcc8c3;
  --lg-muted: #94a39d;
  --lg-line: #24312d;
  --lg-line-strong: #2e3d38;
  --lg-accent: #2fb392;
  --lg-accent-text: #4fd1ae;
  --lg-accent-soft: #173a31;
  --lg-on-accent: #06231c;
  --lg-on-accent-muted: #0b3b30;
  --lg-focus: #4fd1ae;
  --lg-bar-in: #2fb392;
  --lg-bar-out: #3a4a44;
  --lg-account-2: #2a7f69;
  --lg-account-3: #1f5245;
  --lg-warn: #f0a57a;
  --lg-warn-soft: #3a241a;
  --lg-tip-bg: #e6eeea;
  --lg-tip-ink: #0d1412;
  --lg-scrim: rgb(0 0 0 / 0.6);
  --lg-shadow: 0 24px 60px rgb(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --lg-bg: #0d1412;
    --lg-surface: #151e1b;
    --lg-surface-2: #1e2a26;
    --lg-ink: #e6eeea;
    --lg-ink-2: #bcc8c3;
    --lg-muted: #94a39d;
    --lg-line: #24312d;
    --lg-line-strong: #2e3d38;
    --lg-accent: #2fb392;
    --lg-accent-text: #4fd1ae;
    --lg-accent-soft: #173a31;
    --lg-on-accent: #06231c;
    --lg-on-accent-muted: #0b3b30;
    --lg-focus: #4fd1ae;
    --lg-bar-in: #2fb392;
    --lg-bar-out: #3a4a44;
    --lg-account-2: #2a7f69;
    --lg-account-3: #1f5245;
    --lg-warn: #f0a57a;
    --lg-warn-soft: #3a241a;
    --lg-tip-bg: #e6eeea;
    --lg-tip-ink: #0d1412;
    --lg-scrim: rgb(0 0 0 / 0.6);
    --lg-shadow: 0 24px 60px rgb(0 0 0 / 0.5);
  }
}
