/* =====================================================================
   MARROW, THE PHONE.  assets/public/public-app.css
   The device frame and the real app screens of the public system, for any
   signed out page that shows the app on a phone. Needs assets/public/public.css
   first (the keyframes and the motion gate live there).

   The device: figure.pub-device > i.pub-btn.pub-btn-l / -l2 / -r, then
   .pub-glass > span.pub-island + .hm-app (the app canvas, 390 points wide,
   scaled by --s) > .hm-status + .hm-panes > .hm-pane. One pane shows at a
   time (.is-on). The panes are stamped from partials/public-pane-*.html and
   the tab bar glyphs from partials/public-sprite.html. Every figure on a pane
   is a sample and carries data-demo. Each pane replicates a shipping screen of
   marrow-app at f7ec5d219 (build 261) with the app's own tokens:
     .pub-pane-log    the set logger (app/session/[id]/log.tsx)
     .pub-pane-prog   the Progress tab (app/(tabs)/progress.tsx)
     .pub-pane-money  Money (app/coach-business/money.tsx)
     .pub-pane-coach  coach Today, Needs you (app/(coach)/home.tsx)
     .pub-pane-train  the member Train tab (app/(tabs)/program.tsx)
     .pub-pane-fuel   the member Fuel tab (app/(tabs)/nutrition.tsx)
   A lane adds a pane only by reading the app source for the screen.
   ===================================================================== */

/* The device: a titanium band with a specular edge, the glass, the island, a soft
   reflection, the screen's own light around it and a shadow that grounds it. */
#main .pub-device { --s: 0.7641; position: relative; margin: 0; width: 320px; max-width: 100%; aspect-ratio: 9 / 19.5; padding: 11px; border: 1px solid var(--hy-edge); border-radius: 54px; background: var(--hy-card); box-shadow: none; }
#main .pub-device::after { content: ""; position: absolute; z-index: -1; left: 10%; right: 10%; bottom: -34px; height: 46px; border-radius: 50%; background: none; pointer-events: none; }
#main .pub-btn { position: absolute; display: block; width: 3px; border-radius: 2px; background: var(--hy-edge); }
#main .pub-btn-l { left: -3px; top: 19%; height: 30px; border-radius: 2px 0 0 2px; }
#main .pub-btn-l2 { left: -3px; top: 26%; height: 54px; border-radius: 2px 0 0 2px; }
#main .pub-btn-r { right: -3px; top: 23%; height: 78px; border-radius: 0 2px 2px 0; }
/* The atelier sheet clips every main figure (atelier-public.css, overflow hidden)
   and the device keeps that clip, so the side buttons, 3px outside each edge, and
   the floor shadow, 34px below, are cut whole and have never painted. Off, so the
   figure holds only what it shows (Gauntlet GA-marrow-site-3d1850e8, 2026-10-13).
   Showing them would be a visual change. tests/home-phone-mockup-holds-its-content. */
#main .pub-device > .pub-btn { display: none; }
#main .pub-device::after { content: none; }
/* The canvas is 390 points at every designed frame width, because --s is (W - 22) / 390.
   Its width comes from the glass, like its height, so a frame squeezed by max-width (320
   viewport) lays the screen out narrower instead of cutting its right edge (Gauntlet O6,
   2026-10-12: Skip was clipped 16.59px). tests/phone-mockup-screen-fits-its-glass. */
#main .pub-glass { position: relative; height: 100%; border-radius: 44px; overflow: hidden; isolation: isolate; color: var(--hy-ink); background-color: var(--hy-ground); background-image: none; }
#main .pub-glass::after { content: ""; position: absolute; inset: 0; z-index: 8; border-radius: inherit; pointer-events: none; background: none; box-shadow: none; }
#main .pub-island { position: absolute; z-index: 9; top: 11px; left: 50%; width: 31%; height: 26px; margin-left: -15.5%; border-radius: 20px; background: #000; box-shadow: none; }
/* THE APP, drawn in its own 390 point space and scaled into the glass (--s is
   the glass width over 390). Values are the app's: src/constants/theme.ts
   (hybrid), src/components/atelier, TabBarFrost and tabIcons.ts at marrow-app
   f7ec5d219. */
