[data-bs-theme="light"] .tm-baseline-content,
[data-bs-theme="light"] .tm-blocks-content {
    --tm-hljs-text: #24292e;
    --tm-hljs-keyword: #d73a49;
    --tm-hljs-title: #6f42c1;
    --tm-hljs-attr: #005cc5;
    --tm-hljs-string: #032f62;
    --tm-hljs-builtin: #e36209;
    --tm-hljs-comment: #6a737d;
    --tm-hljs-name: #22863a;
    --tm-hljs-addition: #22863a;
    --tm-hljs-addition-bg: #f0fff4;
    --tm-hljs-deletion: #b31d28;
    --tm-hljs-deletion-bg: #ffeef0;
}

[data-bs-theme="light"] .tm-timeline-content {
    --tm-hljs-text: #24292e;
    --tm-hljs-keyword: #d73a49;
    --tm-hljs-title: #6f42c1;
    --tm-hljs-attr: #005cc5;
    --tm-hljs-string: #032f62;
    --tm-hljs-builtin: #e36209;
    --tm-hljs-comment: #6a737d;
    --tm-hljs-name: #22863a;
    --tm-hljs-addition: #22863a;
    --tm-hljs-addition-bg: #f0fff4;
    --tm-hljs-deletion: #b31d28;
    --tm-hljs-deletion-bg: #ffeef0;
}

[data-bs-theme="dark"] .tm-baseline-content,
[data-bs-theme="dark"] .tm-blocks-content {
    --tm-hljs-text: #c9d1d9;
    --tm-hljs-keyword: #ff7b72;
    --tm-hljs-title: #d2a8ff;
    --tm-hljs-attr: #79c0ff;
    --tm-hljs-string: #a5d6ff;
    --tm-hljs-builtin: #ffa657;
    --tm-hljs-comment: #8b949e;
    --tm-hljs-name: #7ee787;
    --tm-hljs-addition: #aff5b4;
    --tm-hljs-addition-bg: #033a16;
    --tm-hljs-deletion: #ffdcd7;
    --tm-hljs-deletion-bg: #67060c;
}

[data-bs-theme="dark"] .tm-timeline-content {
    --tm-hljs-text: #c9d1d9;
    --tm-hljs-keyword: #ff7b72;
    --tm-hljs-title: #d2a8ff;
    --tm-hljs-attr: #79c0ff;
    --tm-hljs-string: #a5d6ff;
    --tm-hljs-builtin: #ffa657;
    --tm-hljs-comment: #8b949e;
    --tm-hljs-name: #7ee787;
    --tm-hljs-addition: #aff5b4;
    --tm-hljs-addition-bg: #033a16;
    --tm-hljs-deletion: #ffdcd7;
    --tm-hljs-deletion-bg: #67060c;
}

.tm-baseline-content pre code.hljs,
.tm-blocks-content pre code.hljs,
.tm-baseline-content pre.tm-content-pre code.hljs,
.tm-blocks-content pre.tm-content-pre code.hljs,
.tm-timeline-content pre code.hljs,
.tm-timeline-content pre.tm-content-pre code.hljs {
    background: transparent;
    color: var(--tm-hljs-text);
}

.tm-baseline-content .hljs-comment,
.tm-blocks-content .hljs-comment,
.tm-baseline-content .hljs-code,
.tm-blocks-content .hljs-code,
.tm-baseline-content .hljs-formula,
.tm-blocks-content .hljs-formula,
.tm-timeline-content .hljs-comment,
.tm-timeline-content .hljs-code,
.tm-timeline-content .hljs-formula {
    color: var(--tm-hljs-comment);
}

.tm-baseline-content .hljs-doctag,
.tm-blocks-content .hljs-doctag,
.tm-baseline-content .hljs-keyword,
.tm-blocks-content .hljs-keyword,
.tm-baseline-content .hljs-meta .hljs-keyword,
.tm-blocks-content .hljs-meta .hljs-keyword,
.tm-baseline-content .hljs-template-tag,
.tm-blocks-content .hljs-template-tag,
.tm-baseline-content .hljs-template-variable,
.tm-blocks-content .hljs-template-variable,
.tm-baseline-content .hljs-type,
.tm-blocks-content .hljs-type,
.tm-baseline-content .hljs-variable.language_,
.tm-blocks-content .hljs-variable.language_,
.tm-timeline-content .hljs-doctag,
.tm-timeline-content .hljs-keyword,
.tm-timeline-content .hljs-meta .hljs-keyword,
.tm-timeline-content .hljs-template-tag,
.tm-timeline-content .hljs-template-variable,
.tm-timeline-content .hljs-type,
.tm-timeline-content .hljs-variable.language_ {
    color: var(--tm-hljs-keyword);
}

