@charset "utf-8";

#page-profile { background: rgb(244, 247, 245); min-height: 100vh; padding-bottom: 80px; }

@keyframes prf-grad-shift { 
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes prf-float { 
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(1deg); }
  66% { transform: translateY(-4px) rotate(-1deg); }
}

@keyframes prf-pulse-glow { 
  0%, 100% { box-shadow: rgba(122, 158, 126, 0) 0px 0px 0px 0px; }
  50% { box-shadow: rgba(122, 158, 126, 0.12) 0px 0px 0px 12px; }
}

@keyframes prf-fade-up { 
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0px); }
}

@keyframes prf-counter { 
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes prf-sparkle { 
  0% { transform: scale(0) rotate(0deg); opacity: 0; }
  50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
  100% { transform: scale(0) rotate(360deg); opacity: 0; }
}

@keyframes prf-energy-pulse { 
  0%, 100% { opacity: 0.6; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.02); }
}

@keyframes prf-bloom { 
  0% { opacity: 0; transform: scale(0.94) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0px); }
}

@keyframes cardIn { 
  100% { opacity: 1; transform: translateY(0px); }
}

.prf-hero { position: relative; overflow: hidden; background: linear-gradient(-45deg, rgb(232, 244, 233), rgb(221, 240, 247), rgb(232, 227, 245), rgb(252, 228, 212), rgb(254, 246, 220), rgb(232, 244, 233)) 0% 0% / 400% 400%; animation: 14s ease 0s infinite normal none running prf-grad-shift; padding: 52px 24px 48px; text-align: center; }

.prf-hero-blur-1 { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(122, 158, 126, 0.22) 0%, transparent 70%); top: -60px; left: -60px; pointer-events: none; animation: 8s ease-in-out 0s infinite normal none running prf-float; }

.prf-hero-blur-2 { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 191, 212, 0.2) 0%, transparent 70%); bottom: -40px; right: -40px; pointer-events: none; animation: 11s ease-in-out 0s infinite reverse none running prf-float; }

.prf-hero-blur-3 { position: absolute; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(181, 167, 212, 0.18) 0%, transparent 70%); top: 30%; left: 65%; pointer-events: none; animation: 9s ease-in-out 2s infinite normal none running prf-float; }

.prf-avatar-ring { position: relative; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; animation: 3s ease-in-out 0s infinite normal none running prf-pulse-glow; }

.prf-avatar { width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, rgb(232, 244, 233), rgb(221, 240, 247)); border: 3px solid rgba(255, 255, 255, 0.9); display: flex; align-items: center; justify-content: center; font-size: 2.4rem; box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 32px; cursor: pointer; transition: 0.3s; position: relative; overflow: hidden; }

.prf-avatar:hover { transform: scale(1.04); }

.prf-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.prf-avatar-edit { position: absolute; bottom: 2px; right: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--sage); color: rgb(255, 255, 255); display: flex; align-items: center; justify-content: center; font-size: 0.65rem; cursor: pointer; box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px; border: 2px solid rgb(255, 255, 255); }

.prf-welcome { font-family: Georgia, serif; font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; color: rgb(45, 61, 90); margin-bottom: 6px; line-height: 1.15; animation: 0.6s ease 0s 1 normal both running prf-fade-up; }

.prf-welcome-sub { font-size: 0.95rem; color: rgb(106, 122, 138); line-height: 1.7; margin-bottom: 22px; animation: 0.7s ease 0.1s 1 normal both running prf-fade-up; }

.prf-membership { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 50px; padding: 6px 16px; font-size: 0.76rem; font-weight: 700; color: rgb(74, 122, 78); margin-bottom: 22px; box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 12px; }

.prf-hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 24px; animation: 0.8s ease 0.2s 1 normal both running prf-fade-up; }

.prf-stat-pill { background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 50px; padding: 8px 18px; font-size: 0.82rem; font-weight: 700; color: rgb(45, 61, 90); box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 10px; display: flex; align-items: center; gap: 6px; }

.prf-stat-n { font-family: Georgia, serif; font-size: 1.1rem; font-weight: 700; color: var(--sage-dk); }

.prf-hero-btn { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border: 1.5px solid rgba(255, 255, 255, 0.9); border-radius: 50px; padding: 10px 24px; font-size: 0.88rem; font-weight: 700; color: rgb(45, 61, 90); cursor: pointer; font-family: inherit; transition: 0.22s; box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 16px; }

.prf-hero-btn:hover { background: rgba(255, 255, 255, 0.95); transform: translateY(-2px); box-shadow: rgba(0, 0, 0, 0.12) 0px 8px 24px; }

.prf-content { max-width: 860px; margin: 0px auto; padding: 28px 18px 10px; display: flex; flex-direction: column; gap: 20px; }

.prf-glass { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 28px; box-shadow: rgba(0, 0, 0, 0.07) 0px 8px 32px; overflow: hidden; transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1); animation: 0.55s ease 0s 1 normal both running prf-bloom; }

