/* ==========================================================================
   EDEN // ANTIGRAVITY WARM-GREY & SHEER GLASS TOKENS (v1.3.0)
   Canonical Styling for God's Eyes & Sovereign Eden OS Apps
   Matches live Antigravity warm charcoal greys + sheer glass (D25)
   ========================================================================== */

[data-eden-theme="eden"],
[data-eden-theme="eden"][data-eden-mode="dark"] {
  /* --- 1. Warm Charcoal Surfaces & Sheer Glass (Zero Blue Cast) --- */
  --surface-canvas: #121110;                         /* Warm obsidian charcoal */
  --surface-sidebar: rgba(22, 20, 19, 0.62);         /* Sheer warm-grey bar */
  --surface-sunken: rgba(20, 18, 17, 0.64);          /* Sheer warm-grey input well */
  --surface-base: rgba(21, 19, 18, 0.46);            /* Sheer inner well */
  --surface-raised: rgba(29, 27, 26, 0.52);          /* Sheer warm-grey tile card */
  --surface-interactive: rgba(237, 231, 227, 0.05);  /* Subtle hover wash */
  --surface-highlight: rgba(232, 176, 154, 0.12);    /* Focused row / active item */

  /* SOLID OPAQUE POPOVERS, MENUS, DIALOGS & DECISION CARDS (#1b1918) */
  --surface-popover: #1b1918;
  --surface-overlay: #1b1918;

  /* --- 2. Ink & Typography Hierarchy --- */
  --ink-primary: #ede7e3;                            /* Warm alabaster foreground */
  --ink-display: #f3d4c7;                            /* Warm champagne header ink */
  --ink-secondary: #a39b97;                          /* Warm stone grey secondary copy */
  --ink-muted: #756e6b;                              /* Dim stone grey metadata */
  --ink-on-accent: #121110;                          /* High-contrast charcoal on #e8b09a */

  /* --- 3. Subdued Antigravity Accents & Signals --- */
  --accent-primary: #e8b09a;                         /* Warm Rose-Brass */
  --accent-primary-bright: #f3d4c7;
  --accent-primary-soft: rgba(232, 176, 154, 0.11);

  --accent-cyan: #d7ba7d;                            /* Warm Champagne Info (replaces cold blue) */
  --accent-cyan-soft: rgba(215, 186, 125, 0.11);

  --accent-verdant: #78b86a;                         /* Calm Sage Nominal */
  --accent-verdant-soft: rgba(120, 184, 106, 0.12);

  --accent-sunbeam: #e59c59;                         /* Warm Amber Warning */
  --accent-sunbeam-soft: rgba(229, 156, 89, 0.12);

  --accent-ember: #de6464;                           /* Subdued Coral Alert */
  --accent-ember-soft: rgba(222, 100, 100, 0.13);
  --accent-ember-glow: rgba(222, 100, 100, 0.34);

  /* --- 4. Subtle Warm-Grey Hairline Borders --- */
  --border-subtle: rgba(237, 231, 227, 0.07);
  --border-default: rgba(237, 231, 227, 0.09);
  --border-card: rgba(237, 231, 227, 0.11);
  --border-gilded: rgba(237, 231, 227, 0.15);
  --border-gilded-strong: rgba(232, 176, 154, 0.28);

  /* --- 5. Elevation, Focus & Atmosphere --- */
  --glow-canopy: radial-gradient(
    ellipse 70% 50% at 50% -15%,
    rgba(237, 224, 216, 0.045) 0%,
    rgba(18, 17, 16, 0) 65%
  );
  --gradient-gilded-text: linear-gradient(180deg, #ffffff 0%, #f3d4c7 55%, #e8b09a 100%);
  --gradient-gilded-cta: #e8b09a;
  --shadow-panel: 0 2px 12px rgba(0, 0, 0, 0.18);
  --shadow-popover: 0 10px 32px rgba(0, 0, 0, 0.72);
  --shadow-focus: 0 0 0 2px rgba(232, 176, 154, 0.18);

  /* --- 6. Geometry & Motion --- */
  --radius-control: 8px;
  --radius-panel: 10px;
  --radius-pill: 9999px;
  --ease-signature: cubic-bezier(0.2, 0.8, 0.2, 1);
  --duration-micro: 160ms;
  --duration-stage: 260ms;

  /* --- 7. Additive Waveguide 600x600 HUD Canvas --- */
  --hud-canvas: #000000;                             /* Pure transparent on LCoS waveguide */
}

/* ==========================================================================
   LIGHT MODE: WARM PARCHMENT
   ========================================================================== */

[data-eden-theme="eden"][data-eden-mode="light"] {
  --surface-canvas: #f7f2ee;
  --surface-sidebar: rgba(239, 231, 225, 0.78);
  --surface-sunken: rgba(236, 227, 220, 0.82);
  --surface-base: rgba(250, 246, 243, 0.74);
  --surface-raised: rgba(255, 255, 255, 0.76);
  --surface-interactive: rgba(180, 108, 82, 0.07);
  --surface-highlight: rgba(180, 108, 82, 0.12);
  --surface-popover: #ffffff;
  --surface-overlay: #ffffff;

  --ink-primary: #1c1918;
  --ink-display: #121110;
  --ink-secondary: #59524f;
  --ink-muted: #78706d;
  --ink-on-accent: #ffffff;

  --accent-primary: #b86b52;
  --accent-primary-bright: #cf7f65;
  --accent-primary-soft: rgba(184, 107, 82, 0.10);

  --accent-cyan: #8f7236;
  --accent-cyan-soft: rgba(143, 114, 54, 0.10);
  --accent-verdant: #3f7d34;
  --accent-verdant-soft: rgba(63, 125, 52, 0.10);
  --accent-sunbeam: #b87020;
  --accent-sunbeam-soft: rgba(184, 112, 32, 0.10);
  --accent-ember: #b83b3b;
  --accent-ember-soft: rgba(184, 59, 59, 0.10);
  --accent-ember-glow: rgba(184, 59, 59, 0.24);

  --border-subtle: rgba(28, 25, 24, 0.07);
  --border-default: rgba(28, 25, 24, 0.11);
  --border-card: rgba(28, 25, 24, 0.13);
  --border-gilded: rgba(184, 107, 82, 0.24);
  --border-gilded-strong: rgba(184, 107, 82, 0.36);

  --glow-canopy: radial-gradient(ellipse 70% 50% at 50% -15%, rgba(232, 176, 154, 0.14) 0%, rgba(247, 242, 238, 0) 65%);
  --gradient-gilded-text: linear-gradient(180deg, #121110 0%, #7a4230 100%);
  --gradient-gilded-cta: #1c1918;
  --shadow-panel: 0 2px 12px rgba(28, 25, 24, 0.08);
  --shadow-popover: 0 10px 30px rgba(28, 25, 24, 0.14);
  --shadow-focus: 0 0 0 2px rgba(184, 107, 82, 0.20);
}
