/* PROFESSIONAL - the launcher's face (design/starters/professional/launcher.css). Contract version 1.

   Quiet, confident, banking-grade: a hairline grid, restrained type, generous space, the brand colour used once.

   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: #111827;
  --cv-color-paper: #ffffff;
  --cv-font-body: "Professional Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cv-font-display: "Professional Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cv-radius-s: 4px;
  --cv-radius-m: 6px;
  --cv-radius-l: 8px;
  --cv-shadow-1: 0 1px 0 rgba(17, 24, 39, .06);
  --cv-shadow-2: 0 1px 3px rgba(17, 24, 39, .08);
  --cv-shadow-3: 0 12px 32px rgba(17, 24, 39, .12);
  --cv-motion-fast: 120ms;
  --cv-motion-slow: 240ms;
  /* semantic */
  --cv-surface: var(--cv-color-paper);
  --cv-on-surface: var(--cv-color-ink);
  --cv-accent: var(--cv-color-brand);
  --cv-on-accent: #ffffff;
  --cv-muted: #4b5563;
  --cv-danger: #b42318;
  --cv-focus: var(--cv-accent);
  --cv-bubble-me-bg: #f3f4f6;
  --cv-bubble-me-ink: #111827;
  --cv-bubble-them-bg: #ffffff;
  --cv-bubble-them-ink: #111827;
  --cv-field-font-size: 16px;
}

/* ── Professional ─────────────────────────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Professional Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* A plain square-cornered button in the workspace's colour; the teaser a printed card. */
[data-cv-part="launcher"] { border-radius: 8px; box-shadow: 0 1px 3px rgba(17, 24, 39, .2); }
[data-cv-part="launcher-badge"] { border-radius: 4px; background: #111827; color: #ffffff; }
[data-cv-part="teaser"] { border-radius: 6px; color: #111827; box-shadow: 0 0 0 1px #e5e7eb, 0 8px 20px rgba(17, 24, 39, .08); }
:focus-visible { outline: 2px solid var(--cv-focus); outline-offset: 2px; }