.prf-glass:hover { box-shadow: rgba(0, 0, 0, 0.1) 0px 16px 48px; transform: translateY(-2px); }

.prf-glass-body { padding: 26px 24px; }

.prf-week-card { background: rgb(30, 45, 61); position: relative; overflow: hidden; }

.prf-week-card::before { content: ""; position: absolute; inset: 0px; background: radial-gradient(at 20% 50%, rgba(122, 158, 126, 0.18) 0%, transparent 60%), radial-gradient(at 80% 20%, rgba(123, 191, 212, 0.14) 0%, transparent 50%), radial-gradient(at 60% 80%, rgba(181, 167, 212, 0.12) 0%, transparent 40%); pointer-events: none; }

.prf-week-header { padding: 28px 26px 20px; position: relative; }

.prf-week-eyebrow { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 6px; }

.prf-week-title { font-family: Georgia, serif; font-size: clamp(1.6rem, 3.5vw, 2rem); font-weight: 700; color: rgb(255, 255, 255); line-height: 1.12; margin-bottom: 6px; }

.prf-week-sub { font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); line-height: 1.6; }

.prf-mood-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0px 26px 20px; position: relative; }

.prf-mood-chip { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 16px; padding: 14px 12px; text-align: center; transition: 0.22s; cursor: pointer; position: relative; overflow: hidden; }

.prf-mood-chip::before { content: ""; position: absolute; inset: 0px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%); }

.prf-mood-chip:hover { background: rgba(255, 255, 255, 0.18); transform: scale(1.02); }

.prf-mood-emoji { font-size: 1.4rem; margin-bottom: 4px; }

.prf-mood-name { font-size: 0.68rem; font-weight: 700; color: rgba(255, 255, 255, 0.75); margin-bottom: 6px; }

.prf-mood-bar-wrap { height: 4px; background: rgba(255, 255, 255, 0.12); border-radius: 2px; overflow: hidden; }

.prf-mood-bar { height: 100%; border-radius: 2px; transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1); width: 0px; }

.prf-mood-pct { font-size: 0.7rem; font-weight: 800; color: rgb(255, 255, 255); margin-top: 4px; }

.prf-week-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.06); border-top: 1px solid rgba(255, 255, 255, 0.1); }

.prf-week-stat { padding: 16px 14px; text-align: center; }

.prf-week-stat-n { font-family: Georgia, serif; font-size: 1.5rem; font-weight: 700; color: rgb(255, 255, 255); display: block; line-height: 1; margin-bottom: 3px; }

.prf-week-stat-l { font-size: 0.68rem; font-weight: 700; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 0.07em; }

.prf-insight-strip { padding: 16px 26px 20px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(255, 255, 255, 0.07); position: relative; }

.prf-insight-line { display: flex; align-items: center; gap: 10px; animation: 0.5s ease 0s 1 normal both running prf-fade-up; }

.prf-insight-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.prf-insight-line span { font-size: 0.84rem; color: rgba(255, 255, 255, 0.75); line-height: 1.5; }

.prf-week-actions { padding: 20px 26px 24px; display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.07); }

.prf-week-btn-primary { background: rgba(122, 158, 126, 0.85); backdrop-filter: blur(8px); border: 1.5px solid rgba(122, 158, 126, 0.6); color: rgb(255, 255, 255); border-radius: 50px; padding: 10px 22px; font-size: 0.86rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: 0.22s; }

.prf-week-btn-primary:hover { background: var(--sage); transform: translateY(-1px); }

.prf-week-btn-ghost { background: rgba(255, 255, 255, 0.1); border: 1.5px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.85); border-radius: 50px; padding: 9px 20px; font-size: 0.84rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: 0.22s; }

.prf-week-btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }

.prf-hub-wrap { max-width: 1120px; margin: 0px auto; padding: 24px 18px 80px; background: transparent !important; border-width: medium !important; border-style: none !important; border-color: currentcolor !important; border-image: initial !important; box-shadow: none !important; border-radius: 0px !important; }

#page-profile .mp-page { max-width: 860px; margin: 0px auto; padding: 32px 24px 80px; }

:root { --sage: #7a9e7e; --sage-dk: #4a7a4e; --sage-lt: #e8f4e9; --sage-pale: #f2f8f2; --peach: #f4a97f; --peach-lt: #fce4d4; --lav: #b5a7d4; --lav-lt: #e8e3f5; --sky: #7bbfd4; --sky-lt: #ddf0f7; --yel: #f5d77e; --yel-lt: #fef6dc; --pink: #e8b4b8; --pink-lt: #fdf0f1; --pink-pale: #fff6f7; --navy: #2c3e5c; --navy-lt: #eef1f6; --navy-pale: #f6f8fb; --cream: #faf8f5; --white: #ffffff; --char: #2d2d2d; --brown: #7a6b5d; --muted: #a89d94; --red: #e05555; --r: 18px; --r-sm: 12px; --r-lg: 24px; --sh: 0 2px 18px rgba(44,62,92,0.07); --sh-hover: 0 8px 36px rgba(44,62,92,0.13); --tr: all 0.22s cubic-bezier(.4,0,.2,1); }

*, ::before, ::after { margin: 0px; padding: 0px; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { font-family: "DM Sans", system-ui, sans-serif; background: var(--hu-white-mist); color: var(--char); -webkit-font-smoothing: antialiased; min-height: 100vh; }

.mp-page { max-width: 1120px; margin: 0px auto; padding: 32px 1.5rem 80px; }

.section-eyebrow { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--sage); margin-bottom: 4px; }

.section-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.55rem; font-weight: 600; color: var(--navy); line-height: 1.2; margin-bottom: 4px; }

