/* ============================================================
   BulkBook — Color tokens
   Dark-only. There is no light mode and there never will be.
   Exact brand palette is the source of truth; elevations and
   states are derived to sit harmoniously on top of it.
   ============================================================ */

:root {
  /* ---- Brand anchors (exact, do not drift) ---- */
  --bb-black:        #070708; /* app background — near-black, faint blue cast */
  --bb-surface:      #121214; /* primary surface / cards */
  --bb-gold:         #F5C800; /* primary accent — the BulkBook signal color */
  --bb-orange:       #F97316; /* secondary accent — "ready", energy, push */
  --bb-text:         #F5F5F4; /* primary text */
  --bb-gray:         #8A8F98; /* muted text, secondary labels, inactive icons */

  /* ---- Derived neutral elevation scale ---- */
  --bb-bg:           var(--bb-black);
  --bb-surface-2:    #1A1A1E; /* raised card / hover surface */
  --bb-surface-3:    #232328; /* inputs, pressed pills, popovers */
  --bb-border:       #26262B; /* hairline dividers, card outlines */
  --bb-border-strong:#34343B; /* focused / emphasized borders */
  --bb-overlay:      rgba(0,0,0,0.62); /* modal scrim */

  /* ---- Text scale ---- */
  --bb-text-strong:  #FFFFFF;
  --bb-text-body:    var(--bb-text);
  --bb-text-muted:   var(--bb-gray);
  --bb-text-faint:   #5C5F66; /* placeholders, disabled */
  --bb-on-gold:      #070708; /* text/icons sitting on gold fills */
  --bb-on-orange:    #070708;

  /* ---- Gold tints (accent washes) ---- */
  --bb-gold-12:      rgba(245,200,0,0.12); /* selected pill / subtle fill */
  --bb-gold-20:      rgba(245,200,0,0.20);
  --bb-gold-dim:     #B89500; /* gold text needing lower emphasis */

  /* ============================================================
     SEMANTIC COLOR SYSTEM — five values, each fixed to a product
     meaning. Never repurpose a semantic color for decoration.
     (Greens/cyans verified against the BulkNote engine comments in
      src/utils/bulkNote.ts; these are the current spec values.)
     ============================================================ */
  --bb-bulkscore:    #F5C800; /* GOLD   — BulkScore: quality of the session */
  --bb-bulkweight:   #F97316; /* ORANGE — Peso / BulkWeight + señal "puedes subir carga" */
  --bb-delta-up:     #50D787; /* GREEN  — deltas positivos, mejoras sesión a sesión */
  --bb-effort:       #6BAFD3; /* CYAN   — Esfuerzo (BulkRate) + badges informativos ("Fase de adaptación") */
  --bb-neutral:      #8A8F98; /* GREY   — contexto neutro, sin señal */

  /* ---- BulkNote highlight aliases (map onto the five above) ---- */
  --bb-improvement:  var(--bb-delta-up);   /* green — you got stronger */
  --bb-adaptation:   var(--bb-effort);     /* cyan  — effort / adapting */
  --bb-context:      #8A8AA0;              /* neutral — situational note */
  --bb-ready:        var(--bb-bulkweight); /* orange — ready to add load */

  /* ---- Status ---- */
  --bb-success:      #4ADE80;
  --bb-danger:       #F87171;
  --bb-warning:      #F5C800;

  /* ---- BulkScore band colors (0–10 quality) ---- */
  --bb-score-high:   #50D787; /* 9+  Excelente */
  --bb-score-good:   #F5C800; /* 7–9 Bueno / Muy bueno */
  --bb-score-mid:    #F97316; /* 5–7 Correcto / Mejorable */
  --bb-score-low:    #8A8F98; /* <5  Bajo estímulo */
}
