:root {
  /* Drive layer (brief) */
  --rv-pine:            #1B4332;  /* primary · Deep Pine: drive CTA, phone primary + Send, tooltips, badges */
  --rv-pine-deep:       #0E281E;  /* pine-800 · hover, interstitial chip, headlines */
  --rv-stone:           #F3EFE5;  /* bg · Warm Stone: page, outer bar, phone entry bar */
  --rv-stone-soft:      #F6F5F1;  /* brief · drive-layer insets only (the app frame uses --rv-app-bg) */
  --rv-white:           #FFFFFF;  /* brief · drive-layer cards: more menu, pilot sheet, Free Roam cards, popovers */
  --rv-brass:           #C49A3A;  /* accent · dots, rules, glow ring; also the laptop app's primary fill. Never text. */
  --rv-ink:             #1D2420;  /* brief · drive-layer text (app frame: --rv-app-text) */
  --rv-border:          #DFE2DC;  /* brief · drive-layer borders (app frame: --rv-app-border) */

  /* App frame, laptop (renested-web packages/ui/src/styles.css, Daylight) */
  --rv-app-bg:          #FDFCF9;  /* --rn-bg · page, chat, header, rail, right panel */
  --rv-app-surface:     #F3EFE5;  /* --rn-surface · cards, message box, memory rows, secondary buttons */
  --rv-app-border:      #DBD3C0;  /* --rn-border · every hairline */
  --rv-app-text:        #14140F;  /* --rn-text */
  --rv-app-you:         #EAE4D6;  /* --rn-sunken · your bubble (both apps) */
  --rv-app-selected:    #ECF2EF;  /* --rn-selected-bg · active rail icon */
  --rv-app-primary:     #C49A3A;  /* --rn-primary · primary buttons and Send; ink #14140F */
  --rv-app-tooltip:     #1B4332;  /* rail tooltip; text #F3EFE5, 14 px */

  /* App frame, phone (renested-mobile src/design/d19.ts) */
  --rv-phone-bg:        #FDFCF9;  /* chatDaylight bg */
  --rv-phone-bubble:    #F3EFE5;  /* Rover bubble, cards, typing field; hairline #DBD3C0 */
  --rv-phone-primary:   #1B4332;  /* chat accent · primary + Send; ink #F3EFE5 */
  --rv-phone-tabbar:    #FFFFFF;  /* tab bar pill; border + selected tab #E2DED5; icons #1C1B18 */
  --rv-phone-inbox-bg:  #FDFCFA;  /* Inbox (D19 Daylight); hairline #E2DED5, text #1C1B18 */

  /* Design-system semantic tokens */
  --rv-text-strong:     #0B0A06;  /* text-strong · titles, lead lines */
  --rv-text-subtle:     #4A4537;  /* text-subtle */
  --rv-text-muted:      #6E6655;  /* text-muted · placeholders, meta, timestamps */
  --rv-sunken:          #EAE4D6;  /* sunken · visitor bubble, your bubble, board ground */
  --rv-border-strong:   #C3B9A2;  /* border-strong · chips, phone frame */
  --rv-control-border:  #8A806A;  /* control-border · inputs, composer, secondary buttons */
  --rv-on-dark-muted:   #D6CFC0;  /* on-dark-muted · not used since Dec 2: rail and tab bar are light */
  --rv-dark-raised:     #235640;  /* surface-dark-raised · not used since Dec 2 */
  --rv-tint-primary:    #ECF2EF;  /* tint-primary · selected segment, memory chip, active rail icon */
  --rv-tint-primary-bd: #CDE0D7;  /* tint-primary-border */
  --rv-pine-200:        #A3C6B7;  /* pine-200 · selected segment inset */
  --rv-tint-accent:     #FAF3E0;  /* tint-accent · coach cue, Demo badge */
  --rv-tint-accent-bd:  #E5CF8B;  /* tint-accent-border */
  --rv-tint-accent-hi:  #F1E4BA;  /* tint-accent-strong · edit highlight (mark) */
  --rv-on-tint-accent:  #6B4F19;  /* on-tint-accent · coach text */
  --rv-success:         #2F8F5E;  /* success · check icons */
  --rv-success-bg:      #E6F3EC;  /* success-bg · receipts, lead-saved tag */
  --rv-on-success:      #1F6B43;  /* on-success */
  --rv-warning-bg:      #F7ECDD;  /* warning-bg · unsigned-copy tag */
  --rv-on-warning:      #8F4408;  /* on-warning */
  --rv-info:            #46586A;  /* info · "You took over" */
  --rv-info-bg:         #ECEFF2;  /* info-bg */
  --rv-danger:          #B23A2E;  /* danger · "Yes, forget" only. Red is for destructive actions only. */
  --rv-focus:           #357A5C;  /* focus-ring */

  /* Type */
  --rv-font-sans: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rv-font-mono: "JetBrains Mono", ui-monospace, monospace;
  --rv-font-app:  system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;  /* inside the app frame */

  /* Space (design system) */
  --rv-space-1: 4px;  --rv-space-2: 8px;  --rv-space-3: 12px; --rv-space-4: 16px;
  --rv-space-5: 20px; --rv-space-6: 24px; --rv-space-7: 28px; --rv-space-8: 32px;
  --rv-space-10: 40px; --rv-space-12: 48px; --rv-space-16: 64px;

  /* Radii */
  --rv-radius-md: 12px;  /* buttons, inputs */
  --rv-radius-lg: 14px;  /* memory chip, swatches */
  --rv-radius-xl: 16px;  /* drive-layer cards, coach cue */
  --rv-radius-2xl: 20px; /* app frame, banner, phone app cards */
  --rv-radius-3xl: 24px; /* phone sheet top corners, typing pill */
  --rv-radius-app-card: 14px; /* laptop app cards and message box */
  --rv-radius-bubble: 18px;   /* your bubble, both apps */
  --rv-radius-rover-phone: 20px 20px 20px 6px; /* Rover's bubble on phone; visitor bubble 18px 18px 18px 6px */
  --rv-radius-pill: 999px;

  /* Shadows */
  --rv-shadow-card:  0 2px 8px rgba(20, 20, 15, .05);
  --rv-shadow-float: 0 24px 60px rgba(20, 20, 15, .14);  /* banner, close card, menus */
  --rv-ring-brass:   0 0 0 4px rgba(196, 154, 58, .30);  /* glowing chip */
  --rv-shadow-composer: 0 8px 24px rgba(20, 20, 15, .07);  /* laptop message box */
  --rv-shadow-tabbar:   0 2px 8px rgba(28, 27, 24, .10);   /* phone tab bar */

  /* Layout */
  --rv-outer-bar-h: 112px;  --rv-rail-w: 76px;   --rv-panel-w: 336px;  /* rail: icons only, 48 px buttons */
  --rv-thread-max: 720px;   --rv-header-h: 56px; --rv-tab-h: 44px;     /* tab: inside a 4 px padded pill */
  --rv-touch: 44px;         /* every tap target, phone and desktop */

  /* Motion (see 06) */
  --rv-stream-cps: 90;            --rv-row-stagger: 80ms;   --rv-status-line: 400ms;
  --rv-visitor-gap: 700ms;        --rv-loading: 600ms;      --rv-framing: 900ms;
  --rv-pill-glow-delay: 600ms;    --rv-stop-chunk: 900ms;   --rv-forget-strike: 400ms;
  --rv-glow-cycle: 1.8s;          --rv-dots-cycle: 1.2s;    --rv-ping-cycle: 1.4s;
  --rv-interstitial: 800ms;       --rv-sheet-in: 320ms;
  --rv-ease-out: cubic-bezier(.2, .8, .2, 1);
}