#main .hm-status { display: flex; justify-content: space-between; align-items: center; height: 54px; padding: 18px 34px 0 40px; font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--hy-ink); }
#main .hm-status svg { width: 58px; height: 16px; fill: var(--hy-ink); stroke: var(--hy-ink); }
#main .hm-app { --train: #3EF0CD; --fuel: #FFC133; --progress: #6DB5FF; --coach: #FF8DAD; --money: #4FE396; position: absolute; z-index: 1; top: 0; left: 0; width: calc(100% / var(--s, 0.7641)); height: calc(100% / var(--s, 0.7641)); transform: scale(var(--s, 0.7641)); transform-origin: 0 0; color: var(--hy-ink); font-family: var(--sans); background-color: var(--hy-ground); background-image: none; }
#main .hm-app p { margin: 0; }
#main .hm-panes { position: absolute; left: 0; right: 0; top: 54px; bottom: 0; }
#main .hm-pane { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms; }
#main .hm-pane.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 560ms cubic-bezier(0.22, 1, 0.36, 1) 220ms, transform 560ms cubic-bezier(0.22, 1, 0.36, 1) 220ms, visibility 0s; }
#main .hm-app .mono { font-family: var(--mono); font-weight: 500; text-transform: none; letter-spacing: 0; }
#main .hm-app .hm-status { position: relative; z-index: 6; }
#main .hm-app .hm-pane { isolation: isolate; }
/* THE KIT, replicated from marrow-app f7ec5d219 (src/components/member/v3/Kit.tsx
   and tokens.ts, canon v3.1). Points in the app's 390 wide space. The hue tokens
   are the site's own names at the dark values dashboard-theme.css gives a dark
   stamp, the same values the app paints; #CFD7DB is the app's text tier and
   #FF7A84 its risk status, which the site has no token for. */
