/* pytribeam pdoc custom theme with VS Code Light Modern / Dark Modern styling */

/* ------------------------------------------------------------------------- */
/* Theme variables                                                           */
/* ------------------------------------------------------------------------- */

html[data-theme="light"] {
  color-scheme: light;

  --pdoc-bg: #ffffff;
  --pdoc-bg-secondary: #f8f8f8;
  --pdoc-bg-tertiary: #f3f3f3;
  --pdoc-fg: #1f1f1f;
  --pdoc-fg-muted: #5f6a7a;
  --pdoc-border: #d4d4d4;
  --pdoc-link: #0969da;
  --pdoc-link-hover: #0550ae;

  --pdoc-code-bg: #f6f8fa;
  --pdoc-code-fg: #24292f;
  --pdoc-code-border: #d0d7de;

  --pdoc-selection-bg: #add6ff;
  --pdoc-selection-fg: #1f1f1f;
  --pdoc-mark-bg: #fff4ce;
  --pdoc-mark-fg: #1f1f1f;

  /* VS Code Light Modern-ish syntax */
  --syntax-keyword: #0000ff;
  --syntax-name: #795e26;
  --syntax-function: #795e26;
  --syntax-class: #267f99;
  --syntax-string: #a31515;
  --syntax-number: #098658;
  --syntax-comment: #008000;
  --syntax-operator: #000000;
  --syntax-builtin: #267f99;
  --syntax-decorator: #af00db;
  --syntax-type: #267f99;
  --syntax-punctuation: #000000;
}

html[data-theme="dark"] {
  color-scheme: dark;

  /* VS Code Dark Modern-ish */
  --pdoc-bg: #1e1e1e;
  --pdoc-bg-secondary: #252526;
  --pdoc-bg-tertiary: #2d2d30;
  --pdoc-fg: #d4d4d4;
  --pdoc-fg-muted: #9da5b4;
  --pdoc-border: #3c3c3c;
  --pdoc-link: #4fc1ff;
  --pdoc-link-hover: #9cdcfe;

  --pdoc-code-bg: #1e1e1e;
  --pdoc-code-fg: #d4d4d4;
  --pdoc-code-border: #3c3c3c;

  /* Avoid bright yellow highlight with light text */
  --pdoc-selection-bg: #264f78;
  --pdoc-selection-fg: #ffffff;
  --pdoc-mark-bg: #3a3d41;
  --pdoc-mark-fg: #ffffff;

  /* VS Code Dark Modern syntax */
  --syntax-keyword: #569cd6;
  --syntax-name: #9cdcfe;
  --syntax-function: #dcdcaa;
  --syntax-class: #4ec9b0;
  --syntax-string: #ce9178;
  --syntax-number: #b5cea8;
  --syntax-comment: #6a9955;
  --syntax-operator: #d4d4d4;
  --syntax-builtin: #4ec9b0;
  --syntax-decorator: #c586c0;
  --syntax-type: #4ec9b0;
  --syntax-punctuation: #d4d4d4;
}

/* ------------------------------------------------------------------------- */
/* Base layout                                                               */
/* ------------------------------------------------------------------------- */

html,
body {
  background: var(--pdoc-bg) !important;
  color: var(--pdoc-fg) !important;
}

body,
main,
article,
section,
nav,
aside,
header,
footer {
  background-color: var(--pdoc-bg) !important;
  color: var(--pdoc-fg) !important;
}

a {
  color: var(--pdoc-link) !important;
}

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

/* pdoc navigation/sidebar/header-ish areas */
nav,
aside,
header,
.pdoc,
.modulename,
.toc,
.sidebar {
  background-color: var(--pdoc-bg-secondary) !important;
  color: var(--pdoc-fg) !important;
  border-color: var(--pdoc-border) !important;
}

hr {
  border-color: var(--pdoc-border) !important;
}

table,
th,
td {
  border-color: var(--pdoc-border) !important;
}

th {
  background: var(--pdoc-bg-secondary) !important;
  color: var(--pdoc-fg) !important;
}

blockquote {
  border-left-color: var(--pdoc-border) !important;
  color: var(--pdoc-fg-muted) !important;
}