.section-sub { font-size: 0.85rem; color: var(--brown); line-height: 1.65; font-weight: 300; margin-bottom: 20px; }

.mp-card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh); border: 1px solid rgba(44, 62, 92, 0.06); overflow: hidden; transition: var(--tr); margin-bottom: 20px; }

.mp-card:hover { box-shadow: var(--sh-hover); }

.mp-card-header { padding: 22px 24px 18px; border-bottom: 1px solid rgba(0, 0, 0, 0.05); display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.mp-card-header-left { display: flex; align-items: center; gap: 14px; }

.mp-card-icon { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }

.icon-sage { background: var(--sage-lt); }

.icon-pink { background: var(--pink-lt); }

.icon-sky { background: var(--sky-lt); }

.icon-lav { background: var(--lav-lt); }

.icon-peach { background: var(--peach-lt); }

.icon-yel { background: var(--yel-lt); }

.icon-navy { background: var(--navy-lt); }

.mp-card-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.15rem; font-weight: 600; color: var(--navy); line-height: 1.2; }

.mp-card-subtitle { font-size: 0.78rem; color: var(--brown); margin-top: 2px; font-weight: 300; }

.mp-card-body { padding: 22px 24px; }

.btn-primary { display: inline-flex; align-items: center; gap: 7px; background: linear-gradient(135deg, var(--sage), var(--sage-dk)); color: rgb(255, 255, 255); border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; padding: 11px 22px; border-radius: 50px; font-size: 0.86rem; font-weight: 600; cursor: pointer; transition: var(--tr); font-family: inherit; box-shadow: rgba(122, 158, 126, 0.3) 0px 3px 14px; }

.btn-primary:hover { transform: translateY(-2px); box-shadow: rgba(122, 158, 126, 0.4) 0px 6px 20px; }

.btn-outline { display: inline-flex; align-items: center; gap: 7px; background: transparent; color: var(--navy); border: 1.5px solid rgba(44, 62, 92, 0.2); padding: 9px 20px; border-radius: 50px; font-size: 0.84rem; font-weight: 500; cursor: pointer; transition: var(--tr); font-family: inherit; }

.btn-outline:hover { background: var(--navy-pale); border-color: var(--navy); }

.btn-ghost { display: inline-flex; align-items: center; gap: 6px; background: var(--hu-white-mist); color: var(--brown); border: 1.5px solid rgba(0, 0, 0, 0.08); padding: 8px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: var(--tr); font-family: inherit; }

.btn-ghost:hover { background: var(--sage-lt); border-color: var(--sage); color: var(--sage-dk); }

.btn-sm { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 50px; font-size: 0.76rem; font-weight: 500; cursor: pointer; transition: var(--tr); font-family: inherit; border: 1.5px solid rgba(44, 62, 92, 0.14); background: var(--white); color: var(--brown); }

.btn-sm:hover { background: var(--sage-lt); border-color: var(--sage); color: var(--sage-dk); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.profile-header-card { background: linear-gradient(145deg, rgb(255, 255, 255) 0%, rgb(246, 248, 251) 60%, rgb(242, 248, 242) 100%); border-radius: var(--r-lg); box-shadow: var(--sh); border: 1px solid rgba(44, 62, 92, 0.06); padding: 36px 32px 28px; margin-bottom: 24px; position: relative; overflow: hidden; }

.profile-header-card::before { display: none; }

.profile-header-card::after { content: ""; position: absolute; bottom: -40px; left: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(122, 158, 126, 0.1) 0%, transparent 70%); pointer-events: none; }

.ph-inner { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 24px; }

.ph-avatar { width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(135deg, var(--sage), var(--sage-dk)); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; font-weight: 700; color: rgb(255, 255, 255); flex-shrink: 0; box-shadow: rgba(122, 158, 126, 0.3) 0px 4px 18px; font-family: "Cormorant Garamond", serif; letter-spacing: -0.02em; border: 3px solid rgba(255, 255, 255, 0.9); }

.ph-info { flex: 1 1 0%; min-width: 0px; }

.ph-name { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.85rem; font-weight: 600; color: var(--navy); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 6px; }

.ph-account-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--sage-lt); border: 1px solid rgba(122, 158, 126, 0.25); border-radius: 50px; padding: 4px 12px; font-size: 0.74rem; font-weight: 600; color: var(--sage-dk); margin-bottom: 10px; }

