.btq-code-runner{margin:18px 0 22px;border:1px solid var(--btq-border,#e2e8f0);border-radius:10px;overflow:hidden;background:var(--btq-card-bg,#fff)}.btq-code-runner-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;background:var(--btq-muted-bg,#f8fafc);border-bottom:1px solid var(--btq-border,#e2e8f0)}.btq-code-runner-title{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--btq-text-muted,#475569)}.btq-code-runner-icon{opacity:.7}.btq-code-run-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 16px;border:none;border-radius:6px;background:var(--btq-accent,#16a34a);color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease,opacity .15s ease}.btq-code-run-btn:hover:not(:disabled){background:var(--btq-accent-hover,#15803d)}.btq-code-run-btn:disabled{opacity:.55;cursor:default}.btq-code-runner .CodeMirror{height:auto;min-height:96px;font-family:SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;font-size:14px;line-height:1.5}.btq-code-runner .CodeMirror pre.CodeMirror-line,.btq-code-runner .CodeMirror pre.CodeMirror-line-like{margin:0;padding:0 4px;border:0;border-radius:0;background:0 0}.btq-code-editor{display:block;width:100%;min-height:96px;box-sizing:border-box;padding:12px;border:none;resize:vertical;font-family:SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;font-size:14px;line-height:1.5}.btq-code-output-wrap{border-top:1px solid var(--btq-border,#e2e8f0)}.btq-code-output-label{padding:8px 16px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--btq-text-muted,#64748b);background:var(--btq-muted-bg,#f8fafc)}.btq-code-runner .btq-code-output{margin:0;padding:12px 16px;max-height:320px;overflow:auto;border:0;border-radius:0;background:#f1f5f9;color:#1e293b;font-family:SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;font-size:13px;line-height:1.6;white-space:pre-wrap;word-break:break-word}.btq-code-runner .btq-code-output-error{color:#b91c1c}.btq-code-teaser-body{position:relative}.btq-code-runner .btq-code-teaser-sample{margin:0;padding:16px;min-height:160px;border:0;border-radius:0;background:#0f172a;color:#cbd5e1;font-family:SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;font-size:13px;line-height:1.55;white-space:pre;overflow:hidden;filter:blur(2px);user-select:none;pointer-events:none}.btq-code-teaser-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:16px;text-align:center;background:rgba(15,23,42,.55)}.btq-code-teaser-cta{max-width:360px;color:#fff}.btq-code-teaser-cta strong{display:block;font-size:16px;margin-bottom:6px}.btq-code-teaser-cta p{margin:0 0 14px;font-size:13px;line-height:1.5;color:#e2e8f0}.btq-code-teaser-btn{display:inline-block;padding:9px 20px;border-radius:6px;background:var(--btq-accent,#16a34a);color:#fff!important;font-size:14px;font-weight:600;text-decoration:none}.btq-code-teaser-btn:hover{background:var(--btq-accent-hover,#15803d)}.btq-code-teaser-signup{display:block;margin-top:12px;font-size:12px;color:#cbd5e1}.btq-code-teaser-signup a{color:#fff;text-decoration:underline}.dark .btq-code-runner{--btq-card-bg:hsl(var(--card));--btq-muted-bg:hsl(var(--muted));--btq-border:hsl(var(--border));--btq-text-muted:hsl(var(--muted-foreground))}.dark .btq-code-runner .btq-code-output{background:hsl(var(--muted));color:hsl(var(--foreground))}.dark .btq-code-runner .btq-code-output-error{color:hsl(var(--destructive))}.dark .btq-code-runner .CodeMirror{background:hsl(var(--card));color:hsl(var(--foreground))}.dark .btq-code-runner .CodeMirror-gutters{background:hsl(var(--card));border-right:1px solid hsl(var(--border))}.dark .btq-code-runner .CodeMirror-linenumber{color:hsl(var(--muted-foreground))}.dark .btq-code-runner .CodeMirror-cursor{border-left:2px solid hsl(var(--foreground))}.dark .btq-code-runner .CodeMirror-focused .CodeMirror-selected,.dark .btq-code-runner .CodeMirror-selected{background:rgba(255,255,255,.22)}.dark .btq-code-runner .CodeMirror-gutter-filler,.dark .btq-code-runner .CodeMirror-scrollbar-filler{background:hsl(var(--card))}.dark .btq-code-runner .btq-code-editor{background:hsl(var(--card));color:hsl(var(--foreground))}.dark .btq-code-runner .cm-keyword{color:#c678dd}.dark .btq-code-runner .cm-builtin{color:#56b6c2}.dark .btq-code-runner .cm-def{color:#61afef}.dark .btq-code-runner .cm-variable-2{color:#61afef}.dark .btq-code-runner .cm-string,.dark .btq-code-runner .cm-string-2{color:#98c379}.dark .btq-code-runner .cm-number{color:#d19a66}.dark .btq-code-runner .cm-atom{color:#d19a66}.dark .btq-code-runner .cm-operator{color:#56b6c2}.dark .btq-code-runner .cm-meta{color:#9aa3b2}.dark .btq-code-runner .cm-property,.dark .btq-code-runner .cm-variable{color:hsl(var(--foreground))}