/* ============================================================
   Editorial / academic override layer — loaded AFTER styles.css.
   Re-skins the dark theme to warm-paper + serif display without
   touching the original stylesheet (re-declares :root tokens).
   Per-course accent: violet (Ethics).
   ============================================================ */
:root{
  --bg:#faf6ee; --bg-2:#f3ecdd; --bg-3:#efe6d4;
  --surface:#fffdf8; --surface-2:#f6efe0;
  --border:rgba(34,29,22,.12);
  --text:#221d16; --text-soft:#544b3d; --text-dim:#8c8273;
  --accent:#6d28d9; --accent-2:#0e7490; --accent-3:#be185d;
  --green:#15803d; --red:#b91c1c; --amber:#b45309;
  --shadow:0 2px 4px rgba(34,29,22,.05), 0 16px 34px -18px rgba(34,29,22,.30);
  --gold:#b45309;
  --font-display:'Fraunces',Georgia,'Times New Roman',serif;
}
html,body{ color:var(--text); }
body{
  background:
    radial-gradient(1100px 560px at 100% -10%, #fff8ea 0%, rgba(255,248,234,0) 55%),
    radial-gradient(820px 460px at -8% 0%, #f5eede 0%, rgba(245,238,222,0) 50%),
    var(--bg) !important;
}
h1,h2,h3,h4,.brand,.nav-brand,.hero-title,.section-title,.mod-title,.s-title{
  font-family:var(--font-display) !important; letter-spacing:-.01em;
}
strong{ color:var(--text); }
em{ color:var(--accent-2); }
/* keep figure/data canvases as dark "plates" so dark-drawn demos stay legible */
canvas{ background:#181410; border:1px solid #3a342b; border-radius:10px; }
