/* Q² questions: additions to the shared article stylesheet
   (/science/fermi-1926/style.css). */

.site-nav .nav-inner a:last-child {
  font-weight: 400;
}

.question-eyebrow {
  margin-bottom: 0.9rem;
  color: var(--accent-primary);
  font: 700 0.75rem var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.paper-subtitle {
  margin-bottom: 0.9rem;
  color: var(--text-muted);
  font-size: 1.15rem;
  font-style: italic;
}

.question-box .question-text {
  font-size: 1.12rem;
  line-height: 1.6;
  text-align: left;
}

.question-box .question-text + .question-text,
.question-box .question-text + .question-prompt {
  margin-top: 0.9rem;
}

.question-prompt {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: left;
}

.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: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
  align-items: baseline;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font: 0.85rem/1.5 var(--font-sans);
}

.fit-readout .mass-readout {
  flex-basis: auto;
  color: var(--accent-primary);
  font-size: 0.95rem;
}

.pause-note {
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

.follow-up {
  padding: 1rem 1.2rem;
  border: 1px dashed var(--border-color);
  border-radius: 6px;
  text-align: left;
}

.code-check {
  margin-top: 2.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
}

.code-check summary {
  cursor: pointer;
  font: 600 0.9rem var(--font-sans);
}

.code-check p {
  text-align: left;
}

.code-check pre {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* The shared stylesheet fixes plot height for the Fermi charts; this figure
   keeps its own proportions. */
#plot-four-points {
  height: auto;
  max-height: 460px;
}

#plot-backtest {
  height: auto;
}

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