/*
 * QRT manual colour theme for the Read the Docs Sphinx theme.
 *
 * Mirrors the palette of www.preemptsystems.com: near-black surfaces (dark
 * mode), white headings, grey secondary text, hairline rules and a coral
 * accent with periwinkle as the second accent. Colours only; fonts and layout are the
 * theme's own. Loaded through html_css_files, after the theme stylesheet.
 *
 * Every colour below comes from the --qrt-* tokens. The light palette is the
 * default; qrt-theme.js sets data-theme="dark" on <html> for the dark one
 * (the sidebar toggle), and printing always uses the light one.
 */

:root {
  /* Surfaces */
  --qrt-bg: #ffffff;
  --qrt-bg-raised: #f5f6f8;
  --qrt-bg-deep: #eceef1;

  /* Text */
  --qrt-text: #1b1c1e;
  --qrt-text-strong: #0d0e13;
  --qrt-text-soft: #3f4349;
  --qrt-text-muted: #5c6066;

  /* Rules */
  --qrt-line: #c4c9cf;

  /* Accents: the site's coral and periwinkle, darkened where text needs 4.5:1 */
  --qrt-accent: #b43e3e;
  --qrt-accent-soft: #7f3131;
  --qrt-accent-strong: #be4a4a;
  --qrt-accent-deep: #fce1e1;
  --qrt-secondary: #444e74;
  --qrt-secondary-soft: #4b5799;
  --qrt-on-accent: #ffffff;
}

/* Dark palette: the colours of www.preemptsystems.com itself. */
:root[data-theme="dark"] {
  --qrt-bg: #141416;
  --qrt-bg-raised: #1b1c1e;
  --qrt-bg-deep: #0d0e13;

  --qrt-text: #e6e6e8;
  --qrt-text-strong: #ffffff;
  --qrt-text-soft: #b5b5b8;
  --qrt-text-muted: #8a8a8a;

  --qrt-line: #3f4349;

  --qrt-accent: #fd6262;
  --qrt-accent-soft: #feb0b0;
  --qrt-accent-strong: #be4a4a;
  --qrt-accent-deep: #7f3131;
  --qrt-secondary: #889ce7;
  --qrt-secondary-soft: #c1ccf3;
  --qrt-on-accent: #141416;
}

html {
  color-scheme: light;
  scrollbar-color: var(--qrt-line) var(--qrt-bg);
}

:root[data-theme="dark"] {
  color-scheme: dark;
}

::selection {
  background: var(--qrt-accent-deep);
  color: var(--qrt-text-strong);
}

:focus-visible {
  outline: 2px solid var(--qrt-accent);
  outline-offset: 2px;
}

/* -- Page frame ------------------------------------------------------------ */

body,
.wy-body-for-nav,
.wy-nav-content-wrap,
.wy-nav-content {
  background: var(--qrt-bg);
  color: var(--qrt-text);
}

.wy-nav-side {
  background: var(--qrt-bg-deep);
  border-right: 1px solid var(--qrt-line);
  color: var(--qrt-text-muted);
}

.wy-side-nav-search {
  background: var(--qrt-bg-deep) !important;
  border-bottom: 1px solid var(--qrt-line);
  color: var(--qrt-text-strong);
}

.wy-side-nav-search > a,
.wy-side-nav-search .wy-dropdown > a {
  color: var(--qrt-text-strong);
}

.wy-side-nav-search > a:hover,
.wy-side-nav-search .wy-dropdown > a:hover {
  background: transparent;
  color: var(--qrt-accent);
}

.wy-side-nav-search > div.version {
  color: var(--qrt-text-muted);
}

.wy-side-nav-search input[type=text] {
  background: var(--qrt-bg-raised);
  border-color: var(--qrt-line);
  box-shadow: none;
  color: var(--qrt-text-strong);
}

.wy-side-nav-search input[type=text]:focus {
  border-color: var(--qrt-accent);
}

input::placeholder {
  color: var(--qrt-text-muted);
}

.wy-nav-top {
  background: var(--qrt-bg-deep);
  border-bottom: 1px solid var(--qrt-line);
}

