@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

.np-app-shell,
.np-app-shell * {
  box-sizing: border-box;
}

.np-app-shell {
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(56, 124, 224, 0.18),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 0%,
      rgba(139, 92, 246, 0.15),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #eef2f7 100%
    );
}

#namynot-prompter-app {
  width: 100%;
  min-height: 100vh;
}

.np-app {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  color: #111827;
  font-family: Inter, system-ui, sans-serif;
}

.np-app-intro {
  align-items: center;
  justify-content: center;
}

.np-flow-shell {
  width: 100%;
  max-width: 760px;
}

.np-card {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  padding: 40px 32px;
}

.np-card-intro {
  max-width: 620px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.np-intro-stack {
  width: 100%;
  max-width: 430px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.np-title {
  margin: 0 0 1.5rem;
  font-size: clamp(2.9rem, 6vw, 4.2rem);
  line-height: 0.98;
  font-weight: 900;
  font-family: "Roboto";
  letter-spacing: -0.05em;
}

.np-copy {
  margin: 0 0 2.2rem;
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 640px;
}

.np-intro-copy {
  max-width: 560px;
  font-size: 1.4rem;
  line-height: 2rem;
}

.np-intro-actions {
  width: 100%;
  display: flex;
  justify-content: center;
}

.np-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #387ce0;
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 22px;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 10px 24px rgba(56, 124, 224, 0.22);
}

.np-button:hover {
  transform: translateY(-1px);
  opacity: 0.98;
}

.np-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.np-button-secondary {
  background: #f8fafc;
  color: #1e293b;
  border: 1px solid #e5edf7;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.np-button-secondary:hover {
  background: #f1f5f9;
}

.np-button-success {
  background: #16a34a;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.22);
}

.np-intro-icon {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background: #387ce0;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.np-progress-wrap {
  margin-bottom: 30px;
}

.np-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 8px;
}

.np-progress-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.np-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: #387ce0;
  transition: width 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.np-screen {
  opacity: 1;
}

