/* Final, isolated profile composition based on the approved 2026-09-29 reference. */
/* Approved transparent dropdown below the actual language control. */
html body #globalLocaleMenu{position:fixed!important;z-index:100010!important;left:auto;top:auto;transform:none!important;width:240px!important;min-width:0;padding:7px!important;box-sizing:border-box;right:auto!important;border-radius:18px!important;background:rgba(34,44,37,.25)!important;backdrop-filter:blur(12px) saturate(1.12)!important;-webkit-backdrop-filter:blur(12px) saturate(1.12)!important;border:1px solid rgba(255,255,255,.4)!important;box-shadow:inset 0 1px rgba(255,255,255,.22),0 12px 30px rgba(0,0,0,.18)!important;overflow:auto;}
html body #globalLocaleMenu button{display:flex;align-items:center;justify-content:space-between;min-height:44px!important;width:100%;padding:7px 9px!important;gap:6px!important;font:500 13px/1.2 Inter,sans-serif!important;color:#fff!important;text-shadow:0 1px 4px rgba(0,0,0,.6);border:0;border-radius:8px;background:transparent;}
html body #globalLocaleMenu button>span{display:flex;align-items:center;gap:9px;white-space:nowrap;}
html body #globalLocaleMenu button:disabled{opacity:1;cursor:default;}
html body #globalLocaleMenu small{font:400 9px/1.3 Inter,sans-serif!important;color:#eef4ef!important;white-space:nowrap;}
html body #globalLocaleMenu .locale-flag-set{display:flex;gap:4px;width:49px;flex:none;align-items:center;}
html body #globalLocaleMenu img{display:block!important;width:22px!important;height:22px!important;object-fit:cover;border-radius:50%!important;opacity:1!important;filter:none!important;box-shadow:0 0 0 1px rgba(255,255,255,.45);}
html body #globalLocaleMenu button[aria-selected="true"]{background:rgba(153,242,199,.13)!important;}
html body #globalLocaleMenu button:focus-visible{outline:2px solid #9ce3bf;outline-offset:-2px;}
/* Exact approved raster medallions: CSS crops, not a redrawn avatar.
   1536x1024 reference; each crop is 448px square at (160,171)/(928,171). */
