/* "From tunnelling spectra to Coulomb-peak scaling": additions to the shared
   article stylesheet (/science/fermi-1926/style.css). */

:root {
  --fig-blue: #2a78d6;
  --fig-orange: #eb6834;
  --fig-aqua: #1baf7a;
  --fig-yellow: #eda100;
  --fig-ramp-1: #6da7ec;
  --fig-ramp-3: #104281;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fig-blue: #3987e5;
    --fig-orange: #d95926;
    --fig-aqua: #199e70;
    --fig-yellow: #c98500;
    --fig-ramp-1: #256abf;
    --fig-ramp-3: #86b6ef;
  }
}

.paper-status {
  margin-bottom: 0.4rem;
  color: var(--text-muted);
  font: 0.85rem var(--font-sans);
}

/* Interactive figures keep their own proportions. */
#plot-exponents,
#plot-bias {
  height: auto;
}

/* Static figures are inlined SVG drawn with the stylesheet's colours. */
.static-plot svg {
  display: block;
  width: 100%;
  height: auto;
}

.static-plot.cartoon img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.static-plot.narrow svg {
  max-width: 520px;
  margin: 0 auto;
}

.figure-controls select {
  max-width: 100%;
  min-height: 32px;
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--surface-color);
  color: var(--text-main);
  font: inherit;
}

.fit-readout {
  display: block;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-color);
  color: var(--accent-primary);
  font: 600 0.88rem/1.5 var(--font-sans);
  font-variant-numeric: tabular-nums;
}

/* Inline maths stays on the line with the punctuation that follows it. */
.nowrap {
  white-space: nowrap;
}

.result-list li {
  text-align: justify;
  hyphens: auto;
}

.table-wrapper td.text,
.table-wrapper th.text {
  text-align: left;
}

@media (max-width: 640px) {
  .result-list li {
    text-align: left;
  }
}
