/* Geometry/type: approved Mini App. Composition: Behance 178304479. ЗДРАВ ТЕЛО brand palette. */
html[data-fitness-theme] {
  --fit-safe-top:max(env(safe-area-inset-top,0px),var(--tg-safe-top,0px),calc(var(--tg-safe-area-inset-top,0px) + var(--tg-content-safe-area-inset-top,0px)));
  --fit-safe-bottom:max(env(safe-area-inset-bottom,0px),var(--tg-safe-bottom,0px),calc(var(--tg-safe-area-inset-bottom,0px) + var(--tg-content-safe-area-inset-bottom,0px)));
  --radius-card:36px;
  --radius-large:28px;
  --radius-inset:12px;
  --radius-rounded:400px;
  --type-title:550 32px/36px 'Google Sans',sans-serif;
  --type-title-small:550 24px/28px 'Google Sans',sans-serif;
  --type-headline:550 20px/24px 'Google Sans',sans-serif;
  --type-body:450 16px/20px 'Google Sans',sans-serif;
  --type-body-small:450 14px/18px 'Google Sans',sans-serif;
  --type-caption:450 12px/16px 'Google Sans',sans-serif;
  --fit-bg:#0e0e10;
  --fit-surface:#1b1b1e;
  --fit-inset:#262629;
  --fit-muted:#aaa7a2;
  --fit-accent:#f7971d;
  --fit-water:#d7bda0;
  --fit-training:#be7543;
  --pb-bg:var(--fit-bg);
  --pb-panel:var(--fit-surface);
  --pb-ink:#f5f3f0;
  --pb-muted:var(--fit-muted);
  --pb-card-radius:28px;
  --pb-control-radius:12px;
  --pb-soft-surface:var(--fit-surface);
  --pb-soft-edge:none;
  color-scheme:dark;
  background:#080809!important;
}
html[data-fitness-theme] body {
  padding:0!important;
  background:#080809!important;
  font-family:'Google Sans',system-ui,sans-serif!important;
  -webkit-font-smoothing:antialiased;
}
html[data-fitness-theme] *,html[data-fitness-theme] *::before,html[data-fitness-theme] *::after {
  letter-spacing:0!important;
  font-family:inherit;
}
html[data-fitness-theme] .ambient {display:none!important}
html[data-fitness-theme] #app[data-fitness] {
  position:relative;
  max-width:430px;
  height:min(100dvh,var(--tg-viewport-height,100dvh));
  padding:0!important;
  margin:auto;
  border-radius:0;
  background:var(--fit-bg)!important;
  box-shadow:none;
}
html[data-fitness-theme] #app[data-fitness]::before {background:var(--fit-bg)!important;box-shadow:none!important}
html[data-fitness-theme] #app[data-fitness] > .app-header {
  position:absolute;
  inset:0 0 auto;
  z-index:20;
  display:grid!important;
  grid-template-columns:clamp(112px,37vw,152px) minmax(0,1fr) 40px!important;
  gap:10px;
  height:calc(70px + var(--fit-safe-top));
  min-height:calc(70px + var(--fit-safe-top))!important;
  margin:0;
  padding:calc(12px + var(--fit-safe-top)) 20px 12px!important;
  border:0!important;
  border-radius:0!important;
}
html[data-fitness-theme] #app[data-fitness] .app-header::before {
  background:rgba(14,14,16,.84)!important;
  filter:none;
  box-shadow:none!important;
  backdrop-filter:blur(24px) saturate(1.4)!important;
  -webkit-backdrop-filter:blur(24px) saturate(1.4)!important;
}
html[data-fitness-theme] #app[data-fitness] .brand-btn {width:100%;height:44px;padding:0;border:0!important;background:transparent!important}
html[data-fitness-theme] #app[data-fitness] .brand-btn img {width:100%;height:auto;max-height:32px;object-fit:contain;filter:none}
html[data-fitness-theme] #app[data-fitness] .header-copy b {
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  font-size:15px!important;line-height:17px;font-weight:550;
  white-space:normal!important;overflow-wrap:anywhere
}
html[data-fitness-theme] #app[data-fitness] .app-lamp {grid-column:3!important;grid-row:1!important;width:40px;height:40px;border:0!important;border-radius:50%!important;background:#262629!important;color:var(--fit-accent)}
html[data-fitness-theme] #app[data-fitness] .tg-mini {display:none}
html[data-fitness-theme] #app[data-fitness] > .screen {
  position:absolute;
  inset:0;
  height:100%!important;
  width:100%;
  padding:calc(86px + var(--fit-safe-top)) 20px calc(108px + var(--fit-safe-bottom))!important;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scroll-padding:calc(90px + var(--fit-safe-top)) 0 calc(110px + var(--fit-safe-bottom));
  animation:fit-screen-in 180ms ease-out;
}
html[data-fitness-theme] #app[data-fitness] #today {
  padding:calc(86px + var(--fit-safe-top)) 20px calc(108px + var(--fit-safe-bottom))!important;
  background:var(--fit-bg)!important;
}
html[data-fitness-theme] #app[data-fitness] #today::before,html[data-fitness-theme] #app[data-fitness] #today::after {display:none!important}
html[data-fitness-theme] #app[data-fitness] :is(h1,h2,h3,p) {max-width:none;overflow-wrap:break-word}
html[data-fitness-theme] #app[data-fitness] h1 {margin:6px 0 8px!important;font:var(--type-title)!important}
html[data-fitness-theme] #app[data-fitness] h2 {font-size:20px!important;line-height:25px!important;font-weight:550}
html[data-fitness-theme] #app[data-fitness] h3 {font-size:16px!important;line-height:22px!important;font-weight:550}
html[data-fitness-theme] #app[data-fitness] p {font-size:14px!important;line-height:20px!important;color:var(--fit-muted)!important;font-weight:400}
html[data-fitness-theme] #app[data-fitness] .primary {
  min-height:48px!important;
  padding:12px 18px!important;
  border:0!important;
  border-radius:14px!important;
  background:var(--fit-accent)!important;
  color:#171514!important;
  font-size:14px!important;
  line-height:20px!important;
  font-weight:550!important;
  box-shadow:none!important;
}
html[data-fitness-theme] #app[data-fitness] .secondary {
  min-height:44px!important;
  padding:12px 16px!important;
  border:0!important;
  border-radius:12px!important;
  background:var(--fit-inset)!important;
  font-size:13px!important;
  line-height:18px!important;
  font-weight:450!important;
  box-shadow:none!important;
}
html[data-fitness-theme] #app[data-fitness] .shine::after {display:none}
html[data-fitness-theme] #app[data-fitness] :is(button,input,select,textarea) {font-family:'Google Sans',system-ui,sans-serif}
html[data-fitness-theme] #app[data-fitness] :is(button,a,input,select,textarea):focus-visible {outline:2px solid var(--fit-accent)!important;outline-offset:3px}
html[data-fitness-theme] #app[data-fitness] button {transition:background 160ms ease,opacity 160ms ease,transform 160ms ease}
html[data-fitness-theme] #app[data-fitness] button:active {transform:scale(.98)}
html[data-fitness-theme] #app[data-fitness] button:disabled {opacity:.45}

