.app-preview .header-inner { gap: 20px; }
.app-preview .header-inner > .brand { margin-right: auto; }
.app-preview .header-learning-entry { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 12px; border: 1px solid rgba(203,234,165,.35); border-radius: 12px; color: var(--app-leaf); background: rgba(203,234,165,.07); font-size: 13px; font-weight: 650; white-space: nowrap; }
.app-preview .header-learning-entry svg { width: 18px; height: 18px; }
.app-preview .header-learning-entry:hover { background: rgba(203,234,165,.16); border-color: var(--app-leaf); }
.app-preview .header-learning-entry:focus-visible { outline: 3px solid var(--app-leaf); outline-offset: 3px; }
/* Anchor the menu below the full header, keeping the avatar vertically centered. */
.account-control { position: relative; display: flex; align-items: center; align-self: stretch; flex-shrink: 0; }
.account-icon { display: inline-block; flex-shrink: 0; width: 20px; height: 20px; background: currentColor; mask: var(--account-icon) center / contain no-repeat; -webkit-mask: var(--account-icon) center / contain no-repeat; }
.account-icon-eye { --account-icon: url('./vendor/lucide/eye.svg'); }
.account-icon-eye-off { --account-icon: url('./vendor/lucide/eye-off.svg'); }
.account-icon-user-round { --account-icon: url('./vendor/lucide/user-round.svg'); }
.account-icon-chevron-down { --account-icon: url('./vendor/lucide/chevron-down.svg'); }
.account-icon-log-out { --account-icon: url('./vendor/lucide/log-out.svg'); }
.account-entry { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 9px; min-height: 42px; max-width: 166px; padding: 0 17px; border: 1px solid rgba(203,234,165,.48); border-radius: 999px; color: var(--app-leaf); background: rgba(203,234,165,.055); font: 650 13px var(--sans); cursor: pointer; transition: background 180ms, border-color 180ms; }
.account-entry:hover { border-color: var(--app-leaf); background: rgba(203,234,165,.14); }
.account-entry [data-account-label] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-entry-dot { width: 7px; height: 7px; flex-shrink: 0; border: 1px solid currentColor; border-radius: 50%; }
.account-entry.is-signed-in .account-entry-dot { background: var(--app-leaf); box-shadow: 0 0 0 4px rgba(203,234,165,.09); }
.account-entry.is-signed-in { gap: 7px; min-height: 44px; padding: 4px 9px 4px 4px; border-color: rgba(203,234,165,.24); }
.account-entry.is-signed-in > .account-icon { width: 15px; height: 15px; transition: transform 160ms; }
.account-entry[aria-expanded=true] > .account-icon { transform: rotate(180deg); }
.account-menu { position: absolute; top: calc(100% + 13px); right: 0; z-index: 110; width: min(340px, calc(100vw - 32px)); max-height: calc(100dvh - var(--header-height) - 24px); padding: 22px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #dce5d3; border-radius: 18px; color: var(--app-ink); background: var(--app-paper); box-shadow: 0 18px 60px rgba(0,0,0,.25); }
.account-menu[hidden] { display: none; }
.account-menu-identity { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--app-line); }
.account-menu-identity > div { display: grid; min-width: 0; gap: 6px; }
.account-menu-identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--app-ink); font-size: 17px; font-weight: 650; }
.account-plan-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; }
.account-plan { flex-shrink: 0; width: fit-content; padding: 4px 10px; border: 1px solid #ccddbb; border-radius: 8px; color: #34522c; background: #e7f0dd; font-size: 16px; font-weight: 750; line-height: 1.5; }
.account-membership-expiry { color: #b13a30; font-size: 13px; font-weight: 650; line-height: 1.5; white-space: nowrap; }
.account-menu-points { display: flex; align-items: center; justify-content: space-between; margin: 17px 0; color: #6c7863; font-size: 13px; }
.account-menu-points strong { color: #26452a; font-size: 25px; font-weight: 600; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.account-menu-actions { display: grid; gap: 9px; }
.account-menu .account-primary { justify-content: flex-start; min-height: 42px; font-family: var(--sans); cursor: pointer; }
.account-menu .account-primary > span:last-child { margin-left: auto; }
.account-menu-logout { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 39px; padding: 0 10px; border: 0; border-radius: 8px; color: #728069; background: transparent; font: 12px var(--sans); cursor: pointer; }
.account-menu-logout:hover { color: #34502a; background: #edf2e6; }
.account-menu-logout .account-icon { width: 16px; height: 16px; }
.account-menu-demo { margin: -8px 0 16px; color: #967737; font-size: 10px; }
.account-menu :is(button, a):focus-visible { outline: 3px solid #7a9d53; outline-offset: 3px; }
body.account-open { overflow: hidden; }
.account-dialog { position: fixed; width: min(850px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid rgba(203,234,165,.2); border-radius: 26px; color: var(--app-ink); background: var(--app-paper); box-shadow: 0 40px 140px rgba(0,0,0,.5); font-family: var(--sans); color-scheme: light; }
.account-dialog::backdrop { background: rgba(4,14,8,.72); backdrop-filter: blur(8px); }
.account-dialog[open] { animation: account-appear 200ms ease-out; }
.account-dialog :is(button, input, a):focus-visible, .account-entry:focus-visible { outline: 3px solid #79a851; outline-offset: 3px; }
.account-dialog button { font-family: inherit; cursor: pointer; }
.account-dialog button:disabled { cursor: wait; opacity: .6; }
.account-dialog [hidden] { display: none !important; }
.account-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); min-height: 625px; }
.account-aside { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 36px 32px; color: white; background: radial-gradient(ellipse at 90% 80%, rgba(136,185,99,.2), transparent 60%), var(--app-night); }
.account-aside::after { position: absolute; right: -150px; bottom: 40px; width: 350px; height: 350px; border: 1px solid rgba(203,234,165,.13); border-radius: 50%; box-shadow: 0 0 0 50px rgba(203,234,165,.025), 0 0 0 100px rgba(203,234,165,.02); content: ''; pointer-events: none; }
.account-brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 730; letter-spacing: -.035em; }
.account-brand img { width: 34px; height: 34px; border-radius: 9px; }
.account-aside-copy { position: relative; z-index: 1; margin-block: 72px; }
.account-eyebrow { margin: 0 0 14px; font-size: 10px; font-weight: 750; letter-spacing: .18em; }
.account-aside .account-eyebrow { color: var(--app-leaf); }
.account-aside h2 { margin: 0; color: var(--app-leaf); font-size: 36px; font-weight: 620; line-height: 1.35; letter-spacing: -.045em; white-space: pre-line; }
.account-aside-copy > p:last-child { margin-top: 21px; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.9; }
.account-aside-footer { position: relative; z-index: 1; color: rgba(255,255,255,.48); font-size: 10px; line-height: 2; }
.account-aside-footer span { display: block; color: rgba(255,255,255,.75); font-size: 12px; }
.account-main { min-width: 0; padding: 36px 38px 26px; }
.account-close { position: absolute; top: 13px; right: 14px; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; color: var(--app-muted); background: transparent; font-size: 26px; font-weight: 300; line-height: 1; }
.account-close:hover { background: #eaf0e4; color: var(--app-ink); }
.account-switch { display: flex; gap: 7px; margin-bottom: 24px; padding-right: 25px; }
.account-switch button { padding: 8px 19px; border: 1px solid transparent; border-radius: 999px; color: #718066; background: transparent; font-size: 14px; font-weight: 600; transition: color 150ms, background 150ms; }
.account-switch button:hover { color: #26452a; background: #edf3e5; }
.account-switch button[aria-pressed=true] { border-color: #ccddbb; color: #26452a; background: #e0edcf; }
.account-heading h2 { margin: 0 0 8px; font-size: 28px; font-weight: 700; line-height: 1.3; letter-spacing: -.04em; }
.account-heading > p { margin: 0 0 23px; color: var(--app-muted); font-size: 12px; line-height: 1.8; }
.account-invited { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 10px 12px; border: 1px solid #dbe8cd; border-radius: 9px; color: #3d6037; background: #edf4e6; font-size: 11px; line-height: 1.6; }
.account-invited::before { content: '↗'; font-size: 20px; }
.account-methods { display: flex; gap: 5px; margin-bottom: 22px; padding: 5px; border: 1px solid #dce3d4; border-radius: 12px; background: #edf0e8; }
.account-methods button { flex: 1; min-height: 39px; padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; color: #64745b; background: transparent; font-size: 13px; font-weight: 500; transition: color 150ms, background 150ms, box-shadow 150ms; }
.account-methods button:hover { color: #294829; background: #e1e9d7; }
.account-methods button[aria-pressed=true] { border-color: #23442b; color: #fff; background: #23442b; box-shadow: 0 3px 8px rgba(24,52,28,.16); }
.account-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.account-field { display: block; margin-bottom: 17px; }
.account-field-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; color: #354739; font-size: 12px; font-weight: 650; }
.account-required { display: inline-block; margin-right: 5px; color: inherit; font-weight: 750; }
.account-required-note { margin: 17px 0 0; color: #7b866f; text-align: left; font-size: 11px; line-height: 1.6; }
.account-field.is-invalid .account-field-label, .account-field.is-invalid .account-required, .account-agreement.is-invalid, .account-agreement.is-invalid .account-required { color: #b13a30; }
.account-field.is-invalid .account-input-wrap { border-color: #c64e43; background: #fff6f3; box-shadow: 0 0 0 2px rgba(190,60,48,.07); }
.account-field.is-invalid input { color: #a9342a; }
.account-agreement.is-invalid input { outline: 2px solid #c64e43; outline-offset: 2px; }
.account-input-wrap { display: flex; align-items: center; width: 100%; min-height: 46px; overflow: hidden; border: 1px solid #d8dfd2; border-radius: 10px; background: white; transition: border-color 150ms, box-shadow 150ms; }
.account-input-wrap:focus-within { border-color: #759957; box-shadow: 0 0 0 3px rgba(119,162,77,.1); }
.account-input-wrap:has([aria-invalid=true]) { border-color: #bb675a; }
.account-input-wrap input { width: 100%; min-width: 0; min-height: 44px; padding: 11px 13px; border: 0; border-radius: 9px; outline: none; color: var(--app-ink); background: transparent; font: 14px var(--sans); }
/* Prevent iOS Safari from zooming the entire page when focusing login/name inputs. */
@media (max-width: 650px) { .account-input-wrap input { font-size: 16px; } }
.account-input-wrap input:focus-visible { outline: none; }
.account-input-wrap input::placeholder { color: #929a8e; font-size: 12px; }
.account-phone-prefix { padding: 0 12px; border-right: 1px solid #e5e9e1; color: #60705f; font-size: 13px; }
.account-inline-button { flex-shrink: 0; align-self: stretch; padding: 0 12px; border: 0; color: var(--app-forest); background: transparent; font-size: 11px; font-weight: 650; }
.account-inline-button:hover { background: #f1f5eb; }
.account-password-toggle { display: grid; width: 46px; padding: 0; place-items: center; color: #748568; }
.account-password-toggle[aria-pressed=true] { color: #23442b; background: #edf4e6; }
.account-field input[name=invitationCode] { font-variant-numeric: tabular-nums; letter-spacing: .1em; text-transform: uppercase; }
.account-hint { margin: 7px 0 0; color: #75806f; font-size: 10px; line-height: 1.7; }
.account-hint.is-error { color: #a04a3e; }
.account-hint.is-success { color: #3e7338; }
.account-agreement { display: flex; align-items: flex-start; gap: 8px; margin: 20px 0; color: #6a7665; font-size: 11px; line-height: 1.8; }
.account-agreement input { flex-shrink: 0; width: 15px; height: 15px; margin: 3px 0 0; accent-color: var(--app-forest); }
.account-agreement a { color: var(--app-forest); text-decoration: underline; text-underline-offset: 3px; }
.account-primary { display: inline-flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 46px; padding: 10px 18px; border: 1px solid var(--app-forest); border-radius: 10px; color: white; background: var(--app-forest); font-size: 13px; font-weight: 650; transition: background 150ms; }
.account-primary:hover { background: #173321; }
.account-submit { margin-top: 5px; }
.account-submit span:last-child { margin-left: auto; font-size: 17px; }
.account-submit span:first-child { margin-left: auto; }
.account-status { margin: 13px 0; padding: 10px 12px; border: 1px solid #e8cfc9; border-radius: 9px; color: #97473d; background: #faf0ec; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.account-status.is-success { border-color: #dce7d3; color: #3d6137; background: #edf5e7; }
.account-loading { display: grid; place-content: center; gap: 20px; min-height: 230px; text-align: center; color: var(--app-muted); font-size: 13px; }
.account-spinner { display: block; width: 24px; height: 24px; margin: auto; border: 2px solid #dbe6d0; border-top-color: var(--app-forest); border-radius: 50%; animation: account-spin 900ms linear infinite; }
.account-profile { padding: 32px 36px 26px; }
.account-profile-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-right: 30px; }
.account-profile-top .account-eyebrow { margin: 0; color: #849179; }
.account-text-button { padding: 6px 0; border: 0; color: #65785c; background: transparent; font-size: 11px; text-underline-offset: 3px; }
.account-text-button:hover { text-decoration: underline; }
.account-profile-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin: 22px 0 20px; }
.account-avatar { position: relative; display: grid; flex-shrink: 0; place-items: center; width: 52px; height: 52px; overflow: hidden; border: 1px solid #dce8cf; border-radius: 50%; color: #547445; background: #e9f1df; }
.account-avatar > .account-icon { width: 25px; height: 25px; }
.account-avatar > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.account-header-avatar { width: 34px; height: 34px; border: 0; }
.account-header-avatar > .account-icon { width: 19px; height: 19px; }
.account-identity { min-width: 0; }
.account-identity .account-text-button { min-height: 40px; font-size: 13px; }
.account-identity h2 { margin: 0; overflow-wrap: anywhere; font-size: 25px; letter-spacing: -.035em; line-height: 1.4; }
.account-identity p { margin: 5px 0 0; color: var(--app-muted); font-size: 12px; }
.account-membership { margin-left: auto; }
.account-membership .account-plan { padding: 5px 12px; font-size: 18px; }
.account-membership .account-membership-expiry { font-size: 14px; }
.account-details { display: flex; flex-wrap: wrap; gap: 7px 22px; margin: 0 0 20px; font-size: 11px; color: var(--app-muted); }
.account-details div { display: flex; flex-wrap: wrap; gap: 6px; }
.account-details dt { color: #85917d; }
.account-details dd { margin: 0; overflow-wrap: anywhere; }
.account-balance { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px; border: 1px solid #2a4430; border-radius: 17px; color: white; background: radial-gradient(ellipse at 75% 0, rgba(203,234,165,.15), transparent 70%), var(--app-night); }
.account-balance-main > span { color: #b2c0aa; font-size: 11px; }
.account-balance-main strong { display: block; margin-top: 3px; color: var(--app-leaf); font-size: 41px; font-weight: 500; letter-spacing: -.04em; line-height: 1.3; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.account-balance-secondary { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: center; gap: 14px 22px; }
.account-balance-secondary div { min-width: 55px; }
.account-balance-secondary span { display: block; color: #9dac98; font-size: 10px; }
.account-balance-secondary strong { color: #e3eadd; font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.account-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 12px 0 0; border: 1px solid var(--app-line); border-radius: 12px; }
.account-stats strong { overflow-wrap: anywhere; }
.account-rename { padding: 18px; margin-bottom: 20px; border: 1px solid var(--app-line); border-radius: 12px; }
.account-rename label { display: block; margin-bottom: 8px; font-size: 14px; }
.account-edit-actions { display: flex; justify-content: flex-end; gap: 20px; margin-top: 12px; }
.account-edit-actions .account-primary { width: auto; }
.account-personal { margin-bottom: 22px; }
.account-personal h3 { font-size: 16px; }
.account-personal p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.account-learn-link { margin-bottom: 20px; text-decoration: none; }
.account-stats div { padding: 13px 17px; }
.account-stats div + div { border-left: 1px solid var(--app-line); }
.account-stats span { display: block; margin-bottom: 3px; color: #74836c; font-size: 10px; }
.account-stats strong { color: #34472f; font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.account-expiry { margin: 7px 0 0; padding: 0; list-style: none; color: #7b805f; font-size: 10px; line-height: 1.8; }
.account-points-note { margin: 10px 0 22px; color: #8a9383; font-size: 10px; line-height: 1.7; }
.account-invite-card { display: grid; grid-template-columns: minmax(0, 1fr) 142px; gap: 24px; padding: 23px; border: 1px solid #dce7d2; border-radius: 17px; background: #f0f5e9; }
.account-invite-card h3 { margin: 0 0 7px; color: #30472b; font-size: 19px; font-weight: 650; letter-spacing: -.03em; }
.account-invite-description { margin: 0 0 17px; color: #7a8870; font-size: 11px; line-height: 1.8; }
.account-your-code { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 13px; }
.account-your-code span { color: #7b8971; font-size: 10px; }
.account-your-code strong { color: #3a5430; font: 650 21px var(--sans); letter-spacing: .18em; }
.account-link { width: 100%; min-height: 36px; margin-bottom: 9px; padding: 8px 10px; border: 1px solid #dbe4d2; border-radius: 7px; color: #738367; background: rgba(255,255,255,.65); font: 10px var(--sans); }
.account-invite-card .account-primary { width: auto; min-height: 36px; padding: 8px 14px; font-size: 11px; }
.account-qr { align-self: center; margin: 0; text-align: center; }
.account-qr img { width: 142px; height: 142px; border: 1px solid #e1e8d9; border-radius: 8px; background: white; image-rendering: pixelated; }
.account-qr figcaption { margin-top: 6px; color: #738568; font-size: 10px; }
.account-profile-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.account-profile-footer a { display: inline-flex; align-items: center; gap: 8px; color: #587148; font-size: 12px; }
.account-profile-footer a:hover { text-decoration: underline; }
.account-preview-banner { margin: -32px -36px 22px; padding: 10px 42px 10px 20px; color: #826023; background: #faf0d6; text-align: center; font-size: 11px; }
@keyframes account-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes account-spin { to { transform: rotate(360deg); } }
@media (min-width: 861px) and (max-width: 1120px) {
  .app-preview .header-inner { gap: 12px; }
  .app-preview .navigation { gap: 12px; }
  .app-preview .nav-links { gap: 12px; }
  .app-preview .nav-cta { padding-inline: 12px; }
  .account-entry { padding-inline: 11px; font-size: 12px; }
}
@media (min-width: 861px) and (max-width: 1250px) {
  html[data-locale=en] .app-preview .nav-links { gap: 12px; }
  html[data-locale=en] .app-preview .nav-links a { font-size: 11px; }
  html[data-locale=en] .app-preview .navigation { gap: 12px; }
  html[data-locale=en] .app-preview .nav-cta { padding-inline: 12px; font-size: 11px; }
}
@media (max-width: 860px) {
  .app-preview .header-inner { gap: 14px; }
  .app-preview .header-inner > .menu-button { order: 3; flex-shrink: 0; }
  .app-preview .header-learning-entry { order: 1; }
  .account-control { order: 2; }
  .account-entry { min-height: 37px; padding-inline: 13px; font-size: 12px; }
}
@media (max-width: 380px) {
  .app-preview .header-inner { gap: 8px; }
  .app-preview .header-inner > .brand { gap: 6px; font-size: 16px; }
  .app-preview .header-inner > .brand img { width: 32px; height: 32px; }
  .app-preview .header-inner > .menu-button { width: 36px; }
  .account-entry { max-width: 90px; padding-inline: 8px; font-size: 11px; }
  .account-entry-dot { display: none; }
}
@media (min-width: 861px) and (max-width: 1250px) {
  .app-preview .header-inner > .menu-button { display: block; order: 3; flex-shrink: 0; }
  .app-preview .header-learning-entry { order: 1; }
  .app-preview .account-control { order: 2; }
  .app-preview .navigation { position: fixed; z-index: 99; inset: var(--header-height) 0 auto; display: grid; gap: 18px; max-height: calc(100svh - var(--header-height)); padding: 24px; overflow-y: auto; border-bottom: 1px solid rgba(255,255,255,.11); color: white; background: rgba(11,23,16,.99); box-shadow: 0 28px 60px rgba(0,0,0,.28); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity 180ms, transform 180ms; }
  .app-preview .navigation.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .app-preview .navigation .nav-links { display: grid; gap: 0; }
  .app-preview .navigation .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 16px; }
  .app-preview .nav-links a::after { display: none; }
}
@media (max-width: 480px) {
  .app-preview .header-inner { gap: 8px; }
  .app-preview .header-inner > .brand span { display: none; }
  .app-preview .header-learning-entry { gap: 5px; padding-inline: 9px; font-size: 12px; }
}
@media (max-width: 380px) {
  .app-preview .header-learning-entry svg { display: none; }
}
@media (max-width: 680px) {
  .account-dialog { width: min(460px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border-radius: 20px; }
  .account-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .account-aside { min-height: 83px; padding: 23px 26px; }
  .account-aside .account-brand { font-size: 18px; }
  .account-aside .account-brand img { width: 31px; height: 31px; }
  .account-aside::after { right: -80px; bottom: -240px; }
  .account-aside-copy, .account-aside-footer { display: none; }
  .account-main { padding: 25px 26px 23px; }
  .account-close { top: 23px; right: 20px; color: #bfceb4; background: rgba(255,255,255,.07); }
  .account-close:hover { background: rgba(203,234,165,.18); color: white; }
  .account-dialog.is-profile .account-close { top: 16px; right: 15px; color: #6d7c62; background: #edf2e6; }
  .account-heading h2 { font-size: 26px; }
  .account-input-wrap input { font-size: 16px; }
  .account-profile { padding: 25px 22px 22px; }
  .account-profile-heading { gap: 12px; flex-wrap: wrap; }
  .account-profile .account-avatar { width: 43px; height: 43px; }
  .account-identity { flex: 1; }
  .account-identity h2 { font-size: 23px; }
  .account-membership { flex-basis: calc(100% - 55px); margin-left: 55px; }
  .account-balance { grid-template-columns: 1fr; gap: 15px; padding: 20px; }
  .account-balance-main strong { font-size: 38px; }
  .account-balance-secondary { justify-content: flex-start; gap: 24px; }
  .account-stats div { padding: 12px; }
  .account-stats strong { font-size: 18px; }
  .account-invite-card { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 19px; }
  .account-qr { display: grid; justify-items: center; padding-top: 18px; border-top: 1px solid #dce6d2; }
  .account-invite-card .account-primary { width: 100%; }
  .account-preview-banner { margin: -25px -22px 20px; }
}
@media (max-width: 460px) {
  /* Keep the menu on screen beside the mobile navigation button. */
  .account-menu { right: -58px; }
}
@media (prefers-reduced-motion: reduce) {
  .account-dialog[open], .account-spinner { animation: none; }
}
