/* Generated from design.json by tools/make-tokens.ts. Do not edit by hand. */

:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --row: #ffffff;
  --bar: rgba(250, 251, 252, 0.94);
  --line: #d5dae1;
  --text: #141a22;
  --muted: #3b424e;
  --mine: #1f4e79;
  --mine-text: #ffffff;
  --mine-muted: #e0e9f3;
  --theirs: #e6eaf0;
  --theirs-text: #141a22;
  --theirs-muted: #3c4450;
  --accent: #1f4e79;
  --accent-text: #ffffff;
  --link: #134279;
  --badge: #9f221b;
  --badge-text: #ffffff;
  --focus: #2e6fd1;
  --danger: #9f221b;
  --banner: #fcefd2;
  --banner-text: #5a3d00;
  --mono1: #1f4e79;
  --mono2: #6b3f8c;
  --mono-text: #ffffff;
  --note: #424245;
  --accent-soft: rgba(31,78,121,0.15);
  --quote-theirs: #d5dce6;
  --quote-theirs-bar: #1f4e79;
  --quote-mine: #173a5b;
  --quote-mine-bar: #c9d8ea;
  --avatar1: #1b566a;
  --avatar2: #743f8d;
  --avatar3: #8a3b2e;
  --avatar4: #464891;
  --avatar5: #73620d;
  --avatar6: #962c6a;
  --tick-sent: #b4c0cc;
  --tick-read: #7fe4ff;
  --react-pill: #ffffff;
  --react-pill-text: #1f4e79;
  --react-pill-line: #d5dae1;
  --shadow-soft: #00000033;
  --shadow-lift: #00000040;
  --bubble-radius: 18px;
  --tail-radius: 4px;
  --bubble-pad-v: 8px;
  --bubble-pad-h: 12px;
  --bubble-max-pct: 78%;
  --row-height: 72px;
  --monogram: 48px;
  --badge-min: 20px;
  --focus-width: 2px;
  --focus-offset: 2px;
  color-scheme: light;
}

/* The system decides; data-theme on <html> overrides it (a setting, and how screenshots show both). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1117;
    --surface: #161b22;
    --row: #161b22;
    --bar: rgba(17, 22, 29, 0.94);
    --line: #2d3440;
    --text: #e8ecf1;
    --muted: #b0b8c4;
    --mine: #274f7f;
    --mine-text: #ffffff;
    --mine-muted: #e6eef8;
    --theirs: #222934;
    --theirs-text: #e8ecf1;
    --theirs-muted: #c2c9d2;
    --accent: #8db9ee;
    --accent-text: #0d1117;
    --link: #8fbaee;
    --badge: #f28b82;
    --badge-text: #0d1117;
    --focus: #8db9ee;
    --danger: #ff8a80;
    --banner: #3a2d0e;
    --banner-text: #ffd98a;
    --mono1: #3468a0;
    --mono2: #7b4fa3;
    --mono-text: #ffffff;
    --note: #b7b7ba;
    --accent-soft: rgba(141,185,238,0.18);
    --quote-theirs: #2f3846;
    --quote-theirs-bar: #8db9ee;
    --quote-mine: #1d3f66;
    --quote-mine-bar: #e6eef8;
    --avatar1: #35788c;
    --avatar2: #9053ac;
    --avatar3: #9f483c;
    --avatar4: #6467b4;
    --avatar5: #827017;
    --avatar6: #b03b7f;
    --tick-sent: #dde5ee;
    --tick-read: #aaf2ff;
    --react-pill: #2b3340;
    --react-pill-text: #9fc4f1;
    --react-pill-line: #3d4757;
    --shadow-soft: #00000066;
    --shadow-lift: #00000080;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0d1117;
  --surface: #161b22;
  --row: #161b22;
  --bar: rgba(17, 22, 29, 0.94);
  --line: #2d3440;
  --text: #e8ecf1;
  --muted: #b0b8c4;
  --mine: #274f7f;
  --mine-text: #ffffff;
  --mine-muted: #e6eef8;
  --theirs: #222934;
  --theirs-text: #e8ecf1;
  --theirs-muted: #c2c9d2;
  --accent: #8db9ee;
  --accent-text: #0d1117;
  --link: #8fbaee;
  --badge: #f28b82;
  --badge-text: #0d1117;
  --focus: #8db9ee;
  --danger: #ff8a80;
  --banner: #3a2d0e;
  --banner-text: #ffd98a;
  --mono1: #3468a0;
  --mono2: #7b4fa3;
  --mono-text: #ffffff;
  --note: #b7b7ba;
  --accent-soft: rgba(141,185,238,0.18);
  --quote-theirs: #2f3846;
  --quote-theirs-bar: #8db9ee;
  --quote-mine: #1d3f66;
  --quote-mine-bar: #e6eef8;
  --avatar1: #35788c;
  --avatar2: #9053ac;
  --avatar3: #9f483c;
  --avatar4: #6467b4;
  --avatar5: #827017;
  --avatar6: #b03b7f;
  --tick-sent: #dde5ee;
  --tick-read: #aaf2ff;
  --react-pill: #2b3340;
  --react-pill-text: #9fc4f1;
  --react-pill-line: #3d4757;
  --shadow-soft: #00000066;
  --shadow-lift: #00000080;
  color-scheme: dark;
}
