.simple-workspace.creator-studio .build-completion-dialog {
  width: min(520px, calc(100vw - 32px));
  max-width: 520px;
  max-height: calc(100dvh - 32px);
  box-sizing: border-box;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--ui-line-strong);
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 100px #0007;
}
.build-completion-dialog[open] {
  animation: completion-appear 220ms ease-out;
}
.build-completion-dialog::backdrop {
  background: #030915aa;
  backdrop-filter: blur(5px);
}
.completion-close {
  position: absolute;
  z-index: 1;
  right: 16px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  background: var(--paper);
  font-size: 22px;
  cursor: pointer;
}
.completion-close:hover {
  color: var(--ink);
  border-color: var(--accent);
}
.completion-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 136px;
  margin-top: 10px;
  overflow: hidden;
}
.completion-halo {
  position: absolute;
  width: 280px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    color-mix(in srgb, var(--accent) 14%, transparent),
    transparent 68%
  );
}
.completion-symbol {
  position: relative;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.completion-symbol svg {
  width: 74px;
  height: 74px;
}
.completion-spark {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--accent);
  transform: rotate(45deg);
  opacity: 0.6;
}
.spark-one {
  left: 29%;
  top: 36%;
}
.spark-two {
  right: 29%;
  top: 55%;
  width: 4px;
  height: 4px;
}
.spark-three {
  right: 36%;
  top: 19%;
  width: 3px;
  height: 3px;
  opacity: 0.35;
}
.completion-intro {
  padding: 0 30px;
  text-align: center;
}
.completion-eyebrow {
  margin: 0 0 9px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 2px;
}
.completion-intro h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.6px;
}
.completion-intro > p:last-child {
  margin: 11px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.completion-products {
  margin: 25px 28px 0;
  max-height: 34vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--leaf-paper);
}
.completion-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
}
.completion-product + .completion-product {
  border-top: 1px solid var(--line);
}
.completion-product-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--ui-accent-soft);
  color: var(--accent);
  font-size: 16px;
}
.completion-product > div {
  min-width: 0;
  flex: 1;
}
.completion-product h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  font-weight: 600;
}
.completion-product p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}
.completion-product time {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 10px;
}
.completion-ready {
  color: var(--accent);
  font-size: 11px;
  flex-shrink: 0;
}
.completion-product > button {
  font-size: 12px;
  flex-shrink: 0;
}
.completion-actions {
  display: flex;
  gap: 12px;
  padding: 24px 28px 0;
}
.simple-workspace.creator-studio .completion-actions .button {
  flex: 1;
  min-height: 44px;
  font-size: 13px;
}
.completion-footnote {
  margin: 14px 28px 25px;
  text-align: center;
  font-size: 11px;
  color: var(--ink-soft);
}
@keyframes completion-appear {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .build-completion-dialog[open] {
    animation: none;
  }
}
@media (max-width: 600px) {
  .simple-workspace.creator-studio .build-completion-dialog {
    border-radius: 20px;
  }
  .completion-art {
    height: 112px;
  }
  .completion-intro {
    padding: 0 20px;
  }
  .completion-intro h2 {
    font-size: 21px;
  }
  .completion-intro > p:last-child {
    font-size: 12px;
  }
  .completion-products {
    margin: 21px 18px 0;
  }
  .completion-product {
    padding: 14px;
    gap: 10px;
  }
  .completion-product h3 {
    font-size: 13px;
  }
  .completion-ready {
    display: none;
  }
  .completion-actions {
    padding: 20px 18px 0;
    gap: 10px;
  }
  .completion-footnote {
    margin-bottom: 22px;
  }
}
