/*
 * Global resets, CSS custom properties, and base element styles shared by
 * every page. Propshaft (see config/initializers/assets.rb) auto-includes
 * every .css file under app/assets/stylesheets via `stylesheet_link_tag
 * :app` -- no manifest/@import wiring needed, each file below is its own
 * <link> tag. CSS custom properties on :root apply regardless of file
 * load order, so splitting this way is safe.
 */

:root {
  --color-bg: #f7f8fb;
  --color-surface: #ffffff;
  --color-text: #1a1d29;
  --color-text-muted: #5b6072;
  --color-primary: #3730a3;
  --color-primary-dark: #2b2380;
  --color-accent: #14b8a6;
  --color-border: #e4e6ee;
  --color-danger: #b91c1c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

mark {
  background: #fde68a;
  color: inherit;
  border-radius: 0.2rem;
  padding: 0 0.15rem;
}
