textarea{font:inherit;width:100%;border:1px solid #dce2df;border-radius:8px;padding:12px;color:var(--ink);resize:vertical}
textarea:focus{outline:3px solid #f4ce5230;border-color:#85732c}
.wide-dialog{width:960px;max-height:90vh;overflow:auto}
.wallet-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0 12px}
.wallet-stats article{border:1px solid var(--line);border-radius:10px;padding:14px;background:var(--paper)}
.wallet-stats span{font-size:12px;color:var(--muted)}
.wallet-stats strong{display:block;font-size:28px;margin-top:6px}
.membership-note{margin:12px 0;font-size:13px;color:var(--green)}
.wallet-heading{padding-left:0;padding-right:0}
.wallet-link{margin-right:16px;color:var(--green)}
.card-note{white-space:normal;max-width:240px;overflow-wrap:anywhere}
.card-counts{font-size:11px;line-height:1.8;color:var(--muted)}
.ledger-reason{white-space:normal;min-width:140px;max-width:260px;overflow-wrap:anywhere}
.membership-history{margin-top:22px;font-size:12px;color:var(--muted)}
.membership-history summary{cursor:pointer;font-weight:600}
#issued-codes{font-family:Consolas,monospace;font-size:12px;white-space:pre;overflow:auto}
#codes-batch{overflow-wrap:anywhere}#codes-dialog{width:640px}#adjust-summary{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:760px){.wallet-stats article{padding:10px}.wallet-stats strong{font-size:22px}.wide-dialog{padding:18px}.wallet-heading{align-items:flex-start;gap:8px}.wallet-heading>div{flex-wrap:wrap;gap:6px}.card-note{max-width:160px}}
