.checkbox-slider .switch{width:60px;height:34px;display:inline-block;position:relative}.checkbox-slider .switch input{display:none}.checkbox-slider .slider{background-color:rgba(var(--text-primary-rgb), .25);cursor:pointer;bottom:0;inset-inline:0;transition:all .4s;position:absolute;top:0}.checkbox-slider .slider:before{background-color:var(--text-primary);content:"";bottom:4px;width:26px;height:26px;transition:all .4s;position:absolute;inset-inline-start:4px}.checkbox-slider input:checked+.slider{background-color:var(--success)}.checkbox-slider input:disabled+.slider{background-color:rgba(var(--text-primary-rgb), .25);cursor:not-allowed;opacity:.6}.checkbox-slider input:checked+.slider:before{transform:translate(26px)}[dir=rtl] .checkbox-slider input:checked+.slider:before{transform:translate(-26px)}.checkbox-slider .slider.round{border-radius:34px}.checkbox-slider .slider.round:before{border-radius:50%}
.checkbox{cursor:pointer;color:var(--text-primary,inherit);align-items:center;gap:8px;font-family:inherit;display:inline-flex}.checkbox input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.checkbox-box{border:1px solid var(--ui-line-strong);background:var(--bg-primary,transparent);width:16px;height:16px;color:var(--ink-text-on-brand);border-radius:3px;flex:none;justify-content:center;align-items:center;transition:background .15s,border-color .15s;display:inline-flex}.checkbox.checked .checkbox-box,.checkbox.indeterminate .checkbox-box{background:var(--brand);border-color:var(--brand)}.checkbox:hover .checkbox-box{border-color:var(--brand,currentColor)}.checkbox.disabled{cursor:not-allowed;opacity:.5}.checkbox.disabled .checkbox-box{background:var(--bg-secondary)}.checkbox input:focus-visible+.checkbox-box{outline:2px solid var(--brand,currentColor);outline-offset:2px}.checkbox-label{font-size:13px;line-height:1.4}.checkbox-dash{font-size:14px;font-weight:700;line-height:1}
.code-editor{width:100%;height:100%;font-family:var(--font-mono,ui-monospace, SFMono-Regular, Menlo, monospace);overflow:hidden}.code-editor .cm-editor{background:var(--bg-primary,#0c0819);height:100%}.code-editor .cm-editor.cm-focused{outline:none}.code-editor .cm-scroller{font-family:var(--font-mono,ui-monospace, SFMono-Regular, Menlo, monospace);line-height:1.6}.code-editor .cm-content{padding:10px 0 32px}.code-editor .cm-line{padding:0 14px 0 6px}.code-editor .cm-cursor,.code-editor .cm-dropCursor{border-left-width:2px;border-left-color:var(--accent,#a78bfa)}.code-editor .cm-gutters{background:0 0;border-right:none}.code-editor .cm-lineNumbers .cm-gutterElement{min-width:34px;padding:0 10px 0 16px}.code-editor .cm-foldGutter .cm-gutterElement{color:rgba(var(--text-primary-rgb,255, 255, 255), .35)}.code-editor .cm-activeLineGutter{background:0 0}.code-editor .cm-matchingBracket,.code-editor .cm-focused .cm-matchingBracket{background:rgba(var(--accent-rgb,167, 139, 250), .22);outline:.5px solid rgba(var(--accent-rgb,167, 139, 250), .5);border-radius:2px;color:inherit!important}.code-editor .cm-nonmatchingBracket{background:rgba(var(--error-rgb,239, 68, 68), .2);border-radius:2px}.code-editor .cm-selectionBackground{border-radius:2px}.code-editor .cm-scroller{scrollbar-width:thin;scrollbar-color:rgba(var(--text-primary-rgb,255, 255, 255), .16) transparent}.code-editor .cm-scroller::-webkit-scrollbar{width:10px;height:10px}.code-editor .cm-scroller::-webkit-scrollbar-thumb{background:rgba(var(--text-primary-rgb,255, 255, 255), .14);background-clip:content-box;border:3px solid #0000;border-radius:8px}.code-editor .cm-scroller::-webkit-scrollbar-thumb:hover{background:rgba(var(--text-primary-rgb,255, 255, 255), .26);background-clip:content-box}.code-editor .cm-scroller::-webkit-scrollbar-corner{background:0 0}.code-editor--ro .cm-cursor{display:none}.code-editor-loading{background:var(--bg-primary,#0c0819);border-radius:var(--radius-md,12px);min-height:160px}
