/* El Sello: timeline editorial + checklist progresivo, cercado a Article V2. */
.sello-live,
.sello-demo-panel {
  margin: 2.2rem 0 2.8rem;
  padding: 1rem;
  border: 1px solid var(--article-border);
  border-radius: 1rem;
  background: var(--article-surface-muted);
}

.rx-body .sello-live h2 {
  margin: 0.35rem 0 0.45rem;
}

.rx-body .sello-live-intro {
  margin-bottom: 1rem;
  color: var(--article-ink-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.sello-live-kicker {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--article-accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.sello-live-kicker span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: currentColor;
}

.sello-live-list {
  display: grid;
  gap: 0.55rem;
}

.sello-live details {
  border: 1px solid var(--article-border);
  border-radius: 0.75rem;
  background: var(--article-surface);
}

.sello-live summary {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem;
  cursor: pointer;
  list-style: none;
}

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

.sello-live summary time {
  color: var(--article-accent);
  font-size: 0.72rem;
  font-weight: 850;
}

.sello-live details[open] summary > span {
  transform: rotate(45deg);
}

.sello-live-detail {
  padding: 0 0.85rem 0.9rem 5.55rem;
}

.rx-body .sello-live-detail p {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.sello-live-detail > div,
.sello-demo-status,
.sello-demo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.sello-interest {
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: var(--article-accent);
  color: #12110e;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.sello-live a {
  color: var(--article-link);
  font-size: 0.78rem;
  font-weight: 750;
}

.sello-demo-panel {
  margin: 1rem 0 1.1rem;
}

.sello-demo-status {
  margin-bottom: 0.7rem;
  font-size: 0.88rem;
  font-weight: 750;
}

.sello-demo-bar {
  height: 0.45rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--article-border);
}

.sello-demo-bar > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--article-accent);
  transition: width 180ms ease;
}

.sello-demo-actions {
  justify-content: flex-start;
  margin-top: 0.9rem;
}

body.qsd-article-v2 .sello-demo-actions a {
  min-height: 2.7rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: var(--article-accent);
  color: #12110e;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

.rx-body ul.sello-checklist {
  display: grid;
  gap: 0.65rem;
  margin-top: 0;
  padding: 0;
  list-style: none;
}

.rx-body .sello-checklist li {
  margin: 0;
  padding: 0;
}

.sello-step {
  display: grid;
  grid-template-columns: 1.65rem 1fr;
  gap: 0.7rem;
  width: 100%;
  padding: 0.85rem;
  border: 1px solid var(--article-border);
  border-radius: 0.8rem;
  background: var(--article-surface-muted);
  color: var(--article-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}

.sello-step::before {
  content: "○";
  color: var(--article-accent);
  font-size: 1.45rem;
  line-height: 1;
}

.sello-step[aria-pressed="true"] {
  border-color: var(--article-accent);
}

.sello-step[aria-pressed="true"]::before {
  content: "✓";
  font-weight: 900;
}

.sello-step:focus-visible {
  outline: 3px solid var(--article-accent);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .sello-live,
  .sello-demo-panel {
    padding: 0.8rem;
  }

  .sello-live summary {
    grid-template-columns: 3.4rem 1fr auto;
    padding: 0.75rem;
  }

  .sello-live-detail {
    padding: 0 0.75rem 0.8rem;
  }
}