.ph-tagline { font-size: 0.92rem; color: var(--brown); font-weight: 300; line-height: 1.6; max-width: 480px; font-style: italic; margin-bottom: 20px; }

.ph-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.household-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }

.hh-card { background: var(--hu-white-mist); border-radius: 16px; padding: 18px 14px 16px; text-align: center; border: 1.5px solid rgba(0, 0, 0, 0.06); cursor: pointer; transition: var(--tr); position: relative; }

.hh-card:hover { background: var(--white); border-color: var(--sage); box-shadow: rgba(122, 158, 126, 0.15) 0px 4px 18px; transform: translateY(-2px); }

.hh-card.add-card { border-style: dashed; background: transparent; }

.hh-card.add-card:hover { background: var(--sage-pale); border-color: var(--sage); }

.hh-avatar { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0px auto 10px; }

.hh-name { font-size: 0.88rem; font-weight: 600; color: var(--char); margin-bottom: 3px; }

.hh-age { font-size: 0.74rem; color: var(--muted); margin-bottom: 8px; }

.hh-tags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }

.hh-tag { font-size: 0.65rem; font-weight: 600; padding: 2px 8px; border-radius: 50px; background: var(--sage-lt); color: var(--sage-dk); }

.hh-tag.allergy { background: var(--peach-lt); color: rgb(160, 74, 26); }

.hh-links { display: flex; gap: 5px; justify-content: center; margin-top: 8px; flex-wrap: wrap; }

.hh-link { font-size: 0.62rem; font-weight: 600; padding: 2px 7px; border-radius: 50px; background: var(--navy-lt); color: var(--navy); border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; cursor: pointer; font-family: inherit; transition: var(--tr); }

.hh-link:hover { background: var(--navy); color: rgb(255, 255, 255); }

.hh-edit-btn { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 1px solid rgba(0, 0, 0, 0.08); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; cursor: pointer; transition: var(--tr); opacity: 0; }

.hh-card:hover .hh-edit-btn { opacity: 1; }

.pref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }

.pref-item { background: var(--hu-white-mist); border-radius: 14px; padding: 16px; border: 1px solid rgba(0, 0, 0, 0.05); }

.pref-item-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

.pref-tags { display: flex; flex-wrap: wrap; gap: 5px; }

.pref-tag { font-size: 0.75rem; font-weight: 500; padding: 3px 10px; border-radius: 50px; background: var(--white); border: 1px solid rgba(0, 0, 0, 0.08); color: var(--char); }

.support-intro { background: linear-gradient(135deg, var(--sage-pale), #f0f7f1); border: 1px solid rgba(122, 158, 126, 0.18); border-radius: 14px; padding: 16px 18px; margin-bottom: 20px; font-size: 0.87rem; color: var(--brown); line-height: 1.7; font-weight: 300; }

.support-intro strong { color: var(--sage-dk); font-weight: 600; }

.support-list { display: flex; flex-direction: column; gap: 12px; }

.support-person { display: flex; align-items: center; gap: 14px; background: var(--hu-white-mist); border-radius: 14px; padding: 14px 16px; border: 1px solid rgba(0, 0, 0, 0.05); transition: var(--tr); }

.support-person:hover { background: var(--white); box-shadow: var(--sh); }

.sp-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }

.sp-info { flex: 1 1 0%; min-width: 0px; }

.sp-name { font-size: 0.9rem; font-weight: 600; color: var(--char); margin-bottom: 2px; }

.sp-role { font-size: 0.76rem; color: var(--brown); }

.sp-status { display: inline-flex; align-items: center; gap: 4px; font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; flex-shrink: 0; }

.status-connected { background: var(--sage-lt); color: var(--sage-dk); }

.status-invited { background: var(--yel-lt); color: rgb(122, 85, 0); }

.status-pending { background: var(--navy-lt); color: var(--navy); }

.sp-permission { font-size: 0.72rem; color: var(--muted); flex-shrink: 0; max-width: 130px; text-align: right; line-height: 1.4; }

.sp-actions { display: flex; gap: 6px; flex-shrink: 0; }

.wellness-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }

.wellness-item { background: var(--hu-white-mist); border-radius: 14px; padding: 16px; border: 1.5px solid rgba(0, 0, 0, 0.06); cursor: pointer; transition: var(--tr); display: flex; align-items: center; gap: 12px; }

.wellness-item:hover { background: var(--white); border-color: var(--sage); box-shadow: rgba(122, 158, 126, 0.12) 0px 3px 14px; }

.wellness-item.connected { border-color: rgba(122, 158, 126, 0.35); }

.wi-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }

.wi-info { flex: 1 1 0%; min-width: 0px; }

.wi-name { font-size: 0.84rem; font-weight: 600; color: var(--char); }

