/*
 * Botanical Dusk - Syntax theme for Rouge/Pygments
 * Built on brand colors: rose, sage, cream, teal
 * Dark teal background with warm botanical tones
 */

.highlight pre, pre, .highlight .hll {
    background-color: var(--bg-code);
    border: none;
    padding: var(--space-lg, 2rem);
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.highlight pre code {
    display: block;
    white-space: pre;
    overflow-x: auto;
    word-wrap: normal;
}

/* Comments - muted sage */
.highlight .c,
.highlight .cm,
.highlight .c1,
.highlight .cs { color: #6B8A82; font-style: italic; }

/* Comment.Preproc */
.highlight .cp { color: #8BA898; font-weight: bold; }

/* Errors */
.highlight .err { color: #E8A0A0; }

/* Keywords - Rose */
.highlight .k,
.highlight .kc,
.highlight .kd,
.highlight .kn,
.highlight .kp,
.highlight .kr { color: #D9A8B4; font-weight: bold; }

/* Keyword.Type - Sage */
.highlight .kt { color: #A8BFA0; font-weight: bold; }

/* Operators */
.highlight .o,
.highlight .ow { color: #C8C0B0; font-weight: bold; }

/* Strings - Warm cream */
.highlight .s,
.highlight .sb,
.highlight .sc,
.highlight .sd,
.highlight .s2,
.highlight .se,
.highlight .sh,
.highlight .si,
.highlight .sx,
.highlight .s1 { color: #E8D8B0; }

/* String.Regex */
.highlight .sr { color: #B8D0A8; }

/* String.Symbol */
.highlight .ss { color: #C8B0D0; }

/* Numbers - Muted gold */
.highlight .m,
.highlight .mf,
.highlight .mh,
.highlight .mi,
.highlight .mo,
.highlight .il { color: #D0C8A0; }

/* Names - Light cream (default text) */
.highlight .n { color: #E8E0D0; }

/* Name.Attribute - Sage */
.highlight .na { color: #A8BFA0; }

/* Name.Builtin - Soft blue-teal */
.highlight .nb { color: #90B8C8; }

/* Name.Class - Sage bold */
.highlight .nc { color: #A8BFA0; font-weight: bold; }

/* Name.Constant */
.highlight .no { color: #B8C8A0; }

/* Name.Entity */
.highlight .ni { color: #C8B0C8; }

/* Name.Exception */
.highlight .ne { color: #E8A0A0; font-weight: bold; }

/* Name.Function - Rose */
.highlight .nf { color: #D9A8B4; font-weight: bold; }

/* Name.Namespace */
.highlight .nn { color: #90A8A0; }

/* Name.Tag - Rose */
.highlight .nt { color: #D9A8B4; }

/* Name.Variable */
.highlight .nv,
.highlight .vc,
.highlight .vg,
.highlight .vi { color: #B8C8C0; }

/* Generic.Deleted */
.highlight .gd { color: #E8A0A0; background-color: rgba(232, 160, 160, 0.1); }
.highlight .gd .x { color: #E8A0A0; background-color: rgba(232, 160, 160, 0.15); }

/* Generic.Emph */
.highlight .ge { font-style: italic; }

/* Generic.Error */
.highlight .gr { color: #E8A0A0; }

/* Generic.Heading */
.highlight .gh { color: #90A8A0; }

/* Generic.Inserted */
.highlight .gi { color: #A8BFA0; background-color: rgba(168, 191, 160, 0.1); }
.highlight .gi .x { color: #A8BFA0; background-color: rgba(168, 191, 160, 0.15); }

/* Generic.Output */
.highlight .go { color: #90A8A0; }

/* Generic.Prompt */
.highlight .gp { color: #8B9A92; }

/* Generic.Strong */
.highlight .gs { font-weight: bold; }

/* Generic.Subheading */
.highlight .gu { color: #C8899A; font-weight: bold; }

/* Generic.Traceback */
.highlight .gt { color: #E8A0A0; }

/* Builtin.Pseudo */
.highlight .bp { color: #90A8A0; }

/* Whitespace */
.highlight .w { color: #4A5C58; }

/* Garbage Collected */
.highlight .gc { color: #90A8A0; background-color: rgba(42, 56, 54, 0.5); }