.wy-nav-top a {
  color: var(--qrt-text-strong);
}

.wy-body-mask {
  background: rgba(0, 0, 0, 0.6);
}

/* -- Navigation ------------------------------------------------------------ */

.wy-menu-vertical header,
.wy-menu-vertical p.caption,
.wy-nav .wy-menu-vertical header {
  color: var(--qrt-accent);
  letter-spacing: 0.08em;
}

.wy-menu-vertical a,
.wy-nav .wy-menu-vertical a,
.wy-menu-vertical li ul li a,
.wy-menu-vertical li.toctree-l2 a,
.wy-menu-vertical li.toctree-l3 a,
.wy-menu-vertical li.toctree-l4 a {
  color: var(--qrt-text-soft);
}

.wy-menu-vertical a:hover,
.wy-nav .wy-menu-vertical a:hover {
  background-color: var(--qrt-bg-raised);
  color: var(--qrt-text-strong);
}

.wy-menu-vertical a:active {
  background-color: var(--qrt-accent-deep);
  color: var(--qrt-text-strong);
}

.wy-menu-vertical li.current {
  background: var(--qrt-bg);
}

.wy-menu-vertical li.current a {
  border-right: 1px solid var(--qrt-line);
  color: var(--qrt-text-soft);
}

.wy-menu-vertical li.current a:hover {
  background: var(--qrt-bg-raised);
  color: var(--qrt-text-strong);
}

.wy-menu-vertical li.current > a,
.wy-menu-vertical li.on a {
  background: var(--qrt-bg);
  color: var(--qrt-text-strong);
}

.wy-menu-vertical li.current > a:hover,
.wy-menu-vertical li.on a:hover {
  background: var(--qrt-bg-raised);
}

.wy-menu-vertical li.toctree-l1.current > a {
  border-bottom: 1px solid var(--qrt-line);
  border-top: 1px solid var(--qrt-line);
}

.wy-menu-vertical li.toctree-l2.current > a,
.wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a,
.wy-menu-vertical li.toctree-l3.current > a,
.wy-menu-vertical li.toctree-l3.current li.toctree-l4 > a {
  background: var(--qrt-bg-raised);
}

.wy-menu-vertical li.toctree-l1.current > a.current,
.wy-menu-vertical li.toctree-l2.current > a.current,
.wy-menu-vertical li.toctree-l3.current > a.current {
  box-shadow: inset 3px 0 0 var(--qrt-accent);
}

.wy-menu-vertical li.toctree-l2.current > a:hover,
.wy-menu-vertical li.toctree-l3.current > a:hover,
.wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a:hover,
.wy-menu-vertical li.toctree-l3.current li.toctree-l4 > a:hover {
  background: var(--qrt-line);
}

.wy-menu-vertical li button.toctree-expand,
.wy-menu-vertical li.toctree-l2 button.toctree-expand,
.wy-menu-vertical li.toctree-l3 button.toctree-expand,
.wy-menu-vertical li.current > a button.toctree-expand,
.wy-menu-vertical li.on a button.toctree-expand,
.wy-menu-vertical a:hover button.toctree-expand,
.wy-menu-vertical li.current > a:hover button.toctree-expand {
  color: var(--qrt-text-muted);
}

.wy-menu-vertical li.toctree-l2 a:hover button.toctree-expand,
.wy-menu-vertical li.toctree-l3 a:hover button.toctree-expand,
.wy-menu-vertical li.toctree-l4 a:hover button.toctree-expand {
  color: var(--qrt-text-muted);
}

.wy-menu-vertical li.toctree-l2.current > a:hover button.toctree-expand,
.wy-menu-vertical li.toctree-l3.current > a:hover button.toctree-expand,
.wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a:hover button.toctree-expand,
.wy-menu-vertical li.toctree-l3.current li.toctree-l4 > a:hover button.toctree-expand {
  color: var(--qrt-text-soft);
}

.wy-breadcrumbs li a,
.wy-breadcrumbs .breadcrumb-item a {
  color: var(--qrt-accent);
}

