.prompt-index-page {
  align-items: stretch;
}

.prompt-index-card {
  width: 100%;
}

.prompt-index-header {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.prompt-index-header .card-title {
  font-size: 28px;
}

.prompt-eyebrow {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 133, 124, 0.2);
  background: rgba(0, 133, 124, 0.07);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.prompt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.prompt-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  background:
    linear-gradient(135deg, rgba(0, 133, 124, 0.08), rgba(255, 255, 255, 0) 42%),
    #ffffff;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.prompt-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--brand);
}

.prompt-item:hover {
  border-color: rgba(0, 133, 124, 0.32);
  box-shadow: 0 14px 34px rgba(0, 133, 124, 0.14);
  transform: translateY(-1px);
  text-decoration: none;
}

.prompt-item-main {
  min-width: 0;
  padding-left: 4px;
}

.prompt-item-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.prompt-badge,
.prompt-meta {
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.prompt-badge {
  padding: 5px 9px;
  background: rgba(0, 133, 124, 0.1);
  color: var(--brand);
}

.prompt-meta {
  color: var(--muted);
}

.prompt-name {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.prompt-desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.prompt-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(0, 133, 124, 0.08);
  color: var(--brand);
  font-size: 18px;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

.prompt-item:hover .prompt-arrow {
  background: rgba(0, 133, 124, 0.14);
  transform: translateX(3px);
}

@media (max-width: 720px) {
  .prompt-index-header .card-title {
    font-size: 24px;
  }

  .prompt-item {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .prompt-arrow {
    width: 100%;
    height: 36px;
    border-radius: 12px;
  }
}
