/* The install site's palette (harness-site/public/index.html), itself the harness's terminal theme:
   stone greys, and the accent for links and inline code. Light and coal are the two themes book.toml
   picks by the reader's colour scheme; the others in the theme menu keep mdBook's colours. */
.light, html:not(.js) {
    --bg: #fafaf9;
    --fg: #1c1917;
    --sidebar-bg: #f0efed;
    --sidebar-fg: #1c1917;
    --sidebar-non-existant: #a8a29e;
    --sidebar-active: #007880;
    --sidebar-spacer: #d6d3d1;
    --sidebar-header-border-color: #007880;
    --scrollbar: #a8a29e;
    --icons: #57534e;
    --icons-hover: #1c1917;
    --links: #007880;
    --inline-code-color: #007880;
    --theme-popup-bg: #fafaf9;
    --theme-popup-border: #d6d3d1;
    --theme-hover: #f0efed;
    --quote-bg: #f0efed;
    --quote-border: #d6d3d1;
    --table-border-color: #d6d3d1;
    --table-header-bg: #e7e5e4;
    --table-alternate-bg: #f5f5f4;
    --searchbar-border-color: #d6d3d1;
    --searchbar-bg: #ffffff;
    --searchbar-fg: #1c1917;
    --searchbar-shadow-color: #d6d3d1;
    --searchresults-border-color: #d6d3d1;
    --searchresults-li-bg: #f0efed;
    --search-mark-bg: #b6e3e6;
}

.coal {
    --bg: #1c1917;
    --fg: #f5f5f4;
    --sidebar-bg: #292524;
    --sidebar-fg: #d6d3d1;
    --sidebar-non-existant: #78716c;
    --sidebar-active: #a6d3fd;
    --sidebar-spacer: #44403c;
    --sidebar-header-border-color: #a6d3fd;
    --scrollbar: #78716c;
    --icons: #a8a29e;
    --icons-hover: #f5f5f4;
    --links: #a6d3fd;
    --inline-code-color: #a6d3fd;
    --theme-popup-bg: #292524;
    --theme-popup-border: #44403c;
    --theme-hover: #1c1917;
    --quote-bg: #292524;
    --quote-border: #44403c;
    --table-border-color: #44403c;
    --table-header-bg: #44403c;
    --table-alternate-bg: #231f1d;
    --searchbar-border-color: #44403c;
    --searchbar-bg: #292524;
    --searchbar-fg: #f5f5f4;
    --searchbar-shadow-color: #0c0a09;
    --searchresults-border-color: #44403c;
    --searchresults-li-bg: #292524;
    --search-mark-bg: #1e4b6e;
}

:root {
    --mono-font: ui-monospace, Menlo, Consolas, "DejaVu Sans Mono", monospace;
}

html {
    font-family: system-ui, sans-serif;
}
