/* AYIVI Systems Limited — prototype interaction guardrails */
html.ayivi-ip-protected,
html.ayivi-ip-protected body,
html.ayivi-ip-protected body *:not(input):not(textarea):not(select):not([contenteditable="true"]):not([contenteditable="true"] *) {
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

html.ayivi-ip-protected input,
html.ayivi-ip-protected textarea,
html.ayivi-ip-protected select,
html.ayivi-ip-protected [contenteditable="true"],
html.ayivi-ip-protected [contenteditable="true"] * {
  -webkit-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default !important;
}

html.ayivi-ip-protected img,
html.ayivi-ip-protected svg {
  -webkit-user-drag: none !important;
  user-drag: none !important;
}

.ayivi-ip-watermark {
  position: fixed;
  right: 10px;
  bottom: 8px;
  z-index: 2147483646;
  pointer-events: none;
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(4, 39, 29, .72);
  color: rgba(255,255,255,.78);
  font: 700 9px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .62;
}

.ayivi-ip-denied {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: #071f18;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}

.ayivi-ip-denied > div { max-width: 620px; }
.ayivi-ip-denied h1 { margin: 0 0 12px; font-size: clamp(2rem, 5vw, 4rem); }
.ayivi-ip-denied p { color: #c9d9d1; line-height: 1.6; }

@media print {
  html.ayivi-ip-protected body > * { display: none !important; }
  html.ayivi-ip-protected body::before {
    content: "Protected AYIVI evaluation prototype — printing disabled.";
    display: block !important;
    padding: 40px;
    font: 700 18px/1.5 system-ui, sans-serif;
  }
}
