/* The quadratic ratio, paper by paper (qhist.js). One colour per paper. */

#qhist .qh-plot { position: absolute; inset: 0; width: 1920px; height: 1080px; }

.qh-box { fill: none; stroke: var(--hair); stroke-width: 1.5; }
.qh-tickl { stroke: var(--hair); stroke-width: 1.5; }
.qh-tick { fill: var(--muted); font: 26px ETbb, Georgia, serif; }

.qh-ds { fill: var(--c); stroke: var(--c); transition: opacity 0.6s ease; }
.qh-ds circle { stroke: none; }
.qh-err { stroke-width: 2; }
.qh-curve { fill: none; stroke-width: 4; stroke-linecap: round; }
.qh-band { fill-opacity: 0.18; stroke-width: 2; }

/* inkwell (jry-plots), one colour per paper; a light variant of each on the dark theme */
.qh-d0 { --c: var(--muted); }  /* Mitman+ 2022: a band, no spin dependence */
.qh-d1 { --c: #B2352B; }      /* Cheung+ 2022: brick */
.qh-d2 { --c: #A04A7A; }      /* Redondo-Yuste+ 2023: mulberry */
.qh-d3 { --c: #1E7B3C; }      /* Cheung+ 2023: forest */
.qh-d4 { --c: #1F4E99; }      /* Zhu+ 2024: blue */
.qh-d7 { --c: #1F4E99; }      /* Ma & Yang 2024 (not drawn) */
.qh-d8 { --c: #C07A00; }      /* Bucciotti+ 2024: ochre, one large point */
.qh-d9 { --c: var(--ink); }   /* Khera, Ma & Yang 2024: ink, the reference curve */
:root[data-theme="dark"] .qh-d1 { --c: #E07A6E; }
:root[data-theme="dark"] .qh-d2 { --c: #C49BD6; }
:root[data-theme="dark"] .qh-d3 { --c: #6FBF85; }
:root[data-theme="dark"] .qh-d4, :root[data-theme="dark"] .qh-d7 { --c: #8CA3D0; }
:root[data-theme="dark"] .qh-d8 { --c: #E8A25E; }

.qh-key {
  position: absolute;
  left: 1320px;
  top: 190px;
  width: 470px;
  font-size: 28px;
  line-height: 1.65;
}
.qh-key [data-step] { transition: opacity 0.6s; }
.qh-key i {
  display: inline-block;
  width: 30px;
  height: 6px;
  margin-right: 14px;
  border-radius: 3px;
  vertical-align: middle;
  background: var(--c);
}
.qh-key .ours { color: var(--accent); }
.qh-key .arx { font-size: 20px; color: var(--muted); }
.qh-cite { position: absolute; left: 1320px; top: 860px; font-size: 22px; }

/* ----- detectability: two published figures side by side ------------- */
#qdetect .qd-fig { position: absolute; top: 200px; }
#qdetect .qd-fig img { max-height: 620px; width: auto; margin: 0; }
#qdetect .qd-left { left: 140px; width: 780px; }
#qdetect .qd-left img { width: 100%; }
#qdetect .qd-right { left: 1000px; width: 760px; }
#qdetect .qd-right img { width: 100%; }
#qdetect .cite { font-size: 22px; text-align: left; }
