/* Fair-support prompt, billing overview and TEST-only Stripe simulator. */
.support-contribution-prompt{width:min(1180px,calc(100% - 40px));margin:12px auto 0;padding:12px 13px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #bad1c1;border-left:4px solid #4f7d60;border-radius:11px;background:#f6fbf7;color:#385144;box-shadow:0 5px 16px rgba(32,71,49,.06)}
.support-contribution-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#dcecdf;color:#315f40;font-size:19px}
.support-contribution-copy strong,.support-contribution-copy span{display:block}.support-contribution-copy strong{font-size:12px;color:#2f4d39}.support-contribution-copy span{margin-top:2px;color:#5d7465;font-size:10px;line-height:1.45}
.support-contribution-actions{display:flex;align-items:center;gap:7px}.support-contribution-actions .button{padding:8px 11px;font-size:10px}.support-contribution-dismiss{width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:#67806e;font-size:20px}.support-contribution-dismiss:hover{background:#e5f0e7}
.billing-modal{width:min(980px,calc(100% - 30px))}.billing-shell{padding:27px 29px}.billing-shell>.modal-head{margin-bottom:13px}
.billing-test-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px;padding:10px 12px;border:1px solid #e5c675;border-radius:9px;background:#fff9e8;color:#68531a}.billing-test-banner strong{font-size:9px;letter-spacing:1px}.billing-test-banner span{font-size:10px}
.billing-free-core{display:grid;grid-template-columns:36px 1fr;gap:11px;align-items:start;padding:13px;border-radius:10px;background:#eaf5ed;color:#315b3d}.billing-free-core>span{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#4f7d60;color:#fff;font-weight:900}.billing-free-core strong{font-size:12px}.billing-free-core p{margin:3px 0 0;color:#53705d;font-size:10px;line-height:1.5}
.billing-status{margin:12px 0 0;padding:10px 12px;border-radius:8px;background:#e7f3e9;color:#316a40;font-size:11px;font-weight:750}.billing-status.error{background:#fdeceb;color:#9a3934}
.billing-section{margin-top:23px}.billing-section-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.7fr);gap:20px;align-items:end;margin-bottom:11px}.billing-section-head h3{margin:0;font-family:Georgia,serif;font-size:23px}.billing-section-head>p{margin:0;color:var(--muted);font-size:10px;line-height:1.5}
.billing-offer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.billing-offer-card{display:flex;flex-direction:column;min-height:190px;padding:16px;border:1px solid var(--line);border-radius:13px;background:#faf9f4}.billing-offer-card h4{margin:0;font-family:Georgia,serif;font-size:18px;line-height:1.2}.billing-offer-card>p{margin:7px 0 15px;color:var(--muted);font-size:10px;line-height:1.5}
.billing-offer-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:9px;margin-top:auto}.billing-offer-footer>strong{font-family:Georgia,serif;font-size:20px;white-space:nowrap}.billing-custom-amount{display:grid;grid-template-columns:1fr auto;max-width:110px;position:relative}.billing-custom-amount>span{grid-column:1/-1;margin-bottom:4px;font-size:8px}.billing-custom-amount input{padding:8px 37px 8px 9px}.billing-custom-amount>b{position:absolute;right:8px;bottom:9px;color:var(--muted);font-size:8px}
.billing-account-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.billing-account-grid article{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#f4f5ef}.billing-account-grid span{color:var(--muted);font-size:10px}.billing-account-grid strong{font-family:Georgia,serif;font-size:19px}
.billing-history{margin-top:10px;border:1px solid var(--line);border-radius:10px;background:#fff}.billing-history summary{padding:11px 13px;cursor:pointer;color:#56645d;font-size:10px;font-weight:850}.billing-history>div{display:grid;gap:1px;border-top:1px solid var(--line)}.billing-history>div>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;background:#fafaf6}.billing-history strong{font-size:10px}.billing-history span,.billing-history p{color:var(--muted);font-size:9px}.billing-history p{padding:0 13px}.billing-example-note{margin:10px 1px 0;color:var(--muted);font-size:9px;line-height:1.5}
.checkout-body{min-height:100vh;background:radial-gradient(circle at 50% 0,#fffaf0,var(--cream));padding:30px 15px}.checkout-shell{width:min(620px,100%);margin:0 auto;padding:0}.checkout-brand{display:inline-flex;align-items:center;gap:10px;margin:0 0 18px;color:var(--ink);text-decoration:none}.checkout-brand>span:last-child{display:flex;flex-direction:column}.checkout-brand strong{font-family:Georgia,serif;font-size:21px}.checkout-brand small{margin-top:2px;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:1px}
.checkout-card{padding:28px;border:1px solid var(--line);border-radius:20px;background:var(--paper);box-shadow:var(--shadow)}.checkout-test-banner{display:grid;gap:3px;margin:-8px -8px 23px;padding:11px 12px;border:1px solid #e5c675;border-radius:10px;background:#fff9e8;color:#68531a}.checkout-test-banner strong{font-size:9px;letter-spacing:1px}.checkout-test-banner span{font-size:10px}.checkout-loading{padding:30px;text-align:center;color:var(--muted);font-size:12px}.checkout-card h1{margin:0;font-family:Georgia,serif;font-size:31px}.checkout-card #checkoutDescription{margin:8px 0 21px;color:var(--muted);font-size:12px}
.checkout-summary{display:grid;margin:0;border:1px solid var(--line);border-radius:11px;overflow:hidden}.checkout-summary>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 13px;background:#faf9f4}.checkout-summary>div+div{border-top:1px solid var(--line)}.checkout-summary dt{color:var(--muted);font-size:10px}.checkout-summary dd{margin:0;font-size:11px;font-weight:850;text-align:right}
.checkout-no-card{display:grid;grid-template-columns:31px 1fr;gap:10px;align-items:start;margin-top:13px;padding:11px;border-radius:9px;background:#eaf5ed;color:#315b3d}.checkout-no-card>span{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#4f7d60;color:#fff;font-weight:900}.checkout-no-card strong,.checkout-no-card small{display:block}.checkout-no-card strong{font-size:10px}.checkout-no-card small{margin-top:2px;color:#587361;font-size:9px;line-height:1.45}
.checkout-status{margin-top:13px;padding:10px 12px;border-radius:8px;background:#eaf5ed;color:#315b3d;font-size:10px;font-weight:750}.checkout-status.error{background:#fdeceb;color:#9a3934}.checkout-actions{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:17px}.checkout-actions .checkout-cancel{grid-column:1/-1;justify-self:center;border:0;background:transparent;color:var(--muted);font-size:10px;text-decoration:underline}
.checkout-result{display:grid;justify-items:center;padding:22px 5px 8px;text-align:center}.checkout-result>span{width:49px;height:49px;display:grid;place-items:center;border-radius:50%;background:#dfeee2;color:#39724a;font-size:22px;font-weight:900}.checkout-result h1{margin:13px 0 6px}.checkout-result p{max-width:430px;margin:0;color:var(--muted);font-size:11px}.checkout-result code{margin:15px 0;padding:7px 10px;border-radius:7px;background:#f1f2ed;color:#536059;font-size:9px}.checkout-result .button{margin-top:17px}.checkout-footnote{max-width:520px;margin:14px auto 0;color:var(--muted);font-size:9px;text-align:center;line-height:1.5}
@media(max-width:760px){.support-contribution-prompt{width:calc(100% - 24px);grid-template-columns:auto 1fr;align-items:start}.support-contribution-actions{grid-column:1/-1;margin-left:46px;flex-wrap:wrap}.billing-modal{width:100%;height:100dvh;max-height:none;margin:0;border-radius:0}.billing-shell{min-height:100dvh;padding:18px 15px calc(16px + env(safe-area-inset-bottom))}.billing-section-head{grid-template-columns:1fr;gap:5px}.billing-offer-grid{grid-template-columns:1fr}.billing-offer-card{min-height:auto}.billing-account-grid{grid-template-columns:1fr}.billing-test-banner{align-items:flex-start;flex-direction:column}.checkout-actions{grid-template-columns:1fr}.checkout-actions .button{width:100%}.checkout-actions .checkout-cancel{grid-column:auto;min-height:44px}.checkout-card{padding:20px}.checkout-body{padding:18px 12px}}
