/* All semantic code, including standalone pre, remains readable without JS. */
code, pre {
 font-family: var(--font-mono, "JetBrainsMono", monospace);
 font-variant-ligatures: none;
 text-transform: none;
 color: #e6edf3;
 background: #0d1117;
 border-radius: var(--radius-xs, 4px);
}
code { padding: .12em .35em; overflow-wrap: anywhere; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
pre {
 display: block;
 box-sizing: border-box;
 max-inline-size: 100%;
 min-inline-size: 0;
 padding: clamp(1rem, 3vw, 1.5rem);
 border: 1px solid #3d444d;
 border-radius: var(--radius-m, 12px);
 font-size: .875em;
 line-height: 1.7;
 white-space: pre;
 overflow-x: auto;
 overflow-wrap: normal;
 tab-size: 4;
 color-scheme: dark;
}
pre code { display: block; padding: 0; border: 0; border-radius: 0; background: transparent; font: inherit; color: inherit; white-space: inherit; overflow-wrap: normal; }
pre:focus-visible { outline: 2px solid #79c0ff; outline-offset: 3px; }
.atscale-code .hljs-comment, .atscale-code .hljs-quote { color: #a5adb8; }
.atscale-code .hljs-keyword, .atscale-code .hljs-selector-tag, .atscale-code .hljs-literal { color: #ff7b72; }
.atscale-code .hljs-string, .atscale-code .hljs-regexp, .atscale-code .hljs-attribute, .atscale-code .hljs-meta .hljs-string { color: #a5d6ff; }
.atscale-code .hljs-number, .atscale-code .hljs-built_in, .atscale-code .hljs-type, .atscale-code .hljs-attr { color: #79c0ff; }
.atscale-code .hljs-title, .atscale-code .hljs-section { color: #d2a8ff; }
.atscale-code .hljs-variable, .atscale-code .hljs-template-variable, .atscale-code .hljs-symbol, .atscale-code .hljs-bullet { color: #ffa657; }
.atscale-code .hljs-addition { color: #aff5b4; }
.atscale-code .hljs-deletion { color: #ffdcd7; }

.atscale-code-frame { position: relative; max-inline-size: 100%; min-inline-size: 0; }
.atscale-code-frame > pre { padding-block-start: 4rem; }
.atscale-code-copy { position: absolute; inset-block-start: .75rem; inset-inline-end: .75rem; border: 1px solid #8b949e; border-radius: 4px; background: #21262d; color: #f0f6fc; font: 600 .8rem/1.3 var(--font-mono, monospace); padding: .45rem .7rem; cursor: pointer; }
.atscale-code-copy:focus-visible { outline: 2px solid #79c0ff; outline-offset: 3px; }
.atscale-code-copy-status { display: block; color: inherit; font-size: .8rem; }
.atscale-code-copy-status:empty { display: none; }
