@import url("/us-history/foner-163-173/styles.css");

.report {
  width: min(36rem, calc(100% - 1.5rem));
}

.decks {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.decks button {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}

.decks button[aria-pressed="true"] {
  background: var(--fg);
  color: var(--bg-0);
  border-color: var(--fg);
}

.q-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
}

.bar {
  height: 4px;
  margin: 0.55rem 0 1rem;
  border-radius: 99px;
  background: var(--hairline);
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
}

.sheet .stem,
.sheet .why,
.sheet .score-big {
  color: var(--fg);
}

.stem {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.45;
}

.choices button {
  width: 100%;
  box-sizing: border-box;
  min-height: 2.75rem;
}

.why {
  margin: 0.8rem 0 0;
  color: var(--fg);
  font-size: 0.95rem;
  line-height: 1.45;
}

[hidden] {
  display: none !important;
}

.next {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  font: inherit;
  font-weight: 650;
  color: var(--bg-0);
  background: var(--fg);
  border: 0;
  border-radius: 12px;
  padding: 0.72rem 1rem;
  cursor: pointer;
}

.score-big {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.end-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.misses {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.misses li {
  margin: 0 0 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.92rem;
  line-height: 1.4;
}

.misses li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.misses strong {
  font-weight: 650;
}

.end-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 1rem;
}

.end-actions .next {
  margin-top: 0;
}

.end-actions .ghost {
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--hairline);
}