.wi-status-text { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

.wi-connected { color: var(--sage-dk) !important; font-weight: 600; }

.privacy-note { display: flex; align-items: center; gap: 8px; background: var(--navy-pale); border: 1px solid rgba(44, 62, 92, 0.1); border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; font-size: 0.82rem; color: var(--navy); font-weight: 400; }

.reports-list { display: flex; flex-direction: column; gap: 10px; }

.report-row { display: flex; align-items: center; gap: 14px; background: var(--hu-white-mist); border-radius: 14px; padding: 14px 16px; border: 1px solid rgba(0, 0, 0, 0.05); transition: var(--tr); }

.report-row:hover { background: var(--white); box-shadow: var(--sh); }

.report-icon { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }

.report-info { flex: 1 1 0%; min-width: 0px; }

.report-name { font-size: 0.88rem; font-weight: 600; color: var(--char); margin-bottom: 3px; }

.report-meta { font-size: 0.73rem; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }

.report-status { font-size: 0.71rem; font-weight: 600; padding: 3px 9px; border-radius: 50px; flex-shrink: 0; }

.status-shared { background: var(--sage-lt); color: var(--sage-dk); }

.status-draft { background: var(--yel-lt); color: rgb(122, 85, 0); }

.status-expired { background: rgb(245, 240, 240); color: var(--muted); }

.report-actions { display: flex; gap: 6px; flex-shrink: 0; }

.privacy-list { display: flex; flex-direction: column; gap: 10px; }

.privacy-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--hu-white-mist); border-radius: 14px; border: 1px solid rgba(0, 0, 0, 0.05); gap: 12px; transition: var(--tr); }

.privacy-row:hover { background: var(--white); }

.pr-left { display: flex; align-items: center; gap: 12px; flex: 1 1 0%; min-width: 0px; }

.pr-icon { font-size: 1.1rem; flex-shrink: 0; }

.pr-label { font-size: 0.88rem; font-weight: 500; color: var(--char); margin-bottom: 2px; }

.pr-desc { font-size: 0.74rem; color: var(--muted); }

.toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; }

.toggle input { opacity: 0; width: 0px; height: 0px; }

.toggle-slider { position: absolute; inset: 0px; background: rgb(221, 221, 221); border-radius: 50px; cursor: pointer; transition: var(--tr); }

.toggle-slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: rgb(255, 255, 255); border-radius: 50%; transition: var(--tr); box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 4px; }

.toggle input:checked + .toggle-slider { background: var(--sage); }

.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

.notif-list { display: flex; flex-direction: column; gap: 10px; }

.notif-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; background: var(--hu-white-mist); border-radius: 14px; border: 1px solid rgba(0, 0, 0, 0.05); gap: 12px; transition: var(--tr); }

.notif-row:hover { background: var(--white); }

.nr-left { display: flex; align-items: center; gap: 12px; flex: 1 1 0%; min-width: 0px; }

.nr-icon { font-size: 1.1rem; }

.nr-label { font-size: 0.88rem; font-weight: 500; color: var(--char); }

.nr-sub { font-size: 0.73rem; color: var(--muted); margin-top: 1px; }

.rewards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }

.reward-card { background: var(--hu-white-mist); border-radius: 16px; padding: 18px 16px; border: 1px solid rgba(0, 0, 0, 0.05); cursor: pointer; transition: var(--tr); text-align: center; }

.reward-card:hover { background: var(--white); box-shadow: var(--sh); transform: translateY(-2px); }

.reward-icon { font-size: 1.8rem; margin-bottom: 8px; }

.reward-name { font-size: 0.86rem; font-weight: 600; color: var(--char); margin-bottom: 4px; }

.reward-desc { font-size: 0.76rem; color: var(--brown); font-weight: 300; line-height: 1.5; }

.reward-badge { display: inline-block; margin-top: 8px; font-size: 0.7rem; font-weight: 600; padding: 2px 10px; border-radius: 50px; background: var(--yel-lt); color: rgb(138, 96, 0); }

.sub-plan-card { background: linear-gradient(145deg, var(--navy), #3a5272); border-radius: 18px; padding: 26px 24px; color: rgb(255, 255, 255); margin-bottom: 16px; position: relative; overflow: hidden; }

.sub-plan-card::before { content: ""; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%); pointer-events: none; }

.sub-plan-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-bottom: 6px; }

.sub-plan-name { font-family: "Cormorant Garamond", serif; font-size: 1.6rem; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.01em; }

.sub-plan-meta { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 18px; }

.sub-plan-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.sub-feature { display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 50px; padding: 4px 12px; font-size: 0.76rem; font-weight: 500; color: rgba(255, 255, 255, 0.85); }

.sub-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-sub-primary { display: inline-flex; align-items: center; gap: 7px; background: var(--sage); color: rgb(255, 255, 255); border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; padding: 10px 22px; border-radius: 50px; font-size: 0.86rem; font-weight: 600; cursor: pointer; transition: var(--tr); font-family: inherit; box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 14px; }

.btn-sub-primary:hover { background: var(--sage-dk); transform: translateY(-1px); }

