/* Every code block on easylifeagents.com: Visual Studio Code's Dark+ theme,
   fixed dark in light and dark mode alike, the way an editor stays dark.
   Same values as the Agent Build Forge Build view (agent-build-forge.html)
   and dashboard_site/css/style.css's .vscode-code-block. js/code-highlight.js
   puts the tok-* spans in; a page only needs <pre data-lang="python|json|shell|text">
   plus this file and that script. Owner's rule, 2026-11-27. */
pre.vscode-code-block {
  background: #1e1e1e;
  color: #d4d4d4;
  border: 1px solid #333;
  border-radius: var(--radius-5, 5px);
  padding: .9rem 1rem;
  overflow-x: auto;
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: .82rem;
  line-height: 1.25em;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: .6rem 0;
}
pre.vscode-code-block code { background: none; color: inherit; padding: 0; font: inherit; }
.vscode-code-block .tok-keyword { color: #569cd6; }
.vscode-code-block .tok-string { color: #ce9178; }
.vscode-code-block .tok-comment { color: #6a9955; font-style: italic; }
.vscode-code-block .tok-number { color: #b5cea8; }
.vscode-code-block .tok-self { color: #9cdcfe; }
.vscode-code-block .tok-key { color: #9cdcfe; }
.vscode-code-block .tok-function { color: #dcdcaa; }

/* The editable version: js/vscode-editor.js lays a coloured copy of the code
   under a transparent textarea, with a line-number gutter. Same as
   dashboard_site/css/style.css's .vscode-editor. Used by the Agent Build Forge's
   code-entry boxes (part, MCP and new-idea forms). */
.vscode-editor {
  position: relative;
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: var(--radius-5, 5px);
  overflow: hidden;
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: .85rem;
  line-height: 1.25em;
  min-height: 12rem;
  margin: 0 0 .9rem;
}
.vscode-editor:focus-within { outline: 2px solid #569cd6; outline-offset: 2px; }
.vscode-editor-gutter {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 2.75em;
  padding: 1rem .5rem 1rem 0;
  text-align: right;
  color: #858585;
  background: #1e1e1e;
  user-select: none;
  overflow: hidden;
  white-space: pre;
  box-sizing: border-box;
}
.vscode-editor .vscode-editor-highlight,
.vscode-editor textarea.vscode-editor-input {
  position: absolute; top: 0; left: 2.75em; right: 0; bottom: 0;
  width: auto; min-height: 0; height: auto;
  margin: 0;
  padding: 1rem;
  font: inherit;
  line-height: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow: auto;
  box-sizing: border-box;
  border-radius: 0;
}
.vscode-editor-highlight { color: #d4d4d4; pointer-events: none; }
.vscode-editor-highlight code { font: inherit; background: none; color: inherit; padding: 0; }
.vscode-editor textarea.vscode-editor-input {
  background: transparent;
  color: transparent;
  caret-color: #d4d4d4;
  border: none;
  outline: none;
  resize: none;
  z-index: 1;
}
.vscode-editor-highlight .tok-keyword { color: #569cd6; }
.vscode-editor-highlight .tok-string { color: #ce9178; }
.vscode-editor-highlight .tok-comment { color: #6a9955; font-style: italic; }
.vscode-editor-highlight .tok-number { color: #b5cea8; }
.vscode-editor-highlight .tok-self { color: #9cdcfe; }
