/* HOT-RODDER - the AI Concierge's face (design/starters/hot-rodder/bot.css). Contract version 1.

   Chrome, flames and racing stripes: a brushed-metal header, flame-licked cards, heavy slanted type.

   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, where the concierge declares its own (a design's layer beats the dark theme's html[data-
      theme] there). 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-brand: #ff5a1f;
  --cv-color-ink: #f2f2f2;
  --cv-color-paper: #16181b;
  --cv-font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cv-font-display: "Hot Rod Oxanium", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cv-radius-s: 4px;
  --cv-radius-m: 6px;
  --cv-radius-l: 10px;
  --cv-shadow-1: 0 2px 0 rgba(0, 0, 0, .5);
  --cv-shadow-2: 0 6px 0 rgba(0, 0, 0, .45);
  --cv-shadow-3: 0 30px 60px rgba(0, 0, 0, .6);
  --cv-motion-fast: 120ms;
  --cv-motion-slow: 240ms;
  /* semantic */
  --cv-surface: #1d2024;
  --cv-on-surface: var(--cv-color-ink);
  --cv-accent: #ff5a1f;
  --cv-on-accent: #1b0a00;
  --cv-muted: #b6bcc4;
  --cv-danger: #ff6b6b;
  --cv-focus: #ffc400;
  --cv-bubble-me-bg: #ff5a1f;
  --cv-bubble-me-ink: #1b0a00;
  --cv-bubble-them-bg: #2a2e33;
  --cv-bubble-them-ink: #f2f2f2;
  --cv-field-font-size: 16px;
  /* component */
  --cv-header-bg: #c9ced6;
  --cv-header-line: #ff5a1f;
  --cv-avatar-bg: var(--cv-accent);
  --cv-avatar-ink: var(--cv-on-accent);
  --cv-bubble-radius: var(--cv-radius-l);
  --cv-bubble-tail-radius: var(--cv-radius-s);
  --cv-bubble-font-size: 14.5px;
  --cv-bubble-them-shadow: var(--cv-shadow-1);
  --cv-typing-dot: var(--cv-muted);
  --cv-card-radius: var(--cv-radius-l);
  --cv-chip-bg: #1d2024;
  --cv-chip-ink: #ffc400;
  --cv-chip-border: #ffc400;
  --cv-chip-radius: 999px;
  --cv-chip-hover-bg: rgba(255, 196, 0, .12);
  --cv-composer-bg: #24282d;
  --cv-composer-ink: var(--cv-on-surface);
  --cv-composer-placeholder-ink: var(--cv-muted);
  --cv-composer-line: color-mix(in srgb, var(--cv-on-surface) 16%, transparent);
  --cv-send-bg: var(--cv-accent);
  --cv-send-ink: var(--cv-on-accent);
  --cv-sheet-bg: var(--cv-surface);
  --cv-sheet-backdrop: rgba(15, 17, 19, .7);
  --cv-page-bg: #0f1113;
  --cv-panel-bg: #16181b;
  --cv-panel-radius: var(--cv-radius-l);
  --cv-panel-shadow: var(--cv-shadow-3);
  --cv-language-line: color-mix(in srgb, var(--cv-on-surface) 14%, transparent);
  --cv-language-line-hover: color-mix(in srgb, var(--cv-on-surface) 28%, transparent);
  --cv-chip-font-size: 13.5px;
  --cv-card-picture-bg: color-mix(in srgb, var(--cv-accent) 8%, var(--cv-surface));
  --cv-document-bg: color-mix(in srgb, var(--cv-accent) 6%, var(--cv-surface));
  --cv-done-line-rule: color-mix(in srgb, var(--cv-on-surface) 12%, transparent);
  --cv-composer-radius: 999px;
  --cv-composer-focus-line: var(--cv-accent);
  --cv-overlay-bg: rgba(15, 17, 19, .8);
}

/* ── Hot-Rodder ─────────────────────────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Hot Rod Oxanium";
  src: url("assets/fonts/oxanium-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

[data-cv-part="header"] { background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .10) 0 1px, rgba(0, 0, 0, .05) 1px 3px), linear-gradient(180deg, #fbfcfd 0%, #d5dae1 38%, #8f97a1 50%, #c7ccd3 62%, #f1f3f6 100%); background-blend-mode: overlay, normal; color: #15181c; border-bottom: 3px solid #ff5a1f; }
[data-cv-part="header"] :is([data-cv-part="name"], [data-cv-part="brand-name"]) { color: #15181c; }
[data-cv-part="name"] { font-family: var(--cv-font-display); font-weight: 800; font-style: oblique 10deg; text-transform: uppercase; letter-spacing: .02em; }
[data-cv-part="progress-bar"] { background-image: repeating-linear-gradient(90deg, #ff5a1f 0 12px, #ffc400 12px 24px); }

[data-cv-part="thread"] { background-image: url("assets/flames.svg"); background-repeat: repeat-x; background-position: bottom; background-size: 260px 90px; }
[data-cv-screen="thread"] [data-cv-part="bubble-me"] { font-weight: 700; box-shadow: 0 3px 0 #9c2f00; }
[data-cv-screen="thread"] [data-cv-part="bubble-them"] { border-left: 4px solid #ffc400; }
[data-cv-screen="thread"] :is([data-cv-part="chip"], [data-cv-part="card"]) { border: 2px solid #ffc400; }
[data-cv-screen="thread"] [data-cv-part="chip"] { font-family: var(--cv-font-display); font-weight: 800; font-style: oblique 10deg; text-transform: uppercase; letter-spacing: .02em; color: #ffc400; }
[data-cv-screen="thread"] [data-cv-part="card-picture"] { box-shadow: 0 0 0 2px #ff5a1f; }
[data-cv-screen="thread"] [data-cv-part="composer"] { background: linear-gradient(90deg, #ff5a1f 0 38%, #f2f2f2 38% 44%, #ff5a1f 44% 56%, #f2f2f2 56% 62%, #ff5a1f 62%) top / 100% 5px no-repeat, var(--cv-composer-bg); }

/* ── The heard and saved cards (docs/claude/BOT-CONCIERGE.md section 0k) - heard-card, heard-pill, saved-receipt ──── */

[data-cv-screen="thread"] [data-cv-part="heard-card"] { border: 2px solid #ffc400; }
[data-cv-screen="thread"] [data-cv-part="heard-pill"] { border: 1px solid #ff5a1f; }
[data-cv-screen="thread"] [data-cv-part="saved-receipt"] { border: 2px solid #ff5a1f; border-left-width: 6px; }