.btn-sub-ghost { display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.8); border: 1.5px solid rgba(255, 255, 255, 0.18); padding: 9px 20px; border-radius: 50px; font-size: 0.84rem; font-weight: 500; cursor: pointer; transition: var(--tr); font-family: inherit; }

.btn-sub-ghost:hover { background: rgba(255, 255, 255, 0.18); }

.section-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(44, 62, 92, 0.08), transparent); margin: 8px 0px 20px; }

.mp-card-footer { padding: 16px 24px 20px; border-top: 1px solid rgba(0, 0, 0, 0.05); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.mp-card-footer-note { font-size: 0.76rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }

.mp-toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(70px); background: var(--sage-dk); color: rgb(255, 255, 255); padding: 12px 24px; border-radius: 50px; font-size: 0.86rem; font-weight: 600; z-index: 9999; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); white-space: nowrap; pointer-events: none; box-shadow: rgba(0, 0, 0, 0.18) 0px 6px 24px; font-family: "DM Sans", sans-serif; }

.mp-toast.show { transform: translateX(-50%) translateY(0px); }

.mp-card { opacity: 0; transform: translateY(18px); animation: 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0s 1 normal forwards running cardIn; }

.profile-header-card { opacity: 0; transform: translateY(16px); animation: 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.05s 1 normal forwards running cardIn; }

.mp-card:nth-child(1) { animation-delay: 0.1s; }

.mp-card:nth-child(2) { animation-delay: 0.15s; }

.mp-card:nth-child(3) { animation-delay: 0.2s; }

.mp-card:nth-child(4) { animation-delay: 0.25s; }

.mp-card:nth-child(5) { animation-delay: 0.3s; }

.mp-card:nth-child(6) { animation-delay: 0.35s; }

.mp-card:nth-child(7) { animation-delay: 0.4s; }

.mp-card:nth-child(8) { animation-delay: 0.45s; }

.mp-card:nth-child(9) { animation-delay: 0.5s; }

@keyframes cardIn { 
  100% { opacity: 1; transform: translateY(0px); }
}

@media (max-width: 768px) {
  .mp-page { padding: 20px 1rem 80px; }
  .ph-inner { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .ph-tagline { margin: 0px auto 16px; }
  .ph-btns { justify-content: center; }
  .mp-card-header { flex-wrap: wrap; gap: 10px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .household-grid { grid-template-columns: repeat(2, 1fr); }
  .wellness-grid { grid-template-columns: 1fr 1fr; }
  .rewards-grid { grid-template-columns: 1fr 1fr; }
  .support-person { flex-wrap: wrap; gap: 10px; }
  .sp-permission { text-align: left; }
  .report-row { flex-wrap: wrap; }
  .sub-plan-card { padding: 22px 18px; }
  .mp-card-body { padding: 18px; }
  .mp-card-header { padding: 18px 18px 14px; }
  .mp-card-footer { padding: 14px 18px 16px; }
  .ph-name { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .household-grid { grid-template-columns: 1fr; }
  .pref-grid { grid-template-columns: 1fr; }
  .wellness-grid { grid-template-columns: 1fr; }
  .rewards-grid { grid-template-columns: 1fr; }
  .ph-btns { flex-direction: column; width: 100%; }
  .btn-primary, .btn-outline, .btn-ghost { width: 100%; justify-content: center; }
}

.prf-section-cards { max-width: 860px; margin: 0px auto; padding: 0px 18px; display: flex; flex-direction: column; gap: 14px; }

.prf-card-accordion { background: rgb(255, 255, 255); border-radius: 22px; box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 20px; border: 1px solid rgba(0, 0, 0, 0.04); overflow: hidden; }

.prf-card-acc-header { display: flex; align-items: center; gap: 14px; padding: 20px 22px; cursor: pointer; transition: background 0.2s; user-select: none; }

.prf-card-acc-header:hover { background: rgb(250, 249, 247); }

.prf-card-acc-icon { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }

.prf-card-acc-text { flex: 1 1 0%; }

.prf-card-acc-title { font-family: Georgia, serif; font-size: 1rem; font-weight: 700; color: rgb(45, 61, 90); margin-bottom: 2px; }

.prf-card-acc-sub { font-size: 0.78rem; color: rgb(154, 158, 164); line-height: 1.4; }

.prf-card-acc-chev { font-size: 0.7rem; color: rgb(187, 187, 187); transition: transform 0.25s; }

.prf-card-acc-header.prf-acc-open .prf-card-acc-chev { transform: rotate(180deg); }

.prf-card-acc-body { display: none; padding: 0px 22px 22px; border-top: 1px solid rgb(245, 240, 235); }

.prf-card-acc-body.prf-acc-open { display: block; animation: 0.3s ease 0s 1 normal both running prf-bloom; }

.prf-log-item { display: flex; align-items: center; gap: 10px; padding: 10px 0px; border-bottom: 1px solid rgb(245, 240, 235); font-size: 0.84rem; }

.prf-log-item:last-child { border-bottom-width: medium; border-bottom-style: none; border-bottom-color: currentcolor; }

.prf-log-icon { font-size: 1.1rem; width: 28px; text-align: center; }

.prf-log-text { flex: 1 1 0%; color: rgb(45, 61, 90); font-weight: 600; }

.prf-log-date { font-size: 0.7rem; color: rgb(187, 187, 187); }

.prf-milestone { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0px; border-bottom: 1px solid rgb(245, 240, 235); }

.prf-milestone:last-child { border-bottom-width: medium; border-bottom-style: none; border-bottom-color: currentcolor; }

.prf-milestone-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }

.prf-milestone-body { flex: 1 1 0%; }

.prf-milestone-title { font-size: 0.86rem; font-weight: 700; color: rgb(45, 61, 90); margin-bottom: 2px; }

.prf-milestone-date { font-size: 0.72rem; color: rgb(154, 158, 164); }

.prf-rewards-bar-wrap { height: 8px; background: rgb(240, 236, 232); border-radius: 4px; overflow: hidden; margin: 8px 0px; }

.prf-rewards-bar { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--sage), var(--sage-dk)); transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1); width: 0px; }