/* Keep secondary screens and task sheets in the same graphite palette. */
html[data-fitness-theme] #app[data-fitness] :is(.flow-step,.market-list div,.module-stack div,.leaderboard div,.reward-rules div) {
  background:var(--fit-inset)!important;box-shadow:none!important
}
html[data-fitness-theme] #app[data-fitness] .lib-sheet {
  background:var(--fit-surface)!important;box-shadow:none!important;
  border-radius:var(--pb-card-radius) var(--pb-card-radius) 0 0!important
}

/* Five destinations, same underlying routing and history. */
html[data-fitness-theme] #app[data-fitness] .bottom-nav {
  left:12px!important;right:12px!important;
  bottom:calc(12px + var(--fit-safe-bottom))!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:0!important;
  height:70px;
  padding:5px!important;
  border-radius:999px!important;
}
html[data-fitness-theme] #app[data-fitness] .bottom-nav::before {
  background:rgba(32,31,33,.86)!important;
  filter:none;
  backdrop-filter:blur(24px) saturate(1.4)!important;
  -webkit-backdrop-filter:blur(24px) saturate(1.4)!important;
  box-shadow:0 14px 36px #0006,inset 0 1px 0 #ffffff0c!important;
}
html[data-fitness-theme] #app[data-fitness] .bottom-nav button {
  display:grid!important;
  align-content:center;
  min-height:60px!important;
  grid-template-rows:24px 14px;
  gap:5px;
  padding:5px 0;
  border:0!important;
  border-radius:999px!important;
  color:#a4a2a0!important;
  background:transparent!important;
  box-shadow:none!important;
}
html[data-fitness-theme] #app[data-fitness] .bottom-nav button[data-jump="curator"] {display:none!important}
html[data-fitness-theme] #app[data-fitness] .bottom-nav button.active {color:var(--fit-accent)!important;background:rgba(247,151,29,.12)!important}
html[data-fitness-theme] #app[data-fitness] .bottom-nav b {font-size:9.5px!important;line-height:14px!important;font-weight:550!important;white-space:nowrap}
html[data-fitness-theme] #app[data-fitness] .bottom-nav b::after {content:none!important}
html[data-fitness-theme] #app[data-fitness] .bottom-nav .tab-icon {width:22px;height:22px;stroke-width:1.7}