.np-forward {
  animation: npScreenForward 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.np-back {
  animation: npScreenBack 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes npScreenForward {
  from {
    opacity: 0;
    transform: translateX(26px) translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes npScreenBack {
  from {
    opacity: 0;
    transform: translateX(-26px) translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

.np-step-header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 0;
  align-items: start;
  margin-bottom: 28px;
}

.np-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #387ce0;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 18px;
  /* Adding */
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.np-step-title {
  margin: 0 0 6px;
  font-size: 1.75rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: 'Roboto';
}

.np-step-subtitle {
  margin: 0;
  color: #6b7280;
  line-height: 1.55;
  max-width: 620px;
}

.np-step-copy {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
}

.np-fields {
  display: grid;
  gap: 18px;
}

.np-field {
  display: grid;
  gap: 8px;
}

.np-conditional-field {
  overflow: hidden;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    max-height 0.22s ease,
    margin-top 0.22s ease;
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
}

.np-conditional-field.is-hidden {
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  margin-top: 0;
  pointer-events: none;
}

.np-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.np-field-help {
  margin-top: 8px;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.5;
}

.np-design-vibe-intro {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.np-design-vibe-copy {
  margin: 0;
  color: #64748b;
  font-size: 0.96rem;
  line-height: 1.65;
}

.np-design-vibe-default {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.np-design-vibe-default-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.np-design-vibe-default-value {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #dbe7f5;
  color: #334155;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.np-design-vibe-default-value:hover {
  background: #f1f5f9;
}

.np-design-vibe-default-value.is-active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.np-design-vibe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.np-design-vibe-card {
  appearance: none;
  width: 100%;
  border: 1px solid #dbe7f5;
  border-radius: 20px;
  background: #ffffff;
  padding: 12px;
  display: grid;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.np-design-vibe-card:hover {
  transform: translateY(-1px);
  border-color: #bfd6f5;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.np-design-vibe-card.is-active {
  border-color: #387ce0;
  box-shadow: 0 0 0 4px rgba(56, 124, 224, 0.12), 0 18px 36px rgba(56, 124, 224, 0.12);
  background: #fbfdff;
}

.np-design-vibe-thumb-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e5edf7;
  aspect-ratio: 4 / 3;
}

.np-design-vibe-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.np-design-vibe-card-body {
  display: grid;
  gap: 6px;
}

.np-design-vibe-card-label {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.np-design-vibe-card-help {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
}

.np-input,
.np-textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;
  font: inherit;
  color: #111827;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.np-input:focus,
.np-textarea:focus {
  border-color: #387ce0;
  box-shadow: 0 0 0 4px rgba(56, 124, 224, 0.12);
}

.np-textarea {
  min-height: 120px;
  resize: vertical;
}

.np-select {
  appearance: none;
  cursor: pointer;
}

.np-field-help {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
}

.np-advanced-fields {
  margin-top: 6px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.8);
  overflow: hidden;
}

.np-advanced-summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  color: #0f172a;
}

.np-advanced-summary::-webkit-details-marker {
  display: none;
}

.np-advanced-summary-title {
  font-size: 0.98rem;
}

.np-advanced-summary-copy {
  font-size: 0.82rem;
  font-weight: 700;
  color: #387ce0;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.np-advanced-body {
  padding: 0 18px 18px;
  border-top: 1px solid #eef2f7;
}

.np-advanced-intro {
  margin: 14px 0 16px;
  color: #64748b;
  font-size: 0.93rem;
  line-height: 1.55;
}

.np-advanced-grid {
  display: grid;
  gap: 16px;
}

.np-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.np-card-thinking {
  max-width: 620px;
  min-height: 340px;
}

.np-thinking-wrap {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.np-thinking-orb {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: rgba(56, 124, 224, 0.08);
  animation: npPulseOrb 1.6s ease-in-out infinite;
  position: absolute;
  top: 10px;
}

.np-thinking-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #387ce0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 1;
  margin-bottom: 26px;
  animation: npThinkingIcon 1.2s ease-in-out infinite;
  box-shadow: 0 16px 32px rgba(56, 124, 224, 0.22);
}

@keyframes npPulseOrb {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes npThinkingIcon {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-4px) rotate(4deg);
  }
}

/* Intro stagger */
.np-animate-intro-icon {
  opacity: 0;
  animation: npIntroIcon 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.np-animate-intro-title {
  opacity: 0;
  animation: npIntroTitle 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.14s forwards;
}

.np-animate-intro-subtitle {
  opacity: 0;
  animation: npIntroSubtitle 0.58s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

.np-animate-intro-button {
  opacity: 0;
  animation: npIntroButton 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

@keyframes npIntroIcon {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes npIntroTitle {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes npIntroSubtitle {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes npIntroButton {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  45% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

/* Step harmony */
.np-progress-animate {
  opacity: 0;
  animation: npFadeUpTiny 0.28s ease 0.02s forwards;
}

.np-header-animate {
  opacity: 0;
  animation: npHeaderSlideIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.np-field-animate {
  opacity: 0;
  animation: npFieldIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) var(--np-delay, 0.16s) forwards;
}

.np-actions-animate {
  opacity: 0;
  animation: npFadeUpTiny 0.34s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}

.np-results-title-animate {
  opacity: 0;
  animation: npFadeUpSoft 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.16s forwards;
}

.np-results-subtitle-animate {
  opacity: 0;
  animation: npFadeUpSoft 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

@keyframes npFadeUpTiny {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes npHeaderSlideIn {
  from {
    opacity: 0;
    transform: translateX(22px) translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes npFieldIn {
  0% {
    opacity: 0;
    transform: translateY(8px) translateX(8px);
  }
  70% {
    opacity: 1;
    transform: translateY(-2px) translateX(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

@keyframes npFadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.np-results-card {
  max-width: 760px;
}

.np-tabs {
  display: flex;
  gap: 10px;
  margin: 18px 0px;
  border-bottom: 1px solid #e5e7eb;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.np-tabs::-webkit-scrollbar {
  display: none;
}

.np-tab {
  appearance: none;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #64748b;
  padding: 12px 12px 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  scroll-snap-align: start;
  min-height: 46px;
}

.np-tab:hover {
  color: #111827;
  background: rgba(56, 124, 224, 0.04);
}

.np-tab.is-active {
  color: #387ce0;
  border-bottom-color: #387ce0;
  box-shadow: 0 1px 0 rgba(56, 124, 224, 0.18);
}

.np-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.np-tab-panel-wrap {
  min-height: 220px;
  margin-top: 6px;
}

.np-result-block {
  display: grid;
  gap: 18px;
}

.np-result-pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  background: #f8fafc;
  border: 1px solid #e9eef5;
  border-radius: 18px;
  padding: 18px;
  font: inherit;
  line-height: 1.6;
  color: #111827;
}

.np-result-scroll-wrap {
  max-height: 420px;
  overflow-y: auto;
  border-radius: 18px;
  padding-right: 6px;
}

.np-result-pre-scroll {
  min-height: 100%;
}

.np-result-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.np-edit-item {
  display: grid;
  gap: 10px;
}

.np-edit-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.np-edit-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}

.np-edit-help {
  margin: 6px 0 0;
  color: #64748b;
  line-height: 1.55;
  font-size: 0.95rem;
}

.np-missing-item {
  display: grid;
  gap: 10px;
  border-radius: 18px;
  padding: 16px;
}

.np-missing-low {
  border: 1px solid #dbeafe;
  background: #eff6ff;
}

.np-missing-medium {
  border: 1px solid #fde68a;
  background: #fffbeb;
}

.np-missing-high {
  border: 1px solid #fecdd3;
  background: #fff1f2;
}

.np-missing-badge {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.np-missing-low .np-missing-badge {
  background: #dbeafe;
  color: #1d4ed8;
}

.np-missing-medium .np-missing-badge {
  background: #fef3c7;
  color: #b45309;
}

.np-missing-high .np-missing-badge {
  background: #ffe4e6;
  color: #be123c;
}

.np-missing-copy {
  color: #1f2937;
  line-height: 1.6;
}

.np-missing-group {
  display: grid;
  gap: 14px;
}

.np-missing-group + .np-missing-group {
  padding-top: 8px;
  border-top: 1px solid #eef2f7;
}

.np-missing-group-head {
  display: grid;
  gap: 4px;
}

.np-missing-group-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.np-missing-group-subtitle {
  margin: 0;
  color: #64748b;
  font-size: 0.93rem;
  line-height: 1.55;
}

.np-missing-group-list {
  display: grid;
  gap: 12px;
}

.np-results-actions {
  margin-top: 8px;
  justify-content: center;
}

.np-results-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}

.np-results-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #16a34a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  /* box-shadow: 0 12px 28px rgba(22, 163, 74, 0.18); */
}

.np-results-header-copy {
  min-width: 0;
}

.np-result-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 22px;
  display: grid;
  gap: 16px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
}

.np-result-panel-master {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.np-result-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.np-result-panel-title {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.np-results-actions-left {
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.np-results-primary-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0;
  
}

.np-results-secondary-stack {
  display: grid;
  gap: 18px;
  margin-top: 40px;
}

.np-edit-list,
.np-missing-list {
  display: grid;
  gap: 16px;
}

.np-edit-card {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.np-icon-button {
  appearance: none;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  color: #387ce0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, min-width 0.18s ease;
}

.np-icon-button:hover {
  background: #eff6ff;
  transform: translateY(-1px);
}

.np-icon-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.np-icon-button-label {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.np-icon-button-success-label {
  display: none;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.np-icon-button.is-copied {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
  min-width: 96px;
}

.np-icon-button.is-copied .np-icon-button-icon,
.np-icon-button.is-copied .np-icon-button-label {
  display: none;
}

.np-icon-button.is-copied .np-icon-button-success-label {
  display: inline;
}

.np-save-panel {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #e5edf7;
  border-radius: 22px;
  padding: 22px;
  display: grid;
  gap: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  margin-top: 0;
}

.np-save-panel-copy {
  display: grid;
  gap: 6px;
}

.np-save-panel-title {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
}

.np-save-panel-text {
  margin: 0;
  color: #475569;
  line-height: 1.6;
  max-width: 560px;
}

.np-save-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.np-save-email-field {
  grid-column: 1 / -1;
}

.np-save-checks {
  display: grid;
  gap: 10px;
}

.np-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-size: 0.95rem;
}

.np-check input {
  width: 16px;
  height: 16px;
}

.np-save-actions {
  justify-content: flex-start;
  margin-top: 4px;
}

.np-save-message {
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.np-save-message-success {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.np-save-message-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.np-course-cta {
  border: 1px solid #e5edf7;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  padding: 20px;
  display: grid;
  gap: 14px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.np-course-cta-title {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
}

.np-course-cta-text {
  margin: 0;
  color: #475569;
  line-height: 1.6;
  max-width: 560px;
  margin-inline: auto;
}

.np-course-cta-actions {
  display: flex;
  justify-content: center;
}

.np-result-helper {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 620px;
}

.np-link-button {
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.np-link-button:hover {
  color: #1e293b;
  opacity: 0.8;
}

.np-link-button-tertiary {
  color: #64748b;
}

.np-link-button-tertiary:hover {
  color: #0f172a;
}

.np-result-block {
  display: grid;
  gap: 18px;
}

.np-footer p {
    color: #9ca3af;
}

.np-footer h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.8rem;
}

.np-footer a {
    color: #9ca3af !important;
}

.np-footer a:hover {
    color: #fff;
}

.np-footer-prompter-header {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
}

/* Mobile-only Styles */
@media (max-width: 768px) {
  .np-app-shell,
  #namynot-prompter-app,
  .np-app {
    min-height: auto;
  }

  .np-app {
    display: block;
    padding: 8px 16px 24px;
  }

  .np-app-intro {
    display: block;
  }

  .np-card {
    padding: 22px 14px;
    border-radius: 24px;
  }

  .np-card-intro {
    min-height: 0;
  }

  .np-intro-stack {
    max-width: 100%;
  }

  .np-title {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .np-intro-copy {
    font-size: 1.1rem;
    line-height: 1.65;
  }
  
  .np-app {
    padding: 24px 16px;
  }

  .np-card {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .np-title {
    font-size: clamp(2.3rem, 10vw, 3.3rem);
  }

  .np-step-title {
    font-size: 1.5rem;
  }

  .np-step-subtitle,
  .np-copy,
  .np-course-cta-text,
  .np-save-panel-text {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .np-actions {
    flex-direction: column;
  }

  .np-actions .np-button {
    width: 100%;
  }
  
  .np-save-grid {
    grid-template-columns: 1fr;
  }

  .np-save-email-field {
    grid-column: auto;
  }
  
  .np-results-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .np-results-header-copy {
    display: grid;
    gap: 8px;
    justify-items: center;
  }

  .np-results-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin: 0 auto;
  }

  .np-results-header .np-step-title,
  .np-results-header .np-step-subtitle {
    text-align: center;
    max-width: 100%;
  }

  .np-tabs-wrap {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding-bottom: 0;
  }

  .np-tabs-wrap::before,
  .np-tabs-wrap::after,
  .np-tabs::before,
  .np-tabs::after {
    content: none !important;
    display: none !important;
  }

  .np-tab {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid #e5edf7;
    border-bottom: 1px solid #e5edf7;
    background: #f8fafc;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    box-shadow: none;
    white-space: normal;
  }

  .np-tab:hover {
    background: #f8fafc;
    color: #0f172a;
  }

  .np-tab.is-active {
    border-color: #bfd6f5;
    border-bottom-color: #bfd6f5;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(56, 124, 224, 0.08);
  }

  .np-tab-icon {
    flex: 0 0 auto;
  }

  .np-tab-panel-wrap {
    margin-top: 14px;
  }

  .np-result-panel,
  .np-save-panel,
  .np-course-cta {
    /* padding: 16px 14px;
    border-radius: 18px; */
  }
  
  .np-result-panel-head {
    margin-bottom: 12px;
  }
  
  .np-result-helper {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 12px;
  }
  
  .np-result-panel-title {
    font-size: 1.15rem;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .np-edit-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }
  
  .np-result-pre,
  .np-result-pre-scroll {
    padding: 14px 14px;
    border-radius: 14px;
    font-size: 0.96rem;
    line-height: 1.72;
  }
  
  .np-edit-list {
    gap: 14px;
  }
  
  .np-edit-card {
    padding: 14px;
    border-radius: 18px;
    gap: 14px;
  }

  .np-edit-head > div {
    min-width: 0;
  }

  .np-edit-title {
    font-size: 0.95rem;
    line-height: 1.18;
    margin: 0;
  }
  
  .np-edit-copy,
  .np-edit-head .np-button,
  .np-edit-head button {
    width: fit-content;
    min-width: 0;
    justify-self: start;
    white-space: nowrap;
    padding: 10px 16px;
  }

  .np-edit-card .np-result-pre,
  .np-edit-card .np-result-pre-scroll,
  .np-edit-card pre,
  .np-edit-card textarea {
    padding: 12px 12px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.68;
    background: #f8fafc;
    border-color: #e8eef7;
    box-shadow: none;
  }

  .np-edit-help {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-top: 2px;
    max-width: none;
  }

  .np-results-actions-left {
    justify-content: stretch;
  }

  .np-results-actions-left .np-button,
  .np-results-actions-left .np-link-button,
  .np-results-primary-actions .np-button,
  .np-results-primary-actions .np-link-button {
    width: 100%;
  }

  .np-results-primary-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .np-save-actions {
    flex-direction: column;
  }

  .np-advanced-summary {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .np-design-vibe-grid {
    grid-template-columns: 1fr;
  }

  .np-design-vibe-card {
    padding: 12px;
  }

  .np-design-vibe-card-label {
    font-size: 0.95rem;
  }

  .np-design-vibe-card-help {
    font-size: 0.88rem;
  }
}

/* Remove unnecessary page padding on Prompter app */
.edgtf-content .edgtf-content-inner>.edgtf-container>.edgtf-container-inner, .edgtf-content .edgtf-content-inner>.edgtf-full-width>.edgtf-full-width-inner {
    padding: 0 !important;
}