/* ============================================
   CUSTOM PYGMENTS THEME — Warm Ochre Dark
   ============================================ */

.codehilite {
  background: #1A1714; /* oklch(18% 0.01 70) — matches --color-text */
  color: #F3EFE6;       /* oklch(97% 0.008 70) — matches --color-bg */
}

/* Keywords: warm ochre */
.codehilite .k,   /* Keyword */
.codehilite .kc,  /* Keyword.Constant */
.codehilite .kd,  /* Keyword.Declaration */
.codehilite .kn,  /* Keyword.Namespace */
.codehilite .kp,  /* Keyword.Pseudo */
.codehilite .kr,  /* Keyword.Reserved */
.codehilite .ow   /* Operator.Word */
{
  color: #E8A84C; /* warm ochre */
  font-weight: 500;
}

/* Strings: muted sage green */
.codehilite .s,   /* Literal.String */
.codehilite .sb,  /* Literal.String.Backtick */
.codehilite .sc,  /* Literal.String.Char */
.codehilite .s2,  /* Literal.String.Double */
.codehilite .sh,  /* Literal.String.Heredoc */
.codehilite .si,  /* Literal.String.Interpol */
.codehilite .sx   /* Literal.String.Other */
{
  color: #8DB580;
}

/* Comments: tertiary text color */
.codehilite .c,   /* Comment */
.codehilite .cm,  /* Comment.Multiline */
.codehilite .cp,  /* Comment.Preproc */
.codehilite .c1,  /* Comment.Single */
.codehilite .cs,  /* Comment.Special */
.codehilite .ch   /* Comment.Hashbang */
{
  color: #7C766E; /* --color-text-tertiary */
  font-style: italic;
}

/* Numbers: warm orange */
.codehilite .m,   /* Literal.Number */
.codehilite .mf,  /* Literal.Number.Float */
.codehilite .mh,  /* Literal.Number.Hex */
.codehilite .mi,  /* Literal.Number.Integer */
.codehilite .mo   /* Literal.Number.Oct */
{
  color: #D4956A;
}

/* Names, Functions, Variables: light warm grey */
.codehilite .n,   /* Name */
.codehilite .na,  /* Name.Attribute */
.codehilite .nb,  /* Name.Builtin */
.codehilite .nf,  /* Name.Function */
.codehilite .nv   /* Name.Variable */
{
  color: #DDD8CE;
}

/* Types, Classes: pale gold */
.codehilite .nc,  /* Name.Class */
.codehilite .nt,  /* Name.Tag */
.codehilite .nx   /* Name.Other */
{
  color: #E8C87C;
}

/* Operators, Punctuation: mid warm grey */
.codehilite .o,   /* Operator */
.codehilite .p    /* Punctuation */
{
  color: #C4BEB4;
}

/* YAML-specific tokens */
.codehilite .p-Indicator { color: #E8A84C; } /* - list indicator */
.codehilite .nt { color: #E8C87C; }           /* YAML keys */
.codehilite .l-Scalar { color: #8DB580; }     /* YAML string values */
.codehilite .l-Scalar-Plain { color: #F3EFE6; } /* YAML plain scalars */

/* Headings in code blocks (Markdown) */
.codehilite .gu { color: #E8A84C; font-weight: 600; } /* Generic.Subheading */
.codehilite .gh { color: #DDD8CE; font-weight: 600; } /* Generic.Heading */

/* Errors */
.codehilite .err {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
}

/* Line highlight (if used) */
.codehilite .hll {
  background: rgba(232, 168, 76, 0.15);
}

/* Whitespace */
.codehilite .w {
  color: #F3EFE6;
}