.wy-breadcrumbs li a:hover,
.wy-breadcrumbs .breadcrumb-item a:hover {
  color: var(--qrt-accent-soft);
}

.breadcrumb-item:before,
.wy-breadcrumbs-extra {
  color: var(--qrt-text-muted);
}

/* -- Text ------------------------------------------------------------------ */

a {
  color: var(--qrt-accent);
}

a:hover {
  color: var(--qrt-accent-soft);
}

a:visited {
  color: var(--qrt-accent);
}

/* The rule above ties with the navigation and footer link colours; restore them. */
.wy-menu-vertical li.toctree-l1:not(.current) > a:visited:not(:hover):not(:active) {
  color: var(--qrt-text-soft);
}

.wy-side-nav-search > a:visited:not(:hover),
.wy-nav-top a:visited:not(:hover) {
  color: var(--qrt-text-strong);
}

footer a:visited:not(:hover) {
  color: var(--qrt-text-soft);
}

.rst-content h1,
.rst-content h2,
.rst-content h3,
.rst-content h4,
.rst-content h5,
.rst-content h6,
.rst-content .toctree-wrapper > p.caption,
.rst-content .toctree-wrapper > p.caption .caption-text,
.rst-content p.rubric,
h1, h2, h3, h4, h5, h6 {
  color: var(--qrt-text-strong);
}

.rst-content .headerlink,
html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) dl:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) > dt .headerlink {
  color: var(--qrt-text-muted);
}

.rst-content .headerlink:hover,
html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) > dt .headerlink:hover,
html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) dl:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) > dt .headerlink:hover {
  color: var(--qrt-accent);
}

.rst-content .toc-backref {
  color: var(--qrt-text);
}

.rst-content blockquote {
  border-left: 3px solid var(--qrt-line);
  color: var(--qrt-text-soft);
  padding-left: 16px;
}

hr {
  border-top-color: var(--qrt-line);
}

footer,
footer p {
  color: var(--qrt-text-muted);
}

footer a {
  color: var(--qrt-text-soft);
}

footer a:hover {
  color: var(--qrt-accent);
}

mark,
ins {
  background: var(--qrt-accent-deep);
  color: var(--qrt-text-strong);
}

.rst-content .highlighted {
  background: var(--qrt-accent-deep);
  box-shadow: 0 0 0 2px var(--qrt-accent-deep);
  color: var(--qrt-text-strong);
}

.rst-content .guilabel,
.rst-content .menuselection {
  background: var(--qrt-bg-raised);
  border: 1px solid var(--qrt-line);
}

.rst-content :not(dl.option-list) > :not(dt):not(kbd):not(.kbd) > .kbd,
.rst-content :not(dl.option-list) > :not(dt):not(kbd):not(.kbd) > kbd {
  background-color: var(--qrt-bg-raised);
  border-color: var(--qrt-line);
  box-shadow: 0 2px var(--qrt-line);
  color: var(--qrt-text);
}

/* -- Code ------------------------------------------------------------------ */

.rst-content code,
.rst-content tt,
code {
  background: var(--qrt-bg-raised);
  border-color: var(--qrt-line);
  color: var(--qrt-text);
}

.rst-content code.literal,
.rst-content tt.literal {
  color: var(--qrt-secondary-soft);
}

.rst-content code.xref,
.rst-content tt.xref,
a .rst-content code,
a .rst-content tt {
  color: var(--qrt-text-strong);
}

.rst-content a code,
.rst-content a tt {
  color: var(--qrt-accent);
}

.rst-content a:hover code,
.rst-content a:hover tt {
  color: var(--qrt-accent-soft);
}

.rst-content a code.xref,
.rst-content a tt.xref {
  color: var(--qrt-accent);
}

.rst-content a:hover code.xref,
.rst-content a:hover tt.xref {
  color: var(--qrt-accent-soft);
}

.rst-content div[class^=highlight],
.rst-content pre.literal-block,
.highlight {
  background: var(--qrt-bg-deep);
  border-color: var(--qrt-line);
}

.rst-content div[class^=highlight] pre,
.rst-content pre.literal-block,
.highlight pre {
  background: transparent;
  color: var(--qrt-text);
}

