:root { --ink:#123f42; --muted:#65797b; --line:#cbdadb; --paper:#fff; --surface:#f3f7f6; --mint:#e9f7ee; --brand:#4f9f9b; --brand-dark:#174c4e; --danger:#b3261e; }
* { box-sizing:border-box; }
html { background:#e8ecea; color:var(--ink); font-family:Arial, Helvetica, sans-serif; }
body { margin:0; min-height:100vh; }
button,input { font:inherit; letter-spacing:0; }
button { cursor:pointer; }
.hidden { display:none !important; }
.app-shell { background:var(--surface); margin:0 auto; min-height:100vh; max-width:460px; }
.app-header { align-items:center; background:var(--paper); border-bottom:1px solid var(--line); display:grid; grid-template-columns:42px 1fr 48px; min-height:72px; padding:12px 18px; position:sticky; top:0; z-index:5; }
.app-header strong { display:block; font-size:18px; }
.app-header span { color:var(--muted); display:block; font-size:12px; margin-top:2px; }
.brand-mark { align-items:center; background:var(--brand-dark); border-radius:6px; color:#fff; display:flex; font-size:14px; font-weight:700; height:34px; justify-content:center; width:34px; }
.icon-button { align-items:center; background:#fff; border:1px solid var(--line); border-radius:6px; color:var(--ink); display:flex; font-size:24px; height:48px; justify-content:center; width:48px; }
.auth-view { align-items:center; display:flex; min-height:calc(100vh - 72px); padding:28px 20px; }
.auth-panel { background:var(--paper); border:1px solid var(--line); border-radius:8px; padding:24px; width:100%; }
.eyebrow { color:#517174; font-size:11px; font-weight:700; margin:0 0 6px; }
h1,h2,p { margin-top:0; }
h1 { font-size:27px; margin-bottom:10px; }
h2 { font-size:20px; margin-bottom:4px; }
.supporting-copy { color:var(--muted); font-size:14px; line-height:1.45; margin-bottom:24px; }
label { display:block; font-size:12px; font-weight:700; margin:14px 0 7px; }
input { border:1px solid #7fb7b4; border-radius:6px; color:var(--ink); font-size:18px; min-height:54px; padding:12px 14px; width:100%; }
input:focus { box-shadow:0 0 0 3px #d5efed; outline:0; }
.segmented { display:grid; gap:8px; grid-template-columns:1fr 1fr; margin:16px 0; }
.segmented button { background:#fff; border:1px solid var(--line); border-radius:6px; min-height:44px; }
.segmented button.active { background:#e5f4f3; border-color:var(--brand); color:var(--brand-dark); font-weight:700; }
.consent-row { align-items:flex-start; display:flex; font-weight:400; gap:9px; line-height:1.35; }
.consent-row input { flex:0 0 22px; height:22px; min-height:0; padding:0; width:22px; }
.primary-button { background:var(--brand-dark); border:0; border-radius:6px; color:#fff; font-weight:700; margin-top:18px; min-height:52px; padding:12px; width:100%; }
.primary-button:disabled { background:#a8c6c4; cursor:default; }
.text-button { background:none; border:0; color:var(--brand-dark); font-weight:700; padding:8px 0; text-decoration:underline; }
.message { color:var(--danger); font-size:13px; margin:14px 0 0; text-align:center; }
.uat-code { background:#fff3cd; border:1px solid #e7c56d; border-radius:6px; color:#6d5112; padding:10px; text-align:center; }
.dashboard { padding-bottom:32px; }
.account-band { background:var(--brand-dark); color:#fff; padding:26px 22px; }
.account-band .eyebrow,.account-band p { color:#cfe7e5; }
.account-band h1 { margin-bottom:4px; }
.section-heading { align-items:center; display:flex; justify-content:space-between; padding:22px 18px 12px; }
.section-heading p { color:var(--muted); font-size:13px; margin:0; }
.membership-list { display:grid; gap:10px; padding:0 18px; }
.membership-card { background:var(--paper); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.membership-main { align-items:center; display:grid; gap:8px; grid-template-columns:1fr auto; padding:18px; }
.membership-main h3 { font-size:18px; margin:0 0 7px; }
.membership-main p { color:var(--muted); font-size:12px; margin:0; }
.point-value { color:#2f8257; font-size:28px; font-weight:700; text-align:right; }
.point-value span { color:var(--muted); display:block; font-size:11px; font-weight:400; }
.card-actions { border-top:1px solid var(--line); display:grid; grid-template-columns:1fr 1fr; }
.card-actions button { background:#fff; border:0; color:var(--ink); font-weight:700; min-height:48px; }
.card-actions button + button { border-left:1px solid var(--line); }
.transaction-list { border-top:1px solid var(--line); }
.transaction { align-items:center; display:flex; justify-content:space-between; padding:10px 18px; }
.transaction + .transaction { border-top:1px solid #e6eeee; }
.transaction small { color:var(--muted); display:block; margin-top:2px; }
.points-positive { color:#23784b; font-weight:700; }.points-negative { color:var(--danger); font-weight:700; }
.empty-state { margin:0 18px; padding:28px 16px; text-align:center; }.empty-state p { color:var(--muted); font-size:13px; margin-top:7px; }
dialog { border:0; border-radius:8px; color:var(--ink); max-width:390px; padding:20px; width:calc(100% - 32px); }
dialog::backdrop { background:rgba(17,48,50,.72); }
.dialog-header { align-items:center; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; padding-bottom:12px; }
.dialog-header h2 { margin:0; }
.qr-image { align-items:center; display:flex; justify-content:center; min-height:270px; padding:20px 0; }
.qr-image img,.qr-image canvas { height:auto; max-width:260px; width:100%; }
.qr-status,.countdown { text-align:center; }.qr-status { font-weight:700; }.countdown { color:var(--muted); font-size:13px; }
@media (min-width:700px) { .app-shell { border-left:1px solid var(--line); border-right:1px solid var(--line); } }
