/* Your account: the page with the credits, the plan, the payments and the account, and Stripe's
   customer portal (it borrows the checkout's look: Stripe's page, never the app's). The rows, the plan
   card and the sheets are the library's (features/library/style.css) */
.ac { max-width: 1120px; }
.ac-cols { display: grid; gap: 28px; }
.ac-col { display: grid; gap: 28px; align-content: start; }
@container app (min-width: 900px) { .ac-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.ac-n { font: 500 22px/1 var(--mono); color: var(--ai-ink); }
.ac .lb-rows dd .btn { min-height: 44px; padding: 8px 14px; font-size: 14px; }
.ac [data-hook="ac-credits"] .lb-rows dt { display: grid; gap: 2px; }
.ac [data-hook="ac-credits"] .lb-rows dt small { font-size: 13px; color: var(--muted); }
.ac [data-hook="ac-credits"] .lb-rows dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ac-gone dt, .ac-gone dd { color: var(--muted) !important; }
.ac [data-hook="ac-credits"] .lb-quiet { margin: 10px 2px 0; font-size: 13px; }
.ac-on-stripe { align-self: center; font-size: 13px; color: var(--muted); }
.lb-acct-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 12px 16px; border: 1px solid var(--line); border-radius: calc(18px * var(--round, 1)); background: var(--sheet); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.lb-acct-link:hover { border-color: var(--line-2); background: var(--panel); }
.lb-acct-link span { display: grid; gap: 2px; }
.lb-acct-link b { font-weight: 600; font-size: 15px; }
.lb-acct-link small { font-size: 13px; color: var(--muted); }
.lb-acct-link svg { flex: none; width: 18px; height: 18px; transform: scaleX(-1); color: var(--muted); }

/* Stripe's customer portal */
.pt-card { display: grid; gap: 14px; max-width: 520px; margin: 0 auto; padding: 20px 20px 36px; }
.pt-plan { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid #e3e1dc; border-radius: 8px; }
.pt-plan > div { display: grid; gap: 2px; }
.pt-plan b { font-weight: 600; }
.pt-plan span { font-size: 14px; color: #4f4e55; }
.pt-usd { font: 600 18px var(--sans); font-variant-numeric: tabular-nums; color: #1d1d22 !important; }
.pt-usd small { font-size: 13px; font-weight: 400; color: #4f4e55; }
.pt-when { margin: 0; font-size: 15px; }
.pt-cancel { height: 48px; border: 1px solid #d6d5d2; border-radius: 8px; background: #fff; color: #8c2f1b; font: 600 15.5px var(--sans); cursor: pointer; }
.pt-cancel:hover { background: #fdf3f0; }
.pt-fine { margin: -4px 0 0; font-size: 13px; color: #4f4e55; }
.pt-card .co-merchant { justify-self: start; margin-left: -4px; }
