/* Inkwell's look beyond its theme. /rer-theme.css holds only what Base's theme grammar allows (the --rer-* tokens and
   the faces; the installer reads it), so Inkwell's own tokens are here: Base's extra --rer-* names, then the run
   site's and the app's. The root document (the app and the signing pages), /setup, the Lobby, Base's Run, contract and
   not-found pages and the run site link this file before the theme (src/base/font-head.ts and the edition identity's
   fonts); the sign-in, confirmation and settings pages (src/base/font-response.ts) and the development sign-in and
   hand-off pages (src/server.dev.ts) link it after their own style; the hosted demo's gate inlines it before the
   theme. */

/* Inkwell's tokens, defined once: Base's pages, the run site (src/site/styles), the app (public/app/) and the frames
   (public/frame.css) read them with the --rer-* tokens in /rer-theme.css. */
:root {
  --rer-font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --rer-button-radius: 18px;
  --rer-code-background: #12161f;
  --rer-code-text: #e8ecf2;
  --rer-wordmark-weight: 800;
  --rer-wordmark-tracking: -.04em;

  /* The run site's own tokens. */
  --paper: var(--rer-page);
  --surface: var(--rer-surface);
  --ink: var(--rer-text);
  --body: #434a58;
  --soft: #6b7280;
  --faint: #9aa1ad;
  --line: #e6e9ee;
  --line-strong: #d6dbe2;
  --grid: #eff2f5;
  --row: #f6f8fa;
  --button: var(--rer-accent);
  --jade: #00c98b;
  --jade-deep: #0a9e6c;
  --jade-band: #2bd9a2;
  --mascot-ink: #07211a;
  --tongue: #f26f8a;
  --grad-a: #02a36b;
  --grad-b: #008dfa;
  --gradient: linear-gradient(90deg, var(--grad-a) 0%, #00a3a0 45%, var(--grad-b) 100%);
  --green: #12a150;
  --green-ink: #0b7a3e;
  --green-tint: #e2f7ea;
  --green-wash: #f3fbf6;
  --blue: #0a7cff;
  --blue-ink: #0466d6;
  --blue-tint: #e6f1ff;
  --blue-wash: #f4f8ff;
  --red: #e5322d;
  --red-ink: #c42420;
  --red-tint: #fde4e4;
  --amber-ink: #8a5a00;
  --amber-tint: #fdf0b0;
  --amber-wash: #fff8e1;
  --violet-ink: #4b3fcf;
  --violet-tint: #e7e4fd;
  --rose-ink: #c2412f;
  --rose-tint: #fee4e3;
  --sticky: #ffe98c;
  --sticky-ink: #1d1f22;
  --code: var(--rer-code-background);
  --code-text: var(--rer-code-text);
  --font-hand: 'Kalam', 'Comic Sans MS', cursive;
  --font-sign: 'Mrs Saint Delafield', 'Allura', cursive;
  --shadow-card: 0 1px 2px rgb(16 24 40 / 5%), 0 14px 34px -10px rgb(16 24 40 / 14%);
  --shadow-lift: 0 2px 4px rgb(16 24 40 / 6%), 0 22px 48px -14px rgb(16 24 40 / 20%);
  --radius-card: 18px;

  /* The app's own tokens (public/app/*.css, Base's frames in public/frame.css): the picked app look's
     white cards at 14px with hairlines, quiet 10px fields, and its brighter emerald-to-azure accent pair, kept to the
     progress bars, the selected navigation and the count of envelopes that need you. */
  --app-grad-a: #17b26a;
  --app-grad-b: #1489f2;
  --app-gradient: linear-gradient(90deg, var(--app-grad-a), var(--app-grad-b));
  --app-nav: linear-gradient(90deg, #5fd8a6, #63b7f7);
  --app-radius: 14px;
  --app-radius-field: 10px;
  --app-field: #d3d8e0;
  --app-field-hover: #aab2bf;
  --app-shadow: 0 1px 2px rgb(16 24 40 / 4%), 0 8px 24px -12px rgb(16 24 40 / 12%);
  --app-grid: #f1f3f6;
  --app-wash: #f6f8fa;
  --app-select: #eef5ff;
}