#main .hm-app .hu-train { --h: var(--train); }
#main .hm-app .hu-fuel { --h: var(--fuel); }
#main .hm-app .hu-progress { --h: var(--progress); }
#main .hm-app .hu-coach { --h: var(--coach); }
#main .hm-app .hu-money { --h: var(--money); }
#main .hm-app .hu-risk { --h: #FF7A84; }
#main .hm-app .ap-bar { flex: none; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; }
#main .hm-app .ap-bar-g { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; }
#main .hm-app .ap-bar-r { justify-content: flex-end; }
#main .hm-app .ap-bar-t { flex: none; display: flex; flex-direction: column; align-items: center; font-weight: 600; font-size: 17px; line-height: 22px; color: var(--hy-ink); }
#main .hm-app .ap-bar-t small { font-weight: 400; font-size: 13px; line-height: 18px; color: var(--hy-muted); }
#main .hm-app .ap-ib { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--hy-sunk); border: 1px solid var(--hy-edge); color: var(--hy-aqua-hi); }
#main .hm-app .ap-ib svg { width: 18px; height: 18px; fill: currentColor; }
#main .hm-app .ap-ib-l { width: 44px; height: 44px; }
#main .hm-app .ap-ib-l svg { width: 20px; height: 20px; }
#main .hm-app .ap-ib-s { width: 30px; height: 30px; }
#main .hm-app .ap-ib-s svg { width: 14px; height: 14px; }
#main .hm-app .ap-av { flex: none; display: grid; place-items: center; overflow: hidden; width: 36px; height: 36px; border-radius: 50%; background: var(--hy-sunk); border: 1px solid var(--hy-edge); font-weight: 600; font-size: 13px; color: var(--hy-ink); }
#main .hm-app .ap-av-m { width: 40px; height: 40px; font-size: 14px; }
#main .hm-app .ap-av-l { width: 44px; height: 44px; font-size: 14px; }
#main .hm-app .ap-scroll { flex: 1 1 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 8px 16px 0; }
#main .hm-app .ap-card { flex: none; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--hy-card); border: 1px solid var(--hy-edge); }
#main .hm-app .ap-rule { border-top: 3px solid var(--h); }
#main .hm-app .ap-eb { font-family: var(--mono); font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hy-muted); }
#main .hm-app .ap-eb.hu-train, #main .hm-app .ap-eb.hu-fuel, #main .hm-app .ap-eb.hu-progress, #main .hm-app .ap-eb.hu-coach { color: var(--h); }
#main .hm-app .ap-tag { flex: none; display: inline-flex; align-items: center; min-height: 24px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--h); font-family: var(--mono); font-weight: 500; font-size: 12px; line-height: 16px; color: var(--h); }
#main .hm-app .ap-pill-primary { flex: none; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--mz-ember); font-weight: 600; font-size: 15px; color: var(--hy-ground); }
#main .hm-app .ap-rings { display: flex; justify-content: space-between; gap: 6px; }
#main .hm-app .ap-rc { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; color: var(--h); }
#main .hm-app .ap-rw { display: block; width: 72px; height: 72px; margin-bottom: 6px; }
#main .hm-app .ap-rw-s { width: 64px; height: 64px; }
#main .hm-app .ap-ring { display: block; width: 100%; height: 100%; overflow: visible; fill: none; }
#main .hm-app .ap-ring-track { stroke: var(--hy-sunk); stroke-width: 4; }
#main .hm-app :is(.ap-ring-arc, .ap-ring-lum) { stroke: currentColor; stroke-linecap: round; stroke-dasharray: var(--p) 100; transform: rotate(-90deg); transform-origin: 36px 36px; }
#main .hm-app .ap-ring-arc { stroke-width: 4; }
#main .hm-app .ap-ring-lum { stroke-width: 8; stroke-opacity: 0.16; }
#main .hm-app .ap-rc b { font-weight: 600; font-size: 20px; line-height: 26px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--hy-ink); }
#main .hm-app .ap-rc small { font-family: var(--mono); font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--hy-muted); }
#main .hm-app .ap-dots { flex: none; display: flex; justify-content: space-between; padding: 4px 24px 8px; }
#main .hm-app .ap-dots span { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 16px; font-family: var(--mono); font-weight: 500; font-size: 12px; line-height: 16px; color: var(--hy-muted); }
#main .hm-app .ap-dots i { display: block; box-sizing: border-box; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--hy-edge); }
/* A done day: the hue as a full stroke, the mark at 10 points and never a surface (R16). */
#main .hm-app .ap-dots .is-done i { border: 5px solid var(--h); }
#main .hm-app .ap-dots .is-now { color: var(--hy-ink); }
#main .hm-app .ap-dots .is-now i { border-color: var(--hy-ink); }
#main .hm-app .ap-stats { display: flex; gap: 8px; }
#main .hm-app .ap-stats i { font-style: normal; }
#main .hm-app .ap-stats > span { flex: 1 1 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#main .hm-app .ap-stats :is(b, .score-val) { font-weight: 600; font-size: 17px; line-height: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--hy-ink); }
#main .hm-app .ap-stats .is-ember { color: var(--mz-ember); }
#main .hm-app .ap-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 0; border-top: 1px solid var(--hy-edge); }
#main .hm-app .ap-row:first-child { border-top: 0; }
#main .hm-app .ap-card > .ap-row:only-child { margin: -8px 0; }
#main .hm-app .ap-well { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--hy-sunk); border: 1px solid var(--hy-edge); color: var(--hy-aqua-hi); }
#main .hm-app .ap-well svg { width: 20px; height: 20px; fill: currentColor; }
#main .hm-app .ap-row-t { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 1px; font-weight: 500; font-size: 15px; line-height: 20px; color: var(--hy-ink); }
#main .hm-app .ap-row-t small { font-weight: 400; font-size: 13px; line-height: 18px; color: var(--hy-muted); }
#main .hm-app .ap-chev { flex: none; width: 18px; height: 18px; fill: var(--hy-muted); }
/* The tab bar (TabBarFrost, TabMark): a flat panel with a hairline on top, 84 high;
   the current tab takes its section's hue on the glyph, ink on the label, and a two
   point rule in the hue nine points under the hairline. */