.prf-pref-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0px; border-bottom: 1px solid rgb(245, 240, 235); }

.prf-pref-row:last-child { border-bottom-width: medium; border-bottom-style: none; border-bottom-color: currentcolor; }

.prf-pref-label { font-size: 0.86rem; font-weight: 600; color: rgb(45, 61, 90); }

.prf-pref-sub { font-size: 0.74rem; color: rgb(154, 158, 164); margin-top: 2px; }

.prf-toast-success { display: none; align-items: center; gap: 10px; background: var(--sage-lt); border: 1.5px solid rgba(122, 158, 126, 0.25); border-radius: 14px; padding: 12px 16px; margin-top: 12px; font-size: 0.84rem; color: var(--sage-dk); font-weight: 600; }

.prf-toast-success.prf-show { display: flex; animation: 0.3s ease 0s 1 normal both running prf-fade-up; }

@media (max-width: 640px) {
  .prf-mood-grid { grid-template-columns: repeat(3, 1fr); }
  .prf-week-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 380px) {
  .prf-mood-grid { grid-template-columns: repeat(2, 1fr); }
  .prf-week-stats { grid-template-columns: 1fr 1fr; }
}

.prf-support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

@media (max-width: 480px) {
  .prf-support-grid { grid-template-columns: repeat(2, 1fr); }
}

.prf-support-tile { background: rgb(248, 246, 242); border-radius: 16px; padding: 16px 12px; text-align: center; cursor: pointer; transition: 0.22s; border: 2px solid transparent; }

.prf-support-tile:hover { background: rgb(234, 244, 235); border-color: rgba(122, 158, 126, 0.3); transform: scale(1.03); }

.prf-support-tile.prf-support-open { background: rgb(234, 244, 235); border-color: var(--sage); border-radius: 16px 16px 0px 0px; }

.prf-support-icon { font-size: 1.6rem; margin-bottom: 6px; }

.prf-support-name { font-size: 0.74rem; font-weight: 700; color: rgb(45, 61, 90); }

.prf-support-detail { display: none; background: rgb(234, 244, 235); border-radius: 0px 0px 16px 16px; padding: 14px; font-size: 0.8rem; color: rgb(74, 122, 78); line-height: 1.6; border-right-color: ; border-right-style: ; border-right-width: ; border-bottom-color: ; border-bottom-style: ; border-bottom-width: ; border-left-color: ; border-left-style: ; border-left-width: ; border-image-source: ; border-image-slice: ; border-image-width: ; border-image-outset: ; border-image-repeat: ; border-top-width: medium; border-top-style: none; border-top-color: currentcolor; margin-top: -2px; }

.prf-support-detail.prf-show { display: block; animation: 0.3s ease 0s 1 normal both running prf-bloom; }

.prf-suggestion { display: flex; align-items: flex-start; gap: 12px; background: rgb(248, 246, 242); border-radius: 16px; padding: 16px 14px; margin-bottom: 10px; cursor: pointer; transition: 0.2s; border: 1.5px solid transparent; }

.prf-suggestion:hover { background: rgb(234, 244, 235); border-color: rgba(122, 158, 126, 0.25); }

.prf-suggestion-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }

.prf-suggestion-body { flex: 1 1 0%; }

.prf-suggestion-text { font-size: 0.86rem; color: rgb(45, 61, 90); line-height: 1.55; font-weight: 600; margin-bottom: 8px; }

.prf-suggestion-actions { display: flex; gap: 7px; flex-wrap: wrap; }

.prf-sug-btn { padding: 6px 14px; border-radius: 50px; border-width: medium; border-style: none; border-color: currentcolor; border-image: initial; font-size: 0.74rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: 0.18s; }

.prf-sug-btn-sage { background: var(--sage-lt); color: var(--sage-dk); }

