/*
 * Safe evidence-copy helpers.
 * The original visual design lives in styles.css. This file only supports
 * local-only behavior and deliberately avoids restyling the captured pages.
 */

[data-safe-form] input,
[data-safe-form] textarea,
[data-safe-form] select {
  user-select: text;
}

[data-safe-chat-message] {
  will-change: opacity, transform;
}

[data-safe-progress] {
  width: 0;
}

/* The captured Next.js app removed this intro after hydration. In the
 * offline evidence copy there is no hydration step, so do not let the
 * full-screen layer flash or intercept the first click on the home page. */
[data-safe-intro-loader] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  [data-safe-chat-message] {
    animation-duration: 1ms !important;
  }
}

/*
 * Тестовый стенд: плашка «МАКЕТ» на каждой странице (Инструкция.txt).
 * Не перехватывает клики и не влияет на вёрстку страницы.
 */
.mock-badge {
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
  padding: 4px 12px;
  border-radius: 999px;
  background: #b91c1c;
  color: #ffffff;
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  opacity: 0.92;
}

@media print {
  .mock-badge {
    display: none !important;
  }
}
