/* Purchase controls share the existing Pro comparison page. */
.pro-opening-page [hidden] { display: none !important; }
.payment-auth-gate { width: min(480px,calc(100% - 40px)); margin: 64px auto; padding: 36px; border: 1px solid var(--line); border-radius: 28px; background: #fff; text-align: center; }
.payment-auth-gate h1 { margin: 24px 0 12px; font-size: 27px; line-height: 1.3; letter-spacing: -.025em; }
.payment-auth-gate > p { color: #626269; font-size: 14px; line-height: 1.7; }
.payment-auth-gate .payment-auth-price { margin: 18px 0 0; font-size: 15px; }
.payment-auth-price strong { color: #1d1d1f; font-size: 23px; }
.payment-auth-spinner { display: block; width: 24px; height: 24px; margin: 24px auto; border: 2px solid #e6edf5; border-top-color: #096dcc; border-radius: 50%; animation: payment-auth-spin .9s linear infinite; }
.payment-auth-fallback { display: grid; justify-items: center; gap: 10px; margin-top: 24px; }
.payment-auth-back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: #626269; font-size: 13px; text-underline-offset: 3px; }
.payment-auth-offer:empty { display: none; }
.pro-early-price { margin: 24px 0 0; color: #096dcc; font-size: 14px; font-weight: 650; }
.pro-early-price + .pro-price { margin-top: 4px; }
@keyframes payment-auth-spin { to { transform: rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { .payment-auth-spinner { animation: none; border-style: dotted; } }
.payment-account { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.payment-access { color: #515156; font-size: 13px; line-height: 1.6; }
#account { margin: 0; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.payment-access { margin: 8px 0; white-space: pre-line; }
#googleSignInButton { min-height: 44px; max-width: 100%; overflow: hidden; }
.payment-buy, .payment-secondary { min-height: 46px; border: 0; border-radius: 12px; padding: 12px 16px; font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; }
.payment-buy { width: 100%; margin-top: 20px; background: #096dcc; color: #fff; }
.payment-buy:hover:not(:disabled) { background: #075eaf; }
.payment-buy:disabled, .payment-secondary:disabled { opacity: .6; cursor: default; }
.payment-secondary { background: #edf4fc; color: #075eaf; margin-top: 12px; }
.payment-text-button { border: 0; padding: 8px 0; color: #096dcc; background: none; font: inherit; font-size: 13px; cursor: pointer; }
.payment-notice { font-size: 13px; line-height: 1.65; margin: 12px 0 0; overflow-wrap: anywhere; white-space: pre-line; }
.payment-test-note { padding: 12px; border-radius: 10px; background: #fff2d9; color: #76500a; font-size: 13px; line-height: 1.6; }
.payment-policy, .payment-order-help { color: #626269; font-size: 12px; line-height: 1.65; }
.payment-policy a, .payment-success a { color: #096dcc; text-decoration: underline; text-underline-offset: 3px; }
.payment-success { margin-top: 20px; padding: 16px; background: #edf7f1; border-radius: 12px; font-size: 14px; color: #20583b; }
.payment-success p { margin: 8px 0; font-size: 13px; line-height: 1.6; }
.payment-orders { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px; }
.payment-orders summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.payment-order { border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 13px; }
.payment-order p { margin: 6px 0; color: #626269; line-height: 1.5; }
.payment-order details { margin-top: 6px; color: #626269; overflow-wrap: anywhere; }
.pro-opening-page button:focus-visible, .pro-opening-page a:focus-visible, .pro-opening-page summary:focus-visible { outline: 3px solid #80baff; outline-offset: 3px; }
@media (max-width: 420px) {
  .payment-auth-gate { margin: 32px auto; padding: 26px 20px; }
  #googleSignInButton { width: 100%; }
  .pro-purchase-hero { padding: 22px 14px; }
}
