/*
 * OCFai CSS contract
 * AI_RULE: define only classes matching OCFAI_ALLOWED_PREFIXES in this file.
 * AI_RULE: shared UI patterns must use their canonical component CSS instead of local variants.
 * OCFAI_ROLE: base
 * OCFAI_ALLOWED_PREFIXES: CodeMirror
 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--mk-color-bg-public);
  color: var(--mk-color-text);
  font-family: var(--mk-font-sans);
  letter-spacing: 0;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

code,
pre,
textarea.mk-code-browser__fallback {
  font-family: var(--mk-font-mono);
}
