/* ==========================================================================
   Blog theme — editorial / reading-focused.
   Two themes:  data-theme="paper" (default light)  &  data-theme="ink" (dark)
   ========================================================================== */

:root[data-theme="paper"] {
    --bg: #f6f1e7;
    --bg-elev: #fffaf0;
    --bg-soft: #efe7d4;
    --fg: #1a1714;
    --fg-soft: #4d4740;
    --fg-muted: #7c7268;
    --rule: #d9cfba;
    --rule-strong: #b9ad94;
    --accent: #b8430a;
    --accent-soft: #e98a3a;
    --link: #8a330b;
    --link-hover: #b8430a;
    --code-bg: #efe6d2;
    --code-fg: #2a2622;
    --pre-bg: #1f1b16;
    --pre-fg: #f3ead4;
    --selection: #f6c27a;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 12px 28px -16px rgba(46, 30, 8, 0.25);
}

:root[data-theme="ink"] {
    --bg: #14110d;
    --bg-elev: #1c1814;
    --bg-soft: #221d18;
    --fg: #f1ebe0;
    --fg-soft: #cabfae;
    --fg-muted: #9b9080;
    --rule: #2c2620;
    --rule-strong: #463d33;
    --accent: #f0a05a;
    --accent-soft: #f6c27a;
    --link: #f0a05a;
    --link-hover: #ffd29b;
    --code-bg: #221d17;
    --code-fg: #f1ebe0;
    --pre-bg: #0e0c09;
    --pre-fg: #f3ead4;
    --selection: rgba(240, 160, 90, 0.35);
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.4), 0 18px 40px -18px rgba(0, 0, 0, 0.7);
}

/* default */
:root {
    color-scheme: light dark;
    --bg: #f6f1e7;
    --bg-elev: #fffaf0;
    --bg-soft: #efe7d4;
    --fg: #1a1714;
    --fg-soft: #4d4740;
    --fg-muted: #7c7268;
    --rule: #d9cfba;
    --rule-strong: #b9ad94;
    --accent: #b8430a;
    --accent-soft: #e98a3a;
    --link: #8a330b;
    --link-hover: #b8430a;
    --code-bg: #efe6d2;
    --code-fg: #2a2622;
    --pre-bg: #1f1b16;
    --pre-fg: #f3ead4;
    --selection: #f6c27a;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 12px 28px -16px rgba(46, 30, 8, 0.25);

    --serif: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
    /* Shared horizontal inset for blog columns + safe-area on notched phones */
    --blog-gutter: clamp(1.35rem, 5.5vw, 2.85rem);
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.25s ease, color 0.25s ease;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
}

/* Blog index & series overview — capped column width + generous side inset */
body.blog-hub {
    --blog-hub-max: 56rem; /* ~896px: comfortable line length on large monitors */
    --blog-gutter: clamp(1.25rem, 5.5vw, 2.75rem);
}

body.blog-hub .container,
body.blog-hub .site-footer__inner,
body.blog-hub .post__cover {
    max-width: var(--blog-hub-max, 56rem);
}

::selection {
    background: var(--selection);
    color: var(--fg);
}

a {
    color: var(--link);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--link-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    background: var(--accent);
    color: #fff;
    z-index: 100;
}

.skip-link:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    margin: 0;
    overflow: visible;
    clip-path: none;
    white-space: normal;
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* --- Layout primitives --------------------------------------------------- */

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: max(env(safe-area-inset-left, 0px), var(--blog-gutter, 1.25rem));
    padding-right: max(env(safe-area-inset-right, 0px), var(--blog-gutter, 1.25rem));
    min-width: 0;
}

.container--narrow {
    /* Post column: ~720px on tablets, scales up to hub width on large monitors */
    max-width: clamp(45rem, 72vw, var(--blog-hub-max, 56rem));
    min-width: 0;
}

.section {
    /* Use padding-block so pairing with `.container` keeps horizontal gutters. */
    padding-block: clamp(2.5rem, 6vw, 5rem);
}

/* --- Header (shared ribbon) --------------------------------------------- */

/* The persistent global ribbon (#site-ribbon) is fixed and styled via
   `static/styles/ribbon.css`. We just need to ensure blog content clears it. */
body {
    padding-top: var(--ribbon-block-size, 3.5rem);
}

.site-main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* --- Theme toggle (floating action button on blog pages) ---------------- */

.theme-fab {
    position: fixed;
    right: max(env(safe-area-inset-right, 0px), clamp(0.85rem, 2.5vw, 1.5rem));
    bottom: max(env(safe-area-inset-bottom, 0px), clamp(0.85rem, 2.5vw, 1.5rem));
    z-index: 40;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    border: 1px solid var(--rule-strong);
    background: var(--bg-elev);
    color: var(--fg-soft);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
    box-shadow: var(--shadow);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
                transform 0.15s ease, box-shadow 0.2s ease;
}

