body[data-testing-notice] {
  --testing-notice-height: 72px;
  padding-top: var(--testing-notice-height);
}

body[data-testing-notice] .site-header {
  top: calc(8px + var(--testing-notice-height));
}

.testing-notice-banner {
  position: fixed;
  z-index: 40;
  top: 8px;
  right: 0;
  left: 0;
  padding: 10px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid #bc711b;
  background: #fff4db;
  color: #3d290d;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 3px 12px rgba(35, 25, 10, 0.12);
}

.testing-notice-banner strong {
  font-weight: 900;
}

.testing-notice-dialog {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #bc711b;
  border-radius: 18px;
  background: #ffffff;
  color: #101820;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.testing-notice-dialog::backdrop {
  background: rgba(4, 18, 24, 0.68);
}

.testing-notice-dialog-content {
  padding: clamp(24px, 5vw, 36px);
}

.testing-notice-dialog h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 5vw, 30px);
  line-height: 1.15;
}

.testing-notice-dialog p {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.55;
}

.testing-notice-dialog button {
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 12px;
  background: #067357;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.testing-notice-dialog button:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 3px;
}