/* ------------------------------------------------------------------------- */
/* Selection / search highlighting                                           */
/* ------------------------------------------------------------------------- */

::selection {
  background: var(--pdoc-selection-bg) !important;
  color: var(--pdoc-selection-fg) !important;
}

::-moz-selection {
  background: var(--pdoc-selection-bg) !important;
  color: var(--pdoc-selection-fg) !important;
}

mark,
.highlight,
mark *,
.highlight * {
  background: var(--pdoc-mark-bg) !important;
  color: var(--pdoc-mark-fg) !important;
}

/* Browser find/search sometimes uses these in generated docs/themes */
.search-highlight,
.search-match,
.selected,
.active {
  background-color: var(--pdoc-mark-bg) !important;
  color: var(--pdoc-mark-fg) !important;
}

/* ------------------------------------------------------------------------- */
/* Code blocks and inline code                                               */
/* ------------------------------------------------------------------------- */

pre,
code,
tt,
kbd,
samp {
  background: var(--pdoc-code-bg) !important;
  color: var(--pdoc-code-fg) !important;
  border-color: var(--pdoc-code-border) !important;
}

pre {
  border: 1px solid var(--pdoc-code-border) !important;
  border-radius: 8px !important;
  padding: 0.85rem 1rem !important;
  overflow-x: auto !important;
}

code {
  border-radius: 4px !important;
}

/* pdoc signatures */
.signature,
.function,
.class,
.variable,
.classattr,
.def,
.source {
  background: var(--pdoc-bg-secondary) !important;
  color: var(--pdoc-fg) !important;
  border-color: var(--pdoc-border) !important;
}

.signature {
  border-radius: 8px !important;
}

/* Make function/class definition names readable in dark mode */
.name,
.ident,
.signature .name,
.signature .ident,
.function .name,
.class .name,
.def .name {
  color: var(--syntax-function) !important;
}

/* Class/module names */
.class .name,
.module .name,
.signature .class,
.signature .module {
  color: var(--syntax-class) !important;
}

/* Type annotations/default values */
.annotation,
.default_value,
.signature .annotation,
.signature .default_value {
  color: var(--syntax-type) !important;
}

/* ------------------------------------------------------------------------- */
/* Pygments token classes                                                    */
/* ------------------------------------------------------------------------- */

/*
  pdoc/Markdown output may use Pygments-style classes. These selectors cover
  common Python token classes:
    k  = keyword
    n  = name
    nf = function name
    nc = class name
    s  = string
    mi/mf = numbers
    c  = comment
*/

.highlight,
.codehilite {
  background: var(--pdoc-code-bg) !important;
  color: var(--pdoc-code-fg) !important;
}

/* Keywords: def, class, import, from, return, etc. */
.highlight .k,
.highlight .kc,
.highlight .kd,
.highlight .kn,
.highlight .kp,
.highlight .kr,
.highlight .kt,
.codehilite .k,
.codehilite .kc,
.codehilite .kd,
.codehilite .kn,
.codehilite .kp,
.codehilite .kr,
.codehilite .kt {
  color: var(--syntax-keyword) !important;
}

/* Names */
.highlight .n,
.highlight .na,
.highlight .nb,
.highlight .bp,
.highlight .vc,
.highlight .vg,
.highlight .vi,
.codehilite .n,
.codehilite .na,
.codehilite .nb,
.codehilite .bp,
.codehilite .vc,
.codehilite .vg,
.codehilite .vi {
  color: var(--syntax-name) !important;
}

/* Function names */
.highlight .nf,
.highlight .fm,
.codehilite .nf,
.codehilite .fm {
  color: var(--syntax-function) !important;
}

/* Class names and exception names */
.highlight .nc,
.highlight .ne,
.codehilite .nc,
.codehilite .ne {
  color: var(--syntax-class) !important;
}

/* Builtins */
.highlight .nb,
.highlight .bp,
.codehilite .nb,
.codehilite .bp {
  color: var(--syntax-builtin) !important;
}

/* Decorators */
.highlight .nd,
.codehilite .nd {
  color: var(--syntax-decorator) !important;
}

