/* ==========================================================================
   SEONuxt GitHub Gist & Markdown Styles (Dual Theme Aligned with SEONuxt CI)
   Tokens: --color-thee (#032a36), --color-one (#00dc82), --color-two (#80eec0)
   ========================================================================== */

.gist {
	width: 100%;
	overflow: auto;
}

.gist .blob-wrapper.data {
	max-height: 480px;
	overflow: auto;
}

.gist .gist-file {
	margin-bottom: 0 !important;
	margin-top: 8px !important;
	border: 1px solid rgba(3, 42, 54, 0.12) !important;
	border-radius: 0.75rem !important;
	overflow: hidden;
}

.gist .gist-data {
	background-color: #ffffff !important;
	border-bottom: 1px solid rgba(3, 42, 54, 0.08) !important;
}

.gist .gist-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 11px;
	background: #f8fafc !important;
	border-top: 1px solid rgba(3, 42, 54, 0.08) !important;
	padding: 8px 14px !important;
	color: #4b636a !important;
}

.gist .gist-meta a {
	color: var(--color-one, #00dc82) !important;
	text-decoration: none;
	font-weight: 600;
}

.gist .blob-code {
	padding: 2px 14px !important;
	text-align: left;
	background: #ffffff !important;
	border: 0;
	color: #032a36 !important;
	font-size: 13px !important;
	line-height: 1.6 !important;
}

.gist .blob-num {
	padding: 8px 10px;
	text-align: right;
	color: #8da2aa !important;
	background: #f8fafc !important;
	border: 0;
}

/* ==========================================================================
   Dark Mode Styles for Gist & Markdown (SEONuxt Deep Ocean Theme)
   ========================================================================== */

html[data-bs-theme="dark"] .gist .gist-file,
html[data-theme="dark"] .gist .gist-file {
	border: 1px solid rgba(128, 238, 192, 0.2) !important;
	background-color: #011015 !important;
}

html[data-bs-theme="dark"] .gist .gist-data,
html[data-theme="dark"] .gist .gist-data {
	overflow: auto !important;
	word-wrap: normal !important;
	background-color: #011015 !important;
	border-bottom: 1px solid rgba(128, 238, 192, 0.15) !important;
}

html[data-bs-theme="dark"] .gist-meta,
html[data-theme="dark"] .gist-meta {
	background: #03171e !important;
	border-top: 1px solid rgba(128, 238, 192, 0.15) !important;
	color: #b7d7cc !important;
}

html[data-bs-theme="dark"] .gist-meta a,
html[data-theme="dark"] .gist-meta a {
	color: var(--color-one, #00dc82) !important;
}

html[data-bs-theme="dark"] .gist .blob-code,
html[data-theme="dark"] .gist .blob-code,
html[data-bs-theme="dark"] .blob-code-inner,
html[data-theme="dark"] .blob-code-inner {
	background: #011015 !important;
	color: #eefaf4 !important;
}

html[data-bs-theme="dark"] .blob-num,
html[data-theme="dark"] .blob-num {
	color: #5d7880 !important;
	background: #02171e !important;
	border: 0;
}

/* Safe Markdown Formatting in Dark Mode (No Destructive Overrides) */
html[data-bs-theme="dark"] .markdown-format pre,
html[data-theme="dark"] .markdown-format pre,
html[data-bs-theme="dark"] .markdown-body pre,
html[data-theme="dark"] .markdown-body pre {
	background-color: #011015 !important;
	border: 1px solid rgba(128, 238, 192, 0.2) !important;
	border-radius: 0.75rem;
	color: #eefaf4;
}

html[data-bs-theme="dark"] .markdown-format code:not(pre code),
html[data-theme="dark"] .markdown-format code:not(pre code),
html[data-bs-theme="dark"] .markdown-body code:not(pre code),
html[data-theme="dark"] .markdown-body code:not(pre code) {
	background-color: rgba(0, 220, 130, 0.14) !important;
	border: 1px solid rgba(128, 238, 192, 0.25) !important;
	color: #80eec0 !important;
	border-radius: 0.325rem;
	padding: 0.12rem 0.42rem;
}

html[data-theme="dark"] .pl-c,
html[data-theme="dark"] .pl-c span {
	color: #969896 !important;
	font-style: italic !important
}

html[data-theme="dark"] .pl-c1 {
	color: #34aaff !important
}

html[data-theme="dark"] .pl-cce {
	color: #fff !important
}

html[data-theme="dark"] .pl-cn {
	color: #fff !important
}

html[data-theme="dark"] .pl-coc {
	color: #fff !important
}

html[data-theme="dark"] .pl-cos {
	color: #B5BD68 !important
}

html[data-theme="dark"] .pl-e {
	color: #F0C674 !important
}

html[data-theme="dark"] .pl-ef {
	color: #F0C674 !important
}

html[data-theme="dark"] .pl-en {
	color: #F0C674 !important
}

html[data-theme="dark"] .pl-enc {
	color: #fff !important
}

html[data-theme="dark"] .pl-enf {
	color: #F0C674 !important
}

html[data-theme="dark"] .pl-enm {
	color: #F0C674 !important
}

html[data-theme="dark"] .pl-ens {
	color: #fff !important
}

html[data-theme="dark"] .pl-ent {
	color: #73ff64 !important
}

html[data-theme="dark"] .pl-entc {
	color: #F0C674 !important
}

html[data-theme="dark"] .pl-enti {
	color: #F0C674 !important;
	font-weight: 700 !important
}

html[data-theme="dark"] .pl-entm {
	color: #C66 !important
}

html[data-theme="dark"] .pl-eoa {
	color: #73ff64 !important
}

html[data-theme="dark"] .pl-eoac {
	color: #C66 !important
}

html[data-theme="dark"] .pl-eoac .pl-pde {
	color: #C66 !important
}

html[data-theme="dark"] .pl-eoai {
	color: #73ff64 !important
}

html[data-theme="dark"] .pl-eoai .pl-pde {
	color: #73ff64 !important
}

html[data-theme="dark"] .pl-eoi {
	color: #F0C674 !important
}

html[data-theme="dark"] .pl-k {
	color: #73ff64 !important
}

html[data-theme="dark"] .pl-ko {
	color: #73ff64 !important
}

html[data-theme="dark"] .pl-kolp {
	color: #73ff64 !important
}

html[data-theme="dark"] .pl-kos {
	color: #fff !important
}

html[data-theme="dark"] .pl-kou {
	color: #fff !important
}

html[data-theme="dark"] .pl-mai .pl-sf {
	color: #C66 !important
}

html[data-theme="dark"] .pl-mb {
	color: #B5BD68 !important;
	font-weight: 700 !important
}

html[data-theme="dark"] .pl-mc {
	color: #73ff64 !important
}

html[data-theme="dark"] .pl-mh .pl-pdh {
	color: #fff !important
}

html[data-theme="dark"] .pl-mi {
	color: #73ff64 !important;
	font-style: italic !important
}

html[data-theme="dark"] .pl-ml {
	color: #B5BD68 !important
}

html[data-theme="dark"] .pl-mm {
	color: #C66 !important
}

html[data-theme="dark"] .pl-mp {
	color: #81A2BE !important
}

html[data-theme="dark"] .pl-mp1 .pl-sf {
	color: #81A2BE !important
}

html[data-theme="dark"] .pl-mq {
	color: #fff !important
}

html[data-theme="dark"] .pl-mr {
	color: #73ff64 !important
}

html[data-theme="dark"] .pl-ms {
	color: #73ff64 !important
}

html[data-theme="dark"] .pl-pdb {
	color: #B5BD68 !important;
	font-weight: 700 !important
}

html[data-theme="dark"] .pl-pdc {
	color: #969896 !important;
	font-style: italic !important
}

html[data-theme="dark"] .pl-pdc1 {
	color: #fff !important
}

html[data-theme="dark"] .pl-pde {
	color: #fff !important
}

html[data-theme="dark"] .pl-pdi {
	color: #73ff64 !important;
	font-style: italic !important
}

html[data-theme="dark"] .pl-pds {
	color: #B5BD68 !important
}

html[data-theme="dark"] .pl-pdv {
	color: #C66 !important
}

html[data-theme="dark"] .pl-pse {
	color: #fff !important
}

html[data-theme="dark"] .pl-pse .pl-s2 {
	color: #fff !important
}

html[data-theme="dark"] .pl-s {
	color: #c1e3ff !important
}

html[data-theme="dark"] .pl-s1 {
	color: #B5BD68 !important
}

html[data-theme="dark"] .pl-s2 {
	color: #c5c8c6 !important
}

html[data-theme="dark"] .pl-mp .pl-s3 {
	color: #73ff64 !important
}

html[data-theme="dark"] .pl-s3 {
	color: #81a2be !important
}

html[data-theme="dark"] .pl-sc {
	color: #c5c8c6 !important
}

html[data-theme="dark"] .pl-scp {
	color: #fff !important
}

html[data-theme="dark"] .pl-sf {
	color: #DAD085 !important
}

html[data-theme="dark"] .pl-smc {
	color: #F0C674 !important
}

html[data-theme="dark"] .pl-smi {
	color: #c5c8c6 !important
}

html[data-theme="dark"] .pl-smp {
	color: #c5c8c6 !important
}

html[data-theme="dark"] .pl-sok {
	color: #73ff64 !important
}

html[data-theme="dark"] .pl-sol {
	color: #B5BD68 !important
}

html[data-theme="dark"] .pl-som {
	color: #C66 !important
}

html[data-theme="dark"] .pl-sr {
	color: #C66 !important
}

html[data-theme="dark"] .pl-sra {
	color: #73ff64 !important
}

html[data-theme="dark"] .pl-src {
	color: #73ff64 !important
}

html[data-theme="dark"] .pl-sre {
	color: #73ff64 !important
}

html[data-theme="dark"] .pl-st {
	color: #73ff64 !important
}

html[data-theme="dark"] .pl-stj {
	color: #c5c8c6 !important
}

html[data-theme="dark"] .pl-stp {
	color: #fff !important
}

html[data-theme="dark"] .pl-sv {
	color: #fff !important
}

html[data-theme="dark"] .pl-v {
	color: #fff !important
}

html[data-theme="dark"] .pl-vi {
	color: #fff !important
}

html[data-theme="dark"] .pl-vo {
	color: #C66 !important
}

html[data-theme="dark"] .pl-vpf {
	color: #fff !important
}

html[data-theme="dark"] .pl-mi1 {
	color: #8F9D6A !important;
	background: rgba(0, 64, 0, .5) !important
}

html[data-theme="dark"] .pl-mdht {
	color: #8F9D6A !important;
	background: rgba(0, 64, 0, .5) !important
}

html[data-theme="dark"] .pl-md {
	color: #C66 !important;
	background: rgba(64, 0, 0, .5) !important
}

html[data-theme="dark"] .pl-mdhf {
	color: #C66 !important;
	background: rgba(64, 0, 0, .5) !important
}

html[data-theme="dark"] .pl-mdr {
	color: #fff !important;
	font-weight: 400 !important
}

html[data-theme="dark"] .pl-mdh {
	color: #C66 !important;
	font-weight: 400 !important
}

html[data-theme="dark"] .pl-mdi {
	color: #C66 !important;
	font-weight: 400 !important
}

html[data-theme="dark"] .pl-ib {
	background-color: #C66 !important
}

html[data-theme="dark"] .pl-id {
	background-color: #C66 !important;
	color: #fff !important
}

html[data-theme="dark"] .pl-ii {
	background-color: #C66 !important;
	color: #fff !important
}

html[data-theme="dark"] .pl-iu {
	background-color: #C66 !important
}

html[data-theme="dark"] .pl-mo {
	color: #c5c8c6 !important
}

html[data-theme="dark"] .pl-mri {
	color: #fff !important
}

html[data-theme="dark"] .pl-ms1 {
	background-color: #c5c8c6 !important
}

html[data-theme="dark"] .pl-va {
	color: #fff !important
}

html[data-theme="dark"] .pl-vpu {
	color: #fff !important
}

html[data-theme="dark"] .pl-entl {
	color: #c5c8c6 !important
}

.CodeMirror-gutters {
	background: #222 !important;
	border-right: 1px solid #484848 !important
}

.CodeMirror-guttermarker {
	color: #fff !important
}

.CodeMirror-guttermarker-subtle {
	color: #aaa !important
}

.CodeMirror-linenumber {
	color: #aaa !important
}

.CodeMirror-cursor {
	border-left: 1px solid #fff !important
}

.CodeMirror-activeline-background {
	background: #27282E !important
}

.CodeMirror-matchingbracket {
	outline: 1px solid grey !important;
	color: #fff !important
}

.cm-keyword {
	color: #f9ee98 !important
}

.cm-atom {
	color: #FC0 !important
}

.cm-number {
	color: #ca7841 !important
}

.cm-def {
	color: #8DA6CE !important
}

.cm-variable-2,
span.cm-tag {
	color: #607392 !important
}

.cm-variable-3,
span.cm-def {
	color: #607392 !important
}

.cm-operator {
	color: #cda869 !important
}

.cm-comment {
	color: #777 !important;
	font-style: italic !important;
	font-weight: 400 !important
}

.cm-string {
	color: #8f9d6a !important
}

.cm-string-2 {
	color: #bd6b18 !important
}

.cm-meta {
	background-color: #141414 !important;
	color: #f7f7f7 !important
}

.cm-builtin {
	color: #cda869 !important
}

.cm-tag {
	color: #997643 !important
}

.cm-attribute {
	color: #d6bb6d !important
}

.cm-header {
	color: #FF6400 !important
}

.cm-hr {
	color: #AEAEAE !important
}

.cm-link {
	color: #ad9361 !important;
	font-style: italic !important;
	text-decoration: none !important
}

.cm-error {
	border-bottom: 1px solid red !important
}

#notebook .highlight table {
	background: #1c1c1c !important;
	color: #c5c8c6 !important
}

.highlight .hll {
	background-color: #373b41 !important
}

.highlight .c {
	color: #969896 !important
}

.highlight .err {
	color: #c66 !important
}

.highlight .k {
	color: #b294bb !important
}

.highlight .l {
	color: #de935f !important
}

.highlight .h,
.highlight .n {
	color: #c5c8c6 !important
}

.highlight .o {
	color: #8abeb7 !important
}

.highlight .p {
	color: #c5c8c6 !important
}

.highlight .cm {
	color: #969896 !important
}

.highlight .cp {
	color: #969896 !important
}

.highlight .c1 {
	color: #969896 !important
}

.highlight .cs {
	color: #969896 !important
}

.highlight .gd {
	color: #c66 !important
}

.highlight .ge {
	font-style: italic !important
}

.highlight .gh {
	color: #c5c8c6 !important;
	font-weight: 700 !important
}

.highlight .gi {
	color: #b5bd68 !important
}

.highlight .gp {
	color: #969896 !important;
	font-weight: 700 !important
}

.highlight .gs {
	font-weight: 700 !important
}

.highlight .gu {
	color: #8abeb7 !important;
	font-weight: 700 !important
}

.highlight .kc {
	color: #b294bb !important
}

.highlight .kd {
	color: #b294bb !important
}

.highlight .kn {
	color: #8abeb7 !important
}

.highlight .kp {
	color: #b294bb !important
}

.highlight .kr {
	color: #b294bb !important
}

.highlight .kt {
	color: #f0c674 !important
}

.highlight .ld {
	color: #b5bd68 !important
}

.highlight .m {
	color: #de935f !important
}

.highlight .s {
	color: #b5bd68 !important
}

.highlight .na {
	color: #81a2be !important
}

.highlight .nb {
	color: #c5c8c6 !important
}

.highlight .nc {
	color: #f0c674 !important
}

.highlight .no {
	color: #c66 !important
}

.highlight .nd {
	color: #8abeb7 !important
}

.highlight .ni {
	color: #c5c8c6 !important
}

.highlight .ne {
	color: #c66 !important
}

.highlight .nf {
	color: #81a2be !important
}

.highlight .nl {
	color: #c5c8c6 !important
}

.highlight .nn {
	color: #f0c674 !important
}

.highlight .nx {
	color: #81a2be !important
}

.highlight .py {
	color: #c5c8c6 !important
}

.highlight .nt {
	color: #8abeb7 !important
}

.highlight .nv {
	color: #c66 !important
}

.highlight .ow {
	color: #8abeb7 !important
}

.highlight .w {
	color: #c5c8c6 !important
}

.highlight .mf {
	color: #de935f !important
}

.highlight .mh {
	color: #de935f !important
}

.highlight .mi {
	color: #de935f !important
}

.highlight .mo {
	color: #de935f !important
}

.highlight .sb {
	color: #b5bd68 !important
}

.highlight .sc {
	color: #c5c8c6 !important
}

.highlight .sd {
	color: #969896 !important
}

.highlight .s2 {
	color: #b5bd68 !important
}

.highlight .se {
	color: #de935f !important
}

.highlight .sh {
	color: #b5bd68 !important
}

.highlight .si {
	color: #de935f !important
}

.highlight .sx {
	color: #b5bd68 !important
}

.highlight .sr {
	color: #b5bd68 !important
}

.highlight .s1 {
	color: #b5bd68 !important
}

.highlight .ss {
	color: #b5bd68 !important
}

.highlight .bp {
	color: #c5c8c6 !important
}

.highlight .vc {
	color: #c66 !important
}

.highlight .vg {
	color: #c66 !important
}

.highlight .vi {
	color: #c66 !important
}

.highlight .il {
	color: #de935f !important
}
