.custom-stage-wrapper {
  position: relative;
  z-index: 10;
  font-family: var(--t-text-font, Arial);
  color: #f0eee9;
  /* Убираем фиксированную высоту, чтобы блок мог расти */
  height: auto; 
  min-height: 100px;
}

/* Стили для списка */
.custom-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0; /* 1.5rem ≈ 24px */
}

.custom-list li {
  padding: 0.75rem 0; /* ≈ 12px */
  border-bottom: 1px solid #303536;
  font-size: 0.75rem; /* ≈ 12px */
  display: flex;
  gap: 1rem; /* ≈ 16px */
  align-items: flex-start;
  line-height: 1.5;
}

.custom-list li::before {
  content: '↗';
  color: #d18c66;
  flex-shrink: 0;
}

/* Стили для details (аккордеона) */
.custom-details {
  margin-bottom: 1.5rem;
}

.custom-details summary {
  cursor: pointer;
  color: #dfa27b;
  font-size: 0.75rem; /* ≈ 13px */
  padding: 0.625rem 0; /* ≈ 10px */
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.custom-details summary::-webkit-details-marker {
  display: none;
}

.custom-details summary::before {
  content: '→';
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.875rem;
}

.custom-details[open] summary::before {
  transform: rotate(90deg);
}

/* Стили для результата */
.custom-result {
  padding: 1.25rem 1.5rem; /* ≈ 20px 24px */
  background: #202525;
  border-left: 2px solid #da8858;
  margin-top: 1.5rem;
  /* Важно: делаем блок "прозрачным" для кликов, чтобы под ним ничего не блокировалось */
  position: relative; 
  z-index: 1;
}

.custom-result small {
  display: block;
  color: #d18c66;
  font-size: 0.625rem; /* ≈ 10px */
  letter-spacing: 0.16em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.custom-result p {
  margin: 0;
  font-size: 0.875rem; /* ≈ 14px */
  line-height: 1.6;
}