.tm-baseline-content .hljs-title,
.tm-blocks-content .hljs-title,
.tm-baseline-content .hljs-title.class_,
.tm-blocks-content .hljs-title.class_,
.tm-baseline-content .hljs-title.class_.inherited__,
.tm-blocks-content .hljs-title.class_.inherited__,
.tm-baseline-content .hljs-title.function_,
.tm-blocks-content .hljs-title.function_,
.tm-timeline-content .hljs-title,
.tm-timeline-content .hljs-title.class_,
.tm-timeline-content .hljs-title.class_.inherited__,
.tm-timeline-content .hljs-title.function_ {
    color: var(--tm-hljs-title);
}

.tm-baseline-content .hljs-attr,
.tm-blocks-content .hljs-attr,
.tm-baseline-content .hljs-attribute,
.tm-blocks-content .hljs-attribute,
.tm-baseline-content .hljs-literal,
.tm-blocks-content .hljs-literal,
.tm-baseline-content .hljs-meta,
.tm-blocks-content .hljs-meta,
.tm-baseline-content .hljs-number,
.tm-blocks-content .hljs-number,
.tm-baseline-content .hljs-operator,
.tm-blocks-content .hljs-operator,
.tm-baseline-content .hljs-variable,
.tm-blocks-content .hljs-variable,
.tm-baseline-content .hljs-selector-attr,
.tm-blocks-content .hljs-selector-attr,
.tm-baseline-content .hljs-selector-class,
.tm-blocks-content .hljs-selector-class,
.tm-baseline-content .hljs-selector-id,
.tm-blocks-content .hljs-selector-id,
.tm-timeline-content .hljs-attr,
.tm-timeline-content .hljs-attribute,
.tm-timeline-content .hljs-literal,
.tm-timeline-content .hljs-meta,
.tm-timeline-content .hljs-number,
.tm-timeline-content .hljs-operator,
.tm-timeline-content .hljs-variable,
.tm-timeline-content .hljs-selector-attr,
.tm-timeline-content .hljs-selector-class,
.tm-timeline-content .hljs-selector-id {
    color: var(--tm-hljs-attr);
}

.tm-baseline-content .hljs-regexp,
.tm-blocks-content .hljs-regexp,
.tm-baseline-content .hljs-string,
.tm-blocks-content .hljs-string,
.tm-baseline-content .hljs-meta .hljs-string,
.tm-blocks-content .hljs-meta .hljs-string,
.tm-timeline-content .hljs-regexp,
.tm-timeline-content .hljs-string,
.tm-timeline-content .hljs-meta .hljs-string {
    color: var(--tm-hljs-string);
}

.tm-baseline-content .hljs-built_in,
.tm-blocks-content .hljs-built_in,
.tm-baseline-content .hljs-symbol,
.tm-blocks-content .hljs-symbol,
.tm-timeline-content .hljs-built_in,
.tm-timeline-content .hljs-symbol {
    color: var(--tm-hljs-builtin);
}

.tm-baseline-content .hljs-name,
.tm-blocks-content .hljs-name,
.tm-baseline-content .hljs-quote,
.tm-blocks-content .hljs-quote,
.tm-baseline-content .hljs-selector-tag,
.tm-blocks-content .hljs-selector-tag,
.tm-baseline-content .hljs-selector-pseudo,
.tm-blocks-content .hljs-selector-pseudo,
.tm-timeline-content .hljs-name,
.tm-timeline-content .hljs-quote,
.tm-timeline-content .hljs-selector-tag,
.tm-timeline-content .hljs-selector-pseudo {
    color: var(--tm-hljs-name);
}

.tm-baseline-content .hljs-addition,
.tm-blocks-content .hljs-addition,
.tm-timeline-content .hljs-addition {
    color: var(--tm-hljs-addition);
    background-color: var(--tm-hljs-addition-bg);
}

.tm-baseline-content .hljs-deletion,
.tm-blocks-content .hljs-deletion,
.tm-timeline-content .hljs-deletion {
    color: var(--tm-hljs-deletion);
    background-color: var(--tm-hljs-deletion-bg);
}

