/* Blue/white account detail pages. Existing account APIs own every value. */
.account-page{padding:0 17px 24px;color:#071b60}
.account-heading{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;align-items:center;gap:8px;height:69px;margin:0 0 10px}
.account-heading h1{margin:0;text-align:center;font-size:22px;line-height:1.3;font-weight:850}
.account-heading>a{display:grid;place-items:center;width:38px;height:38px;color:#0b245b}
.account-heading>a img{width:27px;height:27px;filter:brightness(.45)}
.account-heading button{display:grid;place-items:center;width:38px;height:38px;padding:8px;border:1px solid #caddff;border-radius:10px;background:#ffffffd9}
.account-heading button img{width:23px;height:23px}
.account-page .profile-line-icon{filter:invert(.42) sepia(1) saturate(5) hue-rotate(180deg)}
.account-heading>a .profile-line-icon{filter:brightness(.45)}
.account-heading button:disabled{opacity:.45;cursor:default}
.account-heading-actions{display:flex;justify-content:flex-end;gap:8px}
.account-invite .account-heading{grid-template-columns:84px minmax(0,1fr) 84px}
.account-record-dialog{width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 56px);padding:16px;border:1px solid #d4e5ff;border-radius:18px;background:#fafdff;color:#10265e;box-shadow:0 18px 70px #11387130;overflow:auto}
.account-record-dialog::backdrop{background:#132a555c;backdrop-filter:blur(3px)}
.account-record-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.account-record-dialog h2{margin:0;font-size:20px;color:#071b60}
.account-record-dialog>header button{width:34px;height:34px;padding:0;border:1px solid #d8e7fc;border-radius:9px;background:#fff;color:#6b82ab;font-size:24px;line-height:1}
.account-intro{margin:12px 0 27px;color:#667dab;font-size:14px;line-height:1.7}
.account-page #extraContent{padding:0;border:0;background:none;box-shadow:none;border-radius:0;overflow:visible;min-height:0}
.account-card{padding:15px 13px;border:1px solid #deebff;border-radius:15px;background:#ffffffd9;box-shadow:0 7px 20px #3576ca05}
.account-section-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:13px;min-width:0}
.account-section-heading h2{display:flex;align-items:center;gap:8px;margin:0;font-size:19px;line-height:1.4;white-space:nowrap;font-weight:800;color:#071b60}
.account-section-heading h2 img{width:24px;height:24px}
.account-section-heading>span{font-size:11px;color:#6d84b1;line-height:1.5;text-align:right}
.account-page button:focus-visible,.account-page a:focus-visible,.account-page summary:focus-visible,.account-page select:focus-visible{outline:2px solid #1678ff;outline-offset:3px}
.account-page .member-mobile-status{margin:10px 2px 0;line-height:1.5;color:#a65360}
.account-page .member-mobile-status:empty{display:none}
.account-page .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Usage: two columns, charge details remain available without crowding rows. */
.account-logs .member-mobile-kinds{display:grid;grid-template-columns:1fr 1fr;max-width:234px;gap:3px;margin:0 0 13px;padding:3px;border:1px solid #d8eaff;border-radius:16px;background:#ffffff91}
.account-logs .member-mobile-kinds button{min-height:43px;border:0;border-radius:13px;background:transparent;color:#637ba8;font-size:15px;font-weight:750}
.account-logs .member-mobile-kinds button[aria-pressed=true]{background:linear-gradient(110deg,#2997ff,#167dff);color:#fff;box-shadow:0 3px 9px #217dff19}
.account-logs .member-mobile-filters{display:grid;gap:12px;margin:0 0 15px;padding:14px 17px}
.account-logs .member-mobile-filters label{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:7px;color:#586f9d;font-size:15px;min-width:0;width:100%}
.account-logs .member-mobile-filters select{width:100%;max-width:none;margin:0;min-height:39px;border:1px solid #cdddff;border-radius:9px;padding:8px 12px;background:#ffffffad;color:#112659;font-size:14px;min-width:0}
.account-logs #logsDays{max-width:102px}
.account-logs .member-mobile-table-wrap{padding:8px;overflow:visible}
.account-logs table{width:100%;table-layout:fixed;border-collapse:collapse;white-space:normal}
.account-logs th{padding:13px 10px;border:0;background:#f2f8ff;font-size:14px;font-weight:500;color:#304c89;text-align:left}
.account-logs th:first-child{width:44%;border-radius:9px 0 0 9px}
.account-logs th:last-child{width:56%;border-radius:0 9px 9px 0}
.account-logs th img{display:inline-block;width:18px;height:18px;margin-right:7px;vertical-align:middle}
.account-logs td{padding:15px 9px;border-bottom:1px solid #e9f1fe;font-size:12px;color:#071b60;vertical-align:middle}
.account-logs tr:last-child td{border-bottom:0}
.account-logs .log-time>span,.account-logs .log-time>small{display:inline-block;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1.6}
.account-logs .log-time>small{margin-left:4px;color:#7085b0;font-size:12px}
.account-logs .log-detail summary{display:flex;align-items:center;gap:7px;padding:8px 20px 8px 8px;border-radius:8px;background:#f0f7ff;position:relative;cursor:pointer;list-style:none;font-size:12px;color:#11285f;min-width:0}
.account-logs .log-detail summary::-webkit-details-marker{display:none}
.account-logs .log-detail summary>img{width:18px;height:18px;flex:none}
.account-logs .log-detail summary>span{min-width:0;overflow-wrap:anywhere;line-height:1.5}
.account-logs .log-detail summary:after{position:absolute;right:4px;top:50%;transform:translateY(-50%);content:"";width:14px;height:14px;background:url('/mobile/assets/profile-icons/chevron-right.svg') center/contain no-repeat;opacity:.6}
.account-logs .log-detail[open] summary:after{transform:translateY(-50%) rotate(90deg)}
.account-logs .log-charge{margin:7px 3px 0;font-size:11px;color:#647fae;overflow-wrap:anywhere}
.account-logs .member-mobile-pager{justify-content:space-between;flex-wrap:wrap;font-size:11px;gap:6px;margin-top:12px}
.account-logs .member-mobile-pager button{min-height:32px;border-radius:8px;border:1px solid #d3e4ff;background:white;padding:5px 10px;color:#2476db}
/* Dashboard: four compact metrics and a full-width TPM tile. */
.account-dashboard .dashboard-core{padding:17px 11px 12px}
.account-dashboard .member-mobile-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;border:0;background:none;margin:0}
.account-dashboard .member-mobile-metric{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);gap:7px 9px;align-content:center;min-height:73px;min-width:0;padding:10px 8px;border:0;border-radius:13px;background:#f1f8ff}
.account-dashboard .member-mobile-metric:last-child{grid-column:1/-1}
.account-dashboard .member-mobile-metric>img{grid-column:1;grid-row:1/3;align-self:start;width:34px;height:34px;padding:7px;border-radius:10px;background:#e2f0ff}
.account-dashboard .member-mobile-metric>span{grid-column:2;color:#6f85b4;font-size:12px;line-height:1.4}
.account-dashboard .member-mobile-metric>strong{grid-column:2;min-width:0;margin:0;font-size:18px;line-height:1.3;color:#07145a;font-weight:800;overflow-wrap:anywhere}
.account-dashboard .member-mobile-health{display:flex;justify-content:space-between;gap:10px;background:none;padding:0 4px;margin:10px 0 0;color:#7c93b7;font-size:10px;flex-wrap:wrap}
.account-dashboard .dashboard-daily{margin-top:16px;padding:16px 12px 11px}
.account-dashboard .dashboard-daily .account-section-heading{margin-bottom:3px}
.account-dashboard #dashboardDays{margin:0;width:94px;padding:7px 3px;border:0;background:transparent;color:#1478ff;font-size:13px}
.account-dashboard .member-mobile-note{margin:4px 0 19px 32px;color:#6f84b0;font-size:11px}
.account-dashboard .member-mobile-chart{height:169px;display:flex;align-items:flex-end;gap:10px;padding:7px 4px 0;margin:0 0 14px 12px;border:0;border-bottom:1px solid #c4dcff;border-left:1px solid #c4dcff;border-radius:0;background:repeating-linear-gradient(to top,#fff0 0,#fff0 38px,#dcecff 39px,#fff0 40px);overflow-x:auto}
.account-dashboard .member-mobile-day{flex:1 0 28px;min-width:28px;max-width:none;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;text-align:center;color:#1262bd;font-size:9px}
.account-dashboard .member-mobile-day>span:first-child{white-space:nowrap}
.account-dashboard .member-mobile-bar{display:block;width:min(31px,85%);max-height:calc(100% - 39px);min-height:3px;border-radius:5px 5px 0 0;background:linear-gradient(#339bff,#c2e3ff)}
.account-dashboard .member-mobile-bar.is-refund{background:linear-gradient(#f4a653,#ffdeb3)}
.account-dashboard .member-mobile-day small{color:#7086b0;font-size:10px;white-space:nowrap}
.account-dashboard .dashboard-total{display:flex;align-items:center;gap:10px;min-height:53px;padding:10px;border-radius:12px;background:#f0f7ff;color:#7488b5;font-size:12px;flex-wrap:wrap}
.account-dashboard .dashboard-total>img{width:30px;height:30px;padding:6px;background:#e1efff;border-radius:9px}
.account-dashboard .dashboard-total>strong{color:#1478ff;font-size:18px;font-weight:800}
/* Invitation: dynamic account QR, no fixed image or referral code. */
.account-invite .invite-hero{display:flex;align-items:center;gap:5px;position:relative;padding:19px 16px;margin:0 0 13px;border:1px solid white;border-radius:15px;background:linear-gradient(115deg,#e0f1ff,#cde8ff);overflow:hidden}
.account-invite .invite-hero>div{position:relative;z-index:1;flex:1;min-width:0}
.account-invite .invite-hero h2{margin:0 0 7px;font-size:23px;line-height:1.3;font-weight:850;color:#071b60}
.account-invite .invite-hero .invite-lead{margin:0;color:#6b82ac;font-size:13px;line-height:1.65}
.account-invite .invite-hero>img{width:115px;height:125px;object-fit:contain;flex:none}
.account-invite .invite-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 12px}
.account-invite .invite-stats>div{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:104px;padding:11px 12px;border:1px solid #e0ecff;border-radius:13px;background:#ffffffcf}
.account-invite .invite-stats img{width:35px;height:35px;padding:8px;border-radius:50%;background:#e1efff}
.account-invite .invite-stats>div:nth-child(2) img{background:#ece6ff;filter:invert(.42) sepia(1) saturate(5) hue-rotate(220deg)}
.account-invite .invite-stats>div:nth-child(3) img{background:#fff0dd;filter:invert(.42) sepia(1) saturate(5) hue-rotate(5deg)}
.account-invite .invite-stats span{margin-top:6px;color:#6b83b1;font-size:12px;line-height:1.5;white-space:nowrap}
.account-invite .invite-stats strong{margin-top:4px;color:#1478ff;font-size:27px;line-height:1.2;font-weight:850;overflow-wrap:anywhere}
.account-invite .invite-stats>div:nth-child(2) strong{color:#7955f6}
.account-invite .invite-share{display:block;padding:14px 13px;margin:0 0 11px}
.account-invite .invite-share[hidden]{display:none}
.account-invite .invite-share .account-section-heading h2{font-size:18px;gap:8px}
.account-invite .invite-share .account-section-heading{width:100%;justify-self:stretch;text-align:left}
.account-invite .invite-share .account-section-heading>span{font-size:10px}
.account-invite .invite-qr-frame{position:relative;display:grid;place-items:center;width:150px;height:150px;margin:17px auto 3px;padding:10px;border:1px solid #dceaff;border-radius:9px;background:#fff;box-shadow:0 8px 18px #3184d710}
.account-invite .invite-qr{width:100%;height:100%;margin:0;object-fit:contain;opacity:0;border:0;border-radius:0;padding:0}
.account-invite .invite-qr.is-ready{opacity:1}
.account-invite .invite-qr-status{position:absolute;inset:10px;display:grid;place-items:center;text-align:center;line-height:1.6;color:#7a91b8;font-size:12px}
.account-invite .invite-qr-status[hidden]{display:none}
.account-invite .invite-share>label{display:block;margin:4px 0 5px;color:#6b83b1;font-size:12px}
.account-invite .invite-link-field{display:flex;align-items:center;gap:4px;min-width:0;width:100%;border:1px solid #cbdfff;border-radius:8px;background:#fff}
.account-invite #inviteLink{flex:1;width:0;min-width:0;height:38px;border:0;padding:7px 9px;background:transparent;color:#102b65;font-size:13px;text-overflow:ellipsis}
.account-invite #copyInviteInline{display:grid;place-items:center;width:35px;min-height:35px;padding:7px;border:0;background:transparent}
.account-invite #copyInviteInline img{width:19px;height:19px;opacity:.6}
.account-invite .invite-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:9px}
.account-invite .invite-actions button,.account-invite .invite-actions a{display:flex;justify-content:center;align-items:center;gap:8px;min-height:38px;margin:0;padding:7px 4px;border:1px solid #bdd7ff;border-radius:8px;background:white;color:#1478ff;font-size:13px;font-weight:500;white-space:nowrap}
.account-invite .invite-actions img{width:19px;height:19px}
.account-invite #saveInviteQr{background:linear-gradient(110deg,#288dff,#267dff);color:white;border-color:#267dff}
.account-invite #saveInviteQr img{filter:brightness(0) invert(1)}
.account-invite #saveInviteQr[hidden]{display:none}
.account-invite .invite-records{padding:13px}
.account-invite .invite-records .account-section-heading{margin-bottom:8px}
.account-invite .invite-list{display:grid;gap:7px}
.account-invite .invite-row{display:flex;align-items:center;gap:10px;padding:10px 9px;border:0;border-radius:10px;background:#f1f7ff;min-width:0}
.account-invite .invite-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e1efff;flex:none}
.account-invite .invite-avatar img{width:22px;height:22px}
.account-invite .invite-friend{flex:1;min-width:0}
.account-invite .invite-friend strong{display:block;overflow-wrap:anywhere;font-size:13px;color:#102b65}
.account-invite .invite-friend small{display:block;margin-top:5px;font-size:10px;color:#869bc0}
.account-invite .invite-state{flex:none;max-width:42%;border-radius:20px;padding:6px 8px;background:#edf1ff;color:#7684b2;font-size:10px}
.account-invite .invite-state-awaiting_membership{color:#da8a22;background:#fff2df}
.account-invite .invite-state-rewarded{color:#1b9b73;background:#e2f7ef}
@media(max-width:360px){.account-page{padding-left:13px;padding-right:13px}.account-heading h1{font-size:21px}.account-intro{font-size:12px}.account-section-heading h2{font-size:17px}.account-section-heading>span{font-size:10px}.account-dashboard .member-mobile-metric{grid-template-columns:29px minmax(0,1fr);gap:6px;padding:9px 6px}.account-dashboard .member-mobile-metric>img{width:29px;height:29px;padding:6px}.account-dashboard .member-mobile-metric>strong{font-size:16px}.account-dashboard .member-mobile-metric>span{font-size:11px}.account-logs td{padding:14px 6px}.account-logs .log-time>small{margin-left:0;display:block}.account-invite .invite-hero{padding:15px 12px}.account-invite .invite-hero h2{font-size:20px}.account-invite .invite-hero .invite-lead{font-size:12px}.account-invite .invite-hero>img{width:95px;height:110px}.account-invite .invite-stats>div{padding:10px}.account-invite .invite-stats span{font-size:11px}.account-invite .invite-actions button,.account-invite .invite-actions a{font-size:12px;gap:5px}}
