.account-page {max-width:1040px;padding-block:48px 72px;min-height:70vh}.account-page h1 {font-size:clamp(32px,4vw,46px);margin-top:14px}.account-page h2 {font-size:22px;margin:0 0 12px}.account-page h3 {font-size:18px;margin:0 0 8px}
.account-intro {max-width:650px;margin-bottom:30px}.account-intro p {color:var(--soft);margin:0}
.account-card {background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:28px}.account-auth {max-width:510px}
.account-page [hidden] {display:none!important}.account-page form {display:grid;gap:18px}.account-page label {display:grid;gap:7px;color:var(--soft);font-size:14px}.account-page input {width:100%;min-height:48px;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:10px 13px;font:inherit;color:var(--text)}
.account-page input:focus-visible {outline:2px solid var(--accent);outline-offset:3px}.account-page button {font-family:inherit;cursor:pointer}.account-page button:disabled {opacity:.6;cursor:wait;transform:none}.account-page .btn {min-height:46px}.account-page .optional {font-size:12px;color:var(--muted)}
.account-hint {font-size:14px;color:var(--muted);margin:0}.account-page .quiet {background:none;border:0;color:var(--accent);padding:10px 0;min-height:44px;font-size:14px;text-align:start}.account-page .quiet:hover {text-decoration:underline}
.account-page details {margin:0;padding:0;border:0;background:none}.account-page summary {font-size:14px;color:var(--soft);min-height:32px}.account-page details label {margin-top:14px}
.account-notice,.account-error {padding:12px 16px;border-radius:8px;font-size:14px;margin-bottom:20px;overflow-wrap:anywhere}.account-notice {background:var(--accent-soft);border:1px solid #f59e0b55;color:var(--soft)}.account-error {background:#ef444412;border:1px solid #ef444466;color:#fecaca}
.account-summary {display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;align-items:start;margin-bottom:24px}.account-summary p {margin:6px 0;color:var(--soft)}.account-summary #account-email {display:block;overflow-wrap:anywhere}.account-actions {display:flex;gap:12px;flex-wrap:wrap}
.account-section {margin-top:32px;padding:0}.account-offers {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.account-offer {position:relative;display:flex;flex-direction:column;gap:12px;padding:32px 24px 24px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.account-offer>.optional {position:absolute;top:10px;inset-inline-end:16px;font-size:11px}.account-offer.is-selected {border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.account-offer p {margin:0;color:var(--soft);font-size:14px}.account-offer .offer-price {font-size:30px;font-weight:750;color:var(--text);line-height:1.3}.account-offer .offer-price small {font-size:14px;font-weight:400;color:var(--muted)}.account-offer .btn {margin-top:auto;width:100%}
.checkout-methods {display:grid;gap:10px;margin-top:auto}.account-offer .checkout-button {margin-top:0;padding-inline:16px;gap:10px}.checkout-icon {width:20px;height:20px;flex:0 0 20px}.checkout-label {display:flex;flex-wrap:wrap;justify-content:center;column-gap:.45em;line-height:1.4;min-width:0}.checkout-price {white-space:nowrap}.account-offer .paypal-checkout {background:#0070ba;border-color:#0070ba;color:#fff}.account-offer .paypal-checkout:hover {background:#005ea6;border-color:#005ea6}.checkout-button:focus-visible {outline:2px solid #6cb9ef;outline-offset:3px}
.account-offers {grid-template-columns:minmax(0,1fr)}
.account-subscription {padding:28px;border-color:var(--accent)}
.account-billing-choices {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:0;padding:0;margin:0;min-width:0}
.account-billing-choices legend {font-size:14px;color:var(--soft);margin-bottom:10px}
.account-page .account-billing-choice {display:flex;align-items:center;gap:12px;padding:16px;min-height:84px;border:1px solid var(--line);border-radius:10px;background:var(--bg);cursor:pointer;transition:border-color .15s,background .15s}
.account-billing-choice:hover {border-color:var(--muted)}
.account-billing-choice:has(input:checked) {border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}
.account-billing-choice:focus-within {outline:2px solid var(--accent);outline-offset:3px}
.account-page .account-billing-choice input {width:18px;height:18px;min-height:0;padding:0;margin:0;flex:0 0 18px;accent-color:var(--accent)}
.account-billing-description {display:grid;gap:5px;min-width:0;line-height:1.5}
.account-billing-description strong {color:var(--text);font-size:16px}
.account-billing-description>span {font-size:14px;color:var(--soft)}
.account-passes {margin-top:4px}
.account-passes>.account-pass {display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:20px;padding:22px 24px}
.account-pass-copy {display:grid;gap:6px;min-width:0}
.account-pass-copy h3 {margin:0;font-size:17px}
.account-pass-copy>.payment-meta {font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.account-passes .offer-price {font-size:26px;white-space:nowrap}
.account-pass .checkout-methods {margin-top:0;min-width:0}
.account-pass .checkout-button {width:auto;min-height:44px;white-space:nowrap}
@media(max-width:760px) {.account-passes>.account-pass {grid-template-columns:auto minmax(0,1fr);gap:16px;padding:22px 20px}.account-pass-copy {grid-column:1/-1}.account-pass .checkout-methods {justify-self:end}.account-pass .checkout-button {font-size:14px;padding-inline:12px}}
@media(max-width:360px) {.account-passes>.account-pass {grid-template-columns:1fr}.account-pass .checkout-methods {justify-self:start}}
@media(max-width:480px) {.account-billing-choices {grid-template-columns:1fr}.account-subscription {padding:24px 20px}}
.account-notice:is([data-status=paid],[data-status=test_paid]) {background:#22c55e12;border-color:#22c55e55;color:#bbf7d0}.account-notice[data-status=rejected] {background:#ef444412;border-color:#ef444466;color:#fecaca}
.account-ledger {display:grid;gap:10px;margin:0;padding:0;list-style:none}.account-ledger li {display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;background:var(--panel);border:1px solid var(--line);border-radius:10px}.account-ledger p {margin:0}.account-ledger .payment-meta {font-size:12px;color:var(--muted);margin-top:4px}.account-ledger .payment-amount {text-align:end;white-space:nowrap}.payment-status {display:block;color:var(--muted);font-size:12px}.payment-status:is([data-status=paid],[data-status=test_paid]) {color:var(--ok)}.payment-status[data-status=rejected] {color:#fca5a5}
.account-next {margin-top:32px}.account-next ol {padding-inline-start:22px;color:var(--soft)}.account-next li+li {margin-top:8px}.account-next .cta {margin-top:20px}.account-footer {margin-top:24px}.account-footer p {font-size:13px;color:var(--muted)}
.account-auth .auth-mode-switch {margin:20px 0 0;padding-top:18px;border-top:1px solid var(--line);font-size:14px}
.account-identity {display:flex;gap:16px;align-items:flex-start;min-width:0}.account-identity>div {min-width:0}.account-avatar {width:64px;height:64px;flex:0 0 auto;border-radius:50%;border:1px solid var(--line);object-fit:cover}.account-summary #account-name {margin:0 0 4px;color:var(--text);font-weight:600}
.review-dialog {width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:30px;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--text);font:inherit;box-shadow:0 24px 80px #0008;overflow-y:auto}
.review-dialog::backdrop {background:#000a;backdrop-filter:blur(2px)}
.review-dialog .review-close {position:absolute;top:8px;inset-inline-end:8px;width:44px;min-height:44px;border:0;border-radius:8px;background:transparent;color:var(--soft);font-size:24px}
.review-dialog .review-close:hover {background:var(--panel-2)}
.review-eyebrow {display:block;margin-bottom:12px;color:#00d28e;font-size:13px;font-weight:650}
.review-dialog h2 {margin:0 0 12px;margin-inline-end:20px;font-size:24px;line-height:1.4}
.review-dialog p {margin:0;color:var(--soft);font-size:15px;line-height:1.7}
.review-actions {display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:26px}
.review-dialog .review-primary {border-color:#00b67a;background:#00b67a;color:#052e22}
.review-dialog .review-primary:hover {background:#00c987;border-color:#00c987}
.review-dialog :is(a,button):focus-visible {outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:400px) {.review-dialog {padding:26px 20px}.review-dialog h2 {font-size:22px}.review-actions>* {width:100%}}
@media(max-width:600px) {.account-page {padding-top:32px}.account-card {padding:20px}.account-offers {grid-template-columns:1fr}.account-ledger li {align-items:start}.account-ledger .payment-amount {font-size:14px}.account-summary .account-actions {width:100%}.account-summary .account-actions .btn {flex:1}.account-next .cta .btn {width:100%}}
