/* Module 8 (CHO). The certificate sheet is hidden on screen until printing, so the
   print stylesheet is the only place it is visible. Adapted from the E. coli
   course’s file, with the theme tokens switched to this course’s. */
.as-intro { margin: 0 0 1.2rem; color: #b6cdd4; }
.as-q { margin: 0 0 1.4rem; min-width: 0; }
.as-q h4 { margin: 0 0 0.5rem; font-size: 0.97rem; line-height: 1.4; }
.as-options { display: grid; gap: 0.45rem; }
.as-options button { text-align: left; }
.as-options button[aria-pressed='true'] { border-color: var(--ch-mint, #7fdcc9); background: #123039; }
.as-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.4rem 0 0; }
.as-result { margin: 1.2rem 0 0; }
.as-score { margin: 0 0 0.9rem; padding: 0.7rem 0.9rem; border-radius: 6px; font-weight: 600; background: #0f2630; border-left: 4px solid #4a7f87; }
.as-score[data-correct='true'] { border-left-color: var(--ch-mint, #7fdcc9); }
.as-score[data-correct='false'] { border-left-color: var(--ch-warn, #e59b6b); }
.as-mark { margin: 0.4rem 0; padding-left: 0.8rem; border-left: 2px solid #34515f; font-size: 0.91rem; max-width: 80ch; }
.as-mark[data-correct='true'] { border-left-color: var(--ch-mint, #7fdcc9); }
.as-mark[data-correct='false'] { border-left-color: var(--ch-warn, #e59b6b); }
.as-cert { margin: 0; }
.as-cert label { display: block; margin: 0 0 0.6rem; }
.as-cert input { display: block; width: 100%; max-width: 26rem; margin-top: 0.3rem; }
.as-cert-status { margin: 0 0 0.8rem; color: var(--ch-amber, #edc077); font-size: 0.92rem; }
.as-sheet { display: none; }
@media print {
  .as-q, .as-bar, .as-result, .as-intro, .as-cert label, .as-cert button, .as-cert-status { display: none !important; }
  .as-sheet { display: block; text-align: center; padding: 3rem 2rem; border: 2px solid #333; color: black; }
  .as-brand { font: 600 0.9rem var(--mono, monospace); letter-spacing: 0.2em; text-transform: uppercase; }
  .as-sheet h3 { font-size: 2rem; margin: 1.2rem 0 0.4rem; }
  .as-course { font-size: 1.1rem; margin: 0 0 2rem; }
  .as-name { font-size: 1.7rem; font-weight: 600; margin: 0 0 0.4rem; border-bottom: 1px solid #333; display: inline-block; padding: 0 2rem 0.4rem; }
  .as-tier { margin: 1rem 0 0.3rem; }
  .as-date { margin: 0 0 2rem; }
  .as-foot { font-size: 0.8rem; color: #555; }
}
