:root { font: 1rem system-ui, sans-serif; background: #f3f5f1; color: #172b24; }
* { box-sizing: border-box; }
body { margin: 0; padding: 1.5rem 1rem 2.5rem; }
header, main { max-width: 30rem; margin: auto; }
header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
header span { color: #365549; background: #e0eae3; padding: .28rem .6rem; border-radius: 2rem; }
main { background: white; border: 1px solid #dce5de; border-radius: 1.1rem; padding: clamp(1rem, 5vw, 1.85rem); }
h1 { margin: 0 0 .65rem; font-size: clamp(1.5rem, 5vw, 1.95rem); }
h2 { font-size: 1rem; margin: 1.1rem 0 .45rem; }
p, small { line-height: 1.6; }
label { display: block; margin: 1rem 0 .4rem; font-weight: 650; }
input, button, .action { width: 100%; min-height: 2.85rem; border-radius: .55rem; font: inherit; }
input { border: 1px solid #778b80; padding: .55rem .65rem; color: inherit; }
button, .action { display: inline-grid; place-items: center; background: #173f32; color: white; border: 0; padding: .55rem .65rem; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
form button, #change-phone, #sign-out { margin-top: .65rem; }
.quiet, .secondary { background: #e5efe8; color: #173f32; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.member-card { background: #173f32; color: #fff; padding: 1rem; border-radius: .8rem; }
.member-card p { margin: .45rem 0 .1rem; }
.member-card small { display: inline-block; color: #d0e8da; overflow-wrap: anywhere; }
#qr { display: block; margin: .8rem auto; width: min(16rem, 100%); height: auto; }
#wallet > small { display: block; margin-top: .7rem; }
#notice { color: #365549; margin-bottom: 0; }
[hidden] { display: none !important; }
