/*******************************************************************************
 * shVhdl.css
 *
 * SyntaxHighlighter theme for VHDL.
 * Palette: dark background (Catppuccin Mocha family), semantically distinct
 * hues per token category — consistent with the assembler brush CSS.
 *
 * Token classes
 * ─────────────────────────────────────────────────────────────────────────────
 *   vhdl_comment      --  single-line comments
 *   vhdl_keyword      structural / sequential / concurrent keywords
 *   vhdl_type         built-in scalar, vector and IEEE types
 *   vhdl_attribute    'event  'range  'length …
 *   vhdl_function     to_integer  rising_edge  resize …
 *   vhdl_operator     and or nand  <=  :=  =>  /=  **  …
 *   vhdl_literal      true false  'U' '0' '1' 'Z' …
 *   vhdl_string       "hello"
 *   vhdl_number       42  3.14  16#FF#  X"BEEF"  B"1010"
 *   vhdl_directive    synthesis translate_on/off  pragma …
 *   vhdl_label        fsm_state : process (…)
 *   vhdl_entity       work.my_pkg  ieee.std_logic_1164
 ******************************************************************************/

/* ── Base code block ─────────────────────────────────────────────────────── */
.syntaxhighlighter {
    background-color : #1e1e2e !important;
    border-radius    : 6px;
    font-size        : 0.9em;
    line-height      : 1.6;
}

/* ── Comments  -- ────────────────────────────────────────────────────────── */
.syntaxhighlighter .vhdl_comment {
    color      : #6c7086 !important;   /* muted grey */
    font-style : italic;
}

/* ── Primary keywords  entity architecture process generate … ────────────── */
.syntaxhighlighter .vhdl_keyword {
    color       : #89b4fa !important;  /* bright blue */
    font-weight : bold;
}

/* ── Types  std_logic integer boolean signed unsigned … ──────────────────── */
.syntaxhighlighter .vhdl_type {
    color       : #cba6f7 !important;  /* lavender */
    font-weight : bold;
}

/* ── Attributes  'event  'range  'length  'left … ───────────────────────── */
.syntaxhighlighter .vhdl_attribute {
    color : #f38ba8 !important;        /* rose */
}

/* ── Standard functions  rising_edge  to_integer  resize … ──────────────── */
.syntaxhighlighter .vhdl_function {
    color : #94e2d5 !important;        /* teal */
}

/* ── Operators  and or nand <=  :=  =>  /=  ** … ────────────────────────── */
.syntaxhighlighter .vhdl_operator {
    color       : #fab387 !important;  /* peach */
    font-weight : bold;
}

/* ── Literals  true false  'Z'  '0'  '1' … ──────────────────────────────── */
.syntaxhighlighter .vhdl_literal {
    color : #a6e3a1 !important;        /* soft green */
}

/* ── Strings  "hello world" ──────────────────────────────────────────────── */
.syntaxhighlighter .vhdl_string {
    color : #a6e3a1 !important;        /* soft green — matches terminal strings */
}

/* ── Numbers  42  3.14  16#FF#  X"BEEF"  B"1010_0101" ───────────────────── */
.syntaxhighlighter .vhdl_number {
    color : #fab387 !important;        /* peach — consistent with asm brush */
}

/* ── Synthesis / tool directives  pragma  translate_off … ───────────────── */
.syntaxhighlighter .vhdl_directive {
    color       : #f9e2af !important;  /* yellow */
    font-style  : italic;
}

/* ── Labels  fsm_idle :  clk_proc : ─────────────────────────────────────── */
.syntaxhighlighter .vhdl_label {
    color       : #fab387 !important;  /* amber / peach */
    font-weight : bold;
}

/* ── Library-qualified names  work.pkg  ieee.std_logic_1164 ──────────────── */
.syntaxhighlighter .vhdl_entity {
    color : #89dceb !important;        /* sky blue */
}

/* ── Gutter (line numbers) ───────────────────────────────────────────────── */
.syntaxhighlighter .gutter {
    background-color : #181825 !important;
    color            : #45475a !important;
    border-right     : 1px solid #313244;
}

.syntaxhighlighter .gutter .line {
    border-right : none !important;
}

/* ── Line highlight on hover ─────────────────────────────────────────────── */
.syntaxhighlighter .line.highlighted {
    background-color : #313244 !important;
}

/* ── Toolbar ─────────────────────────────────────────────────────────────── */
.syntaxhighlighter .toolbar {
    background-color : #181825 !important;
}

.syntaxhighlighter .toolbar a {
    color : #6c7086 !important;
}

.syntaxhighlighter .toolbar a:hover {
    color : #cdd6f4 !important;
}