.text-editor{font-size:14px;color:var(--text-primary);position:relative;background-color:var(--bg-controls);border-radius:4px}.text-editor .cm-scroller{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;padding:0 4px;min-width:120px;border-radius:4px}.text-editor .cm-cursor{border-left:1px solid var(--text-primary)}.text-editor .cm-editor{height:100%;width:100%;min-height:inherit;border-radius:4px;border:1px solid transparent}.text-editor .cm-editor .cm-selectionBackground,.text-editor .cm-editor.cm-focused>.cm-scroller>.cm-selectionLayer .cm-selectionBackground{background:var(--brand-light)}.text-editor .cm-focused{outline:none;border-color:var(--brand);box-sizing:border-box}.text-editor .cm-content{width:100%;white-space:pre-wrap;word-wrap:break-word;line-height:1.5}.text-editor .cm-line{padding:2px 4px}.text-editor .cm-variable{background-color:var(--rainbow-purple2)}.text-editor .cm-variable,.text-editor .cm-variable-invalid{color:var(--text-primary);padding:3px 4px;margin:2px;border-radius:4px;font-size:12px}.text-editor .cm-variable-invalid{background-color:var(--rainbow-orange2)}