.document-file .file-code-editor{min-height:0;padding:0;overflow:hidden}.file-code-editor .cm-editor{background:0 0;height:100%}.file-code-editor .cm-scroller{scrollbar-width:thin;font:13px/20px ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.file-code-editor .cm-content{color:var(--text);caret-color:var(--text);padding:12px 0}.file-code-editor .cm-line{padding-inline:12px}.file-code-editor .cm-gutters{color:var(--text-secondary);border-right:1px solid var(--border);background:0 0}.file-code-editor .cm-gutterElement{padding-inline:8px}.file-code-editor .cm-activeLine,.file-code-editor .cm-activeLineGutter{background:var(--sidebar-selection)}.file-code-editor .cm-cursor{border-left-color:var(--text)}.file-code-editor .cm-editor.cm-focused{outline:none}.file-code-editor .cm-selectionBackground{background:var(--accent-soft-strong)!important}.file-code-editor .syntax-keyword{color:var(--lightningcss-light,#8b3bb7)var(--lightningcss-dark,#c792ea)}.file-code-editor .syntax-string{color:var(--lightningcss-light,#267343)var(--lightningcss-dark,#9acb8d)}.file-code-editor .syntax-number{color:var(--lightningcss-light,#a65d0c)var(--lightningcss-dark,#e9ad74)}.file-code-editor .syntax-comment{color:var(--text-secondary);font-style:italic}.file-code-editor .syntax-function{color:var(--lightningcss-light,#916006)var(--lightningcss-dark,#e5cf8b)}.file-code-editor .syntax-type{color:var(--lightningcss-light,#26727c)var(--lightningcss-dark,#73c9bf)}.file-code-editor .syntax-property{color:var(--lightningcss-light,#1b65a2)var(--lightningcss-dark,#8bbcf0)}.file-code-editor .syntax-heading{color:var(--accent);font-weight:600}.file-code-editor .cm-tooltip-autocomplete{background:var(--surface);color:var(--text);border:1px solid var(--border)}.file-code-editor.live-preview-editor{--divider-subtle:var(--border);--focus-ring-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent);--surface:var(--card);--surface-elevated:var(--bg-elevated);--editor-accent-soft:var(--accent-soft);--error:var(--danger);--border-color-strong:var(--border-strong);--bg-primary:transparent;--bg-hover:var(--surface-hover,var(--surface));--text-primary:var(--text);--text-muted:var(--text-secondary);--accent-primary:var(--accent);--border-color:var(--border);--border-color-subtle:var(--border);--editor-surface-primary:var(--surface);--editor-surface-secondary:var(--surface);--editor-content-padding:48px;--editor-link-color:var(--accent);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.file-code-editor.live-preview-editor .cm-scroller{font:inherit;line-height:1.7}.file-code-editor.live-preview-editor .cm-content{padding:4px 0}.file-code-editor.live-preview-editor .cm-line:not(.cm-lp-callout-line){padding:1px 0}
