/* Package moderation — extends home-v3 + migration/lms/crm/hosting */

.so-page-package-moderation .sopm-hero {
  min-height: min(720px, 100vh);
  padding: 120px 0 64px;
}

.so-page-package-moderation .sopm-hero .so3-hero__title {
  max-width: 14em;
}

.so-page-package-moderation .sopm-hero .so3-hero__sub {
  max-width: 48ch;
}

.sopm-path {
  list-style: none;
  margin: 0;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  min-width: min(100%, 420px);
}

.sopm-path__node {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(129, 87, 246, 0.18);
  border: 1px solid rgba(129, 87, 246, 0.35);
}

.sopm-path__code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #d7c9ff;
}

.sopm-path__label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}

.sopm-path__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.1rem;
}

.sopm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.sopm-steps__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #ebe7f5;
}

.sopm-steps__num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: Unbounded, sans-serif;
  font-weight: 600;
  background: #8157f6;
  color: #fff;
}

.sopm-steps__item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.sopm-steps__item p {
  margin: 0;
  color: #55556b;
}

.sopm-enable__text {
  margin: 0 0 12px;
  max-width: 62ch;
  color: #55556b;
}

.sopm-enable__link {
  margin: 0 0 20px;
}

.sopm-enable__link a,
.sopm-sla__note a,
.sopm-fork__link a {
  color: #8157f6;
  font-weight: 600;
  text-decoration: none;
}

.sopm-enable__link a:hover,
.sopm-sla__note a:hover,
.sopm-fork__link a:hover {
  text-decoration: underline;
}

.sopm-code {
  overflow-x: auto;
  border-radius: 16px;
  background: #22223b;
  border: 1px solid #35355a;
  -webkit-overflow-scrolling: touch;
}

.sopm-code pre {
  margin: 0;
  padding: 20px 22px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #e8e6f2;
  white-space: pre;
}

.sopm-code__mark {
  background: rgba(129, 87, 246, 0.45);
  color: #fff;
  padding: 0 4px;
  border-radius: 4px;
}

.sopm-who {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sopm-who .sol-card h3 {
  margin-bottom: 14px;
}

.sopm-sla {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sopm-sla__tile {
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #ebe7f5;
}

.sopm-sla__tile h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: #55556b;
}

.sopm-sla__value {
  margin: 0 0 10px;
  font-family: Unbounded, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #22223b;
  line-height: 1.2;
}

.sopm-sla__tile p:last-child {
  margin: 0;
  color: #55556b;
}

.sopm-sla__note,
.sopm-fork__link {
  margin: 20px 0 0;
}

.sopm-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid #ebe7f5;
  background: #fff;
}

.sopm-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.sopm-table th,
.sopm-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #ebe7f5;
  color: #55556b;
}

.sopm-table thead th {
  background: #f9f8fb;
  color: #22223b;
  font-weight: 600;
}

.sopm-table tbody th {
  color: #22223b;
  font-weight: 600;
  width: 22%;
}

.sopm-table tr:last-child th,
.sopm-table tr:last-child td {
  border-bottom: 0;
}

.sopm-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.sopm-home-link {
  margin: 20px 0 0;
}

.sopm-home-link a {
  color: #8157f6;
  font-weight: 600;
  text-decoration: none;
}

.sopm-home-link a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .sopm-path {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sopm-path__arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .sopm-who,
  .sopm-sla {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  .so-page-package-moderation .sopm-hero {
    padding: 96px 0 48px;
    min-height: 0;
  }

  .sopm-steps__item {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 16px;
  }

  .sopm-steps__num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 0.95rem;
  }

  .sopm-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sopm-cta__actions .so3-btn {
    width: 100%;
    text-align: center;
  }
}
