/* Momentum fixed member navigation; only visible after authenticated member area */
#momentumBottomNav{display:none}
body.momentum-tabs-ready:has(#memberArea:not(.hidden)) #momentumBottomNav{display:grid}
body.momentum-tabs-ready:has(#memberArea:not(.hidden)) .app{padding-bottom:calc(112px + env(safe-area-inset-bottom))}
.momentum-tab-panel[hidden]{display:none!important}
.momentum-home{display:grid;gap:14px}
.momentum-home-hero{padding:24px 20px;border-radius:23px;background:linear-gradient(140deg,#203d2b,#18291e);border:1px solid #3b6046}
.momentum-home-eyebrow{font-size:12px;color:#acd7b9;letter-spacing:.08em;font-weight:750}
.momentum-home-hero h2{margin:14px 0 12px;font-size:clamp(25px,7vw,33px);letter-spacing:-.035em}
.momentum-home-status{display:inline-flex;padding:8px 12px;border-radius:999px;background:#343b35;color:#e8c88e;font-size:14px;font-weight:700}
.momentum-home-status.is-active{background:#163e27;color:#9af0b8}
.momentum-home-primary{width:100%;min-height:54px;margin:0;border-radius:16px;background:#20c968;color:#061b0e;font-weight:800;font-size:16px}
.momentum-home-primary:disabled{background:#38453c;color:#c2cfc5;opacity:1}
.momentum-home-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.momentum-home-shortcuts button{min-width:0;min-height:102px;margin:0;padding:18px 14px;border-radius:19px;text-align:left;background:#1b2b20;color:#fff;border:1px solid #314a38;font-size:15px;font-weight:750}
.momentum-home-shortcuts button span{display:block;color:#20c968;font-size:25px;margin-bottom:9px}
#momentumBottomNav{position:fixed;left:0;right:0;bottom:0;z-index:100;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:9px max(12px,env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:rgba(14,25,18,.97);border-top:1px solid #324b39;box-shadow:0 -12px 35px rgba(0,0,0,.28);backdrop-filter:blur(18px)}
#momentumBottomNav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:55px;padding:7px 3px;margin:0;background:transparent;color:#a9bcb0;border-radius:15px;font-size:11px;font-weight:650;line-height:1.2}
#momentumBottomNav button.active{background:#244b32;color:#5eec97}
#momentumBottomNav .tab-icon{font-size:22px;line-height:1}
#momentumBottomNav button:focus-visible,.momentum-home button:focus-visible{outline:3px solid #8ceeb0;outline-offset:2px}
@media(min-width:700px){#momentumBottomNav{left:50%;right:auto;transform:translateX(-50%);width:min(560px,100%);border-radius:22px 22px 0 0}}
@media(prefers-reduced-motion:reduce){#momentumBottomNav *{transition:none!important}}

/* Phase 2: compact header, accessible profile menu and consistent iconography */
body.momentum-tabs-ready:has(#memberArea:not(.hidden)) .top:first-child{margin-bottom:12px}
.momentum-member-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;min-height:44px}
.momentum-header-title{font-size:14px;color:#a9c0b0;font-weight:650}
.momentum-profile-wrap{position:relative}
#momentumProfileButton{display:grid;place-items:center;width:46px;height:46px;min-height:46px;margin:0;padding:10px;border-radius:50%;border:1px solid #3d5944;background:#1d3325;color:#a2ebbb}
#momentumProfileButton svg{width:24px;height:24px}
#momentumProfileMenu{position:absolute;right:0;top:calc(100% + 8px);width:190px;padding:6px;border:1px solid #395442;border-radius:15px;background:#19291e;box-shadow:0 14px 32px rgba(0,0,0,.42);z-index:110}
#momentumProfileMenu[hidden]{display:none!important}
#momentumProfileMenu a,#momentumProfileMenu button{display:block;width:100%;min-height:44px;margin:0;padding:12px 13px;text-align:left;border:0;border-radius:10px;background:transparent;color:#eef9f1;text-decoration:none;font-size:14px;font-weight:650}
#momentumProfileMenu a:hover,#momentumProfileMenu button:hover{background:#2b4432}
#momentumProfileMenu #adminLink.hidden{display:none!important}
#momentumProfileMenu #adminLink:not(.hidden){display:block!important}
.momentum-home{gap:11px}
.momentum-home-hero{padding:19px 18px;border-radius:20px}
.momentum-home-hero h2{margin:9px 0 10px;font-size:clamp(24px,6vw,30px)}
.momentum-home-shortcuts{gap:10px}
.momentum-home-shortcuts button{min-height:88px;padding:13px 14px;border-radius:16px}
.momentum-home-shortcuts button span{margin-bottom:7px}
.momentum-home-shortcuts svg{display:block;width:24px;height:24px}
#momentumBottomNav .tab-icon{display:flex;align-items:center;justify-content:center;height:25px}
#momentumBottomNav .tab-icon svg{width:23px;height:23px}
body.momentum-tabs-ready:has(#memberArea:not(.hidden)) .app{padding-bottom:calc(106px + env(safe-area-inset-bottom))}
#momentumTabCard,#momentumTabRefer{padding-bottom:12px;min-height:0}
#momentumTabRefer .momentum-home-hero{margin-bottom:12px}
#momentumBottomNav{z-index:90}
#proofModal{z-index:150}
