/* ============================================================
   Bento — design tokens (variable.css)
   The extension's own palette: slate surfaces, one teal accent.

   Load this BEFORE any page stylesheet so the var(--v-*) tokens
   resolve.

   For translucent text and overlays use rgba(var(--v-fg), <alpha>):
   --v-fg is the R,G,B triplet of the foreground colour.
   ============================================================ */

:root {
  /* ── Surfaces ── */
  --v-bg:          #0f1115;   /* page background         */
  --v-container:   #161920;   /* cards / panels          */
  --v-raised:      #1e222a;   /* chips / hovers          */

  /* ── Accent (teal) ── */
  --v-accent:      #1abc9c;
  --v-accent-rgb:  26, 188, 156;
  --v-accent-dim:  rgba(var(--v-accent-rgb), 0.14);
  --v-accent-glow: rgba(var(--v-accent-rgb), 0.28);
  --v-on-accent:   #06231d;   /* text over an accent fill */

  /* ── Foreground ── */
  --v-fg:          244, 246, 248;
  --v-text-1:      rgb(var(--v-fg));          /* headings */
  --v-text-2:      rgba(var(--v-fg), 0.66);   /* body     */
  --v-text-3:      rgba(var(--v-fg), 0.42);   /* muted    */

  /* ── Borders ── */
  --v-border:      rgba(255, 255, 255, 0.08);
  --v-border-md:   rgba(255, 255, 255, 0.14);

  /* ── Status ── */
  --v-error:       #ff4d4d;   --v-error-rgb:   255, 77, 77;
  --v-success:     #4ade80;   --v-success-rgb: 74, 222, 128;
  --v-warn:        #facc15;   --v-warn-rgb:    250, 204, 21;

  /* ── Shape and type ── */
  --v-radius:      18px;
  --v-font:        Archivo, 'Segoe UI', system-ui, sans-serif;
  --v-mono:        ui-monospace, 'Cascadia Code', Consolas, monospace;

  /* ── Toast (toast.js) theme hooks ──
     Maps the portable toast module onto this palette. --accent is left
     unset so success stays green and info stays blue. */
  --red:           var(--v-error);
  --yellow:        var(--v-warn);
  --glass-bg:      var(--v-container);
  --glass-border:  var(--v-border-md);
  --text:          var(--v-text-1);
  --text2:         var(--v-text-2);
  --sans:          var(--v-font);
}