/* Strings */
.highlight .s,
.highlight .sa,
.highlight .sb,
.highlight .sc,
.highlight .dl,
.highlight .sd,
.highlight .s2,
.highlight .se,
.highlight .sh,
.highlight .si,
.highlight .sx,
.highlight .sr,
.highlight .s1,
.highlight .ss,
.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: var(--syntax-string) !important;
}

/* Numbers */
.highlight .m,
.highlight .mb,
.highlight .mf,
.highlight .mh,
.highlight .mi,
.highlight .mo,
.highlight .il,
.codehilite .m,
.codehilite .mb,
.codehilite .mf,
.codehilite .mh,
.codehilite .mi,
.codehilite .mo,
.codehilite .il {
  color: var(--syntax-number) !important;
}

/* Comments */
.highlight .c,
.highlight .ch,
.highlight .cm,
.highlight .cpf,
.highlight .c1,
.highlight .cs,
.codehilite .c,
.codehilite .ch,
.codehilite .cm,
.codehilite .cpf,
.codehilite .c1,
.codehilite .cs {
  color: var(--syntax-comment) !important;
  font-style: italic !important;
}

/* Operators and punctuation */
.highlight .o,
.highlight .ow,
.highlight .p,
.codehilite .o,
.codehilite .ow,
.codehilite .p {
  color: var(--syntax-operator) !important;
}

/* Errors */
.highlight .err,
.codehilite .err {
  color: #f44747 !important;
}

/* Generic emphasis/strong/output */
.highlight .ge,
.codehilite .ge {
  font-style: italic !important;
}

.highlight .gs,
.codehilite .gs {
  font-weight: bold !important;
}

/* ------------------------------------------------------------------------- */
/* pdoc-specific details                                                     */
/* ------------------------------------------------------------------------- */

.docstring,
.docstring *,
.desc,
.desc *,
.inherited,
.inherited *,
.variable,
.variable *,
.function,
.function *,
.class,
.class *,
.module,
.module * {
  border-color: var(--pdoc-border) !important;
}

.docstring {
  color: var(--pdoc-fg) !important;
}

/* Avoid pure white definitions on dark background */
html[data-theme="dark"] .signature,
html[data-theme="dark"] .signature *,
html[data-theme="dark"] .def,
html[data-theme="dark"] .def * {
  color: var(--pdoc-fg) !important;
}

/* Then re-apply more specific syntax colors inside signatures */
html[data-theme="dark"] .signature .name,
html[data-theme="dark"] .signature .ident,
html[data-theme="dark"] .signature .nf {
  color: var(--syntax-function) !important;
}

html[data-theme="dark"] .signature .annotation,
html[data-theme="dark"] .signature .default_value {
  color: var(--syntax-type) !important;
}

html[data-theme="dark"] .signature .k,
html[data-theme="dark"] .signature .keyword {
  color: var(--syntax-keyword) !important;
}

html[data-theme="dark"] .signature .s,
html[data-theme="dark"] .signature .string {
  color: var(--syntax-string) !important;
}

/* Inputs/buttons */
input,
select,
textarea,
button {
  background: var(--pdoc-bg-secondary) !important;
  color: var(--pdoc-fg) !important;
  border-color: var(--pdoc-border) !important;
}

/* ------------------------------------------------------------------------- */
/* Theme toggle button                                                       */
/* ------------------------------------------------------------------------- */

#pdoc-theme-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--pdoc-border);
  background: var(--pdoc-bg-secondary);
  color: var(--pdoc-fg);
  cursor: pointer;
  font-size: 0.85rem;
  opacity: 0.92;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

#pdoc-theme-toggle:hover {
  opacity: 1;
}

/* ------------------------------------------------------------------------- */
/* pdoc 14 function/class headers and source blocks                          */
/* ------------------------------------------------------------------------- */

/*
  pdoc function headers look like:

    <div class="attr function">
      <span class="def">def</span>
      <span class="name">function_name</span>
      <span class="signature pdoc-code multiline">...</span>
    </div>

  Source blocks look like:

    <div class="pdoc-code codehilite"><pre>...</pre></div>

  These rules specifically target those structures.
*/

/* ---------------- Function/class header containers ---------------- */

html[data-theme="light"] .attr.function,
html[data-theme="light"] .attr.class,
html[data-theme="light"] .attr.variable,
html[data-theme="light"] .attr.classattr {
  background: var(--pdoc-bg-secondary) !important;
  color: var(--pdoc-fg) !important;
  border-color: var(--pdoc-border) !important;
}