html body.dash-page .mobile-head .mobile-profile-avatar.has-image.is-default-avatar,
html #profileView .profile-premium-avatar.has-image.is-default-avatar,
html #homeView .home-reference-hotspots .hit-profile.profile-home-card.has-image.is-default-avatar,
html body.dash-page .coach-premium-shell .coach-message-avatar-user.has-image.is-default-avatar{
  background-image:url('/assets/healthos-avatar-approved-reference-v1.webp')!important;
  background-size:342.857143% auto!important;
  background-position:14.705882% 29.6875%!important;
  background-repeat:no-repeat!important;
  box-shadow:none!important;
  border:0!important;
  filter:brightness(1.5) contrast(1.3)!important;
}
html[data-theme="light"] body.dash-page .mobile-head .mobile-profile-avatar.has-image.is-default-avatar,
html[data-theme="light"] #profileView .profile-premium-avatar.has-image.is-default-avatar,
html[data-theme="light"] #homeView .home-reference-hotspots .hit-profile.profile-home-card.has-image.is-default-avatar,
html[data-theme="light"] body.dash-page .coach-premium-shell .coach-message-avatar-user.has-image.is-default-avatar{
  background-position:85.294118% 29.6875%!important;
  filter:brightness(.82) contrast(1.25)!important;
  box-shadow:inset 0 0 0 1px rgba(47,96,76,.32)!important;
}
.profile-photo-actions{display:flex;justify-content:flex-end;margin:0 0 10px;}
.profile-photo-actions[hidden]{display:none!important}
html #profileView .profile-photo-actions button{display:inline-flex;align-items:center;gap:7px;min-height:44px;width:auto;padding:8px 12px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:transparent;color:#f5ddd9;font:500 12px/1.3 Inter,sans-serif;cursor:pointer;box-shadow:none}
html #profileView .profile-photo-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html[data-theme="light"] #profileView .profile-photo-actions button{color:#8e403b;border-color:rgba(142,64,59,.3)}
html #profileView .profile-photo-actions button:focus-visible{outline:2px solid #55deb2;outline-offset:3px}
.profile-save-feedback{position:fixed;z-index:100000;inset:0;display:grid;place-items:center;padding:24px;background:rgba(15,29,23,.08);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.profile-save-feedback[hidden]{display:none}
.profile-save-glass{display:grid;justify-items:center;gap:14px;width:min(100%,320px);padding:34px 24px;border:1px solid rgba(255,255,255,.65);border-radius:28px;background:rgba(24,42,33,.86);color:#f1fff8;text-align:center;box-shadow:inset 0 1px rgba(255,255,255,.35),0 24px 70px rgba(12,34,24,.18);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);animation:profileSaveAppear .25s ease-out}
.profile-save-glass strong{font:600 17px/1.4 Inter,sans-serif}.profile-save-glass p{margin:0;color:#c9ded2;font:400 13px/1.5 Inter,sans-serif}
.profile-save-ring{display:grid;place-items:center;width:68px;height:68px;border:4px solid rgba(72,229,177,.22);border-top-color:#55e2b3;border-radius:50%;box-shadow:0 0 28px rgba(85,226,179,.18);animation:profileSaveSpin 1s linear infinite}
.profile-save-ring svg{display:none;width:32px;height:32px;fill:none;stroke:#173f30;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.profile-save-feedback[data-state="success"] .profile-save-ring{animation:none;border-color:#55e2b3;background:#55e2b3}.profile-save-feedback[data-state="success"] svg{display:block}
html[data-theme="light"] .profile-save-glass{background:rgba(255,255,255,.86);color:#183329}html[data-theme="light"] .profile-save-glass p{color:#4c6759}
@keyframes profileSaveSpin{to{transform:rotate(360deg)}}@keyframes profileSaveAppear{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.profile-save-ring,.profile-save-glass{animation:none}}
/* Day settings share the surrounding glass instead of nested opaque cards. */
html #profileView.active #profileDayCard .profile-day-field{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;margin:0!important;padding:16px 14px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html #profileView.active #profileDayCard .profile-day-field+.profile-day-field{border-top:1px solid rgba(255,255,255,.18)!important}
html #profileView.active #profileDayCard .profile-day-field>span{color:#f2f7f4!important;font:600 14px/1.35 Inter,sans-serif!important}
html #profileView.active #profileDayCard .profile-day-field>small{color:#c7d4cd!important;font:400 12px/1.5 Inter,sans-serif!important}
html #profileView.active #profileDayCard .profile-day-field select,html #profileView.active #profileDayCard .profile-day-field input{box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:46px!important;height:auto!important;padding:11px 36px 11px 13px!important;border:1px solid rgba(255,255,255,.32)!important;border-radius:12px!important;background-color:rgba(255,255,255,.07)!important;color:#f2f7f4!important;font:500 16px/1.35 Inter,sans-serif!important;box-shadow:inset 0 1px rgba(255,255,255,.12)!important}
html #profileView.active #profileDayCard .profile-day-field select:focus-visible,html #profileView.active #profileDayCard .profile-day-field input:focus-visible{outline:2px solid #39cfa0!important;outline-offset:2px!important}
html[data-theme="light"] #profileView.active #profileDayCard .profile-day-field>span{color:#183329!important}
html[data-theme="light"] #profileView.active #profileDayCard .profile-day-field>small{color:#50665c!important}
html[data-theme="light"] #profileView.active #profileDayCard .profile-day-field+.profile-day-field{border-top-color:rgba(30,60,47,.12)!important}
html[data-theme="light"] #profileView.active #profileDayCard .profile-day-field select,html[data-theme="light"] #profileView.active #profileDayCard .profile-day-field input{border-color:rgba(40,77,61,.24)!important;background-color:rgba(255,255,255,.28)!important;color:#183329!important;box-shadow:inset 0 1px rgba(255,255,255,.7)!important}
html #profileView.active #profileDayCard .profile-day-field[hidden]{display:none!important}
html #profileView.active #profileDayCard.profile-premium-accordion:not(.is-open) .profile-day-field{display:none!important}
@media (max-width:980px){
  body:has(#profileView.active) .mobile-head{display:none!important}
  body:has(#profileView.active){padding-top:max(26px,env(safe-area-inset-top))!important;overflow-y:auto!important}
  body:has(#profileView.active) .app-main{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:calc(100dvh - max(26px,env(safe-area-inset-top)))!important;margin:0!important;padding:0!important;overflow:visible!important}
  #profileView.active{display:block!important;width:100%!important;min-height:calc(100dvh - max(26px,env(safe-area-inset-top)))!important;margin:0!important;padding:12px 16px 28px!important;border-radius:0!important;overflow:visible!important;background:#14120f url('/assets/healthos-profile-stone-dark-v1.png') center top/cover scroll no-repeat!important}
  #profileView:before{background:linear-gradient(180deg,rgba(9,9,7,.08),rgba(8,9,7,.28))!important}
  #profileView .profile-settings{display:grid!important;width:min(100%,520px)!important;margin:0 auto!important;gap:10px!important}

  #profileView .profile-premium-head{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;height:50px!important;min-height:50px!important;padding:3px 5px!important;border:1px solid rgba(255,255,255,.31)!important;border-radius:18px!important;background:rgba(24,23,20,.18)!important;box-shadow:inset 0 1px rgba(255,255,255,.28),0 9px 24px rgba(0,0,0,.09)!important;backdrop-filter:blur(14px) saturate(130%)!important;-webkit-backdrop-filter:blur(14px) saturate(130%)!important}
  #profileView .profile-premium-back{min-height:44px!important;padding:0 5px!important;font-size:13px!important}
  #profileView .profile-premium-back span{font-size:19px!important}
  #profileView .profile-premium-head>strong{font-size:16px!important}
  #profileView .profile-premium-actions{gap:5px!important;padding-right:1px!important}
  #profileView .profile-premium-locale,#profileView .profile-premium-theme{width:31px!important;height:31px!important;border-radius:9px!important;font-size:10px!important}
  #profileView .profile-premium-theme svg{width:17px!important;height:17px!important}
  #profileView .profile-premium-avatar{display:grid!important;width:33px!important;height:33px!important;padding:0!important;border:1px solid #aaffdf!important;border-radius:50%!important;background:var(--avatar-image,url('/assets/healthos-coach-avatar.webp')) center/cover no-repeat!important;color:transparent!important;box-shadow:inset 0 1px #fff,0 0 0 3px rgba(77,225,171,.09)!important;overflow:hidden!important}
  #profileView .profile-premium-avatar span{display:none!important}

  #profileView .profile-welcome-card{position:relative!important;display:block!important;width:100%!important;height:174px!important;min-height:174px!important;margin:0!important;padding:16px 14px!important;border:1px solid rgba(255,255,255,.3)!important;border-radius:18px!important;background:linear-gradient(135deg,rgba(18,18,15,.06),rgba(255,255,255,.012))!important;box-shadow:inset 0 1px rgba(255,255,255,.24),0 8px 22px rgba(0,0,0,.06)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:hidden!important}
  #profileView .profile-welcome-card:before,#profileView .profile-welcome-card:after{display:none!important}
  #profileView .profile-welcome-copy{position:relative!important;z-index:2!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;padding-right:112px!important}
  #profileView .profile-welcome-copy h1{width:auto!important;max-width:none!important;margin:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:700 28px/1.15 Inter!important;letter-spacing:-.04em!important;white-space:normal;overflow-wrap:anywhere!important}
  #profileView .profile-welcome-copy>p{margin:3px 0 0!important;color:#e2e3df!important;-webkit-text-fill-color:#e2e3df!important;font:400 15px/1.3 Inter!important}
  #profileView .profile-welcome-current{display:block!important;margin-top:7px!important;color:#c8d0cb!important;font:450 12px/1.35 Inter!important;white-space:normal!important}
  #profileView .profile-completion-card{position:absolute!important;z-index:3!important;top:10px!important;right:0!important;display:grid!important;grid-template-columns:16px auto!important;grid-template-rows:76px 18px!important;align-items:center!important;justify-content:center!important;gap:0 4px!important;width:94px!important;height:106px!important;margin:0!important;padding:0!important;border:0!important;border-left:1px solid rgba(255,255,255,.18)!important;background:transparent!important;box-shadow:none!important}
  #profileView .profile-completion-card .profile-check-icon{grid-column:1!important;grid-row:2!important;display:grid!important;place-items:center!important;width:15px!important;height:15px!important;border-radius:50%!important;background:#55e2b3!important;color:#08251c!important}
  #profileView .profile-completion-card .profile-check-icon svg{width:9px!important;height:9px!important;fill:none!important;stroke:currentColor!important;stroke-width:2.4!important}
  #profileView .profile-completion-card>b{grid-column:1/3!important;grid-row:1!important;display:grid!important;place-items:center!important;box-sizing:border-box!important;width:72px!important;min-width:72px!important;height:72px!important;margin:0 auto!important;padding:0 4px!important;overflow:hidden!important;border:5px solid #55e2b3!important;border-radius:50%!important;background:rgba(8,22,17,.46)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:700 17px/1 Inter!important;letter-spacing:-.045em!important;white-space:nowrap!important;text-align:center!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.08),0 0 18px rgba(78,224,171,.16)!important}
  #profileView .profile-completion-card>div{grid-column:2!important;grid-row:2!important;min-width:0!important}
  #profileView .profile-completion-card strong{display:block!important;overflow:visible!important;color:#eff3f0!important;font:600 10px/1.2 Inter!important;white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important}
  #profileView .profile-completion-card small{display:none!important}
  #profileView .profile-welcome-save{display:grid!important;grid-template-columns:16px minmax(0,1fr) 12px!important;align-items:center!important;gap:6px!important;width:100%;max-width:190px!important;height:44px!important;min-height:44px!important;margin:10px 0 0!important;padding:0 9px!important;border:1px solid rgba(185,255,229,.82)!important;border-radius:999px!important;background:rgba(83,220,170,.12)!important;color:#f8fffc!important;font:650 12px/1 Inter!important;text-align:left!important;box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 14px rgba(84,225,174,.1)!important}
  #profileView .profile-welcome-save svg{display:block!important;width:15px!important;height:15px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  #profileView .profile-welcome-save span{overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}
  #profileView .profile-welcome-save>b{justify-self:end!important;font:300 18px/1 Inter!important}
  #profileView .profile-welcome-save:after{display:none!important}
  #profileView .profile-welcome-art{display:none!important}
  #profileView .profile-welcome-art:before,#profileView .profile-welcome-art:after{display:none!important}

  #profileView .profile-premium-summary{display:grid!important;grid-template-columns:repeat(4,1fr)!important;height:60px!important;margin:0!important;border:1px solid rgba(255,255,255,.37)!important;border-radius:15px!important;background:rgba(21,22,19,.34)!important;box-shadow:inset 0 1px rgba(255,255,255,.28)!important;backdrop-filter:blur(17px)!important;-webkit-backdrop-filter:blur(17px)!important;overflow:hidden!important}
  #profileView .profile-premium-summary>span{display:grid!important;grid-template-columns:20px auto!important;grid-template-rows:1fr 1fr!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:8px 2px!important;border-right:1px solid rgba(255,255,255,.16)!important}
  #profileView .profile-premium-summary>span:before{content:""!important;grid-row:1/3!important;width:19px!important;height:19px!important;background:center/contain no-repeat!important}
  #profileView .profile-premium-summary>span:nth-child(1):before{background-image:url('/assets/healthos-profile-icon-day-v1.png')!important}
  #profileView .profile-premium-summary>span:nth-child(2):before{background-image:url('/assets/healthos-profile-icon-identity-v1.png')!important}
  #profileView .profile-premium-summary>span:nth-child(3):before{background-image:url('/assets/healthos-profile-icon-body-v1.png')!important}
  #profileView .profile-premium-summary>span:nth-child(4):before{background-image:url('/assets/healthos-profile-icon-goal-v1.png')!important}
  #profileView .profile-premium-summary strong{justify-self:center!important;color:#fff!important;font:650 16px/1.2 Inter!important}
  #profileView .profile-premium-summary small{justify-self:center!important;color:#c6ccc8!important;font:450 10px/1.2 Inter!important}

  #profileView #angabenShell{display:contents!important}
  #profileView #angabenShell>.angaben-hero,#profileView #angabenShell>.angaben-streak{display:none!important}
  #profileView .profile-premium-accordion{position:relative!important;display:block!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:1px solid rgba(255,255,255,.32)!important;border-radius:15px!important;background:linear-gradient(100deg,rgba(255,255,255,.11),rgba(255,255,255,.055))!important;box-shadow:inset 0 1px rgba(255,255,255,.28),0 8px 20px rgba(0,0,0,.12)!important;backdrop-filter:blur(19px) saturate(125%)!important;-webkit-backdrop-filter:blur(19px) saturate(125%)!important;overflow:hidden!important}
  #profileView .profile-premium-accordion:before{display:none!important}
  #profileView .profile-accordion-toggle{position:relative!important;z-index:3!important;display:grid!important;grid-template-columns:55px minmax(0,1fr) 22px 60px!important;align-items:center!important;gap:8px!important;width:100%!important;height:68px!important;min-height:68px!important;margin:0!important;padding:6px 10px!important;border:0!important;background:transparent!important;color:#fff!important;text-align:left!important}
  #profileView .profile-accordion-icon{display:block!important;width:54px!important;height:54px!important;border:0!important;border-radius:10px!important;background-color:transparent!important;background-position:center!important;background-size:contain!important;background-repeat:no-repeat!important;box-shadow:none!important}
  #profileView .profile-accordion-icon:before{display:none!important}
  #profileView [data-profile-accordion="personal"] .profile-accordion-icon{background-image:url('/assets/healthos-profile-icon-identity-v1.png')!important}
  #profileView [data-profile-accordion="body"] .profile-accordion-icon{background-image:url('/assets/healthos-profile-icon-body-v1.png')!important}
  #profileView [data-profile-accordion="day"] .profile-accordion-icon{background-image:url('/assets/healthos-profile-icon-day-v1.png')!important}
  #profileView [data-profile-accordion="goal"] .profile-accordion-icon{background-image:url('/assets/healthos-profile-icon-goal-v1.png')!important}
  #profileView [data-profile-accordion="values"] .profile-accordion-icon{background-image:url('/assets/healthos-profile-icon-values-v1.png')!important}
  #profileView [data-profile-accordion="food"] .profile-accordion-icon{background-image:url('/assets/healthos-profile-icon-food-v1.png')!important}
  #profileView .profile-accordion-copy{display:grid!important;gap:4px!important;min-width:0!important}
  #profileView .profile-accordion-copy strong{color:#fff!important;font:650 16px/1.2 Inter!important}
  #profileView .profile-accordion-copy small{overflow:hidden!important;color:#c0c7c2!important;font:450 12px/1.3 Inter!important;white-space:nowrap!important;text-overflow:ellipsis!important}
  #profileView .profile-accordion-chevron{grid-column:3!important;display:grid!important;place-items:center!important;width:19px!important;height:19px!important;border:0!important;color:#fff!important;font:300 19px/1 Inter!important;transform:none!important}
  #profileView .profile-premium-accordion.is-open>.profile-accordion-toggle .profile-accordion-chevron{transform:rotate(90deg)!important}
  #profileView .profile-accordion-status{grid-column:4!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:4px!important;color:#e0e5e1!important;font:450 10px/1.2 Inter!important;white-space:nowrap!important}
  #profileView .profile-accordion-status i{display:grid!important;place-items:center!important;width:22px!important;height:22px!important;border-radius:50%!important;background:#55e2b3!important;color:#08251c!important;font:800 12px/1 Inter!important;font-style:normal!important}
  #profileView .profile-premium-accordion:not(.is-open)>:not(.profile-accordion-toggle){display:none!important}
  #profileView .profile-premium-accordion.is-open{padding:0 6px 5px!important}
  #profileView .profile-premium-accordion.is-open>.profile-accordion-toggle{width:calc(100% + 12px)!important;margin:0 -6px 4px!important;border-bottom:1px solid rgba(255,255,255,.12)!important}
  #profileView .profile-premium-accordion>.angaben-head,#profileView .profile-premium-accordion>.goal-glass-hero,#profileView .profile-premium-accordion>.profile-richtwerte-hero,#profileView .profile-premium-accordion>.profile-food-health-hero,#profileView #profileDayCard>small,#profileView #profileDayCard>h2,#profileView #profileDayCard>p{display:none!important}

  #profileView .profile-nutrition-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin:0!important}
  #profileView #profileFoodHealthCard .profile-food-health-panel{display:grid!important;gap:8px!important;padding:12px!important;border-radius:9px!important}
  #profileView #profileFoodHealthCard .profile-food-health-panel>header{display:grid!important;grid-template-columns:21px minmax(0,1fr) auto!important;gap:4px!important;align-items:center!important}
  #profileView #profileFoodHealthCard .profile-food-health-icon{width:21px!important;height:21px!important;border-radius:6px!important}
  #profileView #profileFoodHealthCard .profile-food-health-icon svg{width:12px!important;height:12px!important}
  #profileView #profileFoodHealthCard .profile-food-health-panel h3{font-size:15px!important}
  #profileView #profileFoodHealthCard .profile-food-health-count{padding:2px 4px!important;font-size:11px!important}
  #profileView #profileFoodHealthCard .smart-chips{display:flex!important;flex-wrap:wrap!important;max-height:none!important;gap:6px!important;margin:0!important;overflow:visible!important}
  #profileView #profileFoodHealthCard .smart-chips button{flex:none!important;min-height:36px!important;padding:6px 10px!important;font-size:12px!important}
  #profileView #profileFoodHealthCard .smart-control{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:stretch!important;gap:3px!important;width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important}
  #profileView #profileFoodHealthCard .smart-control input{height:44px!important;min-height:44px!important;padding:8px 10px!important;font-size:16px!important}
  #profileView #profileFoodHealthCard .smart-control button{width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;font-size:22px!important}
  #profileView #profileFoodHealthCard .profile-food-health-suggestions{display:none!important}
  #profileView #profileFoodHealthCard .profile-food-health-privacy{display:grid!important;grid-template-columns:17px 1fr!important;min-height:36px!important;margin-top:3px!important;padding:8px!important;border-radius:7px!important}
  #profileView #profileFoodHealthCard .profile-food-health-privacy i{width:17px!important;height:17px!important;border-radius:5px!important}
  #profileView #profileFoodHealthCard .profile-food-health-privacy strong{font-size:12px!important}
  #profileView #profileFoodHealthCard .profile-sync-status{display:none!important}

  #profileView .profile-action-bar.profile-completion-cta{display:grid!important;grid-template-columns:1fr!important;gap:1px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:visible!important}
  #profileView .profile-action-bar .profile-cta-icon,#profileView .profile-action-bar .profile-cta-copy{display:none!important}
  #profileView .profile-action-bar.profile-completion-cta>button[type=submit]{width:100%!important;height:48px!important;min-height:48px!important;padding:0!important;border-radius:999px!important;font-size:15px!important}
  #profileView .profile-action-bar.profile-completion-cta>button[type=submit]:after{content:"  ›"!important;font-size:15px!important}
  #profileView .profile-secondary-action{position:static!important;inset:auto!important;justify-self:center!important;width:auto!important;height:44px!important;min-height:44px!important;margin:0 auto!important;padding:0!important;border:0!important;background:transparent!important;color:#d9dedb!important;font-size:12px!important;box-shadow:none!important}

  html[data-theme="light"] #profileView.active{background-color:#eee9df!important;background-image:url('/assets/healthos-profile-stone-light-v1.png')!important;color:#13251f!important}
  html[data-theme="light"] #profileView:before{background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(244,239,229,.06))!important}
  html[data-theme="light"] #profileView .profile-premium-head,html[data-theme="light"] #profileView .profile-premium-accordion,html[data-theme="light"] #profileView .profile-premium-summary{border-color:rgba(255,255,255,.9)!important;background:rgba(255,255,255,.48)!important;box-shadow:inset 0 1px #fff,0 8px 18px rgba(65,54,37,.08)!important}
  html[data-theme="light"] #profileView .profile-premium-head{background:rgba(255,255,255,.27)!important;backdrop-filter:blur(14px) saturate(125%)!important;-webkit-backdrop-filter:blur(14px) saturate(125%)!important}
  html[data-theme="light"] #profileView .profile-premium-back,html[data-theme="light"] #profileView .profile-premium-head>strong,html[data-theme="light"] #profileView .profile-accordion-copy strong,html[data-theme="light"] #profileView .profile-accordion-chevron,html[data-theme="light"] #profileView .profile-premium-summary strong{color:#12251f!important}
  html[data-theme="light"] #profileView .profile-welcome-copy h1{color:#14231e!important;-webkit-text-fill-color:#14231e!important}
  html[data-theme="light"] #profileView .profile-welcome-copy>p{color:#334a42!important;-webkit-text-fill-color:#334a42!important}
  html[data-theme="light"] #profileView .profile-welcome-current{color:#455b53!important}
  html[data-theme="light"] #profileView .profile-completion-card>b{background:rgba(255,255,255,.67)!important;color:#17372d!important;-webkit-text-fill-color:#17372d!important}
  html[data-theme="light"] #profileView .profile-completion-card{border-left-color:rgba(32,57,48,.14)!important}
  html[data-theme="light"] #profileView .profile-completion-card strong{color:#273c35!important;-webkit-text-fill-color:#273c35!important}
  html[data-theme="light"] #profileView .profile-welcome-save{background:rgba(255,255,255,.48)!important;color:#153229!important}
  html[data-theme="light"] #profileView .profile-accordion-copy small,html[data-theme="light"] #profileView .profile-accordion-status,html[data-theme="light"] #profileView .profile-premium-summary small{color:#455b53!important}
  html[data-theme="light"] #profileView .profile-secondary-action{color:#243a32!important}
  html[data-theme="light"] #profileView.active .profile-welcome-card{border-color:rgba(255,255,255,.82)!important;border-radius:18px!important;background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.015))!important;box-shadow:inset 0 1px #fff,0 8px 22px rgba(72,62,44,.045)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  html[data-theme="light"] #profileView.active .profile-action-bar.profile-completion-cta{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:visible!important}
}

@media(max-width:355px){
  #profileView.active{padding-inline:12px!important}
  #profileView .profile-premium-head{grid-template-columns:1fr auto!important}
  #profileView .profile-premium-head>strong{display:none!important}
  #profileView .profile-welcome-copy{padding-right:90px!important}
  #profileView .profile-completion-card{width:82px!important}
  #profileView .profile-welcome-save{font-size:11px!important;gap:4px!important;padding-inline:6px!important}
  #profileView .profile-accordion-toggle{grid-template-columns:46px minmax(0,1fr) 18px 52px!important;gap:5px!important;padding-inline:8px!important}
  #profileView .profile-accordion-icon{width:46px!important}
  #profileView .profile-accordion-copy strong{font-size:14px!important}
}
/* User photo and neutral fallback must also win over legacy light-header art. */
html body.dash-page .mobile-head .mobile-profile-avatar.has-image:not(.is-default-avatar),
html[data-theme="light"] body.dash-page .mobile-head .mobile-profile-avatar.has-image:not(.is-default-avatar){
  background-image:var(--avatar-image)!important;
  background-position:center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  color:transparent!important;
}
html body.dash-page .mobile-head .mobile-profile-avatar.has-image>span,
html body.dash-page .mobile-head .mobile-profile-avatar.has-image>i{visibility:hidden!important}
/* Long display names must not hide the welcome copy behind a fixed-height card. */
html #profileView.active .profile-welcome-copy{min-width:0!important}
html #profileView.active .profile-welcome-copy h1{overflow-wrap:anywhere!important}
@media(max-width:980px){
  html #profileView.active .profile-welcome-card{height:auto!important;min-height:174px!important}
  html #profileView.active .profile-welcome-copy{height:auto!important}
}
