.px-example {
  --px-accent: #be185d;
  --px-strong: #9d174d;
  --px-soft: #fce7f1;
  --px-ink: #0a2540;
  --px-muted: #5f6f82;
  color: var(--px-ink);
}
.px-example svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.px-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.px-heading h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
}
.px-version {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--px-soft);
  color: var(--px-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.px-intro {
  margin: 10px 0 0 !important;
  color: var(--px-muted);
  font-size: 13px;
  line-height: 1.6;
}

.px-checklist {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.px-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.5;
}
.px-checklist svg {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--px-accent);
}

.px-fr-actions {
  margin-top: 18px;
}
.px-fr-rollout {
  margin-top: 18px;
}
.px-fr-rollout-heading {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--px-muted);
}
.px-fr-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 26px;
}
.px-fr-node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--px-accent);
}
.px-fr-trunk {
  width: 2px;
  flex: 1;
  margin-top: 2px;
  background: var(--px-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s ease;
}
.px-fr-trunk.px-fr-grown {
  transform: scaleY(1);
}
.px-fr-locations {
  margin-top: 4px;
  transition: opacity 0.3s ease;
}
.px-franchise[data-fr-phase="draft"] .px-fr-locations {
  opacity: 0.55;
}

.px-am-item[hidden] {
  display: none;
}
.px-am-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
}
.px-am-study-head {
  margin-top: 4px;
}
.px-am-study-head h4 {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 600;
}
.px-am-safety {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  line-height: 1.5;
}
.px-am-safety svg {
  color: #92400e;
  margin-top: 1px;
}

.px-am-open,
.px-am-back,
.px-reset {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 16px;
  padding: 10px 16px;
  border: 1px solid var(--px-soft);
  border-radius: 6px;
  background: #fff;
  color: var(--px-strong);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.px-am-open svg,
.px-am-back svg {
  color: var(--px-accent);
}
.px-am-back svg {
  transform: rotate(90deg);
}
.px-am-open:hover,
.px-am-back:hover,
.px-reset:hover {
  background: var(--px-soft);
}

.px-cr-panel h4 {
  margin: 14px 0 0;
  font-size: 18px;
  font-weight: 600;
}
.px-cr-panel > p {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--px-muted);
}
.px-cr-packet {
  margin-top: 14px;
}

@media (prefers-reduced-motion: no-preference) {
  .px-nudge {
    animation: px-pulse 2.6s ease-in-out infinite;
  }
  @keyframes px-pulse {
    0%,
    100% {
      box-shadow: 0 0 0 0 rgba(190, 24, 93, 0.22);
    }
    50% {
      box-shadow: 0 0 0 7px rgba(190, 24, 93, 0);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .px-fr-trunk,
  .px-fr-locations {
    transition: none;
  }
}

@media (max-width: 620px) {
  .px-am-open,
  .px-am-back,
  .px-reset {
    width: 100%;
    justify-content: center;
  }
}
