html,
body.showcase-embed {
  height: 100%;
  overflow: hidden;
}

body.showcase-embed {
  pointer-events: none;
  user-select: none;
}

body.showcase-embed .workspace {
  height: calc(100% - 64px);
  min-height: 620px;
}

body.showcase-embed .topbar {
  position: relative;
  justify-content: space-between;
}

body.showcase-embed .mode-tabs {
  display: none !important;
}

body[data-mode="builder"] #tailor-mode,
body[data-mode="builder"] #compare-mode,
body[data-mode="builder"] #export-mode {
  display: none;
}

body[data-mode="tailor"] #compare-mode,
body[data-mode="tailor"] #export-mode {
  display: none;
}

body[data-mode="compare"] #tailor-mode,
body[data-mode="compare"] #export-mode {
  display: none;
}

body[data-mode="export"] #tailor-mode,
body[data-mode="export"] #compare-mode {
  display: none;
}

body.showcase-embed .tailor-result {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff8ef;
  border: 1px solid #f0c07a;
  font-size: 12px;
  line-height: 1.5;
}

body.showcase-embed .cv-section-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

body.showcase-embed .cv-contact {
  margin-top: 4px;
  font-size: 10px;
  color: #666;
}

body.showcase-embed .zoom-dock,
body.showcase-embed .a4-badge,
body.showcase-embed .tool-btn,
body.showcase-embed .generate-btn,
body.showcase-embed .section-action,
body.showcase-embed .save-pill {
  pointer-events: none;
}

.demo-cursor {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10000;
  pointer-events: none;
  transform: translate(-3px, -2px);
  will-change: left, top, transform;
  opacity: 0;
}
.demo-cursor.is-clicking {
  transform: translate(-3px, -2px) scale(0.86);
}
.demo-click {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  border: 2px solid rgba(240, 125, 33, 0.75);
  background: rgba(240, 125, 33, 0.12);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: scale(0.35);
}
.demo-click.is-active {
  animation: demoClickRipple 0.55s ease-out forwards;
}
@keyframes demoClickRipple {
  0% {
    opacity: 0.9;
    transform: scale(0.35);
  }
  100% {
    opacity: 0;
    transform: scale(2.4);
  }
}
.demo-target-flash {
  outline: 2px solid rgba(240, 125, 33, 0.55) !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 8px rgba(240, 125, 33, 0.1) !important;
  transition: outline 0.2s ease, box-shadow 0.2s ease;
}
#demo-job-desc.demo-typing {
  border-color: #f08a18 !important;
  box-shadow: 0 0 0 3px rgba(240, 138, 24, 0.15);
  animation: demoCaretBlink 1s step-end infinite;
}
@keyframes demoCaretBlink {
  50% { border-color: #f0c07a; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-cursor,
  .demo-click {
    display: none !important;
  }
}
