/* Public portal pages. Existing pricing-card rules moved here from portal.css. */
.portal-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.portal-plan-card {
  border: 1px solid var(--accent);
  border-radius: var(--portal-radius);
  padding: var(--portal-card-pad);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
}
.portal-plan-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}
.portal-plan-price {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.portal-plan-cycle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg-muted);
}
.portal-plan-features {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1rem;
  color: var(--fg);
}
.portal-plan-features li { margin-bottom: 0.25rem; }
.portal-plan-card .portal-btn {
  align-self: stretch;
  width: 100%;
  margin-top: auto;
  white-space: nowrap;
  line-height: inherit;
  justify-content: center;
}
.portal-plan-card .portal-plan-current {
  margin: auto 0 0;
  color: var(--status-brand);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
}
[data-palette="dark"] .portal-plan-card { border-color: rgba(255,255,255,0.08); }
