.home-shell { padding: calc(var(--ion-safe-area-top, 0px) + 12px) 0 calc(140px + var(--ion-safe-area-bottom, 0px)); background: linear-gradient(180deg, #fcfbff 0%, #f2edf8 44%, #fbfbfc 100%); min-height: 100%; } .home-topline, .home-header-actions-row, .home-section-row, .home-action-grid, .home-activity-card { margin-left: 20px; margin-right: 20px; } .home-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .home-topline-left { display: flex; align-items: center; gap: 12px; min-width: 0; } .home-main-avatar-wrap { width: 52px; height: 52px; border: none; padding: 0; border-radius: 999px; overflow: hidden; background: #eadff8; color: #6d28d9; flex-shrink: 0; display: flex; align-items: center; justify-content: center; } .home-main-avatar, .home-person-avatar { width: 100%; height: 100%; object-fit: cover; } .home-main-avatar-fallback { color: currentColor; font-size: 20px; line-height: 1; font-weight: 800; } .home-greeting-block { min-width: 0; } .home-greeting { margin: 0; color: #151624; font-size: 20px; line-height: 1.02; font-weight: 800; letter-spacing: -0.045em; } .home-notification-card { width: 50px; height: 50px; border: none; border-radius: 18px; background: rgba(255, 255, 255, 0.94); color: #171827; display: flex; align-items: center; justify-content: center; position: relative; font-size: 23px; flex-shrink: 0; box-shadow: 0 12px 28px rgba(92, 63, 134, 0.07); } .home-notification-card ion-icon { transform: translateY(1px); --ionicon-stroke-width: 34px; } .home-dot { position: absolute; top: 9px; right: 9px; width: 9px; height: 9px; border-radius: 999px; background: #7c3aed; box-shadow: 0 0 0 3px #ffffff; } .home-header-actions-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; margin-left: 84px; margin-right: 20px; } .home-tagline-wrap { flex: 1; min-width: 0; display: flex; align-items: center; } .home-subcopy { margin: 0; color: rgba(21, 22, 36, 0.56); font-size: 13px; line-height: 1.16; font-weight: 700; letter-spacing: -0.015em; max-width: 134px; } .home-month-pill { min-width: 142px; max-width: 154px; min-height: 46px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); display: flex; align-items: center; justify-content: center; gap: 9px; padding: 6px 12px 6px 8px; box-shadow: 0 12px 28px rgba(92, 63, 134, 0.07); flex-shrink: 0; } .home-month-icon { width: 31px; height: 31px; border-radius: 999px; background: #f1e7fb; color: #8b3ff2; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; } .home-month-copy { min-width: 0; transform: translateY(1px); } .home-month-label { margin: 0 0 1px; color: rgba(21, 22, 36, 0.42); font-size: 9px; line-height: 1.02; font-weight: 600; } .home-month-value { margin: 0; color: #6d28d9; font-size: 13px; line-height: 1.06; font-weight: 800; } .home-section-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; margin-bottom: 8px; } .home-section-row-spaced { margin-top: 18px; } .home-section-heading { margin: 0; color: #171827; font-size: 20px; line-height: 1.15; font-weight: 800; letter-spacing: -0.035em; } .home-section-link { border: none; background: transparent; padding: 0; color: #6d28d9; font-size: 14px; line-height: 1.2; font-weight: 700; } .home-loved-ones-scroll { display: flex; gap: 12px; overflow-x: auto; padding: 0 20px 4px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; } .home-loved-ones-scroll::-webkit-scrollbar { display: none; } .home-person-card { width: 264px; min-width: 264px; border-radius: 24px; padding: 13px; display: flex; flex-direction: column; gap: 10px; scroll-snap-align: start; } .home-person-card-lavender { background: #f6effb; } .home-person-card-mint { background: #edf7ef; } .home-person-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; } .home-person-meta { display: flex; align-items: center; gap: 12px; min-width: 0; } .home-person-avatar-shell { width: 54px; height: 54px; border-radius: 999px; overflow: hidden; background: #eadff8; color: #6d28d9; position: relative; flex-shrink: 0; display: flex; align-items: center; justify-content: center; } .home-person-initial { color: currentColor; font-size: 20px; line-height: 1; font-weight: 800; } .home-person-online { position: absolute; right: 1px; bottom: 2px; width: 11px; height: 11px; border-radius: 999px; border: 2px solid #ffffff; background: #16a34a; } .home-person-name { margin: 0 0 3px; color: #171827; font-size: 15px; line-height: 1.12; font-weight: 800; } .home-person-location { margin: 0; color: rgba(23, 24, 39, 0.52); font-size: 12px; line-height: 1.18; font-weight: 500; } .home-card-menu-wrap { position: relative; flex-shrink: 0; } .home-card-menu { width: 24px; height: 24px; border: none; border-radius: 10px; background: rgba(255, 255, 255, 0.44); color: rgba(23, 24, 39, 0.58); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; } .home-card-menu.is-active { background: rgba(109, 40, 217, 0.12); color: #6d28d9; } .home-loved-one-panel { position: absolute; top: 34px; right: 0; z-index: 4; min-width: 104px; border-radius: 12px; background: rgba(255, 255, 255, 0.98); padding: 4px; display: flex; flex-direction: column; gap: 2px; } .home-loved-one-panel-action { width: 100%; min-height: 28px; border: none; border-radius: 10px; background: transparent; color: #171827; padding: 0 8px; display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; text-align: left; } .home-loved-one-panel-action ion-icon { font-size: 13px; flex-shrink: 0; } .home-loved-one-panel-action.is-danger { color: #dc2626; } .home-loved-one-panel-action:disabled { opacity: 0.6; } .home-status-stack { display: grid; grid-template-rows: repeat(3, 48px); gap: 8px; min-height: 160px; max-height: 160px; overflow: hidden; } .home-status-row { display: flex; align-items: center; gap: 10px; height: 48px; min-height: 48px; background: rgba(255, 255, 255, 0.46); border-radius: 12px; padding: 8px 10px; } .home-status-empty-row { min-height: 156px; border-radius: 12px; background: rgba(255, 255, 255, 0.46); color: rgba(23, 24, 39, 0.52); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 12px; line-height: 1.2; font-weight: 700; text-align: center; } .home-status-empty-row ion-icon { font-size: 22px; color: rgba(109, 40, 217, 0.42); } .home-person-card-mint .home-status-row { background: rgba(255, 255, 255, 0.46); } .home-status-icon, .home-action-icon, .home-alert-icon, .home-activity-icon { width: 34px; height: 34px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; } .home-status-icon ion-icon, .home-action-icon ion-icon, .home-alert-icon ion-icon, .home-activity-icon ion-icon { --ionicon-stroke-width: 42px; } .home-custom-icon { width: 24px; height: 24px; object-fit: contain; display: block; flex-shrink: 0; } .home-custom-icon.is-basket { width: 32px; height: 32px; } .home-custom-icon.is-pill { width: 34px; height: 34px; } .home-status-copy { flex: 1; min-width: 0; } .home-status-label { margin: 0 0 2px; color: #171827; font-size: 13px; line-height: 1.12; font-weight: 800; } .home-status-detail { margin: 0; font-size: 10.5px; line-height: 1.12; font-weight: 600; } .home-status-detail.is-success, .home-status-trailing.is-success { color: #16a34a; } .home-status-detail.is-warning, .home-status-trailing.is-warning { color: #d99a12; } .home-status-trailing { font-size: 18px; flex-shrink: 0; } .home-send-button { width: 100%; min-height: 48px; border: none; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; font-size: 14px; font-weight: 800; margin-top: 4px; } .home-send-button.home-tone-grocery { background: #6d28d9; color: #ffffff; } .home-send-button.home-tone-grocery .home-send-button-icon { color: #6d28d9; } .home-send-button.home-tone-medication { background: #16a34a; color: #ffffff; } .home-send-button.home-tone-medication .home-send-button-icon { color: #16a34a; } .home-send-button.home-tone-airtime { background: #2563eb; color: #ffffff; } .home-send-button.home-tone-airtime .home-send-button-icon { color: #2563eb; } .home-send-button.home-tone-electricity { background: #d97706; color: #ffffff; } .home-send-button.home-tone-electricity .home-send-button-icon { color: #d97706; } .home-send-button-icon { width: 28px; height: 28px; border-radius: 999px; background: #ffffff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .home-send-button-icon ion-icon { font-size: 18px; --ionicon-stroke-width: 42px; } .home-send-button-icon .home-custom-icon.is-basket { width: 40.32px; height: 40.32px; } .home-carousel-indicator { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; } .home-dot-active { width: 18px; height: 6px; border-radius: 999px; background: #6d28d9; } .home-dot-inactive { width: 6px; height: 6px; border-radius: 999px; background: rgba(109, 40, 217, 0.18); } .home-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .home-action-card { min-height: 84px; border: none; border-radius: 24px; background: rgba(255, 255, 255, 0.94); padding: 14px; display: flex; align-items: center; gap: 12px; text-align: left; box-shadow: none; } .home-action-card .home-action-icon { width: 42px; height: 42px; border-radius: 12px; font-size: 22px; } .home-action-card .home-action-icon ion-icon { --ionicon-stroke-width: 38px; } .home-action-card .home-action-icon .home-custom-icon.is-basket { width: 30px; height: 30px; } .home-action-text-block { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .home-action-label { color: #171827; font-size: 15px; line-height: 1.2; font-weight: 800; } .home-action-helper { color: rgba(23, 24, 39, 0.56); font-size: 11px; line-height: 1.3; font-weight: 600; } .home-alert-marquee { position: relative; overflow-x: auto; overflow-y: hidden; padding: 0 0 4px; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; } .home-alert-marquee::-webkit-scrollbar { display: none; } .home-alert-marquee:active { cursor: grabbing; } .home-alert-marquee-track { display: flex; gap: 12px; width: max-content; padding: 0 20px; animation: home-alert-marquee-scroll 24s linear infinite; will-change: transform; } .home-alert-marquee:hover .home-alert-marquee-track, .home-alert-marquee:active .home-alert-marquee-track, .home-alert-marquee:focus-within .home-alert-marquee-track { animation-play-state: paused; } .home-alert-overlay-state, .home-alert-overlay-note { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 20px 4px; pointer-events: none; } .home-alert-overlay-note { justify-content: flex-start; } @keyframes home-alert-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } } @media (prefers-reduced-motion: reduce) { .home-alert-marquee-track { animation: none; } } .home-alert-card { width: 215px; min-width: 215px; min-height: 94px; border: none; border-radius: 24px; background: #ffffff; padding: 14px 12px; display: flex; align-items: center; gap: 10px; text-align: left; scroll-snap-align: start; box-shadow: none; transition: transform 0.18s ease; flex-shrink: 0; } .home-alert-content { flex: 1; display: flex; flex-direction: column; min-width: 0; } .home-alert-title { color: #171827; font-size: 14px; line-height: 1.16; font-weight: 800; margin-bottom: 4px; } .home-alert-subtitle { color: rgba(23, 24, 39, 0.6); font-size: 10.5px; line-height: 1.22; font-weight: 600; } .home-alert-chevron-chip { width: 34px; height: 34px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; } .home-alert-chevron-chip ion-icon { --ionicon-stroke-width: 48px; } .home-alert-card:active { transform: scale(0.985); } .home-alert-preview-note { min-width: fit-content; align-self: center; border-radius: 999px; background: rgba(109, 40, 217, 0.1); color: #6d28d9; padding: 7px 12px; font-size: 11px; font-weight: 800; flex-shrink: 0; } .home-alert-error { min-width: fit-content; align-self: center; margin: 0; border-radius: 999px; background: rgba(220, 38, 38, 0.1); color: #dc2626; padding: 7px 12px; font-size: 11px; font-weight: 800; flex-shrink: 0; } .home-alert-skeleton .home-alert-icon, .home-alert-skeleton-title, .home-alert-skeleton-subtitle, .home-alert-skeleton-cta { background: #eee8f6; } .home-alert-skeleton-title, .home-alert-skeleton-subtitle, .home-alert-skeleton-cta { display: block; border-radius: 12px; } .home-alert-skeleton-title { width: 118px; height: 13px; margin-bottom: 6px; } .home-alert-skeleton-subtitle { width: 86px; height: 11px; margin-bottom: 9px; } .home-alert-skeleton-cta { width: 72px; height: 21px; border-radius: 999px; } .home-tone-grocery { background: rgba(109, 40, 217, 0.12); color: #6d28d9; } .home-alert-cta.home-tone-grocery { background: rgba(109, 40, 217, 0.12); } .home-tone-medication { background: rgba(22, 163, 74, 0.12); color: #16a34a; } .home-alert-cta.home-tone-medication { background: rgba(22, 163, 74, 0.12); } .home-tone-airtime { background: rgba(59, 130, 246, 0.12); color: #2563eb; } .home-alert-cta.home-tone-airtime { background: rgba(59, 130, 246, 0.12); } .home-tone-electricity { background: rgba(245, 158, 11, 0.14); color: #d97706; } .home-alert-cta.home-tone-electricity { background: rgba(245, 158, 11, 0.14); } .home-tone-default { background: #f4f4f5; color: #52525b; } .home-alert-cta.home-tone-default { background: rgba(82, 82, 91, 0.12); } .home-empty-alerts { background: #ffffff; border-radius: 24px; padding: 24px 20px; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 4px 12px rgba(23, 24, 39, 0.03); } .home-empty-alerts-icon { width: 48px; height: 48px; border-radius: 24px; background: #f3ebff; color: #6d28d9; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; } .home-empty-alerts-icon ion-icon { font-size: 24px; } .home-empty-alerts-msg { font-size: 16px; font-weight: 700; color: #171827; margin: 0 0 4px; } .home-empty-alerts-helper { font-size: 13px; color: rgba(23, 24, 39, 0.6); margin: 0 0 16px; line-height: 1.4; max-width: 220px; } .home-empty-alerts-cta { background: #6d28d9; color: #ffffff; font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 999px; border: none; } .home-alert-chevron, .home-activity-chevron { color: rgba(23, 24, 39, 0.32); font-size: 16px; flex-shrink: 0; } .home-activity-card { background: rgba(255, 255, 255, 0.94); border-radius: 24px; padding: 4px 0; } .home-activity-row { display: flex; align-items: flex-start; gap: 14px; padding: 13px 14px; position: relative; } .home-activity-row::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 1px; background: rgba(23, 24, 39, 0.06); } .home-activity-row-button { width: 100%; border: none; background: transparent; text-align: left; } .home-activity-row.is-last { padding-bottom: 15px; } .home-activity-row.is-last::after { display: none; } .home-activity-avatar-shell { position: relative; width: 53px; height: 53px; border-radius: 999px; flex-shrink: 0; } .home-activity-avatar { width: 100%; height: 100%; border-radius: 999px; object-fit: cover; background: #eadff8; } .home-activity-avatar-fallback { color: #6d28d9; display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; font-weight: 800; } .home-activity-avatar-badge { position: absolute; bottom: -5px; right: -5px; width: 30px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; border: 2px solid #ffffff; box-shadow: 0 6px 14px rgba(23, 24, 39, 0.12); } .home-activity-avatar-badge.home-tone-grocery { background: #f1e7fb; color: #6d28d9; } .home-activity-avatar-badge.home-tone-medication { background: #e8f7ee; color: #16a34a; } .home-activity-avatar-badge.home-tone-airtime { background: #eaf3ff; color: #3b82f6; } .home-activity-avatar-badge.home-tone-electricity { background: #fff2df; color: #d97706; } .home-activity-avatar-badge .home-custom-icon { width: 12px; height: 12px; } .home-activity-avatar-badge .home-custom-icon.is-basket { width: 22px; height: 22px; } .home-activity-avatar-badge .home-custom-icon.is-pill { width: 15px; height: 15px; } .home-activity-avatar-badge ion-icon { font-size: 13px; --ionicon-stroke-width: 48px; } .home-activity-copy { flex: 1; min-width: 0; } .home-activity-head-row { display: grid; grid-template-columns: minmax(128px, 1fr) auto; align-items: flex-start; gap: 10px; } .home-activity-text-block { min-width: 0; } .home-activity-title { margin: 0 0 3px; color: #171827; font-size: 14px; line-height: 1.2; font-weight: 800; white-space: nowrap; } .home-activity-subtitle, .home-activity-meta { margin: 0; color: rgba(23, 24, 39, 0.54); font-size: 12px; line-height: 1.35; font-weight: 600; } .home-activity-meta { margin-top: 2px; } .home-activity-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; min-width: 92px; } .home-activity-amount { margin: 0; color: #171827; font-size: 14px; line-height: 1.1; font-weight: 700; } .home-activity-badge { width: fit-content; min-height: 24px; border-radius: 999px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; text-transform: capitalize; } .home-activity-breakdown { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; } .home-activity-breakdown-summary { display: flex; flex-wrap: wrap; gap: 6px; } .home-activity-breakdown-pill { min-height: 24px; border-radius: 999px; padding: 0 10px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; } .home-activity-breakdown-pill.is-redeemed { background: rgba(22, 163, 74, 0.1); color: #16a34a; } .home-activity-breakdown-pill.is-remaining { background: rgba(245, 158, 11, 0.12); color: #d97706; } .home-activity-usage-note { width: 100%; margin: 0; color: rgba(23, 24, 39, 0.56); font-size: 11px; line-height: 1.4; font-weight: 500; } .home-activity-dot { width: 6px; height: 6px; border-radius: 999px; } .home-activity-badge ion-icon { font-size: 12px; flex-shrink: 0; } .home-badge-success { background: rgba(22, 163, 74, 0.1); color: #16a34a; } .home-badge-info { background: rgba(59, 130, 246, 0.1); color: #3b82f6; } .home-badge-warning { background: rgba(245, 158, 11, 0.1); color: #d97706; } .home-badge-info { background: rgba(109, 40, 217, 0.1); color: #6d28d9; } .home-badge-partial { background: rgba(245, 158, 11, 0.14); color: #b45309; } .home-badge-default { background: rgba(23, 24, 39, 0.05); color: rgba(23, 24, 39, 0.6); } .home-tone-brand, .home-tone-grocery { background: rgba(109, 40, 217, 0.12); color: #6d28d9; } .home-tone-rose, .home-tone-medication, .home-tone-success, .home-tone-mint { background: rgba(22, 163, 74, 0.12); color: #16a34a; } .home-tone-blue, .home-tone-airtime { background: rgba(59, 130, 246, 0.12); color: #2563eb; } .home-tone-amber, .home-tone-warning, .home-tone-gold, .home-tone-electricity { background: rgba(245, 158, 11, 0.14); color: #d97706; } @media (max-width: 380px) { .home-header-actions-row { margin-left: 78px; gap: 8px; } .home-subcopy { max-width: 118px; font-size: 12px; } .home-month-pill { min-width: 136px; max-width: 146px; } .home-person-card { width: 264px; min-width: 264px; } .home-action-card { min-height: 70px; padding: 10px 12px; } .home-action-label { font-size: 14px; } }