/* Question of the Day popup on the Clerk Test Archives */
.qotd-overlay{
  position:fixed;
  inset:0;
  z-index:80;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:max(12px, env(safe-area-inset-top)) 16px max(12px, env(safe-area-inset-bottom));
  background:rgba(4,6,15,.82);
  -webkit-overflow-scrolling:touch;
}
.qotd-overlay[hidden]{display:none}
.qotd-dialog{
  position:relative;
  width:min(740px, 100%);
  max-height:min(92dvh, 920px);
  overflow:auto;
  background:#fffaf3;
  color:#1d2430;
  border:2px solid #fce209;
  border-radius:16px;
  box-shadow:0 24px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(252,226,9,.35);
  padding:28px 28px 26px;
  font-family:"Times New Roman", Times, Georgia, "Cormorant Garamond", serif;
  font-size:1.12rem;
  line-height:1.55;
}
.qotd-close{
  position:absolute;
  top:10px;
  right:10px;
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#1d2430;
  font-size:1.6rem;
  line-height:1;
  cursor:pointer;
  font-family:var(--sans, system-ui, sans-serif);
}
.qotd-close:hover,
.qotd-close:focus-visible{
  background:#fce209;
  outline:none;
}
.qotd-kicker{
  font-family:var(--sans, system-ui, sans-serif);
  font-size:.72rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:700;
  color:#7a5b00;
  margin:0 44px 8px 0;
}
.qotd-date{
  font-family:var(--sans, system-ui, sans-serif);
  font-size:.86rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-weight:600;
  color:#7a5b00;
  margin:0 44px 10px 0;
}
.qotd-heading{
  font-family:"Times New Roman", Times, Georgia, serif;
  font-size:1.28rem;
  font-weight:700;
  line-height:1.3;
  margin:0 44px 16px 0;
  color:#1d2430;
}
.qotd-stem,
.qotd-statement,
.qotd-instruction{
  margin:0 0 10px;
}
.qotd-stem p{margin:0 0 10px}
.qotd-stem p:last-child{margin-bottom:0}
.qotd-statements{
  margin:12px 0 16px;
  padding:0;
  list-style:none;
}
.qotd-statements li{
  margin:0 0 10px;
  padding-left:0;
}
.qotd-instruction{
  font-style:italic;
  margin:4px 0 14px;
}
.qotd-choices{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:0 0 8px;
}
.qotd-choice{
  display:flex;
  align-items:flex-start;
  gap:12px;
  width:100%;
  text-align:left;
  min-height:48px;
  padding:10px 14px;
  border:1px solid #d8cfc2;
  border-radius:12px;
  background:#fff;
  color:#1d2430;
  cursor:pointer;
  font:inherit;
  font-size:1.08rem;
  line-height:1.4;
}
.qotd-choice:hover:not(:disabled),
.qotd-choice:focus-visible{
  border-color:#fce209;
  box-shadow:0 0 0 2px rgba(252,226,9,.45);
  outline:none;
}
.qotd-choice .letter{
  flex:none;
  width:1.7em;
  height:1.7em;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#1d2430;
  color:#fce209;
  font-family:var(--sans, system-ui, sans-serif);
  font-weight:700;
  font-size:.95rem;
  margin-top:1px;
}
.qotd-choice.is-selected{border-color:#fce209;background:rgba(252,226,9,.14)}
.qotd-choice.is-correct{border-color:#1a7a3c;background:#e8f6ee}
.qotd-choice.is-correct .letter{background:#1a7a3c;color:#fff}
.qotd-choice.is-wrong{border-color:#b42318;background:#fdecea}
.qotd-choice.is-wrong .letter{background:#b42318;color:#fff}
.qotd-choice:disabled{cursor:default}
.qotd-reveal{
  margin-top:18px;
  padding:16px 16px 14px;
  border-radius:12px;
  border:2px solid #fce209;
  background:#fff;
}
.qotd-reveal.ok{border-color:#1a7a3c}
.qotd-reveal.bad{border-color:#b42318}
.qotd-verdict{
  font-family:var(--sans, system-ui, sans-serif);
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:.82rem;
  margin:0 0 8px;
  color:#7a5b00;
}
.qotd-reveal.ok .qotd-verdict{color:#1a7a3c}
.qotd-reveal.bad .qotd-verdict{color:#b42318}
.qotd-answer-line{
  font-weight:700;
  margin:0 0 14px;
  font-size:1.15rem;
}
.qotd-exp-item{margin:0 0 12px}
.qotd-exp-item:last-of-type{margin-bottom:0}
.qotd-exp-item strong{font-weight:700}
.qotd-disclaimer{
  margin:16px 0 0;
  padding-top:14px;
  border-top:1px solid #e3d9cc;
  font-size:1rem;
  color:#3a4556;
}
.qotd-disclaimer p{margin:0 0 10px}
.qotd-disclaimer p:last-child{margin-bottom:0}
.qotd-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:18px;
}
.qotd-done{
  min-height:44px;
  padding:10px 20px;
  border-radius:999px;
  border:2px solid #fce209;
  background:#fce209;
  color:#1d2430;
  font-family:var(--sans, system-ui, sans-serif);
  font-weight:700;
  font-size:.95rem;
  cursor:pointer;
}
.qotd-done:hover,
.qotd-done:focus-visible{filter:brightness(1.05);outline:none}
.qotd-error{margin:0;color:#b42318}
@media (max-width:640px){
  .qotd-dialog{
    padding:22px 16px 18px;
    font-size:1.05rem;
    max-height:100dvh;
    border-radius:12px;
  }
  .qotd-heading{font-size:1.12rem;margin-right:40px}
  .qotd-choice{font-size:1.02rem}
}