.theme-fab:hover {
    color: var(--fg);
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 18px 32px -16px rgba(46, 30, 8, 0.4);
}

.theme-fab:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.theme-fab__icon {
    transform: rotate(0deg);
    transition: transform 0.4s cubic-bezier(0.6, 0.05, 0.2, 1);
}

:root[data-theme="ink"] .theme-fab__icon {
    transform: rotate(180deg);
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(1.5rem, 4vw, 3rem);
    border-bottom: 1px solid var(--rule);
}

.hero__eyebrow {
    margin: 0 0 0.6rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

.hero__eyebrow a {
    color: inherit;
    text-decoration: none;
}

.hero__title {
    margin: 0 0 1rem;
    font-family: var(--serif);
    font-weight: 900;
    font-size: clamp(2rem, 6vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -0.015em;
    max-width: 22ch;
    overflow-wrap: anywhere;
}

.hero__lede {
    margin: 0;
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    line-height: 1.55;
    color: var(--fg-soft);
    max-width: 60ch;
}

.hero--series .hero__title {
    max-width: none;
}

/* --- Section heads -------------------------------------------------------- */

.section-head {
    border-bottom: 1px solid var(--rule);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-head__title {
    margin: 0;
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(1.4rem, 3.2vw, 1.9rem);
    letter-spacing: -0.01em;
}

.section-head__sub {
    margin: 0;
    color: var(--fg-muted);
    font-size: 0.95rem;
}

/* --- Series cards -------------------------------------------------------- */

.series-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1.25rem;
}

.series-card {
    background: var(--bg-elev);
    border: 1px solid var(--rule);
    border-radius: 12px;
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: var(--shadow);
}

.series-card:hover {
    transform: translateY(-2px);
    border-color: var(--rule-strong);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 24px 38px -22px rgba(46, 30, 8, 0.35);
}

.series-card__link {
    display: block;
    padding: 1.5rem 1.5rem 1.6rem;
    text-decoration: none;
    color: inherit;
}

.series-card__count {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

.series-card__title {
    margin: 0 0 0.6rem;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.005em;
    overflow-wrap: anywhere;
}

.series-card__summary {
    margin: 0 0 1rem;
    color: var(--fg-soft);
    font-size: 0.97rem;
    line-height: 1.5;
}

.series-card__cta {
    margin: 0;
    color: var(--link);
    font-weight: 600;
    font-size: 0.92rem;
}

/* --- Post list ----------------------------------------------------------- */

.post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.post-list__item {
    border-bottom: 1px solid var(--rule);
}

.post-list__item:last-child {
    border-bottom: 0;
}

.post-list__link {
    display: block;
    padding: 1.5rem 0;
    text-decoration: none;
    color: inherit;
    transition: padding 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
    .post-list__link:hover {
        padding-left: 0.5rem;
    }
}

.post-list__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fg-muted);
}

.post-list__series {
    color: var(--accent);
    font-weight: 600;
}

.post-list__badge {
    background: var(--bg-soft);
    color: var(--fg-soft);
    border: 1px solid var(--rule);
    border-radius: 999px;
    padding: 0.05rem 0.55rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.post-list__title {
    margin: 0 0 0.3rem;
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(1.3rem, 2.8vw, 1.75rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
}

.post-list__summary {
    margin: 0 0 0.5rem;
    color: var(--fg-soft);
    font-size: 1rem;
    line-height: 1.55;
    max-width: 60ch;
}

.post-list__more {
    margin: 0;
    font-size: 0.85rem;
    color: var(--link);
    font-weight: 600;
}

.empty {
    padding: 2rem 0;
    color: var(--fg-muted);
    font-style: italic;
}

/* --- Series TOC ---------------------------------------------------------- */

.series-toc {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: series;
    border-top: 1px solid var(--rule);
}

.series-toc__item {
    border-bottom: 1px solid var(--rule);
}

.series-toc__link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(0.75rem, 2.5vw, 2rem);
    padding: 1.5rem 0;
    align-items: baseline;
    text-decoration: none;
    color: inherit;
    transition: padding 0.15s ease;
    min-width: 0;
}

@media (hover: hover) and (pointer: fine) {
    .series-toc__link:hover {
        padding-left: 0.5rem;
    }
}

.series-toc__num {
    font-family: var(--serif);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1;
}

.series-toc__body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.series-toc__title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(1.2rem, 2.6vw, 1.6rem);
    letter-spacing: -0.005em;
    color: var(--fg);
    overflow-wrap: anywhere;
}

.series-toc__draft {
    color: var(--fg-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-style: normal;
    margin-left: 0.5rem;
    border: 1px solid var(--rule-strong);
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
}

.series-toc__summary {
    color: var(--fg-soft);
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 62ch;
    overflow-wrap: anywhere;
}

.series-toc__meta {
    color: var(--fg-muted);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* --- Post --------------------------------------------------------------- */

.post {
    padding-bottom: 4rem;
}

.post__header {
    padding: clamp(2rem, 6vw, 4rem) 0 clamp(1.25rem, 3vw, 2rem);
    border-bottom: 1px solid var(--rule);
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.post__crumbs {
    margin: 0 0 1rem;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fg-muted);
}

.post__crumbs a {
    color: var(--accent);
    text-decoration: none;
}

.post__crumb-sep {
    margin: 0 0.5rem;
    color: var(--rule-strong);
}

.post__title {
    margin: 0 0 1rem;
    font-family: var(--serif);
    font-weight: 900;
    font-size: clamp(2rem, 5.5vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.018em;
    overflow-wrap: anywhere;
}

.post__lede {
    margin: 0 0 1.5rem;
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    line-height: 1.5;
    color: var(--fg-soft);
    font-style: italic;
}

.post__meta {
    margin: 0 0 0.75rem;
    color: var(--fg-muted);
    font-size: 0.88rem;
}

.post__badge {
    background: var(--bg-soft);
    border: 1px solid var(--rule-strong);
    border-radius: 999px;
    padding: 0.05rem 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.post__tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.post__tags li {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--fg-muted);
    background: var(--bg-soft);
    border: 1px solid var(--rule);
    border-radius: 999px;
    padding: 0.1rem 0.6rem;
}

.post__cover {
    margin: 0 auto 2rem;
    max-width: 1100px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: max(env(safe-area-inset-left, 0px), var(--blog-gutter, 1.25rem));
    padding-right: max(env(safe-area-inset-right, 0px), var(--blog-gutter, 1.25rem));
    min-width: 0;
}

.post__cover img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--rule);
}

/* --- Prose -------------------------------------------------------------- */

.prose {
    font-family: var(--serif);
    font-size: clamp(1.05rem, 1.5vw, 1.18rem);
    line-height: 1.72;
    color: var(--fg);
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.prose > * + * {
    margin-top: 1.25em;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-top: 2.2em;
    margin-bottom: 0.6em;
}

.prose h1 { font-size: 2em; }
.prose h2 { font-size: 1.6em; }
.prose h3 { font-size: 1.3em; }
.prose h4 { font-size: 1.1em; }

.prose h2::before {
    content: "§ ";
    color: var(--accent);
    margin-right: 0.15em;
}

.prose p {
    margin: 0;
}

.prose p + p {
    margin-top: 1.25em;
}

.prose a {
    color: var(--link);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.prose ul,
.prose ol {
    padding-left: 1.4em;
}

.prose li + li {
    margin-top: 0.4em;
}

.prose hr {
    border: 0;
    border-top: 1px solid var(--rule-strong);
    margin: 2.5em auto;
    width: 4em;
}

.prose blockquote {
    margin: 1.5em 0;
    padding: 0.4em 1.2em;
    border-left: 3px solid var(--accent);
    color: var(--fg-soft);
    background: var(--bg-soft);
    border-radius: 0 6px 6px 0;
    font-style: italic;
}

.prose blockquote p {
    margin: 0.4em 0;
}

.prose img,
.prose figure {
    margin: 1.5em auto;
    max-width: 100%;
}

.prose figure img {
    border-radius: 8px;
    border: 1px solid var(--rule);
}

.prose figcaption {
    margin-top: 0.5em;
    text-align: center;
    color: var(--fg-muted);
    font-size: 0.88em;
    font-style: italic;
}

.prose table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
    font-family: var(--sans);
}

.prose th,
.prose td {
    padding: 0.6em 0.8em;
    text-align: left;
    border-bottom: 1px solid var(--rule);
}

.prose th {
    background: var(--bg-soft);
    font-weight: 600;
}

.prose code {
    font-family: var(--mono);
    font-size: 0.88em;
    background: var(--code-bg);
    color: var(--code-fg);
    padding: 0.12em 0.35em;
    border-radius: 4px;
    border: 1px solid var(--rule);
}

.prose pre {
    background: var(--pre-bg);
    color: var(--pre-fg);
    padding: 1.2em 1.4em;
    border-radius: 10px;
    overflow-x: auto;
    line-height: 1.55;
    font-size: 0.92em;
    border: 1px solid #000;
    box-shadow: var(--shadow);
    max-width: 100%;
}

.prose pre code {
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

.prose .codehilite {
    margin: 1.5em 0;
    max-width: 100%;
}

.prose .admonition {
    margin: 1.5em 0;
    padding: 1em 1.25em;
    border-left: 3px solid var(--accent);
    background: var(--bg-soft);
    border-radius: 0 8px 8px 0;
}

.prose .admonition-title {
    margin: 0 0 0.4em;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 0.85em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.prose .youtube-embed {
    margin: 1.5em 0;
    max-width: 100%;
}

.prose .youtube-embed__inner {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--rule);
    background: var(--bg-soft);
}

.prose .youtube-embed__inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Post navigation ----------------------------------------------------- */

.post-nav {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rule);
}

.post-nav__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.post-nav__link {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem 1.25rem;
    background: var(--bg-elev);
    border: 1px solid var(--rule);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.15s;
}

.post-nav__link:hover {
    border-color: var(--rule-strong);
    transform: translateY(-1px);
}

.post-nav__link--next {
    text-align: right;
}

.post-nav__dir {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

.post-nav__title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.05rem;
}

.post-nav__series {
    margin: 1.2rem 0 0;
    text-align: center;
    color: var(--fg-muted);
    font-size: 0.9rem;
}

@media (max-width: 540px) {
    .post-nav__row {
        grid-template-columns: 1fr;
    }
    .post-nav__link--next {
        text-align: left;
    }
}

/* --- Footer ------------------------------------------------------------- */

.site-footer {
    border-top: 1px solid var(--rule);
    margin-top: 4rem;
    padding: 2rem 0;
    background: var(--bg-elev);
}

.site-footer__inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: max(env(safe-area-inset-left, 0px), var(--blog-gutter, 1.25rem));
    padding-right: max(env(safe-area-inset-right, 0px), var(--blog-gutter, 1.25rem));
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    min-width: 0;
}

.site-footer__copy {
    margin: 0;
    color: var(--fg-muted);
    font-size: 0.88rem;
}

.site-footer__copy a {
    color: var(--fg-soft);
    text-decoration: none;
}

.site-footer__nav {
    display: flex;
    gap: 1rem;
}

.site-footer__nav a {
    font-size: 0.88rem;
    color: var(--fg-soft);
    text-decoration: none;
}

.site-footer__nav a:hover {
    color: var(--accent);
}

/* ==========================================================================
   Pygments / codehilite theme — based on a custom warm palette
   ========================================================================== */

.codehilite { background: var(--pre-bg); border-radius: 10px; max-width: 100%; }
.codehilite pre { margin: 0; }
.codehilite .hll { background-color: #3a2e1a; }
.codehilite .c   { color: #8a8170; font-style: italic; } /* Comment */
.codehilite .err { color: #ff6b5b; background-color: transparent; } /* Error */
.codehilite .k   { color: #f0a05a; font-weight: 600; } /* Keyword */
.codehilite .o   { color: #d6cdb6; } /* Operator */
.codehilite .ch, .codehilite .cm, .codehilite .cpf, .codehilite .c1, .codehilite .cs { color: #8a8170; font-style: italic; }
.codehilite .cp  { color: #e98a3a; } /* Comment.Preproc */
.codehilite .gd  { color: #ff6b5b; }
.codehilite .ge  { font-style: italic; }
.codehilite .gr  { color: #ff6b5b; }
.codehilite .gh  { color: #f0a05a; font-weight: 600; }
.codehilite .gi  { color: #a3d977; }
.codehilite .go  { color: #b3a98e; }
.codehilite .gp  { color: #f0a05a; }
.codehilite .gs  { font-weight: 600; }
.codehilite .gu  { color: #f0a05a; font-weight: 600; }
.codehilite .gt  { color: #ff6b5b; }
.codehilite .kc, .codehilite .kd, .codehilite .kn, .codehilite .kp, .codehilite .kr { color: #f0a05a; font-weight: 600; }
.codehilite .kt  { color: #f6c27a; }
.codehilite .m, .codehilite .mb, .codehilite .mf, .codehilite .mh, .codehilite .mi, .codehilite .mo { color: #c2b8e6; }
.codehilite .s, .codehilite .sa, .codehilite .sb, .codehilite .sc, .codehilite .dl, .codehilite .sd, .codehilite .s2, .codehilite .se, .codehilite .sh, .codehilite .si, .codehilite .sx, .codehilite .sr, .codehilite .s1, .codehilite .ss { color: #a3d977; }
.codehilite .na  { color: #f6c27a; }
.codehilite .nb  { color: #f0a05a; }
.codehilite .nc  { color: #f6c27a; font-weight: 600; }
.codehilite .no  { color: #ff9a73; }
.codehilite .nd  { color: #c2b8e6; }
.codehilite .ni  { color: #d6cdb6; }
.codehilite .ne  { color: #ff6b5b; font-weight: 600; }
.codehilite .nf  { color: #f6c27a; }
.codehilite .nl  { color: #f6c27a; }
.codehilite .nn  { color: #f6c27a; }
.codehilite .nt  { color: #f0a05a; }
.codehilite .nv  { color: #d6cdb6; }
.codehilite .ow  { color: #f0a05a; font-weight: 600; }
.codehilite .w   { color: #3a3329; }