.prf-sug-btn-sage:hover { background: var(--sage); color: rgb(255, 255, 255); }

.prf-sug-btn-outline { background: transparent; border: 1.5px solid rgb(224, 219, 212); color: rgb(106, 122, 138); }

.prf-sug-btn-outline:hover { border-color: var(--sage); color: var(--sage-dk); }

.prf-journal-prompt { font-size: 1rem; color: rgb(45, 61, 90); font-weight: 600; line-height: 1.6; margin-bottom: 14px; font-style: italic; }

.prf-journal-input { width: 100%; padding: 14px 16px; border-radius: 16px; border: 1.5px solid rgb(232, 228, 222); font-size: 0.88rem; font-family: inherit; color: rgb(45, 61, 90); background: rgb(250, 248, 245); resize: vertical; outline: none; line-height: 1.65; transition: border-color 0.18s; min-height: 90px; box-sizing: border-box; }

.prf-journal-input:focus { border-color: var(--sage); background: rgb(255, 255, 255); }

.prf-journal-tools { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

.prf-journal-tool { display: flex; align-items: center; gap: 5px; padding: 8px 14px; border-radius: 50px; border: 1.5px solid rgb(232, 228, 222); background: transparent; font-size: 0.76rem; font-weight: 700; color: rgb(106, 122, 138); cursor: pointer; font-family: inherit; transition: 0.18s; }

.prf-journal-tool:hover { border-color: var(--sage); color: var(--sage-dk); }

.prf-spectrum { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0px; }

.prf-spectrum-pill { padding: 7px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: 0.18s; }

.prf-spectrum-pill.prf-active { box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 10px; transform: scale(1.05); }

.prf-quote-card { background: rgba(122, 158, 126, 0.06); border-left: 3px solid var(--sage); border-radius: 0px 12px 12px 0px; padding: 14px 16px; font-size: 0.86rem; color: rgb(45, 61, 90); line-height: 1.65; font-style: italic; }

.prf-food-cards { display: flex; flex-direction: column; gap: 8px; margin: 12px 0px; }

.prf-food-card { display: flex; align-items: center; gap: 12px; background: rgb(250, 248, 245); border-radius: 14px; padding: 12px 14px; cursor: pointer; transition: 0.18s; }

.prf-food-card:hover { background: rgb(240, 247, 241); }

.prf-food-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }

.prf-food-name { font-size: 0.86rem; font-weight: 700; color: rgb(45, 61, 90); margin-bottom: 2px; }

.prf-food-note { font-size: 0.76rem; color: rgb(154, 158, 164); line-height: 1.4; }

.prf-wins-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0px; }

.prf-win { background: rgb(250, 248, 245); border-radius: 16px; padding: 16px 14px; text-align: center; cursor: pointer; transition: 0.2s; position: relative; overflow: hidden; }

.prf-win:hover { background: rgb(240, 247, 241); transform: translateY(-2px); }

.prf-win-icon { font-size: 1.6rem; margin-bottom: 4px; }

.prf-win-n { font-family: Georgia, serif; font-size: 1.8rem; font-weight: 700; color: rgb(45, 61, 90); line-height: 1; }

.prf-win-label { font-size: 0.74rem; font-weight: 700; color: rgb(74, 122, 78); text-transform: uppercase; letter-spacing: 0.06em; margin: 4px 0px 2px; }

.prf-win-text { font-size: 0.8rem; color: rgb(106, 122, 138); line-height: 1.5; }

.prf-win-sparkle { position: absolute; top: 12px; right: 12px; font-size: 0.9rem; animation: 2.5s ease-in-out 0s infinite normal none running prf-sparkle; }

.prf-energy-timeline { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }

.prf-energy-row { display: flex; align-items: center; gap: 12px; }

.prf-energy-time { font-size: 0.72rem; font-weight: 700; color: rgb(138, 144, 152); width: 54px; flex-shrink: 0; text-align: right; }

.prf-energy-bar-wrap { flex: 1 1 0%; height: 10px; background: rgb(240, 236, 232); border-radius: 5px; overflow: hidden; }

.prf-energy-bar { height: 100%; border-radius: 5px; animation: 3s ease-in-out 0s infinite normal none running prf-energy-pulse; transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1); width: 0px; }

.prf-energy-label { font-size: 0.7rem; font-weight: 700; color: rgb(45, 61, 90); width: 60px; flex-shrink: 0; }

.prf-section-card { background: rgb(255, 255, 255); border-radius: 24px; padding: 26px 22px; box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 20px; margin-bottom: 18px; border: 1px solid rgba(0, 0, 0, 0.04); }

.prf-section-eyebrow { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }

.prf-section-title { font-family: Georgia, serif; font-size: 1.2rem; font-weight: 700; color: rgb(45, 61, 90); margin-bottom: 8px; }

.prf-section-desc { font-size: 0.86rem; color: rgb(106, 122, 138); line-height: 1.65; margin-bottom: 14px; }