html[data-theme="dark"] .attr.function,
html[data-theme="dark"] .attr.class,
html[data-theme="dark"] .attr.variable,
html[data-theme="dark"] .attr.classattr {
  background: #252526 !important;
  color: var(--pdoc-fg) !important;
  border-color: var(--pdoc-border) !important;
}

/* The "def" / "class" keyword in function/class summaries */
html[data-theme="light"] .attr.function > .def,
html[data-theme="light"] .attr.class > .def,
html[data-theme="dark"] .attr.function > .def,
html[data-theme="dark"] .attr.class > .def {
  color: var(--syntax-keyword) !important;
  font-weight: 600 !important;
}

/* Function/class name in summaries */
html[data-theme="light"] .attr.function > .name,
html[data-theme="dark"] .attr.function > .name {
  color: var(--syntax-function) !important;
  font-weight: 600 !important;
}

html[data-theme="light"] .attr.class > .name,
html[data-theme="dark"] .attr.class > .name {
  color: var(--syntax-class) !important;
  font-weight: 600 !important;
}

/* Signature block itself */
html[data-theme="light"] .attr .signature.pdoc-code,
html[data-theme="dark"] .attr .signature.pdoc-code {
  background: transparent !important;
  color: var(--pdoc-fg) !important;
  border: none !important;
}

/* Parameter names in function signatures */
html[data-theme="light"] .attr .signature.pdoc-code .n,
html[data-theme="dark"] .attr .signature.pdoc-code .n {
  color: var(--syntax-name) !important;
}

/* Builtins like bool, int, str */
html[data-theme="light"] .attr .signature.pdoc-code .nb,
html[data-theme="dark"] .attr .signature.pdoc-code .nb {
  color: var(--syntax-builtin) !important;
}

/* Punctuation like :, (, ), commas */
html[data-theme="light"] .attr .signature.pdoc-code .p,
html[data-theme="dark"] .attr .signature.pdoc-code .p {
  color: var(--syntax-punctuation) !important;
}

/* Return annotation */
html[data-theme="light"] .attr .return-annotation,
html[data-theme="dark"] .attr .return-annotation {
  color: var(--syntax-type) !important;
}

/* Links inside type annotations */
html[data-theme="light"] .attr .signature.pdoc-code a,
html[data-theme="dark"] .attr .signature.pdoc-code a {
  color: var(--pdoc-link) !important;
  text-decoration-color: var(--pdoc-link) !important;
}

/* View Source button */
html[data-theme="light"] .view-source-button,
html[data-theme="dark"] .view-source-button {
  background: var(--pdoc-bg-tertiary) !important;
  color: var(--pdoc-fg) !important;
  border-color: var(--pdoc-border) !important;
}

html[data-theme="light"] .view-source-button:hover,
html[data-theme="dark"] .view-source-button:hover {
  background: var(--pdoc-mark-bg) !important;
  color: var(--pdoc-mark-fg) !important;
}

/* ---------------- Source code blocks ---------------- */

html[data-theme="light"] .pdoc-code.codehilite,
html[data-theme="light"] .pdoc-code.codehilite pre {
  background: var(--pdoc-code-bg) !important;
  color: var(--pdoc-code-fg) !important;
  border-color: var(--pdoc-code-border) !important;
}

html[data-theme="dark"] .pdoc-code.codehilite,
html[data-theme="dark"] .pdoc-code.codehilite pre {
  background: #1e1e1e !important;
  color: #d4d4d4 !important;
  border-color: var(--pdoc-code-border) !important;
}

/* Line numbers */
html[data-theme="light"] .pdoc-code.codehilite .linenos,
html[data-theme="dark"] .pdoc-code.codehilite .linenos {
  color: var(--pdoc-fg-muted) !important;
  background: transparent !important;
}

/* Whitespace tokens */
html[data-theme="light"] .pdoc-code.codehilite .w,
html[data-theme="dark"] .pdoc-code.codehilite .w {
  color: inherit !important;
}

