[data-stud-choice] [data-choice-result]:not(:target),
[data-stud-choice]:has([data-choice-result]:target) [data-choice-intro],
[data-stud-choice] [data-copy-from][hidden] {
  display: none !important;
}

[data-stud-choice][id],
[data-stud-choice] [data-choice-result][id] {
  scroll-margin-block-start: calc(var(--ow-head, 86px) + 12px);
}

/* An answer replaces the question at the fragment. Settle the viewport before
   the next tap, including when native links are handling the entire journey. */
html:has([data-stud-choice]:target, [data-stud-choice] [data-choice-result]:target) {
  scroll-behavior: auto;
}

[data-stud-choice] :is([data-choice-pick], [data-choice-reset], [data-copy-from]):focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

[data-stud-choice] [data-copy-status]:empty { display: none; }
[data-stud-choice] [data-copy-status] { display: block; margin-block-start: .4em; }

@media print {
  [data-stud-choice] [data-choice-pick],
  [data-stud-choice] [data-choice-reset],
  [data-stud-choice] [data-copy-from],
  [data-stud-choice] [data-copy-status] { display: none !important; }
}