.rst-content div.code-block-caption {
  background: var(--qrt-bg-raised);
  border: 1px solid var(--qrt-line);
  border-bottom: 0;
  color: var(--qrt-text-soft);
}

.rst-content .linenodiv pre,
.rst-content div.highlight span.linenos {
  border-right-color: var(--qrt-line);
  color: var(--qrt-text-muted);
}

/* Syntax highlighting (replaces the light Pygments palette) */
.rst-content .highlight .hll { background-color: var(--qrt-line); }
.rst-content .highlight .c,
.rst-content .highlight .ch,
.rst-content .highlight .cm,
.rst-content .highlight .c1,
.rst-content .highlight .cs { color: var(--qrt-text-muted); font-style: italic; }
.rst-content .highlight .cp,
.rst-content .highlight .cpf { color: var(--qrt-accent-soft); font-style: normal; }
.rst-content .highlight .err { border: 0; color: var(--qrt-accent); }
.rst-content .highlight .k,
.rst-content .highlight .kc,
.rst-content .highlight .kd,
.rst-content .highlight .kn,
.rst-content .highlight .kp,
.rst-content .highlight .kr { color: var(--qrt-accent); font-weight: bold; }
.rst-content .highlight .kt { color: var(--qrt-secondary); font-weight: bold; }
.rst-content .highlight .o,
.rst-content .highlight .ow { color: var(--qrt-text-soft); }
.rst-content .highlight .p { color: var(--qrt-text); }
.rst-content .highlight .n,
.rst-content .highlight .na,
.rst-content .highlight .nl,
.rst-content .highlight .nv,
.rst-content .highlight .vc,
.rst-content .highlight .vg,
.rst-content .highlight .vi,
.rst-content .highlight .vm { color: var(--qrt-text); }
.rst-content .highlight .nb,
.rst-content .highlight .bp,
.rst-content .highlight .no,
.rst-content .highlight .ni,
.rst-content .highlight .ne,
.rst-content .highlight .nt { color: var(--qrt-secondary-soft); }
.rst-content .highlight .nf,
.rst-content .highlight .fm,
.rst-content .highlight .nc,
.rst-content .highlight .nn,
.rst-content .highlight .nd { color: var(--qrt-secondary); }
.rst-content .highlight .m,
.rst-content .highlight .mb,
.rst-content .highlight .mf,
.rst-content .highlight .mh,
.rst-content .highlight .mi,
.rst-content .highlight .mo,
.rst-content .highlight .il { color: var(--qrt-secondary-soft); }
.rst-content .highlight .s,
.rst-content .highlight .sa,
.rst-content .highlight .sb,
.rst-content .highlight .sc,
.rst-content .highlight .dl,
.rst-content .highlight .sd,
.rst-content .highlight .s2,
.rst-content .highlight .se,
.rst-content .highlight .sh,
.rst-content .highlight .si,
.rst-content .highlight .sx,
.rst-content .highlight .sr,
.rst-content .highlight .s1,
.rst-content .highlight .ss { color: var(--qrt-accent-soft); }
.rst-content .highlight .gd { color: var(--qrt-accent); }
.rst-content .highlight .gi { color: var(--qrt-secondary); }
.rst-content .highlight .gh,
.rst-content .highlight .gu { color: var(--qrt-text-strong); font-weight: bold; }
.rst-content .highlight .gp,
.rst-content .highlight .go { color: var(--qrt-text-muted); }
.rst-content .highlight .gr,
.rst-content .highlight .gt { color: var(--qrt-accent); }

/* -- Admonitions ----------------------------------------------------------- */

.rst-content .admonition,
.rst-content .admonition-todo,
.rst-content .attention,
.rst-content .caution,
.rst-content .danger,
.rst-content .error,
.rst-content .hint,
.rst-content .important,
.rst-content .note,
.rst-content .seealso,
.rst-content .tip,
.rst-content .warning {
  --qrt-admonition: var(--qrt-secondary);
  background: var(--qrt-bg-raised);
  border: 1px solid var(--qrt-line);
  border-left: 3px solid var(--qrt-admonition);
  color: var(--qrt-text);
}