[data-bs-theme="dark"] {
    --color-hljs: #c9d1d9;
    --color-hljs-doctag: #ff7b72;
    --color-hljs-title: #d2a8ff;
    --color-hljs-attr: #79c0ff;
    --color-hljs-regexp: #a5d6ff;
    --color-hljs-built_in: #ffa657;
    --color-hljs-comment: #8b949e;
    --color-hljs-name: #7ee787;
    --color-hljs-subst: #c9d1d9;
    --color-hljs-section: #1f6feb;
    --color-hljs-bullet: #f2cc60;
    --color-hljs-emphasis: #c9d1d9;
    --color-hljs-strong: #c9d1d9;
    --color-hljs-addition: #aff5b4;
    --color-hljs-addition-bg: #033a16;
    --color-hljs-deletion: #ffdcd7;
    --color-hljs-deletion-bg: #67060c;
}

[data-bs-theme="light"] {
    --color-hljs: #24292e;
    --color-hljs-doctag: #d73a49;
    --color-hljs-title: #6f42c1;
    --color-hljs-attr: #005cc5;
    --color-hljs-regexp: #032f62;
    --color-hljs-built_in: #e36209;
    --color-hljs-comment: #6a737d;
    --color-hljs-name: #22863a;
    --color-hljs-subst: #24292e;
    --color-hljs-section: #005cc5;
    --color-hljs-bullet: #735c0f;
    --color-hljs-emphasis: #24292e;
    --color-hljs-strong: #24292e;
    --color-hljs-addition: #22863a;
    --color-hljs-addition-bg: #f0fff4;
    --color-hljs-deletion: #b31d28;
    --color-hljs-deletion-bg: #ffeef0;
}

.tm-docsmatter-content .hljs-doctag,
.tm-docsmatter-content .hljs-keyword,
.tm-docsmatter-content .hljs-meta .hljs-keyword,
.tm-docsmatter-content .hljs-template-tag,
.tm-docsmatter-content .hljs-template-variable,
.tm-docsmatter-content .hljs-type,
.tm-docsmatter-content .hljs-variable.language_ {
    color: var(--color-hljs-doctag);
}

.tm-docsmatter-content .hljs-title,
.tm-docsmatter-content .hljs-title.class_,
.tm-docsmatter-content .hljs-title.class_.inherited__,
.tm-docsmatter-content .hljs-title.function_ {
    color: var(--color-hljs-title);
}

.tm-docsmatter-content .hljs-attr,
.tm-docsmatter-content .hljs-attribute,
.tm-docsmatter-content .hljs-literal,
.tm-docsmatter-content .hljs-meta,
.tm-docsmatter-content .hljs-number,
.tm-docsmatter-content .hljs-operator,
.tm-docsmatter-content .hljs-variable,
.tm-docsmatter-content .hljs-selector-attr,
.tm-docsmatter-content .hljs-selector-class,
.tm-docsmatter-content .hljs-selector-id {
    color: var(--color-hljs-attr);
}

.tm-docsmatter-content .hljs-regexp,
.tm-docsmatter-content .hljs-string,
.tm-docsmatter-content .hljs-meta .hljs-string {
    color: var(--color-hljs-regexp);
}

.tm-docsmatter-content .hljs-built_in,
.tm-docsmatter-content .hljs-symbol {
    color: var(--color-hljs-built_in);
}

.tm-docsmatter-content .hljs-comment,
.tm-docsmatter-content .hljs-code,
.tm-docsmatter-content .hljs-formula {
    color: var(--color-hljs-comment);
}

.tm-docsmatter-content .hljs-name,
.tm-docsmatter-content .hljs-quote,
.tm-docsmatter-content .hljs-selector-tag,
.tm-docsmatter-content .hljs-selector-pseudo {
    color: var(--color-hljs-name);
}

.tm-docsmatter-content .hljs-subst {
    color: var(--color-hljs-subst);
}

.tm-docsmatter-content .hljs-section {
    color: var(--color-hljs-section);
    font-weight: 700;
}

.tm-docsmatter-content .hljs-bullet {
    color: var(--color-hljs-bullet);
}

.tm-docsmatter-content .hljs-emphasis {
    color: var(--color-hljs-emphasis);
    font-style: italic;
}

.tm-docsmatter-content .hljs-strong {
    color: var(--color-hljs-strong);
    font-weight: 700;
}

.tm-docsmatter-content .hljs-addition {
    color: var(--color-hljs-addition);
    background-color: var(--color-hljs-addition-bg);
}

