/* Customer accounts on the storefront (src/Account.tsx). Apple-like, the restaurant's brand colour (ink by default), 390 px first. */
.acct{padding-bottom:calc(40px + var(--safe-b))}
.acct-hero{text-align:center;padding:18px 8px 6px}
.acct-ico{width:64px;height:64px;border-radius:50%;background:var(--brand);color:var(--brand-on);display:grid;place-items:center;margin:0 auto 12px}
.acct-ico svg{width:30px;height:30px}
.acct-hero h2{font-size:28px;font-weight:700;letter-spacing:-.03em}
.acct-hero p{color:var(--muted);margin:8px auto 0;max-width:330px;line-height:1.45;font-size:15.5px}
.acct-seg{margin-top:16px}
.acct-muted{color:var(--muted);font-size:15px;margin:6px 0 0}.acct-muted.sm{font-size:13.5px;margin-top:-4px}
.acct-pin{letter-spacing:.4em;font-size:22px!important;font-variant-numeric:tabular-nums}
.acct-pick{display:flex;flex-direction:column;gap:8px}
.acct-done{text-align:center;padding:24px 18px}.acct-done h3{font-size:22px;margin-top:10px}.acct-done p{color:var(--muted);margin:8px 0 16px;line-height:1.45}
.acct-done .pr-ico{margin:0 auto}
.acct-bal{margin-top:14px;padding:20px;border-radius:22px;background:var(--brand);color:var(--brand-on)}
.acct-who{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.acct-who b{font-size:17px;font-weight:650}.acct-who span{opacity:.7;font-size:13.5px;white-space:nowrap}
.acct-amt{margin-top:18px}.acct-amt span{display:block;font-size:13.5px;opacity:.72;font-weight:550}.acct-amt b{display:block;font-size:44px;font-weight:700;letter-spacing:-.04em;line-height:1.05;margin-top:4px;font-variant-numeric:tabular-nums}
.acct-row{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:12px;font-size:14px;opacity:.92}.acct-row b{font-weight:650;font-variant-numeric:tabular-nums}
.acct-flag{font-style:normal;background:#fff;color:#D70015;border-radius:999px;padding:2px 10px;font-weight:650;font-size:13px}
.acct-low{margin-top:12px;font-size:14px;font-weight:600;background:rgba(255,255,255,.14);border-radius:12px;padding:10px 12px}
.acct-topup{margin-top:16px;background:#fff;color:#111;height:56px}
.acct-e{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line);width:100%;text-align:start;min-height:56px}
.card-h+.acct-e,.acct-e:first-child{border-top:0}
.acct-e div{min-width:0}.acct-e b{display:block;font-size:15.5px;font-weight:600}.acct-e small{display:block;color:var(--muted);font-size:13px;margin-top:2px}
.acct-e>span{font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}.acct-e .pos{color:#248A3D}
.acct-e.muted{color:var(--muted)}
.acct-cardqr{display:flex;gap:16px;align-items:center}
.acct-qr{width:104px;height:104px;flex:none;background:#fff;border-radius:12px;padding:4px;box-shadow:inset 0 0 0 1px var(--line)}.acct-qr svg{width:100%;height:100%;display:block}
.acct-cardqr b{display:block;font-size:16px}.acct-cardqr small{display:block;color:var(--muted);font-size:13.5px;margin-top:2px}.acct-cardqr code{display:block;margin-top:8px;font-size:17px;font-weight:650;letter-spacing:.08em}
.acct-out{margin-top:16px;height:52px}
.acct-hint{display:flex;align-items:center;gap:10px;margin-top:12px}
.spinner.sm{width:18px;height:18px;border-width:2px}
.acct-tu .chips .chip{height:48px;padding:0 18px;font-size:16px}
.acct-bonus{display:flex;flex-direction:column;gap:6px;margin:4px 0 10px}.acct-bonus span{font-size:14px;color:var(--muted);font-weight:550}.acct-bonus span.on{color:#248A3D;font-weight:650}
.acct-tu-f{display:flex;gap:10px;margin-top:8px}.acct-tu-f .btn{height:56px}
.acct-who-pick{margin:4px 0 6px}
.acct-stmt{background:#fff;border-radius:18px;padding:20px;margin-top:14px}
.acct-stmt header{display:flex;justify-content:space-between;gap:12px;border-bottom:2px solid #111;padding-bottom:12px;margin-bottom:12px}
.acct-stmt header small,.acct-stmt-to small{display:block;color:var(--muted);font-size:13px}.acct-stmt .r{text-align:end}
.acct-stmt-to{margin-bottom:10px}
.acct-stmt-tot{display:grid;grid-template-columns:1fr auto;gap:6px 12px;margin:14px 0;padding-top:12px;border-top:1px solid var(--line);font-size:15px}.acct-stmt-tot b{font-variant-numeric:tabular-nums;text-align:end}.acct-stmt-tot .big{font-size:20px}
@media print{.no-print,.pagebar{display:none!important}.acct-stmt{padding:0}}
.acct-tu .acct-muted.sm{margin:0 0 12px}.acct-tu-f .btn.line{flex:none;padding:0 22px;min-width:96px}
/* the account pages: a solid header (the dark balance card must never show through it) */
.acct .pagebar{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 .5px 0 rgba(0,0,0,.12)}
/* Sign in | Apply: the segmented control (grey track, white selected pill) */
.acct-switch{display:grid;grid-template-columns:1fr 1fr;gap:2px;margin-top:16px;padding:3px;border-radius:12px;background:#EEEEF0}
.acct-switch button{display:flex;align-items:center;justify-content:center;text-align:center;height:44px;border-radius:9px;font-size:15px;font-weight:600;color:var(--ink,#111);background:transparent;border:0}
.acct-switch button.on{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12),0 0 0 .5px rgba(0,0,0,.04)}
