/*
  Immediate plan upgrade page (owner decision 2 Dec 2026, design Upgrade.dc.html) on the D164 tokens of customer.css:
  the plan cards (current, chosen, other bigger plans), "right after payment" and the calculation box. No inline style:
  everything is here. The Pricing and Plan & Usage upgrade buttons use the shared cu-btn classes.
*/

.cu-up-plans {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.cu-up-card--current {
  background: var(--cu-surface-3);
}

.cu-up-card__price {
  margin: 0;
  color: var(--cu-muted);
  font-size: var(--cu-fs-sm);
}

.cu-up-now {
  display: flex;
  flex-direction: column;
  gap: var(--cu-s3);
}

.cu-up-now__title {
  margin: 0;
  font-size: var(--cu-fs-md);
  font-weight: 700;
}

.cu-up-now__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--cu-s3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cu-up-now__cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--cu-surface-3);
  font-size: var(--cu-fs-sm);
  line-height: 1.8;
}

.cu-up-now__note {
  color: var(--cu-muted);
}

.cu-up-sum {
  display: flex;
  flex-direction: column;
  gap: var(--cu-s3);
}

.cu-up-formula {
  color: var(--cu-muted);
  font-size: var(--cu-fs-xs);
}

.cu-up-credit {
  color: var(--cu-ok);
}

.cu-up-end {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--cu-brand-soft);
  color: var(--cu-brand-ink);
  font-size: var(--cu-fs-sm);
  line-height: 1.9;
}

.cu-up-foot {
  text-align: center;
}

/* Pricing: the amount to pay today under an upgrade button, and the reason under a disabled button. */
.cu-up-hint {
  display: block;
  margin-top: var(--cu-s2);
  color: var(--cu-muted);
  font-size: var(--cu-fs-xs);
  text-align: center;
}
