/* TextToCAD design code 3.1. Read-only content; live editors are explicitly excluded. */
:root{--tc-ink:#130d0c;--tc-green:#10b742;--tc-orange:#ef4511;--tc-peach:#ffc2b0;--tc-paper:#fff8f4;--tc-brick:#a22600;--tc-code-bg:#fff8f4;--tc-code-fg:#231815;--tc-code-keyword:#60259b;--tc-code-string:#14532d;--tc-code-number:#923600;--tc-code-function:#075985;--tc-code-comment:#54504c;--tc-code-punctuation:#33231f;--tc-code-error:#9f1239;--tc-code-inline-bg:#f1e5dc;--tc-code-inline-fg:#33231f;--tc-code-selection-bg:#130d0c;--tc-code-selection-fg:#fff8f4;}
html[theme=dark],html[data-theme=dark],html[data-tc-theme=dark],html[data-brand-theme=dark]{--tc-code-bg:#171210;--tc-code-fg:#fff8f4;--tc-code-keyword:#d4a6ff;--tc-code-string:#a0e5ad;--tc-code-number:#ffb899;--tc-code-function:#8bd3ff;--tc-code-comment:#b8aaa1;--tc-code-punctuation:#e7d7cf;--tc-code-error:#ff9999;--tc-code-inline-bg:#33251f;--tc-code-inline-fg:#ffe4d6;--tc-code-selection-bg:#10b742;--tc-code-selection-fg:#130d0c;}
@media(prefers-color-scheme:dark){html:not([theme]):not([data-theme]):not([data-tc-theme]):not([data-brand-theme]){--tc-code-bg:#171210;--tc-code-fg:#fff8f4;--tc-code-keyword:#d4a6ff;--tc-code-string:#a0e5ad;--tc-code-number:#ffb899;--tc-code-function:#8bd3ff;--tc-code-comment:#b8aaa1;--tc-code-punctuation:#e7d7cf;--tc-code-error:#ff9999;--tc-code-inline-bg:#33251f;--tc-code-inline-fg:#ffe4d6;--tc-code-selection-bg:#10b742;--tc-code-selection-fg:#130d0c;}}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) pre:not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *)){box-sizing:border-box;max-width:100%;overflow:auto;background:var(--tc-code-bg)!important;color:var(--tc-code-fg)!important;font:15px/1.65 Consolas,"Cascadia Code",monospace!important;tab-size:4;white-space:pre;overflow-wrap:normal;text-align:left;text-shadow:none!important;font-variant-ligatures:none;color-scheme:light dark}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) pre:not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *)) *{color:inherit!important;background:transparent!important;text-shadow:none!important;opacity:1!important}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) pre:not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *)) code{display:block;padding:0!important;font:inherit!important;white-space:inherit}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) .tc-code{background:var(--tc-code-bg)!important;color:var(--tc-code-fg)!important;border-color:var(--tc-code-comment)!important}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) .tc-code-head{background:var(--tc-code-inline-bg)!important;color:var(--tc-code-inline-fg)!important;border-color:var(--tc-code-comment)!important}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) .tc-code-head :is(span,button){color:var(--tc-code-inline-fg)!important}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) .tc-code-head button{background:var(--tc-code-inline-bg)!important;border:1px solid currentColor;border-radius:6px;padding:5px 10px;cursor:pointer}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) :not(pre)>code:not(pre code):not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *)){background:var(--tc-code-inline-bg)!important;color:var(--tc-code-inline-fg)!important;font-family:Consolas,"Cascadia Code",monospace;font-size:.94em;border-radius:4px;padding:.1em .3em;box-decoration-break:clone;text-shadow:none!important}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) pre:not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *)) :is(.token.keyword,.hljs-keyword,.hljs-literal,.k,.kn,.kd,.kc){color:var(--tc-code-keyword)!important}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) pre:not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *)) :is(.token.string,.token.attr-value,.hljs-string,.hljs-regexp,.s,.s1,.s2,.sa){color:var(--tc-code-string)!important}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) pre:not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *)) :is(.token.number,.token.boolean,.hljs-number,.m,.mi,.mf){color:var(--tc-code-number)!important}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) pre:not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *)) :is(.token.function,.token.class-name,.token.builtin,.hljs-title,.hljs-built_in,.nf,.nc,.nb){color:var(--tc-code-function)!important}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) pre:not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *)) :is(.token.comment,.token.prolog,.hljs-comment,.c,.c1,.cm,.line-number){color:var(--tc-code-comment)!important}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) pre:not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *)) :is(.token.punctuation,.token.operator,.hljs-punctuation,.o,.p){color:var(--tc-code-punctuation)!important}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) pre:not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *)) :is(.token.deleted,.token.error,.hljs-deletion,.err){color:var(--tc-code-error)!important}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) pre:not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *))::selection,:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) pre:not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *)) ::selection,:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) :not(pre)>code:not(pre code):not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *))::selection,:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) :not(pre)>code:not(pre code):not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *)) ::selection{background:var(--tc-code-selection-bg)!important;color:var(--tc-code-selection-fg)!important;text-shadow:none!important}
:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) .tc-code-head button:focus-visible,:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) pre:not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *)):focus-visible{outline:3px solid var(--tc-code-function);outline-offset:3px}
@media(max-width:640px){:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) pre:not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *)){font-size:14px!important}}
@media print{:root{--tc-code-bg:#fff8f4!important;--tc-code-fg:#231815!important;--tc-code-keyword:#60259b!important;--tc-code-string:#14532d!important;--tc-code-number:#923600!important;--tc-code-function:#075985!important;--tc-code-comment:#54504c!important;--tc-code-punctuation:#33231f!important;--tc-code-error:#9f1239!important;--tc-code-inline-bg:#f1e5dc!important;--tc-code-inline-fg:#33231f!important;--tc-code-selection-bg:#130d0c!important;--tc-code-selection-fg:#fff8f4!important;}:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) pre:not(:where(.tv-app *,.cm-editor *,.CodeMirror *,.monaco-editor *,.ace_editor *,[contenteditable=true] *)){white-space:pre-wrap!important;overflow:visible!important;overflow-wrap:anywhere!important;max-height:none!important;font-size:10pt!important;line-height:1.4!important}:where(body.tc-site,body.textcad-community,body.tc-report,body.tc-document) .tc-code-head button{display:none!important}}
