html.demo-notice-pending,
html.demo-notice-pending body { overflow: hidden; }
#demo-notice:not([open]) { display: none; }
html.demo-notice-acknowledged #demo-notice[open] { display: none; }
#demo-notice[open] {
  position: fixed; inset: 0; z-index: 10000; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none;
  margin: 0; padding: 24px; border: 0; overflow-y: auto;
  color: #142b26; background: rgba(20, 42, 37, .3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
#demo-notice::backdrop { background: transparent; }
#demo-notice .demo-notice-card {
  box-sizing: border-box; width: min(100%, 520px); max-height: 100%; overflow-y: auto;
  padding: 32px; border: 1px solid #d9e8e1; border-radius: 20px;
  background: #fff; box-shadow: 0 24px 80px rgba(13, 37, 29, .24);
}
#demo-notice .demo-notice-label {
  display: inline-block; margin: 0 0 18px; padding: 6px 10px;
  border: 1px solid #cbe7d9; border-radius: 7px; background: #eef8f2;
  color: #076441; font-size: .875rem; font-weight: 600; line-height: 1.4;
}
#demo-notice h2 { margin: 0 0 14px; font-size: 1.5rem; line-height: 1.3; letter-spacing: -.025em; }
#demo-notice .demo-notice-text { margin: 0; color: #485e57; font-size: 1rem; line-height: 1.65; }
#demo-notice .demo-notice-actions { display: flex; justify-content: flex-end; margin-top: 26px; }
#demo-notice button {
  min-width: 116px; min-height: 46px; padding: 10px 28px; border: 1px solid #087f52;
  border-radius: 10px; background: #087f52; color: #fff; font: inherit; font-size: 1rem;
  font-weight: 600; cursor: pointer;
}
#demo-notice button:hover { background: #066b44; }
#demo-notice button:focus-visible { outline: 3px solid #087f52; outline-offset: 4px; }
#demo-notice noscript p { color: #485e57; font-size: .875rem; line-height: 1.5; }
@supports not (backdrop-filter: blur(1px)) {
  html.demo-notice-pending body > [data-demo-gated] { filter: blur(10px); }
}
@media (max-width: 560px) {
  #demo-notice[open] { padding: 16px; }
  #demo-notice .demo-notice-card { padding: 24px; border-radius: 16px; }
  #demo-notice h2 { font-size: 1.375rem; }
  #demo-notice .demo-notice-actions { display: block; }
  #demo-notice button { width: 100%; }
}
