/* web/css/base.css */

/* CSS variables (tokens) + global defaults. Theme files override these. */
:root {
  --bg: #0d1117;
  --fg: #e6edf3;
  --muted: #9fb3c8;
  --border: #1f2937;

  --chip-bg: #111827;
  --chip-border: #334155;
  --chip-active-bg: #1b2335;
  --chip-active-border: #64748b;

  --prompt: #9fb3c8;
  --eph: #d4b106;
  --prints: #9fb3c8;
  --error: #ff7a7a;
  --outval: #ff8e6e;
  --outty: #be93f9;

  --font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: var(--font);
}

[kbd], .kbd {
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--muted);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
}

[contenteditable] {
  unicode-bidi: plaintext;
}

/* Thin scrollbars where supported */
* {
  scrollbar-width: thin;
}