.tm-docsmatter-content .hljs-deletion {
    color: var(--color-hljs-deletion);
    background-color: var(--color-hljs-deletion-bg);
}

.tm-docsmatter-content pre code.hljs,
.tm-docsmatter-content pre.tm-content-pre code.hljs {
    display: block;
    padding: 0 !important;
    line-height: 1.4em !important;
    color: var(--color-hljs);
    background: transparent !important;
}

.tm-syntax-frame {
    position: relative;
    padding-top: 0.2rem !important;
}

.tm-syntax-frame > .tm-syntax-language-label,
.tm-syntax-frame > label.tm-syntax-language-label {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.32rem 0.45rem 0.22rem 0.45rem !important;
    margin: 0 !important;
    display: inline-block;
    background-color: var(--bs-secondary-color) !important;
    color: var(--bs-secondary-bg) !important;
    min-width: 75px !important;
    text-align: center;
    text-transform: uppercase;
    line-height: 1 !important;
    font-size: 0.72rem !important;
    z-index: 1;
}

.tm-terminal-rendered .tm-syntax-frame > .tm-syntax-language-label,
.tm-terminal-rendered .tm-syntax-frame > label.tm-syntax-language-label {
    background-color: rgba(0, 0, 0, 0.28) !important;
    color: var(--tm-text) !important;
    border-left: 1px solid var(--tm-border);
    border-bottom: 1px solid var(--tm-border);
}

html[data-bs-theme="light"] .tm-terminal-rendered .tm-syntax-frame > .tm-syntax-language-label,
html[data-bs-theme="light"] .tm-terminal-rendered .tm-syntax-frame > label.tm-syntax-language-label {
    background-color: rgba(255, 255, 255, 0.78) !important;
}

.tm-terminal-rendered pre code.hljs,
.tm-terminal-rendered pre.tm-content-pre code.hljs {
    background: transparent;
    color: var(--tm-text);
}

.tm-terminal-rendered .hljs-comment,
.tm-terminal-rendered .hljs-code,
.tm-terminal-rendered .hljs-formula {
    color: var(--tm-muted);
}

.tm-terminal-rendered .hljs-doctag,
.tm-terminal-rendered .hljs-keyword,
.tm-terminal-rendered .hljs-meta .hljs-keyword,
.tm-terminal-rendered .hljs-template-tag,
.tm-terminal-rendered .hljs-template-variable,
.tm-terminal-rendered .hljs-type,
.tm-terminal-rendered .hljs-variable.language_ {
    color: var(--tm-ansi-bright-red);
}

.tm-terminal-rendered .hljs-title,
.tm-terminal-rendered .hljs-title.class_,
.tm-terminal-rendered .hljs-title.class_.inherited__,
.tm-terminal-rendered .hljs-title.function_ {
    color: var(--tm-ansi-bright-magenta);
}

.tm-terminal-rendered .hljs-attr,
.tm-terminal-rendered .hljs-attribute,
.tm-terminal-rendered .hljs-literal,
.tm-terminal-rendered .hljs-meta,
.tm-terminal-rendered .hljs-number,
.tm-terminal-rendered .hljs-operator,
.tm-terminal-rendered .hljs-variable,
.tm-terminal-rendered .hljs-selector-attr,
.tm-terminal-rendered .hljs-selector-class,
.tm-terminal-rendered .hljs-selector-id {
    color: var(--tm-ansi-bright-blue);
}

.tm-terminal-rendered .hljs-regexp,
.tm-terminal-rendered .hljs-string,
.tm-terminal-rendered .hljs-meta .hljs-string {
    color: var(--tm-ansi-bright-cyan);
}

.tm-terminal-rendered .hljs-built_in,
.tm-terminal-rendered .hljs-symbol {
    color: var(--tm-ansi-bright-yellow);
}

.tm-terminal-rendered .hljs-name,
.tm-terminal-rendered .hljs-quote,
.tm-terminal-rendered .hljs-selector-tag,
.tm-terminal-rendered .hljs-selector-pseudo {
    color: var(--tm-ansi-bright-green);
}

.tm-terminal-rendered .hljs-addition {
    color: var(--tm-ansi-bright-green);
    background-color: rgba(127, 232, 137, 0.12);
}

.tm-terminal-rendered .hljs-deletion {
    color: var(--tm-ansi-bright-red);
    background-color: rgba(208, 95, 116, 0.16);
}
