:is(.code-editor,.database-code-host) .cm-tooltip:is(.cm-tooltip-autocomplete,.cm-completionInfo){border:1px solid var(--line-strong);background:var(--surface-raised);color:var(--text);box-shadow:var(--shadow);border-radius:8px}:is(.code-editor,.database-code-host) .cm-tooltip.cm-tooltip-autocomplete{--icon-key:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M16.555 3.843l3.602 3.602a2.877 2.877 0 0 1 0 4.069l-2.643 2.643a2.877 2.877 0 0 1 -4.069 0l-.301 -.301l-6.558 6.558a2 2 0 0 1 -1.239 .578l-.175 .008h-1.172a1 1 0 0 1 -.993 -.883l-.007 -.117v-1.172a2 2 0 0 1 .467 -1.284l.119 -.13l.414 -.414h2v-2h2v-2l2.144 -2.144l-.301 -.301a2.877 2.877 0 0 1 0 -4.069l2.643 -2.643a2.877 2.877 0 0 1 4.069 0'/><path d='M15 9h.01'/></svg>");--icon-fn:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 19a2 2 0 0 0 2 2c2 0 2 -4 3 -9s1 -9 3 -9a2 2 0 0 1 2 2'/><path d='M5 12h6'/><path d='M15 12l6 6'/><path d='M15 18l6 -6'/></svg>");--icon-var:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 4c-2.5 5 -2.5 10 0 16m14 -16c2.5 5 2.5 10 0 16m-10 -11h1c1 0 1 1 2.016 3.527c.984 2.473 .984 3.473 1.984 3.473h1'/><path d='M8 16c1.5 0 3 -2 4 -3.5s2.5 -3.5 4 -3.5'/></svg>");--icon-braces:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 4a2 2 0 0 0 -2 2v3a2 3 0 0 1 -2 3a2 3 0 0 1 2 3v3a2 2 0 0 0 2 2'/><path d='M17 4a2 2 0 0 1 2 2v3a2 3 0 0 0 2 3a2 3 0 0 0 -2 3v3a2 2 0 0 1 -2 2'/></svg>");--icon-dot:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M11 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0'/><path d='M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0'/></svg>");--icon-abc:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 16v-6a2 2 0 1 1 4 0v6'/><path d='M3 13h4'/><path d='M10 8v6a2 2 0 1 0 4 0v-1a2 2 0 1 0 -4 0v1'/><path d='M20.732 12a2 2 0 0 0 -3.732 1v1a2 2 0 0 0 3.726 1.01'/></svg>");--icon-table:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14'/><path d='M3 10h18'/><path d='M10 3v18'/></svg>");--icon-column:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 4a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v16a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-16'/><path d='M9 3v18'/><path d='M15 3v18'/></svg>")}:is(.code-editor,.database-code-host) .cm-tooltip.cm-tooltip-autocomplete>ul{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent;border-radius:8px;min-width:min(260px,100vw - 24px);max-width:min(520px,100vw - 24px);max-height:min(280px,40vh);padding:4px;scroll-padding-bottom:26px;font:12px/1.5 ui-monospace,Consolas,monospace}:is(.code-editor,.database-code-host) .cm-tooltip.cm-tooltip-autocomplete>ul>li{box-sizing:border-box;border-radius:4px;align-items:center;gap:8px;min-height:28px;padding:4px 8px;line-height:20px;display:flex}:is(.code-editor,.database-code-host) .cm-tooltip.cm-tooltip-autocomplete>ul>li:hover:not([aria-selected=true]){background:var(--surface-hover)}:is(.code-editor,.database-code-host) .cm-tooltip.cm-tooltip-autocomplete>ul>li[aria-selected=true]{background:var(--accent-soft);color:var(--accent-text)}:is(.code-editor,.database-code-host) .cm-completionLabel{text-overflow:ellipsis;min-width:0;overflow:hidden}:is(.code-editor,.database-code-host) .cm-completionMatchedText{color:var(--accent-text);text-underline-offset:2px;font-weight:700;text-decoration:underline}:is(.code-editor,.database-code-host) .cm-completionDetail{text-overflow:ellipsis;max-width:45%;color:var(--text-muted);flex:0 auto;margin-left:auto;font-size:11px;font-style:normal;overflow:hidden}:is(.code-editor,.database-code-host) .cm-completionIcon{box-sizing:border-box;background:color-mix(in srgb, var(--completion-tint,var(--text-muted)) 14%, transparent);height:18px;color:var(--completion-tint,var(--text-muted));opacity:1;border-radius:4px;flex:0 0 18px;place-items:center;padding:0;display:inline-grid}:is(.code-editor,.database-code-host) .cm-completionIcon:after{content:"";width:12px;height:12px;-webkit-mask:var(--completion-icon,var(--icon-dot)) center / 12px 12px no-repeat;mask:var(--completion-icon,var(--icon-dot)) center / 12px 12px no-repeat;background:currentColor}:is(.code-editor,.database-code-host) .cm-completionIcon-keyword{--completion-tint:var(--violet);--completion-icon:var(--icon-key)}:is(.code-editor,.database-code-host) :is(.cm-completionIcon-function,.cm-completionIcon-method){--completion-tint:var(--accent);--completion-icon:var(--icon-fn)}:is(.code-editor,.database-code-host) :is(.cm-completionIcon-variable,.cm-completionIcon-constant){--completion-tint:var(--teal);--completion-icon:var(--icon-var)}:is(.code-editor,.database-code-host) :is(.cm-completionIcon-type,.cm-completionIcon-class,.cm-completionIcon-interface,.cm-completionIcon-enum,.cm-completionIcon-namespace){--completion-tint:var(--magenta);--completion-icon:var(--icon-braces)}:is(.code-editor,.database-code-host) .cm-completionIcon-property{--completion-tint:var(--amber);--completion-icon:var(--icon-dot)}:is(.code-editor,.database-code-host) .cm-completionIcon-text{--completion-tint:var(--text-muted);--completion-icon:var(--icon-abc)}:is(.code-editor,.database-code-host) .cm-completionIcon-table{--completion-tint:var(--green);--completion-icon:var(--icon-table)}:is(.code-editor,.database-code-host) .cm-completionIcon-column{--completion-tint:var(--teal);--completion-icon:var(--icon-column)}:is(.code-editor,.database-code-host) .cm-tooltip.cm-tooltip-autocomplete>ul:after{content:"↑↓move  ↵insert  esc dismiss";border-top:1px solid var(--line);background:var(--surface-raised);color:var(--text-muted);margin:4px -4px -4px;padding:5px 8px;font-size:11px;display:block;position:sticky;bottom:-4px}:is(.code-editor,.database-code-host) .cm-tooltip.cm-tooltip-autocomplete>ul>completion-section{border-color:var(--line);color:var(--text-muted);opacity:1;padding:5px 8px;font-size:11px}:is(.code-editor,.database-code-host) .cm-tooltip-autocomplete-disabled>ul{opacity:.55}:is(.code-editor,.database-code-host) .cm-tooltip.cm-completionInfo{overflow-wrap:anywhere;max-width:min(400px,100vw - 24px);padding:8px 10px;font:12px/1.5 OpenAI Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}@media (forced-colors:active){:is(.code-editor,.database-code-host) .cm-tooltip:is(.cm-tooltip-autocomplete,.cm-completionInfo){border-color:canvastext}:is(.code-editor,.database-code-host) .cm-tooltip.cm-tooltip-autocomplete>ul>li[aria-selected=true]{color:highlighttext;forced-color-adjust:none;background:highlight}:is(.code-editor,.database-code-host) :is(.cm-completionMatchedText,.cm-completionDetail,.cm-completionIcon){color:inherit;background:0 0}:is(.code-editor,.database-code-host) .cm-completionIcon:after{background:canvastext}:is(.code-editor,.database-code-host) .cm-tooltip.cm-tooltip-autocomplete>ul:after{background:canvas;border-color:canvastext}:is(.code-editor,.database-code-host) .cm-completionMatchedText{text-decoration:underline}}.code-viewer.code-editor{--line-tint:var(--viewer-bg);--number-color:var(--viewer-muted);display:flex;overflow:hidden}.code-editor .cm-editor{background:var(--viewer-bg);min-width:0;min-height:0;color:var(--viewer-fg);flex:1}.code-editor .cm-editor.cm-focused{outline:none}.code-editor .cm-scroller{font:inherit;line-height:20px;overflow:auto}.code-editor .cm-content{caret-color:var(--viewer-fg);padding:8px 0}.code-editor .cm-line{padding:0 1ch}.code-editor .cm-cursor,.code-editor .cm-dropCursor{border-left-color:var(--viewer-fg)}.code-editor .cm-gutters{background:var(--viewer-bg);color:var(--viewer-muted);border:0}.code-editor .cm-gutterElement{padding:0}.code-editor .code-viewer-gutter{height:20px;width:var(--viewer-gutter-width)}.code-editor .cm-activeLine{background:color-mix(in lab, var(--viewer-bg) var(--viewer-line-mix), var(--viewer-select))}.code-editor .code-editor-selected-gutter{--line-tint:var(--viewer-select);--number-color:color-mix(in lab, var(--viewer-select) 75%, var(--viewer-mixer))}.code-editor .cm-syntax-line-error .code-viewer-gutter{--number-color:color-mix(in srgb, var(--red) 65%, var(--viewer-fg));font-weight:600}.code-editor .cm-syntax-line-warning .code-viewer-gutter{--number-color:color-mix(in srgb, var(--amber) 65%, var(--viewer-fg));font-weight:600}.code-editor .cm-selectionBackground,.code-editor .cm-focused>.cm-scroller>.cm-selectionLayer .cm-selectionBackground{background:color-mix(in lab, var(--viewer-bg) 65%, var(--viewer-select))}.code-editor .code-editor-note.annotation-inline{left:calc(var(--viewer-scroll-left) - var(--viewer-gutter-width));width:var(--viewer-width);white-space:normal;position:relative}.code-editor .code-viewer-gutter>.code-editor-git{background:var(--viewer-add);forced-color-adjust:none;width:3px;padding:0;position:absolute;inset:0 auto 0 0}.code-editor .code-viewer-gutter>.code-editor-git.is-modified{background:var(--viewer-select)}.code-editor .code-viewer-gutter>.code-editor-git.is-deleted{background:0 0;width:6px}.code-editor-git.is-deleted:before,.code-editor-git.is-deleted.is-both:after{content:"";border:4px solid #0000;border-left:6px solid var(--viewer-delete);width:0;height:0;position:absolute;top:-4px;left:0}.code-editor-git.is-deleted.is-after:before,.code-editor-git.is-deleted.is-both:after{top:auto;bottom:-4px}.code-editor .cm-tooltip{background:var(--viewer-bg);color:var(--viewer-fg);border-color:var(--viewer-muted)}.code-editor .cm-searchMatch{background:color-mix(in srgb, var(--viewer-select) 45%, transparent);outline:1px solid var(--viewer-select)}.code-editor .cm-searchMatch-selected{background:var(--viewer-select)}
