/* ARVYNO 0.9.137 — Profile overview only. */
.page[data-page="profile"] { --profile-inset: 16px; align-content: start !important; grid-auto-rows: max-content; gap: 12px !important; }
.page[data-page="profile"] .profile-home-heading { margin: 0 0 6px !important; padding: 0 !important; }
.page[data-page="profile"] .profile-home-heading h1 { margin: 0 !important; font-size: clamp(28px,7.1vw,34px) !important; font-weight: 650 !important; line-height: 1.08 !important; letter-spacing: -.045em; }
.page[data-page="profile"] .card { min-height: 0; border-radius: 20px !important; border-color: transparent !important; background: #fff !important; box-shadow: 0 3px 12px rgba(54,47,40,.012) !important; backdrop-filter: none !important; }
.page[data-page="profile"] .profile-identity-card { grid-template-columns: 48px minmax(0,1fr) 20px; gap: 12px; padding: 14px var(--profile-inset) !important; font: inherit; }
.page[data-page="profile"] .profile-avatar { width: 48px; height: 48px; border-radius: 16px; background: #edf1ec; box-shadow: none; color: var(--sage-dark); font-size: 20px; font-weight: 550; overflow: hidden; }
.page[data-page="profile"] .profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.page[data-page="profile"] .profile-identity-copy { gap: 3px; }
.page[data-page="profile"] .profile-identity-copy b { font-size: 18px; font-weight: 600; line-height: 1.2; }
.page[data-page="profile"] .profile-identity-copy small { font-size: 12px; line-height: 1.25; color: #8b857e; }
.page[data-page="profile"] .profile-menu-chevron { width: 20px; font-size: 20px; font-weight: 400; color: rgba(91,81,71,.46); text-align: center; }
.page[data-page="profile"] .profile-stats-card { width: 100%; padding: 14px var(--profile-inset) !important; font: inherit; color: var(--text); text-align: left; }
.page[data-page="profile"] .profile-stats-card .card-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.page[data-page="profile"] .profile-stats-title { font-size: 20px; font-weight: 650; line-height: 1.15; letter-spacing: -.035em; }
.page[data-page="profile"] .profile-stats-card .card-link { font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--sage-dark); }
.page[data-page="profile"] .profile-stats-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.page[data-page="profile"] .profile-stat { min-width: 0; padding: 10px; border-radius: 12px; background: #f7f8f6; display: flex; flex-direction: column; gap: 3px; }
.page[data-page="profile"] .profile-stat > span { min-height: 15px; font-size: 12px; line-height: 1.25; color: #78736c; }
.page[data-page="profile"] .profile-stat > b { min-width: 0; margin-top: auto; color: var(--text); font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.page[data-page="profile"] .profile-stat > small { font-size: 11px; line-height: 1.2; color: #969089; }
.page[data-page="profile"] .profile-stat > .profile-stat-money { font-size: clamp(14px,4vw,18px); min-height: 24px; }
.page[data-page="profile"] .profile-stat > b.positive { color: var(--success); }
.page[data-page="profile"] .profile-stat > b.negative { color: var(--danger); }
.page[data-page="profile"] .profile-menu-card { padding: 4px var(--profile-inset) !important; }
.page[data-page="profile"] .profile-menu-row { position: relative; grid-template-columns: 36px minmax(0,1fr) auto 20px; min-height: 64px; padding: 8px 0; gap: 10px; border: 0; font: inherit; }
.page[data-page="profile"] .profile-menu-row::after { content: ''; position: absolute; left: 46px; right: 0; bottom: 0; height: 1px; background: rgba(92,80,68,.075); }
.page[data-page="profile"] .profile-menu-row:last-child::after { display: none; }
.page[data-page="profile"] .profile-menu-icon { width: 36px; height: 36px; border-radius: 12px; background: #f3f5f2; color: var(--sage-dark); }
.page[data-page="profile"] .profile-menu-icon svg { width: 21px; height: 21px; }
.page[data-page="profile"] .profile-menu-copy { gap: 3px; }
.page[data-page="profile"] .profile-menu-copy b { font-size: 14px; font-weight: 550; line-height: 1.2; }
.page[data-page="profile"] .profile-menu-copy small { font-size: 11px; line-height: 1.25; color: #8b857e; }
.page[data-page="profile"] .profile-menu-value { font-size: 12px; font-weight: 500; color: #78736c; }
.page[data-page="profile"] .profile-identity-card:focus-visible,
.page[data-page="profile"] .profile-stats-card:focus-visible,
.page[data-page="profile"] .profile-menu-row:focus-visible { outline: 2px solid #7f9d84; outline-offset: 2px; }
@media (max-width: 360px) {
  .page[data-page="profile"] { --profile-inset: 14px; }
  .page[data-page="profile"] .profile-menu-row { gap: 8px; }
  .page[data-page="profile"] .profile-menu-row::after { left: 44px; }
  .page[data-page="profile"] .profile-stat > span { font-size: 11px; }
}
