/* Scoped enhancement for /recurring-payments/. */
.entry-content .dsm-rp-sim {
  overflow: hidden;
  border: 1px solid rgba(1, 44, 61, 0.12);
  border-radius: 14px;
  color: var(--ink);
  background: #f8fbfd;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.entry-content .dsm-rp-sim-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(1, 44, 61, 0.12);
  background: #fff;
}

.entry-content .dsm-rp-sim-kicker,
.entry-content .dsm-rp-sim-time {
  color: #5a6d7a;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.entry-content .dsm-rp-sim-title {
  min-width: 0;
  color: #012c3d;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.2;
  text-align: center;
}

.entry-content .dsm-rp-sim-body {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.entry-content .dsm-rp-sim-tabs {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
}

.entry-content .dsm-rp-sim-tabs span,
.entry-content .dsm-rp-sim-tabs strong {
  border: 1px solid rgba(1, 44, 61, 0.12);
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.entry-content .dsm-rp-sim-tabs span {
  color: #5a6d7a;
  background: #fff;
}

.entry-content .dsm-rp-sim-tabs strong {
  border-color: #2f6fae;
  color: #fff;
  background: #2f6fae;
}

.entry-content .dsm-rp-sim-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.entry-content .dsm-rp-sim-range span {
  border: 1px solid rgba(1, 44, 61, 0.12);
  border-radius: 8px;
  padding: 8px 10px;
  color: #5a6d7a;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.entry-content .dsm-rp-sim-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  background: transparent;
}

.entry-content .dsm-rp-sim-stat {
  display: block;
  min-width: 0;
  border: 1px solid rgba(1, 44, 61, 0.12);
  border-radius: 8px;
  padding: 9px;
  background: #fff;
}

.entry-content .dsm-rp-sim-stat span {
  display: block;
  margin-bottom: 5px;
  color: #5a6d7a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.25;
  text-transform: uppercase;
}

.entry-content .dsm-rp-sim-stat strong {
  display: block;
  color: #012c3d;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1;
}

.entry-content .dsm-rp-sim-stat--good strong {
  color: #167a52;
}

.entry-content .dsm-rp-sim-stat--watch strong {
  color: #9a5a00;
}

.entry-content .dsm-rp-sim-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(11, 130, 189, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  background:
    linear-gradient(135deg, rgba(11, 130, 189, 0.11), rgba(22, 122, 82, 0.1)),
    #fff;
}

.entry-content .dsm-rp-sim-total span {
  color: #5a6d7a;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.entry-content .dsm-rp-sim-total strong {
  color: #012c3d;
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  line-height: 0.95;
  white-space: nowrap;
}

.entry-content .dsm-rp-sim-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(1, 44, 61, 0.09);
}

.entry-content .dsm-rp-sim-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0b82bd, #23a47a);
  transition: width 700ms ease;
}

.entry-content .dsm-rp-sim-feed {
  display: grid;
  gap: 8px;
}

.entry-content .dsm-rp-sim-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(1, 44, 61, 0.12);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}

.entry-content .dsm-rp-sim-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #0b82bd;
  box-shadow: 0 0 0 4px rgba(11, 130, 189, 0.12);
}

.entry-content .dsm-rp-sim-row strong {
  display: block;
  color: #012c3d;
  font-size: 0.92rem;
  line-height: 1.2;
}

.entry-content .dsm-rp-sim-row span:not(.dsm-rp-sim-dot) {
  display: block;
  color: #5a6d7a;
  font-size: 0.78rem;
  line-height: 1.25;
}

.entry-content .dsm-rp-sim-badge {
  display: inline-flex;
  justify-content: center;
  min-width: 70px;
  margin-left: 0;
  border-radius: 999px;
  padding: 5px 8px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.entry-content .dsm-rp-sim-badge--paid {
  background: #167a52;
}

.entry-content .dsm-rp-sim-badge--watch {
  background: #b7791f;
}

.entry-content .dsm-rp-sim-badge--queued {
  background: #0b82bd;
}

.entry-content .dsm-rp-sim-footer {
  padding: 12px 14px 14px;
  color: #d8eaf1;
  background: #012c3d;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
}

.entry-content .dsm-rp-sim-footer strong {
  display: block;
  margin-bottom: 1px;
  color: #fff;
}

@media (max-width: 520px) {
  .entry-content .dsm-rp-visual {
    padding: 8px;
  }

  .entry-content .dsm-rp-sim-tabs,
  .entry-content .dsm-rp-sim-range,
  .entry-content .dsm-rp-sim-feed {
    display: none;
  }

  .entry-content .dsm-rp-sim-top {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 10px;
    padding: 11px 12px;
  }

  .entry-content .dsm-rp-sim-title {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }

  .entry-content .dsm-rp-sim-body {
    gap: 9px;
    padding: 10px;
  }

  .entry-content .dsm-rp-sim-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .entry-content .dsm-rp-sim-stat {
    min-height: 78px;
    padding: 8px 5px;
    text-align: center;
  }

  .entry-content .dsm-rp-sim-stat span {
    display: flex;
    min-height: 2.5em;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    font-size: 0.61rem;
  }

  .entry-content .dsm-rp-sim-stat strong {
    font-size: 1.25rem;
  }

  .entry-content .dsm-rp-sim-total {
    padding: 9px 10px;
  }

  .entry-content .dsm-rp-sim-total strong {
    font-size: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .entry-content .dsm-rp-sim-progress span {
    transition: none;
  }
}
