/* Claude Page Publisher — base do container das páginas importadas. */

.cpp-root {
  display: block;
  isolation: isolate;
  position: relative;
  z-index: 0;
}

.cpp-canvas .cpp-root {
  background-color: Canvas;
}

.cpp-shortcode {
  display: contents;
}

/* Modo interativo: o iframe carrega escondido sobre a versão estática e toma
   o lugar dela quando o design termina de carregar (cpp-frame.js). */
.cpp-interactive {
  position: relative;
}

.cpp-interactive:not(.is-live) {
  overflow: clip;
}

.cpp-interactive__frame {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100vh;
  border: 0;
  visibility: hidden;
  pointer-events: none;
}

.cpp-interactive.is-live > :not(.cpp-interactive__frame) {
  display: none;
}

.cpp-interactive.is-live > .cpp-interactive__frame {
  position: static;
  visibility: visible;
  pointer-events: auto;
}

.cpp-preview-badge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147483000;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f54963;
  color: #fff;
  font: 600 12px/1.2 system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
