/* Exegetica's colour and type tokens: one set for every page (templates/base.html loads it first).
   Light by default, dark when the system asks for it, and either one when the reader picks it with the
   rail's theme button (data-theme on <html>, kept in localStorage 'studybible.theme'). */
:root {
    --paper:#f0e8dc; --surface:#f8f2ea; --surface-2:#e8dfd0; --sunk:#e2d7c6; --ink:#1e2026;
    --ink-soft:#54596a; --ink-faint:#5f636f; --rule:#ddd3c1; --rule-strong:#c9bda6;
    --accent:#9f4751; --accent-soft:#8c414b; --on-accent:#fff;
    --iron:#3d6980; --iron-soft:#496775; --brass:#9a7c3d;
    --ok:#396e4a; --warn:#8c6018; --err:#a34919;
    --user-bg:#ece3d4; --code-bg:#efe7d8;
    --serif:"Spectral",Georgia,serif; --sans:"Public Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    --mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
    --paper:#14151a; --surface:#1b1d23; --surface-2:#23252c; --sunk:#101116; --ink:#e9e7e0;
    --ink-soft:#a9aeb9; --ink-faint:#888c96; --rule:#2c2f37; --rule-strong:#3b3f49;
    --accent:#dd8089; --accent-soft:#c0777f; --on-accent:#14151a;
    --iron:#7fb0c2; --iron-soft:#6a92a2; --brass:#c7a45f;
    --ok:#6bbf86; --warn:#d5a24a; --err:#e8895a;
    --user-bg:#232630; --code-bg:#22242b;
}}
:root[data-theme="dark"]{
    --paper:#14151a; --surface:#1b1d23; --surface-2:#23252c; --sunk:#101116; --ink:#e9e7e0;
    --ink-soft:#a9aeb9; --ink-faint:#888c96; --rule:#2c2f37; --rule-strong:#3b3f49;
    --accent:#dd8089; --accent-soft:#c0777f; --on-accent:#14151a;
    --iron:#7fb0c2; --iron-soft:#6a92a2; --brass:#c7a45f;
    --ok:#6bbf86; --warn:#d5a24a; --err:#e8895a;
    --user-bg:#232630; --code-bg:#22242b;
}
