.steps-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  counter-reset: step;
}

.steps-list li {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
  counter-increment: step;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.5;
}

.steps-list li:last-child {
  border-bottom: none;
}

.steps-list li::before {
  content: counter(step);
  min-width: 1.75rem;
  height: 1.75rem;
  background: #00c853;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.trouble-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  background: #fff;
}

.trouble-card__title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #111;
  margin: 0 0 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trouble-card__title::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fef2f2;
  color: #dc2626;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.trouble-card p {
  margin: 0 0 0.3rem;
  font-size: 0.83rem;
  color: #4b5563;
  line-height: 1.5;
}

.trouble-card p:last-child {
  margin-bottom: 0;
}

.trouble-card__fix {
  color: #15803d !important;
  font-weight: 500;
}

.code-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  margin: 1rem 0 1.25rem;
}

.code-stat {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: .6rem .5rem;
  text-align: center;
}

.code-stat__label {
  font-size: .68rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .2rem;
}

.code-stat__value {
  font-size: .95rem;
  font-weight: 700;
  color: #111;
}

@media (max-width: 480px) {
  .code-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.callout--warning {
  border: 1px solid #fdba74;
  border-left: 4px solid #f97316;
  background: #fff8f0;
}

.pay-kv {
  min-width: 0;
}

.pay-v {
  overflow-wrap: anywhere;
}

.rule-box {
  background: #fff8f0;
  border: 2px solid #fed7aa;
  border-left: 4px solid #f97316;
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0;
}

.rule-box__title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #9a3412;
  margin: 0 0 0.4rem;
}

.rule-box p {
  margin: 0;
  font-size: 0.875rem;
  color: #431407;
  line-height: 1.55;
}

.pay-card-head .pay-badge {
  flex-shrink: 0;
}