/* Keywords in source: def, for, if, try, except, return, etc. */
html[data-theme="light"] .pdoc-code.codehilite .k,
html[data-theme="light"] .pdoc-code.codehilite .kc,
html[data-theme="light"] .pdoc-code.codehilite .kd,
html[data-theme="light"] .pdoc-code.codehilite .kn,
html[data-theme="light"] .pdoc-code.codehilite .kp,
html[data-theme="light"] .pdoc-code.codehilite .kr,
html[data-theme="light"] .pdoc-code.codehilite .kt,
html[data-theme="light"] .pdoc-code.codehilite .ow,
html[data-theme="dark"] .pdoc-code.codehilite .k,
html[data-theme="dark"] .pdoc-code.codehilite .kc,
html[data-theme="dark"] .pdoc-code.codehilite .kd,
html[data-theme="dark"] .pdoc-code.codehilite .kn,
html[data-theme="dark"] .pdoc-code.codehilite .kp,
html[data-theme="dark"] .pdoc-code.codehilite .kr,
html[data-theme="dark"] .pdoc-code.codehilite .kt,
html[data-theme="dark"] .pdoc-code.codehilite .ow {
  color: var(--syntax-keyword) !important;
}

/* Function names in source */
html[data-theme="light"] .pdoc-code.codehilite .nf,
html[data-theme="dark"] .pdoc-code.codehilite .nf {
  color: var(--syntax-function) !important;
}

/* Class names / exception names */
html[data-theme="light"] .pdoc-code.codehilite .nc,
html[data-theme="light"] .pdoc-code.codehilite .ne,
html[data-theme="dark"] .pdoc-code.codehilite .nc,
html[data-theme="dark"] .pdoc-code.codehilite .ne {
  color: var(--syntax-class) !important;
}

/* Regular names */
html[data-theme="light"] .pdoc-code.codehilite .n,
html[data-theme="light"] .pdoc-code.codehilite .na,
html[data-theme="dark"] .pdoc-code.codehilite .n,
html[data-theme="dark"] .pdoc-code.codehilite .na {
  color: var(--syntax-name) !important;
}

/* Builtins like print, bool, True, NameError */
html[data-theme="light"] .pdoc-code.codehilite .nb,
html[data-theme="light"] .pdoc-code.codehilite .bp,
html[data-theme="dark"] .pdoc-code.codehilite .nb,
html[data-theme="dark"] .pdoc-code.codehilite .bp {
  color: var(--syntax-builtin) !important;
}

/* Strings and docstrings */
html[data-theme="light"] .pdoc-code.codehilite .s,
html[data-theme="light"] .pdoc-code.codehilite .s1,
html[data-theme="light"] .pdoc-code.codehilite .s2,
html[data-theme="light"] .pdoc-code.codehilite .sd,
html[data-theme="light"] .pdoc-code.codehilite .se,
html[data-theme="dark"] .pdoc-code.codehilite .s,
html[data-theme="dark"] .pdoc-code.codehilite .s1,
html[data-theme="dark"] .pdoc-code.codehilite .s2,
html[data-theme="dark"] .pdoc-code.codehilite .sd,
html[data-theme="dark"] .pdoc-code.codehilite .se {
  color: var(--syntax-string) !important;
}

/* Numbers */
html[data-theme="light"] .pdoc-code.codehilite .m,
html[data-theme="light"] .pdoc-code.codehilite .mi,
html[data-theme="light"] .pdoc-code.codehilite .mf,
html[data-theme="dark"] .pdoc-code.codehilite .m,
html[data-theme="dark"] .pdoc-code.codehilite .mi,
html[data-theme="dark"] .pdoc-code.codehilite .mf {
  color: var(--syntax-number) !important;
}

/* Comments */
html[data-theme="light"] .pdoc-code.codehilite .c,
html[data-theme="light"] .pdoc-code.codehilite .c1,
html[data-theme="light"] .pdoc-code.codehilite .cm,
html[data-theme="dark"] .pdoc-code.codehilite .c,
html[data-theme="dark"] .pdoc-code.codehilite .c1,
html[data-theme="dark"] .pdoc-code.codehilite .cm {
  color: var(--syntax-comment) !important;
  font-style: italic !important;
}