.rst-content .hint,
.rst-content .important,
.rst-content .tip {
  --qrt-admonition: var(--qrt-secondary-soft);
}

.rst-content .attention,
.rst-content .caution,
.rst-content .warning {
  --qrt-admonition: var(--qrt-accent-soft);
}

.rst-content .danger,
.rst-content .error {
  --qrt-admonition: var(--qrt-accent);
}

.rst-content .admonition-title,
.rst-content .admonition-todo .admonition-title,
.rst-content .attention .admonition-title,
.rst-content .caution .admonition-title,
.rst-content .danger .admonition-title,
.rst-content .error .admonition-title,
.rst-content .hint .admonition-title,
.rst-content .important .admonition-title,
.rst-content .note .admonition-title,
.rst-content .seealso .admonition-title,
.rst-content .tip .admonition-title,
.rst-content .warning .admonition-title {
  background: transparent;
  color: var(--qrt-admonition);
  font-size: 85%;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
  padding: 0;
  text-transform: uppercase;
}

.rst-content .admonition table,
.rst-content .admonition table td,
.rst-content .admonition table th {
  border-color: var(--qrt-line) !important;
}

.rst-content .sidebar {
  background: var(--qrt-bg-raised);
  border-color: var(--qrt-line);
}

.rst-content .sidebar .sidebar-title {
  background: var(--qrt-bg-deep);
  color: var(--qrt-text-strong);
}

/* -- Tables ---------------------------------------------------------------- */

.rst-content table.docutils,
.wy-table-bordered-all,
.wy-table-bordered {
  border-color: var(--qrt-line);
}

.rst-content table.docutils td,
.wy-table-bordered-all td,
.wy-table-bordered-rows td,
.wy-table-horizontal td,
.wy-table-horizontal th {
  border-color: var(--qrt-line);
}

.rst-content table.docutils th,
html.writer-html5 .rst-content table.docutils th {
  border-color: var(--qrt-line);
}

.rst-content table.docutils thead,
.rst-content table.field-list thead,
.wy-table thead {
  color: var(--qrt-text-strong);
}

.rst-content table.docutils thead th,
.rst-content table.field-list thead th,
.wy-table thead th,
html.writer-html5 .rst-content table.docutils thead th {
  background: var(--qrt-bg-deep);
  border-bottom: 2px solid var(--qrt-accent-strong);
}

.rst-content table.docutils caption,
.rst-content table.field-list caption,
.wy-table caption {
  color: var(--qrt-text-soft);
}

.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td,
.wy-table-backed,
.wy-table-odd td,
.wy-table-striped tr:nth-child(2n-1) td {
  background-color: var(--qrt-bg-raised);
}

.rst-content table.docutils:not(.field-list) tr:nth-child(2n) td {
  background-color: var(--qrt-bg);
}

.rst-content table.docutils.footnote,
.rst-content table.docutils.citation,
html.writer-html5 .rst-content aside.footnote,
html.writer-html5 .rst-content aside.citation,
html.writer-html5 .rst-content dl.footnote,
html.writer-html5 .rst-content dl.citation {
  color: var(--qrt-text-muted);
}

.wy-table-secondary,
.wy-table-tertiary {
  color: var(--qrt-text-muted);
}

/* -- Object descriptions (API reference, field lists, glossary) ------------ */

html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) > dt {
  background: var(--qrt-bg-raised);
  border-top: 3px solid var(--qrt-accent-strong);
  color: var(--qrt-text-strong);
}

html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) > dt:before {
  color: var(--qrt-accent-strong);
}

html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) > dt .headerlink {
  color: var(--qrt-text-muted);
}

html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) dl:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) > dt {
  background: var(--qrt-bg-raised);
  border-left: 3px solid var(--qrt-line);
  border-top: 0;
  color: var(--qrt-text-soft);
}

html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .optional {
  color: var(--qrt-text-strong);
}

html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .descclassname,
html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .descname,
html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .sig-name,
html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .sig-prename {
  color: var(--qrt-text-strong);
}

