/* DARK - the launcher's face (design/starters/dark/launcher.css). Contract version 1.

   Clean, for the night: deep greys, soft light ink, the workspace's colour lightened to glow on dark.

   A STARTER DESIGN (designer-css-plan section 2.6): ours, read-only, loaded and changed and saved as a workspace's own
   design. Written ONLY against the --cv-* tokens and the data-cv-* parts, moments, turns, states and screens of
   design/contract.json - never a class name, never an !important. A design's CSS lands in the cascade layer cv.design (the
   server wraps it; on the go site's stage, Tests/Design/ShotCases.Starters.cs does), so it beats our default bundle
   without a specificity war. url() reaches only this package's own files.

   1. THE TOKENS - on :root of the launcher frame - announced, not built: the frame that will wear this file is P3
      (designer-css-plan 2.8); until then Tests/Design/ShotCases.Starters.cs draws it on a stand-in frame. They equal
      manifest.json's tokens, value for value (Tests/Design/StarterLibraryTests).
   2. THE LOOK - every shape, glow, picture and motion is scoped to the conversation's own screen
      ([data-cv-screen="thread"]). A protected screen (confirm, consent, payment, sign-in) and a protected part (the
      verified note, Powered by, a signature, an action's confirm) take COLOURS ONLY, inside the contrast floor - so when
      the locked layer lands (P1) nothing here has to move. Motion runs only when the reader has not asked for less. */

:root {
  /* reference */
  --cv-color-ink: #e6e8eb;
  --cv-color-paper: #0f1115;
  --cv-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cv-font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cv-radius-s: 8px;
  --cv-radius-m: 12px;
  --cv-radius-l: 18px;
  --cv-shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --cv-shadow-2: 0 4px 12px rgba(0, 0, 0, .45);
  --cv-shadow-3: 0 20px 50px rgba(0, 0, 0, .6);
  --cv-motion-fast: 120ms;
  --cv-motion-slow: 240ms;
  /* semantic */
  --cv-surface: #16191f;
  --cv-on-surface: var(--cv-color-ink);
  --cv-accent: color-mix(in srgb, var(--cv-color-brand) 55%, #ffffff);
  --cv-on-accent: #0f1115;
  --cv-muted: #9aa3ad;
  --cv-danger: #ff8a80;
  --cv-focus: var(--cv-accent);
  --cv-bubble-me-bg: var(--cv-accent);
  --cv-bubble-me-ink: var(--cv-on-accent);
  --cv-bubble-them-bg: #22262e;
  --cv-bubble-them-ink: #e6e8eb;
  --cv-field-font-size: 16px;
}

/* ── Dark ─────────────────────────────────────────────────────────────────────────────────────── */

[data-cv-part="launcher"] { background: #16191f; color: color-mix(in srgb, var(--cv-color-brand) 55%, #ffffff); box-shadow: 0 0 0 1px #343a44, 0 10px 26px rgba(0, 0, 0, .5); }
[data-cv-part="launcher-badge"] { background: color-mix(in srgb, var(--cv-color-brand) 55%, #ffffff); color: #0f1115; }
[data-cv-part="teaser"] { background: #16191f; color: #e6e8eb; box-shadow: 0 0 0 1px #343a44, 0 10px 26px rgba(0, 0, 0, .5); }
[data-cv-part="teaser-close"] { color: #9aa3ad; }
