/* Moment Design System + Brand Guidelines v0.1 — generated from tokens.json */
:root, [data-theme="light"] {
  --bg: #fbf4ee; /* The page ground. Never pure white at page level. */
  --bg-elevated: #ffffff; /* A card or sheet lifted off the page. */
  --bg-inset: #faf5f0; /* A well set into an elevated surface. Stays marble if the page ground changes. */
  --bg-soft: #f0ebe7; /* A quiet chip or pill on an elevated surface. */
  --bg-muted: #e6e1de; /* A muted card, a shimmer bar. */
  --bg-strong: #dcd7cd; /* The strongest neutral fill. */
  --bg-selected: #faece4; /* A selected card: clay at 20% over white. */
  --fg: #1e1b18; /* Body text and titles. */
  --fg-muted: #696561; /* Secondary text. */
  --fg-subtle: #74706b; /* Tertiary text: captions, meta. */
  --fg-quiet: #a7a29d; /* The quietest text: placeholders, disabled labels. */
  --fg-muted-on-sky: #4f4b47; /* Small muted copy drawn straight on a sky, where `fgMuted` is too faint. */
  --fg-on-dark: #ffffff; /* Small muted copy drawn straight on a sky, where `fgMuted` is too faint. */
  --cta-bg: #e8a07a; /* The primary button: clay in both schemes, with an ink label. */
  --cta-fg: #0f0f0f; /* The label on a clay button. Light text on clay is about 2:1, so it is always ink. */
  --cta-bg-press: #d2895f; /* The primary button held. */
  --accent: #0f0f0f; /* Accent text and small glyphs on the page, where a `ctaBg` fill would be too faint. */
  --border: #e6e1de; /* The edge under a card or field. */
  --border-strong: #c9c5c5; /* The stronger line: a progress track, a grabber, the off track of a toggle. */
  --divider: #f0ebe7; /* A rule between rows inside a card. */
  --link: #0082ff; /* An inline link. */
  --error: #fa4d56; /* Something went wrong. Advisory copy takes the `caution` seam instead. */
  --scrim: rgba(30, 27, 24, 0.18); /* The wash a bottom sheet lays over the screen it covers. */
  --photo-scrim: rgba(0, 0, 0, 0.6); /* The foot of the gradient a photograph carries under white text. */
  --electric-green: #5af05a; /* Lifesum's anchor green. In Moment it is a dark data and success colour, never a ground. */
  --mint: #9fd8ae; /* muted electric green */
  --ink-primary: #0f0f0f; /* the base ink — a near-black, never pure #000 */
  --ink-secondary: #4d4a4a; /* A neutral secondary ink, off the warm ramp. */
  --warm-ink: #1e1b18; /* The warm ink of text on the light ground, and its 66%, 61% and 38% steps over `apricotFoot`, then its 78% step for small copy drawn on a sky. */
  --warm-ink-muted: #696561; /* The warm ink of text on the light ground, and its 66%, 61% and 38% steps over `apricotFoot`, then its 78% step for small copy drawn on a sky. */
  --warm-ink-subtle: #74706b; /* The warm ink of text on the light ground, and its 66%, 61% and 38% steps over `apricotFoot`, then its 78% step for small copy drawn on a sky. */
  --warm-ink-quiet: #a7a29d; /* The warm ink of text on the light ground, and its 66%, 61% and 38% steps over `apricotFoot`, then its 78% step for small copy drawn on a sky. */
  --warm-ink-on-sky: #4f4b47; /* The warm ink of text on the light ground, and its 66%, 61% and 38% steps over `apricotFoot`, then its 78% step for small copy drawn on a sky. */
  --coast-shade: #000f0d; /* The landing photograph's shade, a near-black with the sea's green in it. */
  --constant: #ffffff; /* White, the same in both schemes. */
  --clay-wash: #faece4; /* Clay at 20% over white — a selected card's fill. */
  --marble: #faf5f0; /* Lifesum's ground, kept for insets. */
  --cloud: #f0ebe7; /* warm pale fill — softer than shell; pills/quiet chips on an elevated surface */
  --sky-clear-crown: #e9cdb8; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-clear-mid: #f0dccb; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-clear-horizon: #f7ece2; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-frost-crown: #a9c6e0; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-frost-mid: #c6daeb; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-frost-horizon: #e4edf3; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-cloudy-crown: #cdd1cf; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-cloudy-mid: #daddda; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-cloudy-horizon: #eceae5; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-drizzle-crown: #c8d1cd; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-drizzle-mid: #d6ddd8; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-drizzle-horizon: #eaebe5; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-rain-crown: #bfcbc6; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-rain-mid: #cfd8d2; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-rain-horizon: #e6e8e2; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-wind-crown: #ccd8d3; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-wind-mid: #dae2dc; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-wind-horizon: #ecede6; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-fog-crown: #dce0da; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-fog-mid: #e6e8e2; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-fog-horizon: #f2f0ea; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-snow-crown: #c9d6dc; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-snow-mid: #dce4e6; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-snow-horizon: #eef0ee; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-night-crown: #aeb4c6; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-night-mid: #c6c9d4; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-night-horizon: #e4e2e2; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-clear-crown: #3b2f29; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-clear-mid: #2c2521; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-clear-horizon: #1f1b19; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-frost-crown: #25303a; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-frost-mid: #1e262d; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-frost-horizon: #191d21; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-cloudy-crown: #2e3130; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-cloudy-mid: #262827; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-cloudy-horizon: #1d1d1b; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-drizzle-crown: #2a3230; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-drizzle-mid: #232927; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-drizzle-horizon: #1c1f1d; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-rain-crown: #25302d; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-rain-mid: #1f2825; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-rain-horizon: #1a1f1d; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-wind-crown: #27322d; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-wind-mid: #212925; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-wind-horizon: #1b1f1c; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-fog-crown: #303430; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-fog-mid: #282b28; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-fog-horizon: #1f201e; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-snow-crown: #27313a; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-snow-mid: #212831; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-snow-horizon: #1b1e22; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-night-crown: #1a2036; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-night-mid: #1a1d2b; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --dark-sky-night-horizon: #18181e; /* The eight weather skies: crown, mid and horizon, the page ground being the last stop. The dark scheme draws its own table. Then the inks of each sky's effects; the white ones serve both schemes. */
  --sky-tint-dawn-top: rgba(206, 170, 196, 0.42); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-tint-dawn-mid: rgba(250, 206, 170, 0.26); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-tint-dusk-top: rgba(96, 88, 146, 0.38); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-tint-dusk-mid: rgba(238, 146, 96, 0.24); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-tint-night-top: rgba(22, 30, 70, 0.5); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-tint-night-mid: rgba(40, 52, 96, 0.26); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-tint-dawn-top: rgba(96, 70, 104, 0.3); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-tint-dawn-mid: rgba(124, 82, 58, 0.14); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-tint-dusk-top: rgba(72, 52, 96, 0.34); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-tint-dusk-mid: rgba(132, 72, 40, 0.16); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-tint-night-top: rgba(4, 8, 26, 0.46); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-tint-night-mid: rgba(8, 12, 32, 0.22); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-sun: rgba(255, 206, 140, 0.9); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-sun-cold: rgba(240, 246, 255, 0.95); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-frost: rgba(255, 255, 255, 0.85); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-frost-shade: rgba(92, 120, 150, 0.25); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-sun-core: rgba(255, 255, 255, 1); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-cloud: rgba(255, 255, 255, 0.7); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-fog: rgba(186, 190, 193, 0.8); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-rain: rgba(90, 110, 105, 0.45); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-drizzle: rgba(90, 110, 105, 0.32); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-wind: rgba(90, 110, 105, 0.4); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-effect-sun: rgba(255, 190, 130, 0.22); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-effect-sun-cold: rgba(214, 228, 255, 0.2); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-effect-frost: rgba(200, 216, 236, 0.3); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-effect-frost-shade: rgba(0, 0, 0, 0); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-effect-sun-core: rgba(255, 236, 210, 0.3); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-effect-cloud: rgba(210, 215, 210, 0.12); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-effect-fog: rgba(190, 195, 198, 0.15); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-effect-rain: rgba(190, 210, 205, 0.32); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-effect-drizzle: rgba(190, 210, 205, 0.24); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-effect-wind: rgba(190, 210, 205, 0.28); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-flake: rgba(255, 255, 255, 0.95); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-flake-glow: rgba(255, 255, 255, 0.8); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-star-glow: rgba(255, 255, 255, 0.9); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-leaf-rust: #b8763a; /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-leaf-ochre: #c99a45; /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-leaf-bark: #8e6a3a; /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-effect-leaf-rust: #8a5a2e; /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-effect-leaf-ochre: #9a7a3a; /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --dark-sky-effect-leaf-bark: #6e5230; /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-leaf-vein: rgba(0, 0, 0, 0.18); /* The time of day laid over any sky, strongest at its crown; day lays nothing. */
  --sky-effect-rain-cloud: #4e6062; /* The heavy cloud rain falls from, solid at its core and soft to its edge. */
  --dark-sky-effect-rain-cloud: #060a0c; /* The heavy cloud rain falls from, solid at its core and soft to its edge. */
  --sky-effect-drizzle-cloud: #878d93; /* The heavy cloud rain falls from, solid at its core and soft to its edge. */
  --dark-sky-effect-drizzle-cloud: #0e1416; /* The heavy cloud rain falls from, solid at its core and soft to its edge. */
  --sky-effect-glass-shade: #4e6462; /* A drop on the glass is a lens: shade above, light below, a rim, a glint, and the shadow it casts. */
  --sky-effect-glass-shadow: #2e403e; /* A drop on the glass is a lens: shade above, light below, a rim, a glint, and the shadow it casts. */
  --dark-sky-effect-glass-shade: #050807; /* A drop on the glass is a lens: shade above, light below, a rim, a glint, and the shadow it casts. */
  --dark-sky-effect-glass-light: #c8d6d2; /* A drop on the glass is a lens: shade above, light below, a rim, a glint, and the shadow it casts. */
  --dark-sky-effect-glass-rim: #dde7e4; /* A drop on the glass is a lens: shade above, light below, a rim, a glint, and the shadow it casts. */
  --dark-sky-effect-glass-shadow: #000000; /* A drop on the glass is a lens: shade above, light below, a rim, a glint, and the shadow it casts. */
  --shell: #e6e1de; /* The resting edge under a card or field; also fills muted cards and shimmer bars. */
  --stone: #dcd7cd; /* The strongest neutral fill. */
  --flint: #c9c5c5; /* The stronger border grey, on progress tracks and a selected card's edge. Distinct from `shell`, which also fills muted cards and shimmer bars. */
  --granite: #aaa09b; /* A measured hollow dot, a kept draft line, the quietest settings ink. */
  --driftwood: #6d6a6a; /* de-emphasised grey — micro-labels (eyebrows, timeline meta) that need more contrast than granite */
  --carbs: #f5b441; /* Macro accents — data only, never decoration. */
  --protein: #f55a96; /* Macro accent. Data only. */
  --fat: #af87e1; /* Macro accent. Data only. */
  --fiber: #6e7d87; /* Macro accent. Data only. */
  --apricot: #f5a65a; /* Decorative only. Completes the summary dot triad with protein and electricGreen; it is not a macro value, so no data mark takes it. */
  --clay: #e8a07a; /* The Moment mark's own ink, fixed by the shipped app icon, and the light CTA. Warmer and paler than `apricot`, which stays a decorative dot. */
  --clay-press: #d2895f; /* The clay button held. */
  --clay-deep: #c4693f; /* Small clay marks and light chart series, where clay itself is too pale. */
  --splash-ground: #1a1614; /* The launch splash's ground, a warm near-black the clay bursts out of. */
  --apricot-crown: #f2d9b8; /* Onboarding's apricot page ground, crown to foot, and the sun in its upper corner. */
  --apricot-mid: #f5e3cb; /* Onboarding's apricot page ground, crown to foot, and the sun in its upper corner. */
  --apricot-horizon: #f8eee2; /* Onboarding's apricot page ground, crown to foot, and the sun in its upper corner. */
  --apricot-foot: #fbf4ee; /* Onboarding's apricot page ground, crown to foot, and the sun in its upper corner. */
  --apricot-sun: rgba(255, 214, 150, 0.95); /* Onboarding's apricot page ground, crown to foot, and the sun in its upper corner. */
  --apricot-sun-halo: rgba(255, 226, 170, 0.55); /* Onboarding's apricot page ground, crown to foot, and the sun in its upper corner. */
  --explainer-crown: #e9c49a; /* The journaling explainers' ground, a deeper apricot at the crown that lands on the apricot foot. */
  --explainer-mid: #edcfae; /* The journaling explainers' ground, a deeper apricot at the crown that lands on the apricot foot. */
  --explainer-horizon: #f1ddc6; /* The journaling explainers' ground, a deeper apricot at the crown that lands on the apricot foot. */
  --explainer-shadow: #9f8a77; /* The warm shadow under the explainers' drawn phone. */
  --scrim-warm: rgba(28, 27, 26, 0.38); /* The scrim under an onboarding sheet, a step deeper than the page scrim. */
  --ink38: rgba(15, 15, 15, 0.38); /* The label of a disabled CTA on the light scheme's shell fill. */
  --azure: #0082ff; /* Semantic. links / informational */
  --ruby: #fa4d56; /* errors / destructive */
  --spring: #bcebb4; /* success */
  --spring-soft: #eaf6e4; /* Encouragement. A pale spring wash with a deep green ink. */
  --spring-ink: #2f5840; /* Encouragement. A pale spring wash with a deep green ink. */
  --amber-soft: #fcf1dc; /* Caution — advisory, not an error, so amber rather than ruby. Same wash/ink shape as encouragement; `amberSoft` also backs the side-effect facet tint. */
  --amber-ink: #6b4a1b; /* Caution — advisory, not an error, so amber rather than ruby. Same wash/ink shape as encouragement; `amberSoft` also backs the side-effect facet tint. */
  --fern: #43a07a; /* The measurement chart's series, and Health sync's synced state. */
  --apple-health-red: #fc2d55; /* Apple Health's heart. Apple fixes it, so it is the same in both schemes. */
  --dose-green: #05462d; /* The journal's Dose kind and its review tag. */
  --dose-green-wash: #ddebdf; /* The journal's Dose kind and its review tag. */
  --mood-wash: #e9e2f8; /* The journal's Mood and Appetite review tags. */
  --mood-ink: #5a3fa0; /* The journal's Mood and Appetite review tags. */
  --appetite-wash: #f6e1d2; /* The journal's Appetite review tag wash. */
  --appetite-ink: #8a4a1f; /* The journal's Appetite review tag ink. */
  --blossom: #fce9f1; /* The breakfast art: fat. */
  --berry: #a12a5e; /* The breakfast art: lean. */
  --slate: #edf1f3; /* The Movement review tag's ink. */
  --ios-blue: #007aff; /* Apple's Health permission sheet, for the drawn mock of it only. Apple's values, not Lifesum's. */
  --ios-blue-dark: #0a84ff; /* Apple's Health permission sheet, for the drawn mock of it only. Apple's values, not Lifesum's. */
  --ios-fill: #767680; /* Apple's Health permission sheet, for the drawn mock of it only. Apple's values, not Lifesum's. */
  --ios-sheet-dark: #1c1c1e; /* Apple's Health permission sheet, for the drawn mock of it only. Apple's values, not Lifesum's. */
  --ios-raised-dark: #2c2c2e; /* Apple's Health permission sheet, for the drawn mock of it only. Apple's values, not Lifesum's. */
  --ios-separator-dark: #3a3a3c; /* Apple's Health permission sheet, for the drawn mock of it only. Apple's values, not Lifesum's. */
  --ios-backdrop-dark: #26262a; /* Apple's Health permission sheet, for the drawn mock of it only. Apple's values, not Lifesum's. */
  --health-heart-crown: #f06ba8; /* The drawn Apple Health heart's gradient, top. */
  --health-heart-foot: #eb4c5e; /* The drawn Apple Health heart's gradient, foot. */
  --dark-marble: #131415; /* Dark mode primitives. */
  --dark-shell: #3c3c41; /* Dark scheme: the muted fill and the strong edge. */
  --dark-stone: #545456; /* Dark scheme: the strongest neutral fill. */
  --dark-granite: #aeaeb2; /* Dark scheme: the quietest text. */
  --dark-ink-secondary: #c6c4c4; /* Dark scheme: secondary text. */
  --kind-meal: #e0a030; /* The meal kind's underline and dot in a journal entry. Data only. */
  --kind-drink: #3d8fd9; /* The drink kind's underline and dot in a journal entry. Data only. */
  --kind-symptom: #e0709e; /* The symptom kind's underline and dot in a journal entry. Data only. */
  --kind-movement: #6e7d87; /* The movement kind's underline and dot in a journal entry. Data only. */
  --kind-dose: #05462d; /* The dose kind's underline and dot in a journal entry. Data only. */
  --kind-mood: #8e6fd8; /* The mood kind's underline and dot in a journal entry. Data only. */
  --kind-appetite: #c9773f; /* The appetite kind's underline and dot in a journal entry. Data only. */
  --encourage-surface: #eaf6e4; /* The encourage notice wash. */
  --encourage-ink: #2f5840; /* Text and glyph on the encourage wash. */
  --caution-surface: #fcf1dc; /* The caution notice wash: advisory, not an error. */
  --caution-ink: #6b4a1b; /* Text and glyph on the caution wash. */
  --toast-ground: rgba(30, 27, 24, 0.68); /* The toast surface: dark in both schemes. */
  --glass-flat: rgba(255, 255, 255, 0.72); /* Glass where the native material is unavailable or Reduce Transparency is on: the back disc, header groups, onboarding pin disc. */
  --glass-pane-tint: rgba(250, 245, 240, 0.62); /* The tint over the calendar panel's glass. */
  --sheet-glass-top: rgba(255, 255, 255, 0.95); /* A glass sheet's frosted white at its crown. Light only. */
  --sheet-glass-foot: rgba(255, 255, 255, 0.86); /* A glass sheet's frosted white at its foot. Light only. */
  --bg-warm: var(--bg-selected); /* Earlier name, kept for the web previews. Resolves to `bg-selected`. */
  --bg-cool: var(--bg-inset); /* Earlier name, kept for the web previews. Resolves to `bg-inset`. */
  --bg-deep: var(--toast-ground); /* Earlier name, kept for the web previews. Resolves to `toast-ground`. */
  --fg-on-deep: var(--fg-on-dark); /* Earlier name, kept for the web previews. Resolves to `fg-on-dark`. */
  --fg-on-accent: var(--cta-fg); /* Earlier name, kept for the web previews. Resolves to `cta-fg`. */
  --fg-on-tint: var(--fg); /* Earlier name, kept for the web previews. Resolves to `fg`. */
  --fg-on-tint-muted: var(--fg-muted); /* Earlier name, kept for the web previews. Resolves to `fg-muted`. */
  --fg-action: var(--accent); /* Earlier name, kept for the web previews. Resolves to `accent`. */
  --cta-bg-hover: var(--cta-bg-press); /* Earlier name, kept for the web previews. Resolves to `cta-bg-press`. */
  --ring: var(--accent); /* Earlier name, kept for the web previews. Resolves to `accent`. */
  --link-hover: var(--link); /* Earlier name, kept for the web previews. Resolves to `link`. */
  --surface-warm-strong: var(--clay); /* Earlier name, kept for the web previews. Resolves to `clay`. */
  --surface-cool-strong: var(--bg-strong); /* Earlier name, kept for the web previews. Resolves to `bg-strong`. */
  --surface-info: var(--bg-elevated); /* Earlier name, kept for the web previews. Resolves to `bg-elevated`. */
  --surface-alert: var(--bg-elevated); /* Earlier name, kept for the web previews. Resolves to `bg-elevated`. */
  --surface-affirm: var(--encourage-surface); /* Earlier name, kept for the web previews. Resolves to `encourage-surface`. */
  --switch-track-on: var(--cta-bg); /* Earlier name, kept for the web previews. Resolves to `cta-bg`. */
  --switch-track-off: var(--border-strong); /* Earlier name, kept for the web previews. Resolves to `border-strong`. */
  --switch-knob: var(--constant); /* Earlier name, kept for the web previews. Resolves to `constant`. */
  --glass-fill: var(--glass-flat); /* Earlier name, kept for the web previews. Resolves to `glass-flat`. */
  --glass-fallback: var(--glass-flat); /* Earlier name, kept for the web previews. Resolves to `glass-flat`. */
  --tabbar-active-fill: var(--bg-selected); /* Earlier name, kept for the web previews. Resolves to `bg-selected`. */
  --m-apricot: var(--clay); /* Earlier name, kept for the web previews. Resolves to `clay`. */
  --m-apricot-deep: var(--clay-deep); /* Earlier name, kept for the web previews. Resolves to `clay-deep`. */
  --m-dawn: var(--apricot-foot); /* Earlier name, kept for the web previews. Resolves to `apricot-foot`. */
  --m-shell: var(--shell); /* Earlier name, kept for the web previews. Resolves to `shell`. */
  --m-dark-shell: var(--dark-shell); /* Earlier name, kept for the web previews. Resolves to `dark-shell`. */
  --m-alert: var(--error); /* Earlier name, kept for the web previews. Resolves to `error`. */
  --m-affirm: var(--encourage-ink); /* Earlier name, kept for the web previews. Resolves to `encourage-ink`. */
  --m-mineral-deep: var(--link); /* Earlier name, kept for the web previews. Resolves to `link`. */
  --m-ink-secondary: var(--fg-muted); /* Earlier name, kept for the web previews. Resolves to `fg-muted`. */
  --glass-border: rgba(255, 255, 255, 0.95); /* Earlier name, kept for the web previews: the edge of flat glass. */
  --glass-fill-dark: rgba(48, 49, 53, 0.72); /* Earlier name, kept for the web previews: `glass-flat` in the dark scheme. */
  --glass-fallback-dark: rgba(48, 49, 53, 0.72); /* Earlier name, kept for the web previews: `glass-flat` in the dark scheme. */
  --glass-border-dark: #2a2a2d; /* Earlier name, kept for the web previews: the edge of flat glass in the dark scheme. */
  --tabbar-active-fill-dark: #3d322e; /* Earlier name, kept for the web previews. The tab bar is the native one. */
  --shadow-sm: 0px 1px 2px rgba(159,138,119,0.08); /* A soft, warm drop under a small control. */
  --shadow-card: 0px 0px 4px rgba(230,225,222,1); /* A symmetric neutral halo round a card. */
  --shadow-control: 0px 1px 3px rgba(159,138,119,0.18); /* A firmer warm drop under a raised control. */
  --shadow-md: 0px 4px 16px rgba(90,140,110,0.12); /* A raised surface. */
  --shadow-dock: 0px 8px 24px rgba(159,138,119,0.26); /* Something docked over the page. */
  --shadow-lg: 0px 16px 40px rgba(159,138,119,0.18); /* A floating panel. */
  --shadow-onboarding-card: 0px 1px 2px rgba(159,138,119,0.14); /* A tappable row card on an onboarding page: `sm`'s drop, a shade firmer on the apricot ground. */
  --shadow-nav-disc: 0px 10px 26px rgba(159,138,119,0.24); /* The back disc where no glass material is drawn. */
  --shadow-primer-disc: 0px 12px 40px rgba(159,138,119,0.2); /* The large glass disc that heads a permission primer. */
  --shadow-settings-card: 0px 2px 5px rgba(159,138,119,0.18); /* A card or back disc on a settings page. The design's 10px blur halves into this. */
  --glass-shadow: 0px 10px 26px rgba(159,138,119,0.24); /* Earlier name, kept for the web previews: `shadow-nav-disc`. */
  --glass-shadow-dark: 0px 10px 26px rgba(0,0,0,0.5); /* Earlier name, kept for the web previews: `shadow-nav-disc` in the dark scheme. */
}
[data-theme="dark"] {
  --bg: #131415;
  --bg-elevated: #1c1d1f;
  --bg-inset: #1c1d1f;
  --bg-soft: #26272a;
  --bg-muted: #3c3c41;
  --bg-strong: #545456;
  --bg-selected: #3d322e;
  --fg: #ffffff;
  --fg-muted: #c6c4c4;
  --fg-subtle: #bcb7b1;
  --fg-quiet: #aeaeb2;
  --fg-muted-on-sky: #c6c4c4;
  --fg-on-dark: #ffffff;
  --cta-bg: #e8a07a;
  --cta-fg: #0f0f0f;
  --cta-bg-press: #d2895f;
  --accent: #e8a07a;
  --border: #2a2a2d;
  --border-strong: #3c3c41;
  --divider: #3c3c41;
  --link: #4fa8ff;
  --error: #ff7a82;
  --scrim: rgba(0, 0, 0, 0.55);
  --photo-scrim: rgba(0, 0, 0, 0.6);
  --encourage-surface: #1d2e22;
  --encourage-ink: #bcebb4;
  --caution-surface: #332818;
  --caution-ink: #f0c179;
  --toast-ground: #26272a;
  --glass-flat: rgba(48, 49, 53, 0.72);
  --glass-pane-tint: rgba(19, 20, 21, 0.55);
  --bg-warm: var(--bg-selected);
  --bg-cool: var(--bg-inset);
  --bg-deep: var(--toast-ground);
  --fg-on-deep: var(--fg-on-dark);
  --fg-on-accent: var(--cta-fg);
  --fg-on-tint: var(--fg);
  --fg-on-tint-muted: var(--fg-muted);
  --fg-action: var(--accent);
  --cta-bg-hover: var(--cta-bg-press);
  --ring: var(--accent);
  --link-hover: var(--link);
  --surface-warm-strong: var(--clay);
  --surface-cool-strong: var(--bg-strong);
  --surface-info: var(--bg-elevated);
  --surface-alert: var(--bg-elevated);
  --surface-affirm: var(--encourage-surface);
  --switch-track-on: var(--cta-bg);
  --switch-track-off: var(--border-strong);
  --switch-knob: var(--constant);
  --glass-fill: var(--glass-flat);
  --glass-fallback: var(--glass-flat);
  --tabbar-active-fill: var(--bg-selected);
  --m-apricot: var(--clay);
  --m-apricot-deep: var(--clay-deep);
  --m-dawn: var(--apricot-foot);
  --m-shell: var(--shell);
  --m-dark-shell: var(--dark-shell);
  --m-alert: var(--error);
  --m-affirm: var(--encourage-ink);
  --m-mineral-deep: var(--link);
  --m-ink-secondary: var(--fg-muted);
  --glass-border: #2a2a2d;
  --shadow-sm: 0px 1px 3px rgba(0,0,0,0.4);
  --shadow-card: 0px 1px 4px rgba(0,0,0,0.45);
  --shadow-control: 0px 1px 4px rgba(0,0,0,0.5);
  --shadow-md: 0px 4px 14px rgba(0,0,0,0.5);
  --shadow-dock: 0px 8px 24px rgba(0,0,0,0.55);
  --shadow-lg: 0px 16px 40px rgba(0,0,0,0.6);
  --shadow-onboarding-card: 0px 1px 3px rgba(0,0,0,0.4);
  --shadow-nav-disc: 0px 10px 26px rgba(0,0,0,0.5);
  --shadow-primer-disc: 0px 12px 40px rgba(0,0,0,0.6);
  --shadow-settings-card: 0px 2px 5px rgba(0,0,0,0.45);
  --glass-shadow: 0px 10px 26px rgba(0,0,0,0.5);
}
:root {
  --space-2: 2px; /* An approved rung. Spacing props take the pixel as their key: gap={2}. */
  --space-4: 4px; /* An approved rung. Spacing props take the pixel as their key: gap={4}. */
  --space-6: 6px; /* An approved rung. Spacing props take the pixel as their key: gap={6}. */
  --space-8: 8px; /* An approved rung. Spacing props take the pixel as their key: gap={8}. */
  --space-10: 10px; /* An approved rung. Spacing props take the pixel as their key: gap={10}. */
  --space-12: 12px; /* An approved rung. Spacing props take the pixel as their key: gap={12}. */
  --space-14: 14px; /* An approved rung. Spacing props take the pixel as their key: gap={14}. */
  --space-16: 16px; /* An approved rung. Spacing props take the pixel as their key: gap={16}. */
  --space-18: 18px; /* An approved rung. Spacing props take the pixel as their key: gap={18}. */
  --space-20: 20px; /* An approved rung. Spacing props take the pixel as their key: gap={20}. */
  --space-24: 24px; /* An approved rung. Spacing props take the pixel as their key: gap={24}. */
  --space-28: 28px; /* An approved rung. Spacing props take the pixel as their key: gap={28}. */
  --space-32: 32px; /* An approved rung. Spacing props take the pixel as their key: gap={32}. */
  --space-40: 40px; /* An approved rung. Spacing props take the pixel as their key: gap={40}. */
  --space-48: 48px; /* An approved rung. Spacing props take the pixel as their key: gap={48}. */
  --space-60: 60px; /* An approved rung. Spacing props take the pixel as their key: gap={60}. */
  --space-112: 112px; /* An approved rung. Spacing props take the pixel as their key: gap={112}. */
  --space-116: 116px; /* An approved rung. Spacing props take the pixel as their key: gap={116}. */
  --min-tap-target: 44px; /* A control drawn smaller than this reaches it with hitSlop. */
  --sp-6: 24px; /* Earlier name, kept for the web previews. Resolves to `space-24`. */
  --row-h-compact: 44px; /* Earlier name, kept for the web previews. Resolves to `min-tap-target`. */
  --radius-xs: 2px; /* The smallest rounding. */
  --radius-sm: 4px; /* small chips, snackbars */
  --radius-chip: 6px; /* timeline chips */
  --radius-md: 8px; /* inputs, menus */
  --radius-field: 12px; /* a dropdown row in the journal review sheet */
  --radius-lg: 16px; /* iOS toggle knob, the prose writing surface */
  --radius-card: 16px; /* every card, from a lesson row to a feature card */
  --radius-sheet: 28px; /* the top corners of a bottom sheet */
  --radius-xl: 32px; /* chat bubbles */
  --radius-pill: 9999px; /* Fully round: pills, discs, glass capsules. */
  --r-xs: 4px; /* Earlier name, kept for the web previews. Resolves to `radius-sm`. */
  --r-md: 12px; /* Earlier name, kept for the web previews. Resolves to `radius-field`. */
  --r-lg: 16px; /* Earlier name, kept for the web previews. Resolves to `radius-card`. */
  --r-xl: 28px; /* Earlier name, kept for the web previews. Resolves to `radius-sheet`. */
  --r-pill: 9999px; /* Earlier name, kept for the web previews. Resolves to `radius-pill`. */
  --duration-quick: 90ms; /* A state crossing: a press, a toggle. */
  --duration-exit: 200ms; /* Leaving is quicker than arriving: a takeover closing, a swiped row fading. */
  --duration-arrive: 240ms; /* Something coming in. */
  --duration-bloom: 280ms; /* A saved mark blooming. */
  --duration-slow: 320ms; /* A panel resizing, a card stack gliding, a journal day collapsing. */
  --duration-sheet: 480ms; /* A bottom sheet opening, and closing when its owner hides it. */
  --duration-drain: 1100ms; /* A fill draining away. */
  --duration-sky-fade: 1600ms; /* One weather's sky cross-fading into the next. */
  --duration-sky-tint: 2400ms; /* The light moving from one time of day to the next. */
  --duration-sky-clouds: 1400ms; /* The journal's clouds fading out as it goes, and back in where they stopped on its return. */
  --duration-tab-slide: 600ms; /* The pages moving on a tab change, the outgoing one off as the incoming one comes in. */
  --duration-measure-fill: 1600ms; /* A journal day's rings filling, and its steps counting up beside them. */
  --duration-measure-fill-delay: 450ms; /* How long a changed fill holds before it moves, so the member sees it go. */
  --duration-count-tick: 50ms; /* How often a count steps to its next figure; each step's roll overlaps the next. */
  --duration-reframe: 900ms; /* The landing photograph moving from one screen's framing to the next. */
  --duration-caret-blink: 1060ms; /* One on-and-off of a text caret, the same as iOS's. */
  --duration-line-plus: 400ms; /* A past day's "+" growing onto its spine as the day offers a line, and the row opening with it. */
  --duration-line-prompt-delay: 280ms; /* How long the "+" leads before the past day's prompt follows it in. */
  --duration-line-prompt: 350ms; /* A past day's prompt sliding in beside its "+". */
  --duration-still-fade: 150ms; /* The crossfade that stands in for a movement under Reduce Motion. */
  --easing-out: cubic-bezier(0.2, 0.8, 0.2, 1); /* Decelerating exit. The default for entrances and reveals. */
  --easing-standard: cubic-bezier(0.4, 0, 0.2, 1); /* Material's standard curve: accelerate in, decelerate early, coast out. */
  --easing-in-out: cubic-bezier(0.42, 0, 0.58, 1); /* Symmetric ease-in-out — the same curve CSS means by `ease-in-out`. For a  movement that reverses, like a reveal collapsing back to its origin. */
  --easing-brake: cubic-bezier(0.16, 1, 0.3, 1); /* Almost all the distance in the first moment, then a long glide onto the mark.  For an arrival that should read as coming to rest rather than as still moving. */
  --easing-ease: cubic-bezier(0.25, 0.1, 0.25, 1); /* A quick start and a long settle. One weather's sky cross-fades to the next on it. */
  --d-fast: 90ms; /* Earlier name, kept for the web previews. Resolves to `duration-quick`. */
  --d-base: 240ms; /* Earlier name, kept for the web previews. Resolves to `duration-arrive`. */
  --ease-calm: cubic-bezier(0.2, 0.8, 0.2, 1); /* Earlier name, kept for the web previews. Resolves to `easing-out`. */
  --text-xs: 12px; /* A CSS-only size for mocks. App text takes a type style, never a bare size. */
  --text-sm: 14px; /* A CSS-only size for mocks. App text takes a type style, never a bare size. */
  --text-md: 16px; /* body default */
  --text-lg: 20px; /* A CSS-only size for mocks. App text takes a type style, never a bare size. */
  --text-xl: 24px; /* A CSS-only size for mocks. App text takes a type style, never a bare size. */
  --text-2xl: 28px; /* A CSS-only size for mocks. App text takes a type style, never a bare size. */
  --text-3xl: 32px; /* A CSS-only size for mocks. App text takes a type style, never a bare size. */
  --text-4xl: 40px; /* A CSS-only size for mocks. App text takes a type style, never a bare size. */
  --text-5xl: 48px; /* A CSS-only size for mocks. App text takes a type style, never a bare size. */
  --text-2xs: 11px; /* The smallest body cut, `body-xxs`. */
  --lh-tight: 1.1; /* `display-lg` leading, as a ratio. */
  --lh-snug: 1.143; /* `display-sm` leading, as a ratio. */
  --lh-normal: 1.375; /* `body` leading, as a ratio. */
  --lh-relaxed: 1.667; /* `article-body` leading, as a ratio: a read's long prose. */
  --tracking-display: -0.02em; /* `display-xl` tracking. */
  --tracking-sans: -0.01em; /* `body` tracking. */
  --tracking-mono: 0.12em; /* Earlier name, kept for the web previews: the `eyebrow` small caps tracking. There is no mono face. */
  --page-wash: linear-gradient(180deg, #F2D9B8, #F5E3CB, #F8EEE2, #FBF4EE); /* The apricot wash a page draws while there is no weather. */
  --page-wash-dark: linear-gradient(180deg, #2D2521, #26211E, #1C1A19, #131415); /* The page wash in the dark scheme. */
  --wash-sunrise: linear-gradient(180deg, rgba(206, 170, 196, 0.42), rgba(250, 206, 170, 0.26), rgba(0,0,0,0)), linear-gradient(180deg, #E9CDB8, #F0DCCB, #F7ECE2, #FBF4EE); /* A clear sky at dawn. The app picks the sky from the weather and lays the time of day over it. */
  --wash-daylight: linear-gradient(180deg, #E9CDB8, #F0DCCB, #F7ECE2, #FBF4EE); /* A clear sky by day. */
  --wash-dusk: linear-gradient(180deg, rgba(96, 88, 146, 0.38), rgba(238, 146, 96, 0.24), rgba(0,0,0,0)), linear-gradient(180deg, #E9CDB8, #F0DCCB, #F7ECE2, #FBF4EE); /* A clear sky at dusk. */
  --wash-night: linear-gradient(180deg, rgba(22, 30, 70, 0.5), rgba(40, 52, 96, 0.26), rgba(0,0,0,0)), linear-gradient(180deg, #AEB4C6, #C6C9D4, #E4E2E2, #FBF4EE); /* The night sky. */
  --wash-sunrise-dark: linear-gradient(180deg, rgba(96, 70, 104, 0.3), rgba(124, 82, 58, 0.14), rgba(0,0,0,0)), linear-gradient(180deg, #3B2F29, #2C2521, #1F1B19, #131415); /* A clear sky at dawn, dark scheme. */
  --wash-daylight-dark: linear-gradient(180deg, #3B2F29, #2C2521, #1F1B19, #131415); /* A clear sky by day, dark scheme. */
  --wash-dusk-dark: linear-gradient(180deg, rgba(72, 52, 96, 0.34), rgba(132, 72, 40, 0.16), rgba(0,0,0,0)), linear-gradient(180deg, #3B2F29, #2C2521, #1F1B19, #131415); /* A clear sky at dusk, dark scheme. */
  --wash-night-dark: linear-gradient(180deg, rgba(4, 8, 26, 0.46), rgba(8, 12, 32, 0.22), rgba(0,0,0,0)), linear-gradient(180deg, #1A2036, #1A1D2B, #18181E, #131415); /* The night sky, dark scheme. */
  --font-sans: "TT Norms Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Newsreader", ui-serif, Georgia, serif;
  --font-display: "TT Norms Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "TT Norms Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-display-xl: 700 48px/53px var(--font-sans); /* Display — TT Norms Pro sans, heavy, tight tracking. */
  --text-display-lg: 700 40px/44px var(--font-sans); /* Display — TT Norms Pro sans, heavy, tight tracking. */
  --text-page-title: 400 38px/42.56px var(--font-sans); /* The title at the top of every top-level page: display size at the Regular cut, 1.12 leading. */
  --text-title-lg: 400 34px/38px var(--font-sans); /* The onboarding question's title. */
  --text-display-md: 700 31px/32px var(--font-sans); /* A display title at Bold. */
  --text-display-md-normal: 450 31px/32px var(--font-sans); /* The display cut at the body's own weight. For a headline where only part of it is the name — the rest reads as the sentence around it rather than as a title. */
  --text-display-sm: 700 28px/32px var(--font-sans); /* The display cut at the body's own weight. For a headline where only part of it is the name — the rest reads as the sentence around it rather than as a title. */
  --text-display-sm-normal: 400 28px/32px var(--font-sans); /* The display-sm size at the Regular cut. */
  --text-display-xs: 700 20px/22px var(--font-sans); /* The smallest display cut — heavy, tight numerics that aren't a hero figure: the Me-tab secondary-stat tiles (waist, energy). Below displaySm, above heading. */
  --text-heading: 700 24px/31px var(--font-sans); /* Heading — bold sans titles below the display sizes (the Me-tab name, the big avatar initial). The design draws these at 700, like every other sans title. */
  --text-heading-sm: 600 22px/28px var(--font-sans); /* A sheet's title at DemiBold, under the bold heading. */
  --text-sheet-title: 600 17px/22px var(--font-sans); /* The title centred at the top of a sheet: the journal entry sheet's pages and Learn's filter. */
  --text-settings-page-title: 400 30px/34px var(--font-sans); /* A pushed settings page's title, beside its back disc. */
  --text-quote: 300 32px/38px var(--font-serif); /* Quote — the member's own words. Newsreader Light draws the Momentum "reason why" quote and the prompt that stands in for it; Newsreader Regular draws journal entry text. */
  --text-quote-sm: 300 28px/34px var(--font-serif); /* Quote — the member's own words. Newsreader Light draws the Momentum "reason why" quote and the prompt that stands in for it; Newsreader Regular draws journal entry text. */
  --text-quote-body: 400 20px/31px var(--font-serif); /* Quote — the member's own words. Newsreader Light draws the Momentum "reason why" quote and the prompt that stands in for it; Newsreader Regular draws journal entry text. */
  --text-quote-input: 400 20px/28px var(--font-serif); /* The same cut set tighter, for the member's answer typed into an onboarding box. */
  --text-quote-xs: 400 15px/20px var(--font-serif); /* The small serif quoting a member's words back inside a drawn review sheet. */
  --text-day-title-serif: 400 28px/32px var(--font-serif); /* Newsreader Regular at title size, for a journal day's name over its entries. */
  --text-title-serif: 400 24px/28px var(--font-serif); /* Newsreader Regular at title size, for the journal calendar's month. */
  --text-stat-serif: 400 34px/34px var(--font-serif); /* Newsreader Regular at title size and solid leading, for a figure set beside the claim it makes. */
  --text-read-title-serif: 400 20px/25px var(--font-serif); /* Newsreader Regular for Learn: a read's title in a full and a compact row. */
  --text-read-title-serif-sm: 400 19px/24px var(--font-serif); /* Newsreader Regular for Learn: a read's title in a full and a compact row. */
  --text-headline-serif: 400 38px/42px var(--font-serif); /* Newsreader Regular for a read: its headline, subheads, pull quote, a card's title and the collapsed bar's title. */
  --text-subhead-serif: 400 26px/31px var(--font-serif); /* A subhead inside a read. */
  --text-pull-quote-serif: 400 26px/33px var(--font-serif); /* A read's pull quote. */
  --text-card-title-serif: 400 22px/28px var(--font-serif); /* A read's title on a card. */
  --text-empty-title-serif: 400 30px/36px var(--font-serif); /* The title of an empty page, such as Saved with nothing saved. */
  --text-bar-title-serif: 400 18px/22px var(--font-serif); /* A read's title in the collapsed bar that fades in as the reader scrolls. */
  --text-article-body: 400 18px/30px var(--font-sans); /* A read's body at the Regular cut, with the long leading prose wants. The design's Light sans, built at Regular. */
  --text-article-body-medium: 500 18px/30px var(--font-sans); /* A read's body at the Regular cut, with the long leading prose wants. The design's Light sans, built at Regular. */
  --text-body-xl: 400 24px/32px var(--font-sans); /* The largest body cut. */
  --text-body-lg: 400 20px/29px var(--font-sans); /* Large body copy. */
  --text-body-md: 450 18px/22px var(--font-sans); /* The 18px cut — a Selection Card value, a Button label, a dose select row. Sits above `body` and carries tighter leading than prose needs. */
  --text-body-lead: 450 17px/21px var(--font-sans); /* The 18px cut — a Selection Card value, a Button label, a dose select row. Sits above `body` and carries tighter leading than prose needs. */
  --text-body-lead-loose: 450 17px/23.8px var(--font-sans); /* The 17px cut at 1.4 leading and no tracking, for an onboarding page's subtitle. */
  --text-body: 450 16px/22px var(--font-sans); /* The 17px cut at 1.4 leading and no tracking, for an onboarding page's subtitle. */
  --text-body-sm: 450 14px/21px var(--font-sans); /* The 17px cut at 1.4 leading and no tracking, for an onboarding page's subtitle. */
  --text-body-xs: 450 12px/18px var(--font-sans); /* The 17px cut at 1.4 leading and no tracking, for an onboarding page's subtitle. */
  --text-body-xxs: 450 11px/16px var(--font-sans); /* The smallest body cut, for the source cited under a claim. */
  --text-body-sm-medium: 500 14px/21px var(--font-sans); /* Medium — between body and demi. The timeline meal title sits here: legible but not shouting over the gentle home (demi read too bold against the prose). */
  --text-body-medium: 500 16px/22px var(--font-sans); /* Body at medium weight — quiet text buttons, a chosen option's label. */
  --text-body-lg-medium: 500 20px/29px var(--font-sans); /* Body at medium weight — quiet text buttons, a chosen option's label. */
  --text-body-md-medium: 500 18px/22px var(--font-sans); /* The 18px cut at medium weight, for a button on the clay ground. */
  --text-body-md-demi: 600 18px/22px var(--font-sans); /* DemiBold — buttons, list headers, emphasis. */
  --text-body-demi: 600 16px/22px var(--font-sans); /* DemiBold — buttons, list headers, emphasis. */
  --text-body-sm-demi: 600 14px/21px var(--font-sans); /* DemiBold — buttons, list headers, emphasis. */
  --text-body-xs-demi: 600 12px/18px var(--font-sans); /* DemiBold — buttons, list headers, emphasis. */
  --text-meta: 450 13px/18px var(--font-sans); /* Meta — a journal day's date beside its name, and the bar over the feed: 13px words around a 15px DemiBold lead, or a 13px DemiBold figure. */
  --text-meta-regular: 400 13px/18px var(--font-sans); /* A journal day's date and weather at the end of its title row. The design's Light sans, built at Regular. */
  --text-meta-demi: 600 13px/18px var(--font-sans); /* A journal day's date and weather at the end of its title row. The design's Light sans, built at Regular. */
  --text-meta-lead: 600 15px/20px var(--font-sans); /* A journal day's date and weather at the end of its title row. The design's Light sans, built at Regular. */
  --text-eyebrow-lg: 600 13px/18px var(--font-sans); /* Small caps, applied by the primitive. The 13px cut marks a section of a page; 11 and 10 label a figure or a row. Drawn in small caps, sentence case. */
  --text-eyebrow-md: 600 12px/18px var(--font-sans); /* The label over a group of onboarding fields. Drawn in small caps, sentence case. */
  --text-eyebrow: 600 11px/15px var(--font-sans); /* The label over a group of onboarding fields. Drawn in small caps, sentence case. */
  --text-eyebrow-sm: 600 10px/14px var(--font-sans); /* The smaller 10px eyebrow — a label under a figure or beside a title, where the 11px rung crowds what it is labelling. .14em tracking. Drawn in small caps, sentence case. */
  --text-eyebrow-sm-bold: 700 10px/14px var(--font-sans); /* The 10px eyebrow at Bold, over the title of a full-bleed waiting screen. Drawn in small caps, sentence case. */
  --text-eyebrow-sm-regular: 400 10px/14px var(--font-sans); /* The 10px eyebrow at Regular, a quiet label over the member's own words on a waiting screen. Drawn in small caps, sentence case. */
  --text-settings-stepper: 600 52px/58px var(--font-sans); /* The reading a stepper sets, at full size and beside a second stepper. */
  --text-settings-stepper-sm: 600 34px/38px var(--font-sans); /* The reading a stepper sets, at full size and beside a second stepper. */
}
.display-xl {
  font-family: var(--font-sans);
  font-size: 48px;
  line-height: 53px;
  font-weight: 700;
  letter-spacing: -0.96px;
}
.display-lg {
  font-family: var(--font-sans);
  font-size: 40px;
  line-height: 44px;
  font-weight: 700;
  letter-spacing: -0.6px;
}
.page-title {
  font-family: var(--font-sans);
  font-size: 38px;
  line-height: 42.56px;
  font-weight: 400;
  letter-spacing: -0.76px;
}
.title-lg {
  font-family: var(--font-sans);
  font-size: 34px;
  line-height: 38px;
  font-weight: 400;
  letter-spacing: -0.68px;
}
.display-md {
  font-family: var(--font-sans);
  font-size: 31px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: -0.62px;
}
.display-md-normal {
  font-family: var(--font-sans);
  font-size: 31px;
  line-height: 32px;
  font-weight: 450;
  letter-spacing: -0.62px;
}
.display-sm {
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.display-sm-normal {
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: -0.42px;
}
.display-xs {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.heading {
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 31px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.heading-sm {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.22px;
}
.sheet-title {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.17px;
}
.settings-page-title {
  font-family: var(--font-sans);
  font-size: 30px;
  line-height: 34px;
  font-weight: 400;
  letter-spacing: -0.6px;
}
.quote {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 38px;
  font-weight: 300;
  letter-spacing: -0.48px;
}
.quote-sm {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 34px;
  font-weight: 300;
  letter-spacing: -0.42px;
}
.quote-body {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 31px;
  font-weight: 400;
  letter-spacing: -0.2px;
}
.quote-input {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: -0.2px;
}
.quote-xs {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0px;
}
.day-title-serif {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: -0.42px;
}
.title-serif {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: -0.36px;
}
.stat-serif {
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 34px;
  font-weight: 400;
  letter-spacing: 0px;
}
.read-title-serif {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 25px;
  font-weight: 400;
  letter-spacing: -0.1px;
}
.read-title-serif-sm {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: -0.1px;
}
.headline-serif {
  font-family: var(--font-serif);
  font-size: 38px;
  line-height: 42px;
  font-weight: 400;
  letter-spacing: -0.76px;
}
.subhead-serif {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 31px;
  font-weight: 400;
  letter-spacing: -0.26px;
}
.pull-quote-serif {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 33px;
  font-weight: 400;
  letter-spacing: -0.26px;
}
.card-title-serif {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: -0.22px;
}
.empty-title-serif {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 36px;
  font-weight: 400;
  letter-spacing: -0.3px;
}
.bar-title-serif {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: -0.18px;
}
.article-body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
  letter-spacing: -0.18px;
}
.article-body-medium {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  letter-spacing: -0.18px;
}
.body-xl {
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: -0.24px;
}
.body-lg {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 29px;
  font-weight: 400;
  letter-spacing: -0.2px;
}
.body-md {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 22px;
  font-weight: 450;
  letter-spacing: -0.18px;
}
.body-lead {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 21px;
  font-weight: 450;
  letter-spacing: -0.17px;
}
.body-lead-loose {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 23.8px;
  font-weight: 450;
  letter-spacing: 0px;
}
.body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 22px;
  font-weight: 450;
  letter-spacing: -0.16px;
}
.body-sm {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 21px;
  font-weight: 450;
  letter-spacing: -0.14px;
}
.body-xs {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 18px;
  font-weight: 450;
  letter-spacing: -0.12px;
}
.body-xxs {
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 16px;
  font-weight: 450;
  letter-spacing: -0.11px;
}
.body-sm-medium {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 21px;
  font-weight: 500;
  letter-spacing: -0.14px;
}
.body-medium {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: -0.16px;
}
.body-lg-medium {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 29px;
  font-weight: 500;
  letter-spacing: -0.2px;
}
.body-md-medium {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: -0.18px;
}
.body-md-demi {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.18px;
}
.body-demi {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.16px;
}
.body-sm-demi {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 21px;
  font-weight: 600;
  letter-spacing: -0.14px;
}
.body-xs-demi {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: -0.12px;
}
.meta {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 18px;
  font-weight: 450;
  letter-spacing: -0.13px;
}
.meta-regular {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: -0.13px;
}
.meta-demi {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: -0.13px;
}
.meta-lead {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: -0.15px;
}
.eyebrow-lg {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 1.04px;
}
.eyebrow-md {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 1.44px;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 15px;
  font-weight: 600;
  letter-spacing: 1.32px;
}
.eyebrow-sm {
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: 1.4px;
}
.eyebrow-sm-bold {
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
}
.eyebrow-sm-regular {
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 14px;
  font-weight: 400;
  letter-spacing: 1.4px;
}
.settings-stepper {
  font-family: var(--font-sans);
  font-size: 52px;
  line-height: 58px;
  font-weight: 600;
  letter-spacing: -1.56px;
}
.settings-stepper-sm {
  font-family: var(--font-sans);
  font-size: 34px;
  line-height: 38px;
  font-weight: 600;
  letter-spacing: -1.02px;
}
@font-face {
  font-family: "TT Norms Pro";
  src: url("../fonts/TypeType_-_TT_Norms_Pro_Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Norms Pro";
  src: url("../fonts/TypeType_-_TT_Norms_Pro_Normal.woff2") format("woff2");
  font-weight: 450;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Norms Pro";
  src: url("../fonts/TT-Norms-Pro-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Norms Pro";
  src: url("../fonts/TypeType_-_TT_Norms_Pro_DemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Norms Pro";
  src: url("../fonts/TypeType_-_TT_Norms_Pro_Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/Newsreader-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/Newsreader-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
