/* colors.css - the Lani Prime Design System, shipped verbatim.
 *
 * SOURCE: docs/design/lani-prime-design-system/lani-prime-design-system-8be1580b-0eca-463e-bd74-8aa265b1a30c/tokens/colors.css
 * MANIFEST: lani-prime-design-system-8be1580b-0eca-463e-bd74-8aa265b1a30c
 *
 * Copied 2026-09-22 (U-E8.0). The body below is byte-for-byte the source file;
 * only this header is added. EDIT THE SOURCE, NOT THIS COPY - a change made here
 * and not there forks the thing the mocks are drawn against, and the mocks are the
 * design authority (U-E8 section 0).
 *
 * The three refresh2 mocks reference these tokens in 588 inline styles, and before
 * this file existed not one of them was defined in shipped Shell CSS - so every one
 * dropped and the served surfaces drew without them. The compatibility aliases the
 * source carries are kept for the same reason in reverse: nothing already shipped
 * may change colour because this landed.
 */

:root {
  /* ============ SHELL SURFACES (shipping LaniPrime shell — ground truth) ============ */
  --lp-shell-sidebar: #1a1a1a;
  --lp-shell-bg: #212121;
  --lp-shell-panel: #2a2a2a;
  --lp-shell-surface: #2f2f2f;
  --lp-shell-hover: #3a3a3a;
  --lp-shell-border: #404040;

  /* ============ DEEP / AMBIENT SURFACES (Sanity + immersive vision surfaces) ============ */
  --lp-deep-base: #050507;
  --lp-deep-halo: #0a0a12;
  --lp-deep-card: #0f0f12;
  --lp-deep-card-flat: #18181b;
  --lp-card-glass: rgba(20, 20, 28, 0.95); /* pair with backdrop-filter: blur(40px) */
  --lp-vignette: radial-gradient(circle at 50% 34%, #0a0a12, #050507 66%); /* @kind color */

  /* ============ LINES ============ */
  --lp-line: rgba(255, 255, 255, 0.08);
  --lp-line-strong: rgba(255, 255, 255, 0.14);

  /* ============ TEXT ============ */
  --lp-text: #ececec;
  --lp-text-2: #a6a6a6;
  --lp-text-3: #808080;
  --lp-text-4: #6a6a6a;
  --lp-placeholder: #5c5c66;
  --lp-link: #60a5fa;

  /* ============ BRAND ============ */
  --lp-accent: #00b7ed;        /* Lani cyan — primary accent, active nav, links. #24cdff before
                                  2026-10: too light to read as text or a selection on the light theme. */
  --lp-accent-hover: #007cd5;
  --lp-magenta: #ed1a77;       /* Lani identity spark — sparse */
  --lp-user-bubble: #1e3a5f;

  /* Sanity/orb gradient hues (shipped in shell.css) */
  --lp-sanity-blue: #3b82f6;
  --lp-sanity-blue-soft: #5b9dff;
  --lp-sanity-magenta: #d946ef;
  --lp-gradient-brand: linear-gradient(135deg, var(--lp-sanity-blue), var(--lp-sanity-magenta));
  --lp-gradient-orb: radial-gradient(circle at 35% 30%, #8ab4ff, #3b82f6 45%, #9333ea 100%); /* @kind color */

  /* ============ APP IDENTITY ACCENTS (type identity ≠ live status) ============ */
  --lp-app-chat: #8b6cff;
  --lp-app-chaos: #d946ef;
  --lp-app-signals: #1f9fcc;
  --lp-app-sanity: #2fa86d;
  --lp-app-forge: #cf922f;
  --lp-app-research: #a58bfa;
  --lp-app-browser: #3dd5c1;

  /* ============ OPERATIONAL STATUS (Forge state grammar) ============ */
  --lp-status-running: #24cdff;    /* live, active, selected */
  --lp-status-waiting: #cf922f;    /* human attention, bounded approval (= --sanity-warn) */
  --lp-status-effective: #5fc98f;  /* observed/verified effect only (= --sanity-ok) */
  --lp-status-failed: #f45b69;     /* real failure, destructive boundary */
  --lp-status-idle: #6a6a6a;       /* idle/unknown/stale — always add a text label */

  /* ============ CONNECTOR BRAND CHIPS ============ */
  --lp-conn-gmail: #e8453b; --lp-conn-outlook: #0078d4; --lp-conn-discord: #5865f2;
  --lp-conn-teams: #d83b01; --lp-conn-drive: #1f9fcc; --lp-conn-quickbooks: #0b7285;
  --lp-conn-notion: #6b7280;

  /* ============ SEMANTIC ALIASES ============ */
  --lp-surface-app: var(--lp-shell-bg);
  --lp-surface-card: var(--lp-shell-panel);
  --lp-text-body: var(--lp-text-2);

  /* ============ SHIPPING-SHELL COMPATIBILITY ALIASES ============ */
  --bg-primary: var(--lp-shell-bg);
  --bg-panel: var(--lp-shell-panel);
  --bg-surface: var(--lp-shell-surface);
  --bg-hover: var(--lp-shell-hover);
  --border: var(--lp-shell-border);
  --sidebar-bg: var(--lp-shell-sidebar);
  --text-primary: var(--lp-text);
  --text-secondary: var(--lp-text-2);
  --text-muted: var(--lp-text-3);
  --accent: var(--lp-accent);
  --accent-hover: var(--lp-accent-hover);
  --accent-magenta: var(--lp-magenta);
  --link: var(--lp-link);

  /* ============ FORGE-HANDOFF COMPATIBILITY ALIASES ============ */
  --forge-cyan: var(--lp-status-running);
  --forge-amber: var(--lp-status-waiting);
  --forge-green: var(--lp-status-effective);
  --forge-red: var(--lp-status-failed);
  --forge-magenta: var(--lp-magenta);
  --forge-canvas: var(--lp-shell-bg);
  --forge-panel: var(--lp-shell-panel);
  --forge-line: var(--lp-shell-border);
  --forge-text: var(--lp-text);
  --forge-text-2: var(--lp-text-2);
  --forge-text-3: var(--lp-text-3);
}

/* Light theme (shipped in shell.css) */
[data-theme="light"] {
  --lp-shell-sidebar: #ebebeb;
  --lp-shell-bg: #f5f5f5;
  --lp-shell-panel: #ffffff;
  --lp-shell-surface: #ebebeb;
  --lp-shell-hover: #e2e2e2;
  --lp-shell-border: #d4d4d4;
  --lp-text: #1a1a1a;
  --lp-text-2: #555555;
  --lp-text-3: #999999;
  --lp-line: rgba(0, 0, 0, 0.08);
  --lp-line-strong: rgba(0, 0, 0, 0.14);
  --lp-user-bubble: #dbeafe;
  --lp-link: #2563eb;
}