/* Today: calendar -> live activity -> one primary action. */
html[data-fitness-theme] #app[data-fitness] #today > .photo-home {display:none!important}
html[data-fitness-theme] #app[data-fitness] #today > :is(.simple-day-intro,.today-dashboard) {display:block!important}
html[data-fitness-theme] #app[data-fitness] #today .today-dashboard::before {display:none!important}
html[data-fitness-theme] #app[data-fitness] #today > .subscription-notice[hidden] {display:none!important}
html[data-fitness-theme] #app[data-fitness] .simple-day-intro {margin:0 0 18px!important;padding:0!important}
html[data-fitness-theme] #app[data-fitness] #simpleDayDate {font-size:12px;color:var(--fit-muted);font-weight:400;text-transform:none}
html[data-fitness-theme] #app[data-fitness] #simpleDayTitle {font:var(--type-title-small)!important;margin:6px 0 16px!important}
html[data-fitness-theme] #app[data-fitness] #simpleDaySummary {display:none}
.fit-week {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.fit-week button {display:grid;justify-items:center;align-content:center;gap:5px;height:50px;min-width:0;padding:6px 0;border-radius:999px;background:#222225;color:#aaa7a2}
.fit-week button span {font-size:10px;line-height:14px}
.fit-week button b {font-size:15px;line-height:18px;font-weight:550;font-variant-numeric:tabular-nums}
.fit-week button.selected {background:var(--fit-accent);color:#191817}
.fit-activity {margin:0 0 22px;padding:16px 20px;border-radius:var(--radius-card);background:var(--fit-surface)}
.fit-section-heading {display:flex;align-items:center;justify-content:space-between;gap:8px}
html[data-fitness-theme] #app[data-fitness] .fit-section-heading h2 {font-size:17px!important;line-height:24px!important}
.fit-section-heading button {display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#303033;color:var(--fit-accent);font-size:21px}
.fit-section-heading button svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.fit-activity-body {display:grid;grid-template-columns:126px minmax(0,1fr);align-items:center;gap:20px;margin-top:8px}
.fit-rings {position:relative;aspect-ratio:1;min-width:0;width:126px;display:grid;place-items:center}
.fit-ring {position:absolute;border-radius:50%;aspect-ratio:1;mask:radial-gradient(farthest-side,transparent calc(100% - 9px),#000 calc(100% - 8px));-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 9px),#000 calc(100% - 8px))}
.fit-ring-food {inset:0;background:conic-gradient(var(--fit-accent) calc(var(--food,0)*1%),#45403b 0);transform:rotate(-25deg)}
.fit-ring-water {inset:16px;background:conic-gradient(var(--fit-water) calc(var(--water,0)*1%),#3b342e 0);transform:rotate(-25deg)}
.fit-ring-training {inset:32px;background:conic-gradient(var(--fit-training) calc(var(--training,0)*1%),#3b2e25 0);transform:rotate(-25deg)}
.fit-rings > span {font-size:10px;color:var(--fit-muted)}
.fit-activity dl {margin:0;display:grid;gap:10px;min-width:0}
.fit-activity dl > div {display:flex;flex-wrap:wrap;align-items:baseline;column-gap:5px}
.fit-activity dt {width:100%;display:flex;align-items:center;gap:5px;margin-bottom:2px;font-size:11px;color:var(--fit-muted)}
.fit-activity dd {margin:0;color:var(--pb-ink);font-size:16px;line-height:20px;font-weight:550;font-variant-numeric:tabular-nums}
.fit-activity small {align-self:center;font-size:9px;color:var(--fit-muted);white-space:nowrap}
.fit-dot {width:5px;height:5px;flex:none;border-radius:50%}
.fit-dot-food {background:var(--fit-accent)}
.fit-dot-water {background:var(--fit-water)}
.fit-dot-training {background:var(--fit-training)}
html[data-fitness-theme] #app[data-fitness] .fit-next-heading {font-size:19px!important;line-height:24px!important;margin:0 0 12px}
html[data-fitness-theme] #app[data-fitness] #today .today-focus-card {
  display:flex!important;
  flex-direction:column;
  gap:0!important;
  align-items:flex-start;
  justify-content:flex-end;
  position:relative;
  min-height:180px;
  margin:0 0 12px!important;
  padding:20px!important;
  border-radius:28px!important;
  overflow:hidden;
  background:linear-gradient(90deg,rgba(0,0,0,.8),rgba(0,0,0,.05)),url('/assets/home/training.webp') center 38%/cover!important;
  box-shadow:none!important;
}
html[data-fitness-theme] #app[data-fitness] #today .today-focus-card::before,html[data-fitness-theme] #app[data-fitness] #today .today-focus-card::after {display:none!important}
html[data-fitness-theme] #app[data-fitness] #today .today-focus-main {display:block!important;width:82%;min-width:0}
html[data-fitness-theme] #app[data-fitness] #today .today-feature-icon {display:none!important}
html[data-fitness-theme] #app[data-fitness] #today .today-focus-copy {display:block;max-width:240px}
html[data-fitness-theme] #app[data-fitness] #today .today-focus-copy > span {display:none}
html[data-fitness-theme] #app[data-fitness] #today #todayNextTitle {display:block;font-size:23px!important;line-height:27px!important;font-weight:550!important;color:#fff}
html[data-fitness-theme] #app[data-fitness] #today #todayNextText {margin-top:6px;font-size:12px!important;line-height:18px!important;color:#ddd9d4;font-weight:400}
html[data-fitness-theme] #app[data-fitness] #today #todayNextCta {min-width:130px!important;width:auto!important;min-height:40px!important;margin:14px 0 0!important;padding:9px 24px!important}
html[data-fitness-theme] #app[data-fitness] #today .simple-quick-actions {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px}
html[data-fitness-theme] #app[data-fitness] #today .simple-quick-actions > button {
  display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;align-items:center;min-height:68px;padding:12px!important;border:0!important;border-radius:20px!important;background:var(--fit-surface)!important;box-shadow:none!important;
}
html[data-fitness-theme] #app[data-fitness] #today .simple-quick-actions > button::before,html[data-fitness-theme] #app[data-fitness] #today .simple-quick-actions > button::after {display:none!important}
html[data-fitness-theme] #app[data-fitness] #today .simple-quick-actions > button[hidden] {display:none!important}
html[data-fitness-theme] #app[data-fitness] #today .today-quick-icon {width:24px;height:24px;padding:0;background:none!important;color:var(--fit-accent)}
html[data-fitness-theme] #app[data-fitness] #today #simpleWaterAdd .today-quick-icon {color:var(--fit-water)}
html[data-fitness-theme] #app[data-fitness] #today .simple-action-copy > span {font-size:10px!important;color:var(--fit-muted);font-weight:400;text-transform:none!important}
html[data-fitness-theme] #app[data-fitness] #today .simple-action-copy b {font-size:13px!important;line-height:18px!important;font-weight:550!important}
html[data-fitness-theme] #app[data-fitness] #today .prime-day-card {display:grid!important;grid-template-columns:28px minmax(0,1fr);gap:10px;min-height:0;margin:0!important;padding:14px 0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
html[data-fitness-theme] #app[data-fitness] #today .prime-day-card::before,html[data-fitness-theme] #app[data-fitness] #today .prime-day-card::after {display:none!important}
html[data-fitness-theme] #app[data-fitness] #today .today-card-icon {width:24px;height:24px;padding:0;background:none!important;color:var(--fit-accent)}
html[data-fitness-theme] #app[data-fitness] #today .prime-day-top {display:block}
html[data-fitness-theme] #app[data-fitness] #today .prime-day-top span {font-size:10px!important;color:var(--fit-muted)}
html[data-fitness-theme] #app[data-fitness] #today .prime-day-top b {font-size:15px!important;line-height:20px!important;font-weight:550!important}
html[data-fitness-theme] #app[data-fitness] #today .prime-day-bottom {margin-top:8px;display:flex}
html[data-fitness-theme] #app[data-fitness] #today .prime-day-bottom button {padding:8px 14px;min-height:36px;border:0;border-radius:999px;background:var(--fit-inset);font-size:12px}
html[data-fitness-theme] #app[data-fitness] #today :is(.today-status-grid,.today-links,.prime-day-card p,.prime-day-bottom em) {display:none!important}

/* Shared product-card and control geometry from the Mini App. */
html[data-fitness-theme] #app[data-fitness] :is(.glass-card,.workout-card,.period-report,.progress-avatar-card,.ready-program-card,.saved-card,.bodycheck-card) {
  padding:20px!important;
  margin:0 0 20px!important;
  border:0!important;
  border-radius:28px!important;
  background:var(--fit-surface)!important;
  box-shadow:none!important;
  backdrop-filter:none;
}
html[data-fitness-theme] #app[data-fitness] .card-head {gap:12px;margin-bottom:16px;align-items:flex-start}
html[data-fitness-theme] #app[data-fitness] .card-head p {margin-top:6px;font-size:12px!important;line-height:18px!important}
html[data-fitness-theme] #app[data-fitness] .pill {flex-shrink:0;padding:6px 9px;font-size:10px;font-weight:450;background:#303033!important;border:0!important;color:var(--fit-accent)}
.fit-page-intro {margin:0 0 20px}
.fit-page-intro > span {font-size:12px;color:var(--fit-muted)}
.fit-workout-cover {display:block;width:calc(100% + 40px);max-width:none;height:190px;object-fit:cover;object-position:center 32%;margin:-20px -20px 20px;border-radius:28px 28px 0 0}
html[data-fitness-theme] #app[data-fitness] #training .timeline {max-height:160px;overflow:auto;margin-bottom:16px}
html[data-fitness-theme] #app[data-fitness] #training .timeline > div {padding:8px 0 8px 30px;background:transparent!important;border:0!important;border-radius:0;font-size:13px;box-shadow:none}
html[data-fitness-theme] #app[data-fitness] #training .timeline b {font-size:13px!important;font-weight:450!important}
html[data-fitness-theme] #app[data-fitness] #training .day-workout-actions {grid-template-columns:1fr;margin-bottom:10px}
html[data-fitness-theme] #app[data-fitness] #training #addPastWorkout {font-size:12px!important;min-height:40px!important}
html[data-fitness-theme] #app[data-fitness] #training .simple-section-menu {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html[data-fitness-theme] #app[data-fitness] #training .simple-section-menu > button {position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;min-height:194px;padding:14px!important;border:0!important;border-radius:24px!important;overflow:hidden;background:var(--fit-surface)!important;box-shadow:none!important;text-align:left;backdrop-filter:none!important}
html[data-fitness-theme] #app[data-fitness] #training .simple-section-menu > button::after {content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.9),rgba(0,0,0,.08) 75%);z-index:0}
html[data-fitness-theme] #app[data-fitness] #training .simple-section-menu > button img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
html[data-fitness-theme] #app[data-fitness] #training .simple-section-menu > button :is(span,b,em) {position:relative;z-index:1}
html[data-fitness-theme] #app[data-fitness] #training .simple-section-menu > button span {font-size:10px!important;line-height:14px;color:var(--fit-accent)}
html[data-fitness-theme] #app[data-fitness] #training .simple-section-menu > button b {font-size:17px!important;line-height:21px!important;font-weight:550;margin:5px 0}
html[data-fitness-theme] #app[data-fitness] #training .simple-section-menu > button em {font-size:10px!important;line-height:15px!important;color:#ccc}
html[data-fitness-theme] #app[data-fitness] #training .simple-section-menu > button:nth-child(3) {grid-column:1/-1;min-height:125px}
html[data-fitness-theme] #app[data-fitness] #training .simple-section-menu details {grid-column:1/-1;padding:16px!important;border-radius:20px!important;background:var(--fit-surface)!important;box-shadow:none!important}

/* Nutrition retains all tools and the full calorie/macro dashboard. */
html[data-fitness-theme] #app[data-fitness] .simple-screen-intro {padding:0!important;margin:0 0 20px!important}
html[data-fitness-theme] #app[data-fitness] .simple-screen-intro > span {font-size:12px!important;color:var(--fit-muted);font-weight:400;text-transform:none!important}
html[data-fitness-theme] #app[data-fitness] .simple-screen-intro > p {margin:6px 0 16px}
html[data-fitness-theme] #app[data-fitness] .simple-inline-actions {margin:16px 0 0;gap:8px}
html[data-fitness-theme] #app[data-fitness] .nutrition-tabs {gap:4px;padding:4px;background:var(--fit-surface);border:0;border-radius:999px;margin-bottom:20px}
html[data-fitness-theme] #app[data-fitness] .nutrition-tabs button {min-height:40px;padding:8px 4px;font-size:11px!important;font-weight:450;border:0!important;border-radius:999px;color:var(--fit-muted)}
html[data-fitness-theme] #app[data-fitness] .nutrition-tabs button[aria-selected="true"] {background:var(--fit-accent);color:#171514!important;box-shadow:none}
html[data-fitness-theme] #app[data-fitness] .diary-date-panel {padding:0 0 16px!important;margin:0;border:0!important;background:none!important}
html[data-fitness-theme] #app[data-fitness] .diary-date-head {font-size:11px;line-height:18px}
html[data-fitness-theme] #app[data-fitness] .diary-date-strip {gap:7px}
html[data-fitness-theme] #app[data-fitness] .diary-date-strip button {min-width:0;min-height:52px;border:0!important;border-radius:999px;background:#222225}
html[data-fitness-theme] #app[data-fitness] .diary-date-strip button.active,html[data-fitness-theme] #app[data-fitness] .diary-date-strip button[aria-selected="true"] {background:var(--fit-accent)!important;color:#171514!important}
html[data-fitness-theme] #app[data-fitness] :is(.diary-workout-status,.diary-result-grid,.diary-result-balance) {display:none}
html[data-fitness-theme] #app[data-fitness] .nutrition-kcal-card .card-head h2 {font-size:16px!important;line-height:21px!important}
html[data-fitness-theme] #app[data-fitness] .nutrition-kcal-card .card-head p {display:none}
html[data-fitness-theme] #app[data-fitness] .cal-toggle {padding:3px;border:0;border-radius:999px;background:#303033;gap:0}
html[data-fitness-theme] #app[data-fitness] .cal-toggle button {padding:7px 10px;min-height:32px;border:0;border-radius:999px;font-size:10px!important}
html[data-fitness-theme] #app[data-fitness] .cal-toggle button.on {background:var(--fit-accent)!important;color:#171514!important}
html[data-fitness-theme] #app[data-fitness] .kcal-ring {width:180px;height:180px;max-width:100%;margin:20px auto;background:conic-gradient(var(--fit-accent) calc(var(--remaining,100)*1%),#353335 0)!important;box-shadow:none!important;border:0!important;border-radius:50%!important;padding:8px}
html[data-fitness-theme] #app[data-fitness] .kcal-ring::before,html[data-fitness-theme] #app[data-fitness] .kcal-ring::after {content:none!important}
html[data-fitness-theme] #app[data-fitness] .kcal-ring-inner {inset:8px;background:var(--fit-surface)!important;border:0!important;box-shadow:none!important;display:flex;flex-direction:column;align-items:center;justify-content:center}
html[data-fitness-theme][data-nutrition-mode="calories"] #app[data-fitness] #kcalRing {position:relative!important;display:block!important}
html[data-fitness-theme] #app[data-fitness] #kcalRing .kcal-ring-inner {position:absolute!important;inset:8px!important;width:auto!important;height:auto!important;border-radius:50%!important;transform:none!important}
html[data-fitness-theme] #app[data-fitness] .kcal-ring-inner b {font-size:42px!important;line-height:50px!important;font-weight:550}
html[data-fitness-theme] #app[data-fitness] .kcal-eyebrow,html[data-fitness-theme] #app[data-fitness] .kcal-unit {font-size:11px!important;line-height:16px;color:var(--fit-muted)}
html[data-fitness-theme] #app[data-fitness] .kcal-stats {margin-bottom:20px;gap:8px}
html[data-fitness-theme] #app[data-fitness] .kcal-stat {padding:8px 12px;border:0!important;border-radius:12px;background:#262629!important;box-shadow:none!important}
html[data-fitness-theme] #app[data-fitness] .kcal-stat b {font-size:18px!important;line-height:24px!important;font-weight:550}
html[data-fitness-theme] #app[data-fitness] .kcal-stat span {font-size:10px!important;color:var(--fit-muted)}
html[data-fitness-theme] #app[data-fitness] .macro-rows {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html[data-fitness-theme] #app[data-fitness] .macro-row {display:flex;flex-wrap:wrap;align-content:flex-start;gap:6px;margin:0;padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-width:0}
html[data-fitness-theme] #app[data-fitness] .macro-row .m-dot {display:none}
html[data-fitness-theme] #app[data-fitness] .macro-row > b {font-size:11px!important;font-weight:400;color:var(--fit-muted)}
html[data-fitness-theme] #app[data-fitness] .macro-row i {width:100%;font-size:11px!important;line-height:18px!important;font-weight:550;text-align:left;white-space:normal}
html[data-fitness-theme] #app[data-fitness] .m-bar {width:100%;height:5px;margin:0;border:0;background:#383637;border-radius:999px;overflow:hidden}
html[data-fitness-theme] #app[data-fitness] .m-bar u {height:100%;border-radius:inherit}
html[data-fitness-theme] #app[data-fitness] .norm-note {margin:16px 0;font-size:10px!important;line-height:16px!important;font-weight:400!important}
html[data-fitness-theme] #app[data-fitness] .water-block {display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;padding:14px 0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
html[data-fitness-theme] #app[data-fitness] .water-ring {width:44px;height:44px;min-width:0;border-radius:50%!important;box-shadow:none!important;background:#382f28!important}
html[data-fitness-theme] #app[data-fitness] .water-ml b {font-size:13px!important}
html[data-fitness-theme] #app[data-fitness] .water-ml i {font-size:9px!important}
html[data-fitness-theme] #app[data-fitness] .water-info b {font-size:14px!important;line-height:20px!important}
html[data-fitness-theme] #app[data-fitness] .water-eyebrow,html[data-fitness-theme] #app[data-fitness] .water-sub {font-size:10px!important}
html[data-fitness-theme] #app[data-fitness] .water-actions {grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:4px}
html[data-fitness-theme] #app[data-fitness] .water-actions button {min-width:0;min-height:36px!important;padding:7px 3px!important;border:0!important;border-radius:999px!important;background:#322b26!important;color:var(--fit-water)!important;font-size:11px!important;font-weight:550}
html[data-fitness-theme] #app[data-fitness] #adaptCalories {background:transparent!important;min-height:36px!important;color:var(--fit-muted)!important;font-size:11px!important;text-decoration:underline}
html[data-fitness-theme] #app[data-fitness] .food-log {gap:8px}
html[data-fitness-theme] #app[data-fitness] .food-log > div {background:var(--fit-inset)!important;border:0!important;border-radius:12px;padding:12px}
html[data-fitness-theme] #app[data-fitness] .simple-link-grid {gap:8px}
html[data-fitness-theme] #app[data-fitness] .simple-link-grid button {padding:12px!important;border:0!important;border-radius:12px!important;background:var(--fit-inset)!important;box-shadow:none!important;font-size:12px!important;font-weight:450}
html[data-fitness-theme] #app[data-fitness] .progress-avatar-card {grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:16px;align-items:center}
html[data-fitness-theme] #app[data-fitness] .progress-avatar-stage {height:clamp(196px,54vw,216px);min-height:0}
html[data-fitness-theme] #app[data-fitness] .progress-avatar-copy p {font-size:12px!important;line-height:18px!important}
html[data-fitness-theme] #app[data-fitness] .progress-avatar-copy > span {font-size:11px;color:var(--fit-accent)}
html[data-fitness-theme] #app[data-fitness] .period-report-tabs button[aria-pressed="true"] {background:var(--fit-accent)!important;color:#171514!important}
html[data-fitness-theme] #app[data-fitness] .progress-avatar-copy h2 {margin:6px 0 8px!important}
html[data-fitness-theme] #app[data-fitness] .progress-avatar-copy button {font-size:11px;padding:8px 0;background:none;color:var(--fit-accent)}
html[data-fitness-theme] #app[data-fitness] .more-groups button {border:0!important;border-radius:20px!important;background:var(--fit-surface)!important;box-shadow:none!important;backdrop-filter:none!important}
html[data-fitness-theme] #app[data-fitness] .more-groups button b {font-weight:550!important}

@keyframes fit-screen-in {from{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (max-width:360px) {
  html[data-fitness-theme] #app[data-fitness] > .screen,html[data-fitness-theme] #app[data-fitness] #today {padding-left:16px!important;padding-right:16px!important}
  html[data-fitness-theme] #app[data-fitness] .app-header {padding-left:16px!important;padding-right:16px!important}
  .fit-week {gap:5px}
  .fit-activity {padding:16px}
  .fit-activity-body {grid-template-columns:118px minmax(0,1fr);gap:16px}
  .fit-rings {width:118px}
  .fit-activity dd {font-size:14px}
  .fit-activity small {font-size:8px}
  #fitWorkoutTarget {display:none}
  html[data-fitness-theme] #app[data-fitness] #today .today-focus-card {padding:16px!important}
  html[data-fitness-theme] #app[data-fitness] #today .today-focus-main {width:100%}
  html[data-fitness-theme] #app[data-fitness] .bottom-nav b {font-size:8px!important}
  html[data-fitness-theme] #app[data-fitness] #today #todayNextTitle {font-size:21px!important}
  html[data-fitness-theme] #app[data-fitness] .nutrition-kcal-card > .card-head {flex-wrap:wrap}
  html[data-fitness-theme] #app[data-fitness] #training .simple-section-menu > button {min-height:180px;padding:12px!important}
  html[data-fitness-theme] #app[data-fitness] #training .simple-section-menu > button b {font-size:15px!important;line-height:19px!important}
}
@media (min-width:760px) {
  html[data-fitness-theme] body {display:grid;place-items:center;padding:20px!important}
  html[data-fitness-theme] #app[data-fitness] {height:calc(min(100dvh,var(--tg-viewport-height,100dvh)) - 40px);border-radius:36px;box-shadow:0 0 0 1px #ffffff12,0 24px 100px #0009}
}
@media (prefers-reduced-transparency:reduce) {
  html[data-fitness-theme] #app[data-fitness] :is(.app-header,.bottom-nav)::before {background:#1b1b1e!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}
@media (prefers-reduced-motion:reduce) {
  html[data-fitness-theme] *,html[data-fitness-theme] *::before,html[data-fitness-theme] *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
