/* Explicit code formatting shared by stems, options and explanations. */
.inline-code,
.code-block {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 400;
  font-variant-ligatures: none;
  color: #34463c;
  background: #f1f3ee;
}

.inline-code {
  padding: .12em .32em;
  border: 1px solid #e2e7de;
  border-radius: 3px;
  font-size: .9em;
  overflow-wrap: anywhere;
}

.code-block {
  display: block;
  max-width: 100%;
  min-width: 0;
  margin: 12px 0;
  padding: 14px 16px;
  border: 1px solid #e2e7de;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.75;
  text-align: left;
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
  overflow-x: auto;
  tab-size: 4;
}

.code-block code { font: inherit; }
.code-block:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.question-panel, .option-text, .review-option-text { min-width: 0; }
.question-stem { overflow-wrap: anywhere; }
.answer-option { align-items: flex-start; }
.answer-option input { margin-top: 5px; }
.option-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.option-text > .code-block { margin: 0; }
.review-options li { display: flex; align-items: flex-start; }
.review-options b { flex-shrink: 0; }
.review-option-text { flex: 1; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-option-text > .code-block { margin: 0; }
.formatted-stem { font-size: 15px; line-height: 1.85; margin: 0 0 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
.code-help { font-size: 12px; line-height: 1.8; }

@media (max-width: 600px) {
  .code-block { padding: 12px; }
  .formatted-stem { font-size: 14px; }
}
