/* Fields and controls stay operable, including on touch screens. */
body[data-role="student"] [data-copy-protected] {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
body[data-role="student"] [data-copy-protected] input,
body[data-role="student"] [data-copy-protected] textarea,
body[data-role="student"] [data-copy-protected] [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
.copy-guard-message {
  position: fixed;
  z-index: 10000;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(540px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 14px 18px;
  border-radius: 12px;
  background: #17324d;
  color: #fff;
  box-shadow: 0 6px 24px #0003;
  font: 15px/1.5 system-ui, sans-serif;
  pointer-events: none;
}
.copy-guard-message[hidden] { display: none; }
