/* Pro upsell UI (v2b — see planning/v2-plan.md §6.4). Meant to be appended to
   www/css/styles.css once this moves out of prototype; uses the same CSS
   variables already defined there (--surface, --border, --accent, etc.) so it
   inherits light/dark mode for free. */

.pro-pill {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 6px;
}

/* Wraps a calculator's results/inputs section when the viewer isn't Pro. The
   content still renders underneath (so screen readers / view-source aren't
   hiding anything sneaky) but is visually blurred and non-interactive. */
.pro-locked {
  position: relative;
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}

.pro-lock-wrap {
  position: relative;
}

.pro-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px 20px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pro-lock-overlay .pro-lock-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
}

.pro-lock-overlay p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 40ch;
}

.pro-unlock-btn {
  border: none;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}