#main .hm-app .ap-tabs { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 84px; display: flex; padding: 18px 0 0; background: var(--hy-card); border-top: 1px solid var(--hy-hairline); font-family: var(--mono); font-weight: 500; font-size: 11px; line-height: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hy-muted); }
#main .hm-app .ap-tabs > span { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
#main .hm-app .ap-tabs svg { width: 22px; height: 22px; fill: currentColor; }
#main .hm-app .ap-tabs .on { color: var(--hy-ink); text-decoration: none; }
#main .hm-app .ap-tabs .on svg { color: var(--h); }
#main .hm-app .ap-tabs .on::before { content: ""; position: absolute; top: -9px; left: 2px; right: 2px; border-top: 2px solid var(--h); }
/* the set logger (app/session/[id]/log.tsx, LoggerParts.tsx) */
#main .hm-app .rl-top { flex: none; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; }
#main .hm-app .lg-clock { flex: 1 1 0; text-align: center; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--hy-ink); }
#main .hm-app .lg-auto { flex: none; display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: 14px; color: #CFD7DB; }
#main .hm-app .ap-sw { position: relative; display: block; width: 44px; height: 28px; border-radius: 14px; background: var(--hy-sunk); border: 1px solid var(--hy-edge); }
#main .hm-app .ap-sw i { position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--hy-muted); }
#main .hm-app .lg-card { gap: 10px; }
#main .hm-app .lg-head { display: flex; align-items: center; gap: 12px; }
#main .hm-app .lg-thumb { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 8px; background: var(--hy-sunk); border: 1px solid var(--hy-edge); color: var(--hy-muted); }
#main .hm-app .lg-thumb svg { width: 22px; height: 22px; fill: currentColor; }
#main .hm-app .lg-who { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
#main .hm-app .lg-name { font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 22px; color: var(--hy-ink); }
#main .hm-app .lg-rx { font-size: 13px; line-height: 18px; color: var(--hy-muted); }
#main .hm-app .lg-rest { display: flex; align-items: center; gap: 8px; min-height: 36px; border-top: 1px solid var(--hy-edge); border-bottom: 1px solid var(--hy-edge); font-size: 13px; color: #CFD7DB; }
#main .hm-app .lg-rest svg { width: 16px; height: 16px; fill: var(--hy-muted); }
#main .hm-app .lg-rest em { margin-left: auto; font-family: var(--mono); font-style: normal; font-size: 13px; color: var(--hy-ink); }
#main .hm-app :is(.lg-th, .lg-tr) { display: flex; align-items: center; gap: 6px; }
#main .hm-app .lg-th { font-family: var(--mono); font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--hy-muted); }
#main .hm-app .lg-c-set { flex: none; width: 26px; }
#main .hm-app .lg-c-prev { flex: none; width: 72px; }
#main .hm-app .lg-c-v { flex: 1 1 0; min-width: 0; }
#main .hm-app .lg-c-tick { flex: none; width: 38px; display: flex; justify-content: flex-end; }
#main .hm-app .lg-tr { margin: 0 -8px; padding: 4px 8px 4px 5px; border-left: 3px solid transparent; font-size: 13px; color: var(--hy-muted); }
#main .hm-app .lg-tr b { font-weight: 600; font-size: 14px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--hy-ink); }
#main .hm-app .lg-tr.is-cur { background: var(--hy-sunk); border-left-color: var(--train); }
#main .hm-app .lg-in { display: grid; place-items: center; height: 36px; border-radius: 8px; background: var(--hy-sunk); border: 1px solid var(--hy-edge); font-weight: 600; font-size: 15px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--hy-muted); }
#main .hm-app .lg-in.is-set { color: var(--hy-ink); }
#main .hm-app .lg-tr.is-cur .lg-in { background: var(--hy-ground); border-color: var(--hy-boundary); }
#main .hm-app .lg-tk { display: grid; place-items: center; box-sizing: border-box; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--hy-muted); }
#main .hm-app .lg-tk svg { width: 18px; height: 18px; fill: transparent; }
#main .hm-app .lg-tk.is-done { border-color: var(--mz-ember); }
#main .hm-app .lg-tk.is-done svg { fill: var(--mz-ember); }
#main .hm-app .lg-add { display: flex; align-items: center; min-height: 32px; font-size: 13px; color: var(--hy-aqua-hi); }
#main .hm-app .lg-foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 12px 16px 16px; background: var(--hy-ground); border-top: 1px solid var(--hy-edge); }
#main .hm-app .lg-resting { position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 92px; display: flex; align-items: center; gap: 16px; height: 52px; padding: 0 20px; border-radius: 999px; background: var(--hy-sunk); border: 1px solid var(--train); font-size: 15px; font-weight: 500; color: var(--hy-aqua-hi); }
#main .hm-app .lg-resting b { flex: 1 1 0; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--hy-ink); }
/* progress (app/(tabs)/progress.tsx) */
#main .hm-app .pr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#main .hm-app .pr-fig { display: flex; align-items: baseline; gap: 12px; font-size: 15px; color: #CFD7DB; }
#main .hm-app .pr-fig b { font-weight: 600; font-size: 40px; line-height: 44px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--mz-ember); }
#main .hm-app .pub-spark { display: block; width: 100%; height: 56px; overflow: visible; }
#main .hm-app .pub-sp-base { stroke: var(--hy-edge); stroke-width: 1; }
#main .hm-app .pub-sp-band { fill: var(--progress); fill-opacity: 0.08; stroke: none; }
#main .hm-app .pub-sp-lum { stroke: var(--progress); stroke-opacity: 0.16; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
#main .hm-app .pub-sp-line { stroke: var(--progress); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
#main .hm-app .pub-sp-cap { fill: var(--progress); fill-opacity: 0.3; }
#main .hm-app .pub-sp-dot { fill: var(--hy-ink); }
#main .hm-app .pub-sp-end { transform-origin: 310px 44px; }
#main .hm-app .pr-group { flex: none; display: flex; flex-direction: column; gap: 8px; }
#main .hm-app .pr-list { padding: 8px 18px; gap: 0; }
/* money (app/coach-business/money.tsx, BizKit) */
#main .hm-app .mn-body { flex: 1 1 0; display: flex; flex-direction: column; gap: 24px; padding: 24px 16px 0; }
#main .hm-app .mn-group { display: flex; flex-direction: column; gap: 8px; }
#main .hm-app .mn-rows { border-radius: 12px; background: var(--hy-card); border: 1px solid var(--hy-hairline); overflow: hidden; }
#main .hm-app .mn-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 16px; border-top: 1px solid var(--hy-hairline); }
#main .hm-app .mn-row:first-child { border-top: 0; }
#main .hm-app .mn-row > span { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-weight: 500; font-size: 15px; line-height: 20px; color: var(--hy-ink); }
#main .hm-app .mn-row small { font-weight: 400; font-size: 12px; line-height: 16px; color: var(--hy-muted); }
#main .hm-app .mn-row em { flex: none; font-style: normal; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--hy-ink); }
/* coach Today (app/(coach)/home.tsx, coach/v3/kit.tsx, WhoNeedsYouToday.tsx) */
#main .hm-app .ch-bar { min-height: 52px; }
#main .hm-app .ch-scroll { gap: 16px; }
#main .hm-app .ch-hi { flex: none; display: flex; flex-direction: column; gap: 6px; }
#main .hm-app .ch-line { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 38px; color: var(--hy-ink); }
#main .hm-app .ch-line em { font-weight: 300; font-style: italic; color: var(--hy-aqua-hi); }
#main .hm-app .ch-pill { align-self: flex-start; }
#main .hm-app .ch-sechead { display: flex; align-items: center; gap: 10px; }
#main .hm-app .ch-sechead b { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--hy-ink); }
#main .hm-app .ch-sechead a, #main .hm-app .ch-sechead span:last-child { margin-left: auto; font-weight: 600; font-size: 14px; color: var(--hy-aqua-hi); }
#main .hm-app .ch-sec { gap: 8px; }
#main .hm-app .ch-sechead + .ap-row { border-top: 0; }
#main .hm-app .ch-sec .ap-row { min-height: 56px; }
#main .hm-app .ch-sec .ap-row-t { font-weight: 400; font-size: 16px; line-height: 22px; }
#main .hm-app .ch-sec .ap-row-t small { font-size: 14px; line-height: 20px; }
#main .hm-app .pub-swap { position: relative; flex: none; display: inline-grid; justify-items: end; align-items: center; }
#main .hm-app .pub-swap > * { grid-area: 1 / 1; }
#main .hm-app .pub-msg { opacity: 0; visibility: hidden; }
#main .hm-app .pub-aq { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--hy-muted); }
/* member Train (app/(tabs)/program.tsx, train/TodayWorkoutCard.tsx, TrainFeedCard.tsx) */
#main .hm-app .tr-head { display: flex; align-items: center; gap: 12px; }
#main .hm-app .tr-who { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#main .hm-app .tr-nm { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; font-size: 14px; line-height: 18px; color: var(--hy-ink); }
#main .hm-app .tr-who small { font-size: 13px; line-height: 18px; color: var(--hy-muted); }
#main .hm-app .tr-title { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 28px; color: var(--hy-aqua-hi); }
#main .hm-app .tr-line { display: flex; align-items: flex-start; gap: 10px; min-height: 20px; font-size: 13px; line-height: 18px; color: var(--hy-muted); }
#main .hm-app .tr-line > span:first-child { flex: 1 1 0; min-width: 0; }
#main .hm-app .tr-link { flex: none; color: var(--hy-aqua-hi); }
#main .hm-app .tr-acts { display: flex; font-size: 13px; color: #CFD7DB; }
#main .hm-app .tr-acts span { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 6px; }
#main .hm-app .tr-acts svg { width: 18px; height: 18px; fill: currentColor; }
/* fuel (app/(tabs)/nutrition.tsx, Fuel/FuelHero.tsx, FuelKit) */
#main .hm-app .fu-bar { gap: 8px; }
#main .hm-app .fu-sp { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#main .hm-app .fu-sp small { font-size: 12px; color: var(--hy-muted); }
#main .hm-app .fu-fig { display: flex; align-items: baseline; gap: 12px; font-size: 15px; color: #CFD7DB; }
#main .hm-app .fu-fig b { font-weight: 600; font-size: 52px; line-height: 58px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--mz-ember); }
#main .hm-app .fu-rings { justify-content: space-around; }
#main .hm-app .fu-line { font-size: 13px; line-height: 18px; color: var(--hy-aqua-hi); }
#main .hm-app .fu-water { flex: none; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #CFD7DB; }
#main .hm-app .fu-water b { font-weight: 600; color: var(--hy-ink); font-variant-numeric: tabular-nums; }
#main .hm-app .fu-chips { margin-left: auto; display: flex; gap: 6px; }
#main .hm-app .fu-chips span { display: grid; place-items: center; min-width: 36px; height: 32px; padding: 0 8px; border-radius: 999px; background: var(--hy-sunk); border: 1px solid var(--hy-edge); font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--hy-aqua-hi); }
#main .hm-app .fu-rule { flex: none; height: 1px; background: var(--hy-edge); }
#main .hm-app .fu-hour { flex: none; display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--hy-muted); }
#main .hm-app .fu-hour span:last-child { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hy-edge); color: var(--hy-ink); }
#main .hm-app .fu-same { flex: none; align-self: flex-start; display: flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--hy-sunk); border: 1px solid var(--hy-edge); font-size: 14px; color: var(--hy-aqua-hi); }
#main .hm-app .fu-foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 84px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--hy-ground); border-top: 1px solid var(--hy-edge); }
#main .hm-app .fu-search { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 22px; background: var(--hy-sunk); border: 1px solid var(--hy-edge); font-size: 15px; color: var(--hy-aqua-hi); }
#main .hm-app .fu-search span { flex: 1 1 0; min-width: 0; }
#main .hm-app .fu-search svg { flex: none; width: 16px; height: 16px; fill: currentColor; }
#main .hm-app .fu-log { min-height: 44px; }
@media (max-width: 767px) {
  #main .pub-device { width: 300px; --s: 0.7128; }
}
/* =====================================================================
   MOTION. Everything below runs only when the visitor allows it.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* 4A. Live sessions: the set is ticked in ember, the highlight steps to the next set and the rest pill rises. */
  .pub-armed #main .pub-pane-log:not(.is-in) .lg-tk.is-done { background-color: transparent; border-color: var(--hy-muted); }
  .pub-armed #main .pub-pane-log:not(.is-in) .lg-tk.is-done svg { fill: transparent; }
  .pub-armed #main .pub-pane-log:not(.is-in) .lg-tr-1 { background: var(--hy-sunk); border-left-color: var(--train); }
  .pub-armed #main .pub-pane-log:not(.is-in) .lg-tr-2 { background: none; border-left-color: transparent; }
  .pub-armed #main .pub-pane-log:not(.is-in) .lg-resting { opacity: 0; transform: translateY(120%); }
  .pub-armed #main .pub-pane-log .lg-tk { transition: background-color 260ms ease 900ms, border-color 260ms ease 900ms; }
  .pub-armed #main .pub-pane-log .lg-tk svg { transition: fill 260ms ease 900ms; }
  .pub-armed #main .pub-pane-log :is(.lg-tr-1, .lg-tr-2) { transition: background-color 300ms ease 1100ms, border-left-color 300ms ease 1100ms; }
  .pub-armed #main .pub-pane-log.is-in .lg-tk.is-done { animation: pub-kf-press 260ms ease 700ms both; }
  .pub-armed #main .pub-pane-log.is-in .lg-resting { animation: pub-kf-sheet 700ms cubic-bezier(0.22, 1, 0.36, 1) 1700ms both; }
  /* 4B. Progress: the line draws, the band fills behind it, the end arrives. */
  .pub-armed #main .pub-pane-prog:not(.is-in) :is(.pub-sp-line, .pub-sp-lum) { stroke-dashoffset: 1; }
  .pub-armed #main .pub-pane-prog:not(.is-in) :is(.pub-sp-band, .pub-sp-end) { opacity: 0; }
  .pub-armed #main .pub-pane-prog.is-in :is(.pub-sp-line, .pub-sp-lum) { animation: pub-kf-draw1 1400ms cubic-bezier(0.22, 1, 0.36, 1) 300ms both; }
  .pub-armed #main .pub-pane-prog.is-in .pub-sp-band { animation: pub-kf-fade 1000ms ease 700ms both; }
  .pub-armed #main .pub-pane-prog.is-in .pub-sp-end { animation: pub-kf-pop 260ms cubic-bezier(0.22, 1, 0.36, 1) 1600ms both; }
  /* 4D. Coach Today: the rings draw, then the coach messages a quiet member. */
  .pub-armed #main .pub-pane-coach:not(.is-in) :is(.ap-ring-arc, .ap-ring-lum) { stroke-dasharray: 0 100; }
  .pub-armed #main .pub-pane-coach.is-in :is(.ap-ring-arc, .ap-ring-lum) { animation: pub-kf-ringp 1100ms cubic-bezier(0.22, 1, 0.36, 1) 300ms both; }
  .pub-armed #main .pub-pane-coach:not(.is-in) .pub-msg { opacity: 1; visibility: visible; }
  .pub-armed #main .pub-pane-coach:not(.is-in) .pub-aq { opacity: 0; }
  .pub-armed #main .pub-pane-coach.is-in .pub-msg { animation: pub-kf-press-out 900ms ease 1500ms both; }
  .pub-armed #main .pub-pane-coach.is-in .pub-aq { animation: pub-kf-fade 400ms ease 2300ms both; }
}
