/* ============================================================
   OORT — Base element defaults (opt-in via .oort-root or :root)
   Keep light: set page bg, font, selection, scrollbar.
   ============================================================ */

:root {
  color-scheme: dark;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--ion-400);
  color: var(--text-on-ion);
}

/* Thin technical scrollbars */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--steel-400) transparent;
}
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: var(--steel-400);
  border-radius: 0;
  border: 3px solid transparent;
  background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover { background: var(--steel-300); background-clip: content-box; }
