.website-studio-preview-notice {
  box-sizing: border-box;
  width: min(28rem, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  border: 1px solid #d7deea;
  border-radius: 1rem;
  padding: clamp(1.25rem, 5vw, 2rem);
  background: #fff;
  color: #182230;
  box-shadow: 0 24px 72px rgb(10 20 35 / 28%);
  font: 400 1rem/1.55 Inter, ui-sans-serif, system-ui, sans-serif;
}

.website-studio-preview-notice::backdrop {
  background: rgb(8 14 24 / 68%);
  backdrop-filter: blur(4px);
}

.website-studio-preview-notice__title {
  margin: 0 2rem 0.65rem 0;
  color: #111827;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
}

.website-studio-preview-notice__message {
  margin: 0;
  color: #475467;
  font-size: 0.95rem;
}

.website-studio-preview-notice__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.website-studio-preview-notice__close {
  min-height: 2.75rem;
  border: 0;
  border-radius: 0.7rem;
  padding: 0.7rem 1rem;
  background: #182230;
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.website-studio-preview-notice__close:hover {
  background: #344054;
}

.website-studio-preview-notice__close:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.config-btn[role="button"]:focus-visible {
  outline: 2px solid #f4c95d;
  outline-offset: 3px;
}

/* Shared, low-profile disclosure for Website Studio pages without a
   template-native sample notice. Keep the individual concepts' visual identity. */
.website-studio-concept-label {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  box-sizing: border-box;
  display: flex;
  min-height: var(--website-studio-concept-label-height);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 0.4rem;
  padding: 0.45rem 0.875rem;
  border-bottom: 1px solid #dce4ef;
  background: #f7f9fc;
  color: #475467;
  box-shadow: 0 2px 8px rgb(16 24 40 / 7%);
  font: 500 0.75rem/1.35 Inter, ui-sans-serif, system-ui, sans-serif;
  text-align: center;
}

body[data-studio-concept-label] {
  --website-studio-concept-label-height: 3.25rem;
}

.website-studio-concept-label-spacer {
  height: var(--website-studio-concept-label-height);
  min-height: var(--website-studio-concept-label-height);
  pointer-events: none;
}

.website-studio-concept-label strong {
  color: #182230;
  font-weight: 700;
}

/* Preserve navigation visibility while the shared disclosure remains pinned. */
body[data-studio-concept-label] .sticky.top-0,
body[data-studio-concept-label] header.fixed.top-0,
body[data-studio-concept-label] header.absolute.top-0,
body[data-studio-concept-label] nav.fixed.top-0,
body[data-studio-concept-label] nav.absolute.top-0,
body[data-studio-concept-label] .navbar.fixed.top-0 {
  top: var(--website-studio-concept-label-height) !important;
}

@media (min-width: 768px) {
  body[data-studio-concept-label] {
    --website-studio-concept-label-height: 2.75rem;
  }
}

@media (max-width: 767px) {
  .website-studio-concept-label {
    left: 0;
    right: auto;
    width: 100dvw;
    max-width: 100dvw;
  }
}

@media (max-width: 360px) {
  body[data-studio-concept-label] {
    --website-studio-concept-label-height: 4rem;
  }

  .website-studio-concept-label {
    padding-inline: 0.625rem;
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .website-studio-preview-notice::backdrop {
    backdrop-filter: none;
  }
}
