:root {
  --bg: #f4f3ef;
  --card: #ffffff;
  --card-2: #f7f6f2;
  --ink: #111111;
  --ink-2: #55534e;
  --muted: #8d8a83;
  --line: #e8e6e0;
  --track: #ecebe6;
  --primary: #111111;
  --on-primary: #ffffff;
  --accent: #2fb67c;
  --accent-soft: #e2f5ec;
  --kcal: #ff7a2f;
  --protein: #f2477e;
  --carbs: #f4b400;
  --fat: #3b82f6;
  --workout: #7c5cff;
  --workout-soft: #eeeaff;
  --warn: #e8a000;
  --warn-soft: #fff4d6;
  --danger: #e5484d;
  --danger-soft: #fde8e8;
  --shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 8px 24px rgba(17, 17, 17, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --tabbar-h: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0b0b0c;
    --card: #17171a;
    --card-2: #1f1f23;
    --ink: #f4f4f5;
    --ink-2: #b8b8bd;
    --muted: #7d7d85;
    --line: #2a2a2f;
    --track: #2a2a30;
    --primary: #f4f4f5;
    --on-primary: #0b0b0c;
    --accent-soft: #10291e;
    --workout-soft: #221c3d;
    --warn-soft: #2e2510;
    --danger-soft: #331617;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0b0b0c; --card: #17171a; --card-2: #1f1f23; --ink: #f4f4f5; --ink-2: #b8b8bd; --muted: #7d7d85;
  --line: #2a2a2f; --track: #2a2a30; --primary: #f4f4f5; --on-primary: #0b0b0c; --accent-soft: #10291e;
  --workout-soft: #221c3d; --warn-soft: #2e2510; --danger-soft: #331617; --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.45 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: 30px; font-weight: 800; }
h2 { font-size: 22px; font-weight: 750; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.ic { flex: none; display: block; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.grow { flex: 1; min-width: 0; }
.hidden { display: none !important; }

#app { max-width: 560px; margin: 0 auto; padding: calc(var(--safe-t) + 14px) 16px calc(var(--tabbar-h) + var(--safe-b) + 24px); }

/* ---------- header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 14px; }
.top .hello { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; font-weight: 800; border: 0; cursor: pointer; }

/* ---------- day strip ---------- */
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 16px; }
.day {
  border: 0; background: transparent; border-radius: 16px; padding: 8px 0 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer;
  color: var(--muted);
}
.day .dname { font-size: 12px; font-weight: 600; }
.day .dnum { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--ink); border: 2px dashed var(--line); }
.day.done .dnum { border: 2px solid var(--accent); }
.day.partial .dnum { border: 2px solid var(--kcal); border-style: solid; }
.day.today .dname { color: var(--ink); }
.day.active { background: var(--card); box-shadow: var(--shadow); }
.day.active .dnum { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.day .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--workout); }
.day .dot.rest { background: transparent; }
.week-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.week-nav button { border: 0; background: none; padding: 6px; cursor: pointer; color: var(--ink-2); border-radius: 10px; }
.week-nav button:disabled { opacity: 0.25; }
.week-nav span { font-weight: 700; font-size: 14px; }

/* ---------- cards ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.card + .card, .card + .section, .section + .card { margin-top: 12px; }
.card.tap { cursor: pointer; transition: transform 0.12s ease; }
.card.tap:active { transform: scale(0.985); }
.section { margin: 22px 2px 10px; display: flex; align-items: baseline; justify-content: space-between; }
.section h3 { font-size: 18px; }
.section .link { font-size: 14px; color: var(--muted); background: none; border: 0; cursor: pointer; }

.summary { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
.summary .big { display: flex; align-items: center; gap: 14px; }
.summary .big .num { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.macro { background: var(--card); border-radius: var(--radius-sm); padding: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.macro .v { font-weight: 800; font-size: 16px; }
.macro small { color: var(--muted); font-size: 12px; }

.ring { position: relative; flex: none; }
.ring svg { display: block; }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.ring-label b { font-size: 14px; font-weight: 800; }
.ring-label small { font-size: 10px; color: var(--muted); }

/* meal card */
.meal { display: flex; gap: 14px; align-items: center; }
.meal-emoji { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; font-size: 38px; flex: none; background: linear-gradient(135deg, #fff1e6, #ffe1cc); }
.meal-emoji.dinner { background: linear-gradient(135deg, #e9f0ff, #d6e3ff); }
.meal-emoji.breakfast { background: linear-gradient(135deg, #fff8d6, #ffefa8); }
.meal-emoji.snack { background: linear-gradient(135deg, #e3f7ec, #c9efd9); }
:root[data-theme='dark'] .meal-emoji, .dark-emoji .meal-emoji { filter: saturate(0.9); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .meal-emoji { background: #24242a !important; }
}
:root[data-theme='dark'] .meal-emoji { background: #24242a !important; }
.meal .slot { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.meal h3 { margin: 2px 0 6px; font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 650; padding: 3px 8px; border-radius: 999px; background: var(--card-2); color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; }
.chip.kcal { color: var(--kcal); }
.chip.p { color: var(--protein); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.danger { background: var(--danger-soft); color: var(--danger); }
.chip.ok { background: var(--accent-soft); color: var(--accent); }
.check {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; color: transparent; flex: none;
}
.check.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* workout card */
.workout-card { background: linear-gradient(140deg, #6d4dff, #9b7bff 60%, #c3a6ff); color: #fff; }
.workout-card .muted { color: rgba(255, 255, 255, 0.75); }
.workout-card .chip { background: rgba(255, 255, 255, 0.18); color: #fff; }
.workout-card.rest { background: linear-gradient(140deg, #0f9d6b, #39c48c); }
.workout-card.done { background: linear-gradient(140deg, #232327, #3a3a42); }
.ex-thumbs { display: flex; gap: 6px; margin-top: 14px; overflow: hidden; }
.ex-thumbs img { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; background: rgba(255, 255, 255, 0.25); }
.ex-thumbs .more { width: 52px; height: 52px; border-radius: 12px; background: rgba(255, 255, 255, 0.2); display: grid; place-items: center; font-weight: 700; }

/* ---------- buttons & inputs ---------- */
.btn {
  border: 0; border-radius: 999px; padding: 14px 20px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--primary); color: var(--on-primary); transition: transform 0.1s ease, opacity 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn.block { width: 100%; }
.btn.ghost { background: var(--card-2); color: var(--ink); }
.btn.light { background: #fff; color: #111; }
.btn.danger { background: var(--danger); color: #fff; }
.btn.accent { background: var(--accent); color: #fff; }
.btn.sm { padding: 9px 14px; font-size: 14px; }
.icon-btn { border: 0; background: var(--card-2); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); flex: none; }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 650; color: var(--ink-2); margin-bottom: 6px; }
.input, select.input, textarea.input {
  width: 100%; border: 1.5px solid var(--line); background: var(--card); border-radius: var(--radius-sm); padding: 13px 14px; outline: none; transition: border-color 0.15s;
}
.input:focus { border-color: var(--ink); }
textarea.input { resize: vertical; min-height: 80px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.options { display: grid; gap: 10px; }
.options.two { grid-template-columns: 1fr 1fr; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label {
  display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--card); border: 2px solid var(--line); cursor: pointer; font-weight: 600; min-height: 56px;
}
.opt label .em { font-size: 22px; }
.opt label small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.opt input:checked + label { border-color: var(--ink); background: var(--card-2); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill label { display: inline-block; padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: 14px; }
.pill input:checked + label { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }

.range-row { display: flex; align-items: center; gap: 12px; }
.range-row input[type='range'] { flex: 1; accent-color: var(--ink); }
.range-row output { font-weight: 800; min-width: 52px; text-align: right; }

/* ---------- onboarding ---------- */
.onb { min-height: calc(100dvh - 40px); display: flex; flex-direction: column; }
.onb-top { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.progress { flex: 1; height: 6px; background: var(--track); border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--ink); border-radius: 99px; transition: width 0.3s ease; }
.onb h1 { margin-bottom: 8px; }
.onb .lead { color: var(--ink-2); margin-bottom: 24px; }
.onb-body { flex: 1; }
.onb-foot { position: sticky; bottom: 0; padding: 16px 0 calc(var(--safe-b) + 10px); background: linear-gradient(transparent, var(--bg) 30%); }
.hero { text-align: center; padding: 40px 0 10px; }
.hero .logo { width: 96px; height: 96px; border-radius: 28px; margin: 0 auto 22px; box-shadow: var(--shadow); }
.feature { display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 12px 0; }
.feature .fi { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--card); box-shadow: var(--shadow); flex: none; font-size: 20px; }

/* ---------- tab bar ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 8px 12px calc(var(--safe-b) + 8px);
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line);
}
.tabbar nav { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 650; padding: 6px 0; }
.tabbar a.on { color: var(--ink); }

/* ---------- sheet ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); opacity: 0; transition: opacity 0.25s; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-width: 560px; margin: 0 auto; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-radius: 28px 28px 0 0; transform: translateY(100%); transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding-bottom: calc(var(--safe-b) + 20px);
}
.sheet-wrap.open .sheet-backdrop { opacity: 1; }
.sheet-wrap.open .sheet { transform: none; }
.sheet-grip { width: 40px; height: 5px; border-radius: 9px; background: var(--line); margin: 10px auto 0; position: sticky; top: 10px; z-index: 2; }
.sheet-body { padding: 10px 18px 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 16px; }

.recipe-hero { text-align: center; padding: 10px 0 18px; }
.recipe-hero .meal-emoji { width: 110px; height: 110px; font-size: 60px; margin: 0 auto 14px; border-radius: 30px; }
.ing { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); gap: 12px; }
.ing:last-child { border: 0; }
.ing b { white-space: nowrap; }
.steps { counter-reset: s; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 0 0 16px 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-weight: 800; font-size: 14px; }

/* exercises */
.ex-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.ex-row:last-child { border: 0; }
.ex-img { width: 64px; height: 64px; border-radius: 14px; background: var(--card-2); position: relative; overflow: hidden; flex: none; display: grid; place-items: center; color: var(--muted); }
.ex-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.demo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.demo img.f1 { animation: flip 1.6s steps(1) infinite; }
@keyframes flip { 0% { opacity: 0; } 50% { opacity: 1; } }
.demo .badge { position: absolute; left: 10px; top: 10px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 99px; }
.dose { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.dose div { background: var(--card); border-radius: var(--radius-sm); padding: 12px; text-align: center; box-shadow: var(--shadow); }
.dose b { display: block; font-size: 22px; font-weight: 800; }
.dose small { color: var(--muted); font-size: 12px; }

/* player */
.player { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; padding: calc(var(--safe-t) + 14px) 18px calc(var(--safe-b) + 18px); max-width: 560px; margin: 0 auto; }
.player .p-body { flex: 1; overflow-y: auto; }
.timer { font-size: 64px; font-weight: 800; text-align: center; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.set-dots { display: flex; gap: 8px; justify-content: center; margin: 12px 0; }
.set-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--track); }
.set-dots i.on { background: var(--workout); }

/* groceries */
.g-cat { margin: 20px 4px 8px; font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); display: flex; justify-content: space-between; }
.g-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.g-item:last-child { border: 0; }
.g-item.on .g-name { text-decoration: line-through; color: var(--muted); }
.g-item .g-qty { font-weight: 700; color: var(--ink-2); white-space: nowrap; font-size: 14px; }
.g-item .used { font-size: 12px; color: var(--muted); }
.progress-card { display: flex; align-items: center; gap: 16px; }

/* chat */
.chat { display: flex; flex-direction: column; gap: 10px; padding-bottom: 90px; }
.bubble { max-width: 86%; padding: 12px 15px; border-radius: 20px; white-space: pre-wrap; word-wrap: break-word; }
.bubble.user { align-self: flex-end; background: var(--primary); color: var(--on-primary); border-bottom-right-radius: 6px; }
.bubble.coach { align-self: flex-start; background: var(--card); box-shadow: var(--shadow); border-bottom-left-radius: 6px; }
.action-card { align-self: flex-start; max-width: 92%; width: 100%; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 14px; }
.action-card .row { margin-top: 10px; }
.chat-input {
  position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + var(--safe-b)); z-index: 15; padding: 10px 16px;
  background: linear-gradient(transparent, var(--bg) 35%);
}
.chat-input form { max-width: 528px; margin: 0 auto; display: flex; gap: 8px; background: var(--card); border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.chat-input input { flex: 1; border: 0; outline: none; background: transparent; }
.chat-input .btn { padding: 10px; width: 42px; height: 42px; }
.suggest { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.suggest button { flex: none; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px; font-size: 14px; cursor: pointer; }
.typing span { display: inline-block; width: 7px; height: 7px; margin: 0 2px; border-radius: 50%; background: var(--muted); animation: bob 1s infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bob { 50% { transform: translateY(-5px); opacity: 0.5; } }

/* alerts */
.alert { border-radius: var(--radius-sm); padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.alert.warn { background: var(--warn-soft); color: color-mix(in srgb, var(--warn) 70%, var(--ink)); }
.alert.danger { background: var(--danger-soft); color: color-mix(in srgb, var(--danger) 75%, var(--ink)); }
.alert.ok { background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 70%, var(--ink)); }
.alert b { display: block; margin-bottom: 2px; }

/* progress */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.stat .v { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.stat .l { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .axis { font-size: 10px; fill: var(--muted); }

/* list rows (profile) */
.list-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; }
.list-row:last-child { border-bottom: 0; }
.list-row .lr-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--card-2); flex: none; }

.pain-scale { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; }
.pain-scale input { position: absolute; opacity: 0; }
.pain-scale label { display: grid; place-items: center; height: 38px; border-radius: 10px; background: var(--card); border: 1.5px solid var(--line); font-weight: 700; font-size: 13px; cursor: pointer; }
.pain-scale input:checked + label { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }

.empty { text-align: center; padding: 50px 20px; }
.empty .big-em { font-size: 54px; margin-bottom: 12px; }

/* toast & busy */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + 20px); transform: translate(-50%, 20px); opacity: 0; z-index: 100;
  background: var(--primary); color: var(--on-primary); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: all 0.25s; max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--danger); color: #fff; border-radius: 16px; }
.busy { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; padding: 24px; opacity: 0; transition: opacity 0.2s; }
.busy.show { opacity: 1; }
.busy-card { background: var(--card); border-radius: 28px; padding: 30px 24px; text-align: center; max-width: 360px; width: 100%; box-shadow: var(--shadow); }
.busy-card h3 { margin: 18px 0 6px; }
.busy-msg { color: var(--ink-2); min-height: 22px; }
.bar { height: 6px; background: var(--track); border-radius: 99px; overflow: hidden; margin: 16px 0 10px; }
.bar span { display: block; height: 100%; width: 5%; background: linear-gradient(90deg, var(--kcal), var(--protein), var(--workout)); transition: width 0.6s ease; }
.orb { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto; background: conic-gradient(from 0deg, var(--kcal), var(--protein), var(--workout), var(--accent), var(--kcal)); animation: spin 2.4s linear infinite; filter: blur(0.5px); -webkit-mask: radial-gradient(circle, transparent 46%, #000 48%); mask: radial-gradient(circle, transparent 46%, #000 48%); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 700px) {
  body { padding-top: 10px; }
}
