.project-intro {
  gap: 12px 20px;
}

.project-intro-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 16px;
  min-width: 0;
}

.project-external-link-slot {
  min-height: 36px;
  contain: inline-size;
}

.project-external-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  max-width: 900px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.project-external-link input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.project-copy-feedback {
  position: fixed;
  z-index: 10000;
  max-width: min(260px, calc(50vw - 18px));
  overflow-wrap: anywhere;
  pointer-events: none;
  padding: 7px 12px;
  border-radius: 6px;
  background: #183c32;
  color: white;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  animation: project-copy-fade 5s ease-in forwards;
}

@keyframes project-copy-fade {
  0%, 35% { opacity: 1; }
  100% { opacity: 0; }
}

.export-toast.project-export-status {
  position: fixed;
  inset: auto 16px 16px auto;
  max-width: min(540px, calc(100vw - 32px));
  margin: 0;
}

@media (max-width: 900px) {
  .page-intro.project-intro {
    flex-direction: column;
    align-items: stretch;
  }

  .project-intro-tools .intro-actions {
    justify-content: flex-start;
  }
}
