/* ============================================
   Turbo Web Styles - Global Base
   ============================================

   True global element rules that use design tokens from theme.css.
   Applied once per page. Load after theme.css.

   What belongs here: body, and future shared element-level baselines
   (e.g. a, img, form-element resets) if they become genuinely universal.
   What does NOT belong here: component styles, utility classes, or tokens.
   ============================================ */

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Inline code: monospace literal, sized to its surrounding text, subtle chip.
   Overrides Bootstrap's shrunk (.875em) + pink (#d63384) defaults. */
code {
  font-family: var(--font-family-monospace);
  font-size: 1em;
  color: var(--color-text-primary);
  background-color: var(--color-surface-active);
  padding: 0.1em 0.35em;
  border-radius: var(--border-radius-sm);
  word-wrap: break-word;
}

/* A code block must not double up the inline chip treatment inside <pre>. */
pre code {
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  font-size: inherit;
  color: inherit;
}
