/* Reading surfaces and accents follow the other engineering courses.
   Preference is shared across the education hub through edu-reading-theme. */
:root {
  color-scheme:light;
  --ground:#f4f6f8; --surface:#ffffff;
  --ink:#202b38; --ink-soft:#425268; --ink-faint:#53647a;
  --rule:#cfd8e3; --accent:#0b6fb8; --on-accent:#ffffff;
  --accent2:#c2356f; --good:#1d8a4a; --warn:#a9711a;
  --tint:#e8f3fa; --pink-tint:#faeef2; --card-hover:#f6faff;
  --f-ui:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,"Noto Sans Thai",sans-serif;
  --f-body:var(--f-ui); --f-display:var(--f-ui); --radius:8px;
}
:root[data-reading-theme="warm"] {
  --ground:#f5efdf; --surface:#fffbef; --ink:#332d23;
  --ink-soft:#594e3b; --ink-faint:#695b45; --rule:#d9ccae; --accent:#9a5b00; --accent2:#b23a5a; --good:#3f7d2b;
  --tint:#ecefe5; --pink-tint:#f5e6de; --card-hover:#fffdf5;
}
:root[data-reading-theme="blue"] {
  --ground:#e9f1f8; --surface:#f6faff; --ink:#1c3047;
  --ink-soft:#3e536b; --ink-faint:#4c637d; --rule:#c3d3e4; --accent:#1963a6; --accent2:#b23a6e; --good:#25804b;
  --tint:#dfedf7; --pink-tint:#eee8f3; --card-hover:#ffffff;
}
:root[data-theme="dark"] {
  color-scheme:dark;
  --ground:#141b26; --surface:#202b3b; --ink:#f3f6fa;
  --ink-soft:#c2ccda; --ink-faint:#acbcd1; --rule:#3a4a63;
  --accent:#5ad1ff; --on-accent:#141b26; --accent2:#ff7eb6;
  --good:#7ee787; --warn:#ffd166;
  --tint:#263c50; --pink-tint:#3a2c3b; --card-hover:#29384d;
}
