/* ============================================================
   Method illustrations · CL-NEIRO-METHOD-ILLUSTRATIONS-PHASE1
   Generic helpers for /methods/{slug} pages.
   ============================================================ */
.method-explain {
  margin: 28px 0;
}
.method-explain__chart {
  background: #151d21;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  overflow-x: auto;
}
.method-explain__chart svg {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.method-explain__cells {
  display: grid;
  gap: 10px 12px;
  border-radius: 8px;
}
.method-explain__cells--bcg,
.method-explain__cells--2x2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.method-explain__cell {
  min-height: 110px;
  padding: 16px;
  color: #111;
  background: #FFE9D6;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.method-explain__cell strong {
  font-size: 1.05rem;
  line-height: 1.2;
}
.method-explain__cell span {
  font-size: .92rem;
  line-height: 1.35;
  opacity: .82;
}
.method-explain__cell--star {
  background: #FF7A1A;
  color: #fff;
}
.method-explain__cell--cash {
  background: #B84800;
  color: #fff;
}
.method-explain__cell--question {
  background: #FFE9D6;
}
.method-explain__cell--check {
  background: #FFB873;
}
.method-explain__cell--pos {
  background: #d4f5dd;
}
.method-explain__cell--neg {
  background: #fcd7d4;
}
.method-explain__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.method-explain__list li {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 12px 14px;
  color: rgba(255,255,255,.8);
}
.method-explain__list li strong {
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 4px;
  background: var(--accent, #FF7A1A);
  color: #fff;
  font-weight: 700;
  margin-right: 8px;
}
.method-explain__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  counter-reset: step;
}
.method-explain__steps li {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 6px 12px 6px 32px;
  position: relative;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
}
.method-explain__steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  background: var(--accent, #FF7A1A);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: .75rem;
}
.method-explain__caption {
  color: rgba(255,255,255,.62);
  font-size: .9rem;
  margin: 12px 0 0 0;
}
[data-theme="light"] .method-explain__chart {
  background: #fafafa;
  border-color: rgba(0,0,0,.08);
}
[data-theme="light"] .method-explain__list li,
[data-theme="light"] .method-explain__steps li {
  background: #f6f6f6;
  border-color: rgba(0,0,0,.08);
  color: #2a2a2a;
}
[data-theme="light"] .method-explain__caption {
  color: #555;
}
@media (max-width: 640px) {
  .method-explain__cells--bcg,
  .method-explain__cells--2x2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .method-explain__chart {
    padding: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .method-explain *,
  .method-explain *::before {
    animation: none !important;
    transition: none !important;
  }
}