.rst-content dl dt .sig-paren,
.rst-content dl dt .p {
  color: var(--qrt-text-soft);
}

.rst-content dl dt .k,
.rst-content dl dt .kt {
  color: var(--qrt-secondary);
}

.rst-content .viewcode-back,
.rst-content .viewcode-link {
  color: var(--qrt-accent);
}

/* -- Figures --------------------------------------------------------------- */

.rst-content .figure img,
.rst-content figure img {
  border: 1px solid var(--qrt-line);
  border-radius: 4px;
}

.rst-content .figure p.caption,
.rst-content figure figcaption,
.rst-content .caption-text {
  color: var(--qrt-text-soft);
}

/* -- Buttons, search ------------------------------------------------------- */

.btn-neutral,
.btn-neutral:visited {
  background-color: transparent !important;
  border: 1px solid var(--qrt-accent);
  color: var(--qrt-accent) !important;
}

.btn-neutral:hover,
.btn-neutral:focus {
  background-color: var(--qrt-accent) !important;
  color: var(--qrt-on-accent) !important;
}

.btn-neutral,
.btn-neutral:hover,
.btn-neutral:focus,
.btn-neutral:active {
  box-shadow: none;
}

.rst-content .btn:focus-visible,
.btn-neutral:focus-visible {
  outline: 2px solid var(--qrt-accent);
  outline-offset: 2px;
}

#search-results .search li,
#search-results .search li:first-child {
  border-color: var(--qrt-line);
}

#search-results .context {
  color: var(--qrt-text-muted);
}

input[type=text],
input[type=search],
select,
textarea {
  background: var(--qrt-bg-raised);
  border-color: var(--qrt-line);
  box-shadow: none;
  color: var(--qrt-text-strong);
}

label {
  color: var(--qrt-text-soft);
}

/* -- Theme toggle --------------------------------------------------------- */

.qrt-theme-toggle,
.qrt-pdf-link {
  background: transparent;
  border: 1px solid var(--qrt-line);
  border-radius: 50px;
  color: var(--qrt-text-soft);
  cursor: pointer;
  font-family: inherit;
  font-size: 80%;
  margin-top: 4px;
  padding: 4px 14px;
}

.wy-side-nav-search > a.qrt-pdf-link {
  color: var(--qrt-text-soft);
  display: inline-block;
  font-size: 80%;
  font-weight: normal;
  line-height: normal;
  margin: 4px 6px 0 0;
  padding: 4px 14px;
}

.qrt-theme-toggle:hover,
.wy-side-nav-search > a.qrt-pdf-link:hover {
  border-color: var(--qrt-accent);
  color: var(--qrt-accent);
}

.qrt-version-select {
  background: var(--qrt-bg);
  border: 1px solid var(--qrt-line);
  border-radius: 50px;
  color: var(--qrt-text-soft);
  display: block;
  font-family: inherit;
  font-size: 80%;
  margin: 8px auto 0;
  padding: 4px 10px;
}

.qrt-version-select[hidden] {
  display: none;
}

.qrt-version-select:hover {
  border-color: var(--qrt-accent);
}

/* -- Print ----------------------------------------------------------------- */

@media print {
  :root,
  :root[data-theme] {
    --qrt-bg: #ffffff;
    --qrt-bg-raised: #f5f6f8;
    --qrt-bg-deep: #eceef1;
    --qrt-text: #1b1c1e;
    --qrt-text-strong: #0d0e13;
    --qrt-text-soft: #3f4349;
    --qrt-text-muted: #5c6066;
    --qrt-line: #c4c9cf;
    --qrt-accent: #b43e3e;
    --qrt-accent-soft: #7f3131;
    --qrt-accent-strong: #be4a4a;
    --qrt-accent-deep: #fce1e1;
    --qrt-secondary: #444e74;
    --qrt-secondary-soft: #4b5799;
    --qrt-on-accent: #ffffff;
    color-scheme: light;
  }

  .qrt-theme-toggle,
  .qrt-pdf-link,
  .qrt-version-select {
    display: none;
  }
}