/* Operators and punctuation */
html[data-theme="light"] .pdoc-code.codehilite .o,
html[data-theme="light"] .pdoc-code.codehilite .p,
html[data-theme="dark"] .pdoc-code.codehilite .o,
html[data-theme="dark"] .pdoc-code.codehilite .p {
  color: var(--syntax-operator) !important;
}

/* ---------------- Fix bright/yellow active line or hash-target highlights ---------------- */

/*
  When clicking source line anchors, pdoc/browser styles may highlight the target
  line. Override that so it doesn't become bright yellow with unreadable text.
*/

html[data-theme="dark"] .pdoc-code.codehilite span:target,
html[data-theme="dark"] .pdoc-code.codehilite span:target *,
html[data-theme="dark"] .pdoc-code.codehilite .hll,
html[data-theme="dark"] .pdoc-code.codehilite .hll *,
html[data-theme="dark"] .pdoc-code.codehilite mark,
html[data-theme="dark"] .pdoc-code.codehilite mark * {
  background-color: #264f78 !important;
  color: #ffffff !important;
}

html[data-theme="light"] .pdoc-code.codehilite span:target,
html[data-theme="light"] .pdoc-code.codehilite span:target *,
html[data-theme="light"] .pdoc-code.codehilite .hll,
html[data-theme="light"] .pdoc-code.codehilite .hll *,
html[data-theme="light"] .pdoc-code.codehilite mark,
html[data-theme="light"] .pdoc-code.codehilite mark * {
  background-color: #add6ff !important;
  color: #1f1f1f !important;
}

/* General text selection inside source blocks */
html[data-theme="dark"] .pdoc-code.codehilite ::selection {
  background: #264f78 !important;
  color: #ffffff !important;
}

html[data-theme="light"] .pdoc-code.codehilite ::selection {
  background: #add6ff !important;
  color: #1f1f1f !important;
}

/* ------------------------------------------------------------------------- */
/* Enhanced docstring formatting                                             */
/* ------------------------------------------------------------------------- */

/* Docstring section headings */
html[data-theme="light"] .docstring h1,
html[data-theme="light"] .docstring h2,
html[data-theme="light"] .docstring h3,
html[data-theme="dark"] .docstring h1,
html[data-theme="dark"] .docstring h2,
html[data-theme="dark"] .docstring h3 {
  color: var(--syntax-class) !important;
  border-bottom: 1px solid var(--pdoc-border) !important;
  padding-bottom: 0.25rem !important;
  margin-top: 1.5rem !important;
}

/* Docstring tables */
.docstring table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0.75rem 0 1.25rem 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--pdoc-border) !important;
  border-radius: 8px !important;
}

.docstring th {
  background: var(--pdoc-bg-tertiary) !important;
  color: var(--pdoc-fg) !important;
  font-weight: 700 !important;
  text-align: left !important;
  padding: 0.55rem 0.75rem !important;
  border: 1px solid var(--pdoc-border) !important;
}

.docstring td {
  padding: 0.55rem 0.75rem !important;
  border: 1px solid var(--pdoc-border) !important;
  vertical-align: top !important;
}

/* Alternate table row shading */
html[data-theme="light"] .docstring tr:nth-child(even) td {
  background: #f8fafc !important;
}

html[data-theme="dark"] .docstring tr:nth-child(even) td {
  background: #252526 !important;
}

/* Inline code in docstrings */
.docstring code {
  background: var(--pdoc-bg-tertiary) !important;
  border: 1px solid var(--pdoc-border) !important;
  border-radius: 4px !important;
  padding: 0.08rem 0.28rem !important;
  font-weight: 500 !important;
}

/* First column: parameter / return names */
.docstring table td:nth-child(1) code {
  color: var(--syntax-name) !important;
  font-weight: 700 !important;
}

/* Second column: types */
.docstring table td:nth-child(2) code {
  color: var(--syntax-type) !important;
  font-weight: 600 !important;
}

/* Description text */
.docstring table td:nth-child(3) {
  color: var(--pdoc-fg) !important;
}

/* Strong text in descriptions */
.docstring strong {
  color: var(--syntax-function) !important;
}

/* Lists in docstrings */
.docstring ul,
.docstring ol {
  padding-left: 1.4rem !important;
}

.docstring li {
  margin: 0.25rem 0 !important;
}