/* =========================================================================
   PURE FOCUS  ·  Design v2  (Manou master doc, 2026-11-23)

   "Much more aesthetic, minimal, easier on the eye ... less techy (the
   lines) ... immersive and live, gradient where it fits, smoky transparent
   backgrounds ... coach app simpler, bigger, premium, a Mac OS feel."

   Loaded only when the design_v2 switch is on for the viewer (coaches, the
   test client Alex Rivera and a coach on Login as see it first; clients only
   after Manou sends 0.1.1 from Updates). Every rule is scoped to html.v2 so
   switching it off restores the previous look exactly.

   Rules of the system:
     · one family of surfaces: translucent charcoal over a slow smoky canvas
     · lines only where they separate something; 1px, faint, never gold
     · one accent (champagne gold), used for the active thing, not decoration
     · labels in sentence case Lato, never mono uppercase
     · motion: the canvas drifts (40-70s), state changes 180ms, all off for
       prefers-reduced-motion
   ========================================================================= */

html.v2 {
  --v2-bg: #070605;
  --v2-ink: #f5f2ee;
  --v2-ink-2: #cbc5bc;
  --v2-ink-3: #9d968c;
  --v2-gold: #d8b58f;
  --v2-gold-deep: #b47e37;
  --v2-surface: rgba(255, 255, 255, .038);
  --v2-surface-hi: rgba(255, 255, 255, .06);
  --v2-line: rgba(255, 255, 255, .07);
  --v2-line-hi: rgba(255, 255, 255, .12);
  --v2-ease: cubic-bezier(.22, 1, .36, 1);
  --v2-side: 248px;
  --v2-imp-h: 0px;

  /* Re-tune the existing tokens so every page softens at once. */
  --hairline: rgba(255, 255, 255, .075);
  --hairline-dim: rgba(255, 255, 255, .05);
  --warm: rgba(24, 21, 18, .80);
  --warm-raised: rgba(44, 39, 34, .85);
  --text-secondary: #cbc5bc;
  --text-dim: #9d968c;
  --radius: 10px;
  --radius-card: 18px;

  background: var(--v2-bg);
  color-scheme: dark;
}

/* =========================================================================
   SMOKY CANVAS. Two soft light fields drift slowly behind everything.
   Transform-only animation on fixed layers, so it stays on the compositor.
   ========================================================================= */
html.v2 body,
html.v2[data-theme="smoke"] body {
  background: transparent;
  background-attachment: scroll;
}
html.v2 body::before,
html.v2 body::after {
  content: "";
  position: fixed;
  inset: -25vmax;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}
html.v2 body::before {
  background:
    radial-gradient(38vmax 30vmax at 22% 18%, rgba(180, 126, 55, .17), transparent 62%),
    radial-gradient(34vmax 26vmax at 82% 24%, rgba(150, 128, 104, .09), transparent 64%),
    radial-gradient(46vmax 34vmax at 55% 92%, rgba(216, 181, 143, .07), transparent 62%);
  animation: v2Drift 56s ease-in-out infinite alternate;
}
html.v2 body::after {
  background:
    radial-gradient(30vmax 22vmax at 70% 60%, rgba(255, 244, 228, .035), transparent 66%),
    radial-gradient(26vmax 20vmax at 30% 70%, rgba(180, 126, 55, .06), transparent 64%),
    radial-gradient(120% 90% at 50% 120%, rgba(0, 0, 0, .55), transparent 60%);
  animation: v2Drift2 71s ease-in-out infinite alternate;
}
@keyframes v2Drift {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50%  { transform: translate3d(4vmax, -3vmax, 0) scale(1.1) rotate(7deg); }
  100% { transform: translate3d(-3vmax, 2vmax, 0) scale(1.04) rotate(-5deg); }
}
@keyframes v2Drift2 {
  0%   { transform: translate3d(0, 0, 0) scale(1.05) rotate(0deg); }
  50%  { transform: translate3d(-4vmax, 3vmax, 0) scale(.97) rotate(-8deg); }
  100% { transform: translate3d(3vmax, -2vmax, 0) scale(1.08) rotate(4deg); }
}

/* Page wrappers that painted a solid canvas would hide the smoke. */
html.v2 main,
html.v2 .page,
html.v2 .shell { background-color: transparent; }

/* =========================================================================
   TYPE. Headings stay Poppins, balanced; body Lato.
   ========================================================================= */
html.v2 :is(h1, h2, h3) { text-wrap: balance; }
html.v2 p { text-wrap: pretty; }

/* =========================================================================
   HEADER (client, and coach on a phone). Frosted, no bottom rule.
   ========================================================================= */
html.v2 header.top {
  background: rgba(9, 8, 7, .58);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04);
}
html.v2 header.top .brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
html.v2 header.top .pf-ver-chip { margin-left: 0; }
html.v2 header.top nav a {
  border-radius: 999px;
  transition: color 180ms var(--v2-ease), background-color 180ms var(--v2-ease);
}
html.v2 header.top nav a:hover { background: rgba(255, 255, 255, .05); }
html.v2 .nav-ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html.v2 .nav-group { display: none; }

/* Client desktop nav: quiet pills, the active one lifted, not gold-boxed. */
@media (min-width: 769px) {
  html.v2 body[data-role="client"] header.top nav a.nav-item {
    color: var(--v2-ink-3);
    font-weight: 500;
  }
  html.v2 body[data-role="client"] header.top nav a.nav-item:hover { color: var(--v2-ink); }
  html.v2 body[data-role="client"] header.top nav a.nav-item.active {
    color: var(--v2-ink);
    background: rgba(255, 255, 255, .08);
    border-radius: 999px;
  }
}

/* Client bottom tabs: frosted, no top rule, gold only on the active tab. */
html.v2 .bottom-tabs {
  background: rgba(8, 7, 6, .66);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  backdrop-filter: blur(24px) saturate(1.25);
  border-top: 0;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .05);
}
html.v2 .bottom-tabs a { letter-spacing: .01em; text-transform: none; }

/* =========================================================================
   COACH APP. A Mac-style sidebar at desktop width; bigger chips on a phone.
   ========================================================================= */
@media (min-width: 1024px) {
  html.v2 body.coach-body {
    --pf-header-h: 0px;
    padding-left: var(--v2-side);
  }
  html.v2 body.coach-body header.top {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--v2-side);
    min-height: 0;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 22px;
    padding: 24px 14px 20px;
    overflow-y: auto;
    scrollbar-width: none;
    background: rgba(16, 14, 12, .52);
    -webkit-backdrop-filter: blur(30px) saturate(1.3);
    backdrop-filter: blur(30px) saturate(1.3);
    border: 0;
    box-shadow: 1px 0 0 rgba(255, 255, 255, .055);
  }
  html.v2 body.coach-body header.top::-webkit-scrollbar { display: none; }
  html.v2 body.coach-body header.top .brand-wrap { padding: 2px 10px 0; }
  html.v2 body.coach-body header.top .brand img { height: 24px; }
  html.v2 body.coach-body header.top nav {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  html.v2 body.coach-body header.top nav a.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--v2-ink-2);
    border-radius: 11px;
  }
  html.v2 body.coach-body header.top nav a.nav-item .nav-ico { color: var(--v2-ink-3); }
  html.v2 body.coach-body header.top nav a.nav-item:hover {
    color: var(--v2-ink);
    background: rgba(255, 255, 255, .05);
  }
  html.v2 body.coach-body header.top nav a.nav-item.active {
    color: var(--v2-ink);
    background: rgba(255, 255, 255, .09);
  }
  html.v2 body.coach-body header.top nav a.nav-item.active .nav-ico { color: var(--v2-gold); }
  html.v2 body.coach-body header.top nav .nav-badge { margin-left: auto; }
  html.v2 body.coach-body header.top .nav-group {
    display: block;
    padding: 18px 12px 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--v2-ink-3);
    letter-spacing: .01em;
  }
  /* Fixed bottom bars on coach pages start after the sidebar. */
  html.v2 body.coach-body .coach-toast-host { left: calc(var(--v2-side) + 16px); }
}

/* Tablet width: one row, nav scrolls sideways. */
@media (min-width: 769px) and (max-width: 1023px) {
  html.v2 body.coach-body header.top { gap: 14px; }
  html.v2 body.coach-body header.top nav {
    overflow-x: auto;
    scrollbar-width: none;
    min-width: 0;
  }
  html.v2 body.coach-body header.top nav a.nav-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    flex: 0 0 auto;
  }
}

/* Phone: bigger, easier chips with icons. */
@media (max-width: 768px) {
  html.v2 body.coach-body { --pf-header-h: 98px; }
  html.v2 body.coach-body header.top { padding-bottom: 8px; gap: 8px 12px; }
  html.v2 body.coach-body header.top nav { gap: 6px; padding-bottom: 2px; }
  html.v2 body.coach-body header.top nav a.nav-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 999px;
    color: var(--v2-ink-2);
    background: rgba(255, 255, 255, .04);
  }
  html.v2 body.coach-body header.top nav a.nav-item .nav-ico { width: 16px; height: 16px; }
  html.v2 body.coach-body header.top nav a.nav-item.active {
    color: var(--v2-ink);
    background: rgba(255, 255, 255, .1);
  }
  html.v2 body.coach-body header.top nav a.nav-item.active .nav-ico { color: var(--v2-gold); }
}

/* =========================================================================
   SURFACES. One family: translucent charcoal, faint edge, soft depth.
   The gold inset top line of the smoke skin is dropped (one of the lines).
   ========================================================================= */
html.v2 .card,
html.v2[data-theme="smoke"] .card,
html.v2 .hd-card,
html.v2[data-theme="smoke"] .hd-card,
html.v2 .cp-card,
html.v2 .msg-preview-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .022));
  border: 1px solid var(--v2-line);
  border-radius: 18px;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 28px 56px -38px rgba(0, 0, 0, .85);
}
html.v2 .hd-daily-hero,
html.v2[data-theme="smoke"] .hd-daily-hero {
  border: 1px solid rgba(216, 181, 143, .26) !important;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(180, 126, 55, .18), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  box-shadow: 0 30px 70px -40px rgba(180, 126, 55, .45);
}
html.v2 .modal {
  background: rgba(22, 19, 16, .96);
  border: 1px solid var(--v2-line-hi);
  border-radius: 20px;
}
html.v2 .modal-backdrop {
  background: rgba(4, 3, 2, .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Daily System blocks: no thick gold side spine; the live block glows. */
html.v2 .dsx-block,
html.v2[data-theme="smoke"] .dsx-block {
  border: 1px solid var(--v2-line);
  border-left: 1px solid var(--v2-line);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .9);
}
html.v2 .dsx-block.is-now,
html.v2[data-theme="smoke"] .dsx-block.is-now {
  border-color: rgba(216, 181, 143, .45);
}
html.v2 .dsx-intro,
html.v2[data-theme="smoke"] .dsx-intro {
  border: 1px solid var(--v2-line);
  border-left: 1px solid var(--v2-line);
  box-shadow: none;
}

/* Buttons: same shapes, softer corners, honest press feedback. */
html.v2 :is(.btn, button.btn, a.btn) {
  border-radius: 12px;
  transition: transform 160ms var(--v2-ease), filter 160ms var(--v2-ease), background-color 160ms var(--v2-ease);
}
html.v2 :is(.btn, button.btn, a.btn):active { transform: scale(.98); }

/* Fields: soft fill instead of a drawn box. */
html.v2 :is(input[type="text"], input[type="email"], input[type="number"], input[type="search"],
            input[type="tel"], input[type="date"], input[type="time"], input:not([type]),
            select, textarea) {
  border-radius: 12px;
}

/* =========================================================================
   VERSION PILL. Next to the logo, never in the middle of the bar.
   ========================================================================= */
html.v2 .pf-ver-chip {
  font-size: 11.5px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
  color: var(--v2-ink-2);
}
html.v2 .pf-ver-chip--new { border-color: rgba(216, 181, 143, .6); color: var(--v2-gold); }
html.v2 .pf-whatsnew {
  background: rgba(20, 17, 14, .96);
  border-color: var(--v2-line-hi);
  border-radius: 22px;
}
html.v2 .pf-whatsnew-kicker,
html.v2 .pf-wn-tag,
html.v2 .pf-ver-new,
html.v2 .pf-wn-newpill { letter-spacing: .02em; text-transform: none; }
html.v2 .pf-wn-entry--pending { border-left: 0; margin-left: 0; padding-left: 0; }

/* Viewing-as bar + phone preview: static/viewas.css (loaded on every
   Login as page, with or without the new look). */

/* =========================================================================
   LABELS. Every small mono / uppercase tracked label becomes a calm
   sentence-case Lato label with even figures. Generated from the selectors
   that set JetBrains Mono or small uppercase tracking in app.css, the page
   stylesheets and the template style blocks
   (EA/ops/master-doc-20261123/rig/label_selectors.py).
   ========================================================================= */
html.v2 .body-hero-eyebrow,
html:where(.v2) .card h3,
html.v2 .card-meta,
html.v2 .card-title,
html.v2 .cd-hero-eyebrow,
html.v2 .cd-sb-totals-label,
html.v2 .cf-source,
html.v2 .cib-quickfill-lbl,
html.v2 .cl-action,
html.v2 .client-meal-label,
html.v2 .cn-eyebrow,
html:where(.v2) .coach-detail-pane h3,
html.v2 .coach-detail-row .lbl,
html:where(.v2) .diet-target span,
html.v2 .diet-totals-label,
html.v2 .do-tile .l,
html.v2 .dpe-aside-eyebrow,
html.v2 .dpe-aside-label,
html.v2 .dpe-hero-eyebrow,
html.v2 .dpn-client-confirmed-eyebrow,
html.v2 .ds-card-sub .ds-eyebrow,
html.v2 .ds-details-eyebrow,
html.v2 .ds-dtf-eyebrow,
html.v2 .ds-edit-subhead,
html.v2 .ds-eyebrow,
html:where(.v2) .ds-phase-extra > summary,
html.v2 .ds-phase-num,
html.v2 .ds-preview-eyebrow,
html.v2 .ds-section-eyebrow,
html.v2 .ds-supp-when,
html.v2 .ds-variant-static,
html.v2 .dsx-supp-buy,
html.v2 .dsxc-bookend,
html.v2 .dsxc-phase-card .dsxc-phase-head .dsxc-phase-name,
html.v2 .ex-demo-label,
html.v2 .ex-muscle-tag,
html.v2 .food-hero-eyebrow,
html.v2 .food-insights-eyebrow,
html.v2 .food-macro-name,
html.v2 .food-mealplan-eyebrow,
html.v2 .food-stat-label,
html.v2 .hd-card-tap-hint,
html.v2 .hd-daily-hero-eyebrow,
html.v2 .integ-key-label,
html:where(.v2) .invite-form .invite-type legend,
html.v2 .invite-preview-eyebrow,
html:where(.v2) .invite-preview-link label,
html.v2 .invite-preview-meta .lbl,
html.v2 .iv-card-eyebrow,
html.v2 .iv-status,
html:where(.v2) .lib-filter legend,
html.v2 .msg-header-status,
html.v2 .ob-anchor-sublabel,
html.v2 .ob-progress-text,
html.v2 .ob-slider-row,
html:where(.v2) .pd-meta label,
html.v2 .pf-pending-card-eyebrow,
html.v2 .pf-whatsnew-kicker,
html:where(.v2) .preview-banner button,
html.v2 .profile-kv .lbl,
html.v2 .qm-block-label,
html.v2 .qm-picker-eyebrow,
html.v2 .queue-item .cat,
html.v2 .quick-onb-eyebrow,
html.v2 .recap-score-label,
html.v2 .recap-section-eyebrow,
html.v2 .replay-btn,
html.v2 .slot-label,
html.v2 .status-badge,
html.v2 .tm-skip,
html:where(.v2) body[data-role="client"] main.bl14-msg-shell .bl14-msg-rail-head p {
  text-transform: none;
  letter-spacing: .01em;
  font-size: 12px;
}
html.v2 .au-tag,
html.v2 .bs-source,
html.v2 .cd-ing-leverage,
html.v2 .cd-swap-curated,
html.v2 .cib-field-lbl,
html.v2 .cl-eyebrow,
html.v2 .coach-toast-label,
html.v2 .cp-kcal-unit,
html.v2 .do-stat .k,
html.v2 .ds-card-flabel,
html.v2 .ds-cta-eyebrow,
html.v2 .ds-cta-pill-eyebrow,
html.v2 .ds-cta-pill-meta,
html.v2 .ds-opt-chip,
html.v2 .ds-phase-pill,
html.v2 .dsx-allday-label,
html.v2 .dsx-allday-pill .dsx-mini-tag,
html.v2 .dsx-b-tap,
html.v2 .dsx-eyebrow,
html.v2 .dsx-mini-tag,
html:where(.v2) .dsxc-field > span,
html.v2 .dsxc-hero-eyebrow,
html.v2 .ex-card-stat-label,
html.v2 .food-hero-unit,
html.v2 .food-mealplan-pill-label,
html.v2 .hd-card-note-lead,
html.v2 .hero-tile-eyebrow,
html.v2 .macro-pill .l,
html.v2 .mp-card-cta,
html.v2 .mp-card-title,
html.v2 .mp-log-btn,
html.v2 .mp-macros-strip .l,
html.v2 .mp-photo-label,
html.v2 .mp-skool-pill,
html.v2 .mp-workout-start,
html.v2 .msg-action-hint,
html.v2 .ob-skool-mailpill-l,
html.v2 .pf-awb-eyebrow,
html.v2 .pf-insight-chip-label,
html.v2 .pf-insight-eyebrow,
html.v2 .pf-leave-eyebrow,
html.v2 .pf-video-cue-label,
html.v2 .pf-wn-tag,
html.v2 .ph-cell-label,
html.v2 .program-card-muscle,
html.v2 .qm-card-img-fallback-caption,
html.v2 .qm-hero-eyebrow,
html.v2 .recap-quote-eyebrow,
html.v2 .summary-card .l,
html.v2 .tm-eyebrow {
  text-transform: none;
  letter-spacing: .01em;
  font-size: 11.5px;
}
html.v2 .au-h2,
html.v2 .cal-cell-dow,
html.v2 .calw-dow,
html.v2 .cp-labs-card .pf-delta-head,
html.v2 .ds-h4,
html:where(.v2) .ds-phase-extra-section h5,
html.v2 .dscal-block-cat-label,
html.v2 .dscal-block-displaced-tag,
html.v2 .dscal-block-duration-pill,
html.v2 .dscal-block-meta .dscal-loom-pip,
html.v2 .dscal-block-time,
html:where(.v2) .dscal-form-row > span,
html:where(.v2) .dscal-legacy summary,
html.v2 .dscal-rail-eyebrow,
html.v2 .dscal-section-name,
html.v2 .dscal-unsched-cat,
html.v2 .dsx-section-tab-title,
html.v2 .hd-weekday-dow,
html.v2 .hd-weekring-label,
html.v2 .ml-filter-label,
html:where(.v2) .ml-sort-wrap label,
html:where(.v2) .profile-details summary,
html.v2 .recap-kcal-label,
html.v2 .rest-timer .rest-label,
html.v2 .ws-demo-label,
html.v2 .ws-ex-state-pill,
html.v2 .ws-eyebrow,
html.v2 .ws-finish-btn,
html.v2 .ws-finish-eyebrow,
html.v2 .ws-hist-day-toplabel,
html.v2 .ws-hist-sub,
html.v2 .ws-hist-trend-label,
html.v2 .ws-input-label,
html.v2 .ws-input-unit,
html.v2 .ws-last-label,
html.v2 .ws-muscle-tag,
html.v2 .ws-picker-filter-btn-label,
html.v2 .ws-picker-row.is-already .ws-picker-tag.already,
html.v2 .ws-rest-label,
html.v2 .ws-rpe-trigger-label,
html.v2 .ws-set-unit,
html.v2 .ws-superset-count,
html.v2 .ws-undo-flash-btn,
html.v2 .ws-vo2-equip-tag,
html.v2 .ws-vo2-prog-level {
  text-transform: none;
  letter-spacing: .01em;
}
html.v2 .bl14-cal-stat-eyebrow,
html:where(.v2) .bl14-daily-aside-card h3,
html.v2 .chq-eyebrow,
html.v2 .cib-levelbar-lbl,
html.v2 .cib-preview-label,
html.v2 .cp-card-sub,
html.v2 .cp-kv-l,
html.v2 .cp-macro-eyebrow,
html.v2 .cp-sched-tag,
html.v2 .cp-shell .cp-sec-eyebrow,
html.v2 .cp-stat-eyebrow,
html.v2 .cs-cardio-lbl,
html.v2 .cs-ex-picker-filter-label,
html.v2 .cs-mrr-pill,
html.v2 .cs-status-pill,
html.v2 .cwp-assignee-eyebrow,
html.v2 .hd-card-eyebrow,
html.v2 .hd-insights-bucket-head,
html.v2 .hd-kcal-unit,
html.v2 .hd-meta-pill-eyebrow,
html.v2 .hd-tag,
html.v2 .newwo-client-mrr,
html.v2 .pd-workout-kind,
html.v2 .pl-card-tag,
html.v2 .prog-sched-add,
html.v2 .prog-sched-lbl,
html.v2 .sch-block-tag,
html.v2 .sch-day-name,
html.v2 .sch-lbl,
html.v2 .sch-pill-sub,
html.v2 .sch-series-hint,
html.v2 .sch-series-lbl {
  font-family: 'Lato', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  text-transform: none;
  letter-spacing: .01em;
  font-size: 11.5px;
}
html.v2 .au-stat-k,
html:where(.v2) .auth-form .field label,
html.v2 .calw-nav-today,
html.v2 .cd-ings-head,
html.v2 .cd-slot-eyebrow,
html.v2 .cd-slot-realized-label,
html.v2 .dpe-section-heading,
html:where(.v2) .ds-cycle-block summary,
html:where(.v2) .ds-supp-table th,
html.v2 .dsx-empty-meta,
html.v2 .dsx-now-badge,
html.v2 .entry-time,
html:where(.v2) .field label,
html.v2 .food-mealplan-next-label,
html.v2 .gl-cat,
html.v2 .integ-group-h,
html.v2 .ob-eyebrow,
html.v2 .ob-label,
html.v2 .pf-upd-kicker,
html.v2 .ph-row-date,
html.v2 .preview-banner,
html:where(.v2) .profile-subsec h4,
html.v2 .recap-macro-label,
html:where(.v2) body.coach-body .meal-form label {
  text-transform: none;
  letter-spacing: .01em;
  font-size: 12.5px;
}
html.v2 .cp-ds-week-day,
html.v2 .cp-mini-day,
html.v2 .cp-mini-tag,
html.v2 .cp-sched-day-name,
html.v2 .hd-pill-dow,
html.v2 .prog-sched-wd,
html.v2 .sch-week-today,
html.v2 .ws-cardio-eyebrow,
html.v2 .ws-cardio-timer-phase,
html.v2 .ws-round-num,
html.v2 .ws-teaching-target-label,
html.v2 .ws-vo2-prog-week,
html.v2 .ws-vo2-section-title,
html.v2 .ws-vo2-summary-meta {
  font-family: 'Lato', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  text-transform: none;
  letter-spacing: .01em;
}
html.v2 .bl14-cal-stats-eyebrow,
html.v2 .bl14-daily-datestrip,
html.v2 .cal-unmatched-eyebrow,
html.v2 .cib-round-num,
html.v2 .cs-cardio-intervals-summary,
html.v2 .cs-ex-picker-group-head,
html.v2 .hd-date-eyebrow,
html.v2 .hd-macro-label,
html.v2 .hd-strip-meta,
html.v2 .pl-section-count,
html.v2 .sch-day-empty {
  font-family: 'Lato', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  text-transform: none;
  letter-spacing: .01em;
  font-size: 12px;
}
html.v2 .cp-ds-week-meta,
html.v2 .cp-mini-dur,
html.v2 .cp-mini-time,
html.v2 .cp-sched-day-time,
html.v2 .cs-count,
html.v2 .modal-wide .ml-steps-mono,
html.v2 .ws-zone-seg {
  font-family: 'Lato', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
html.v2 .pd-workout-stat,
html.v2 .pl-card-stat,
html.v2 .prog-sched-pill,
html.v2 .sch-block-time {
  font-family: 'Lato', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  font-size: 12px;
}
html.v2 .cib-round-hr,
html.v2 .cp-shell .cp-kv-l,
html.v2 .cwp-save-flash {
  font-family: 'Lato', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  font-size: 12.5px;
}
html.v2 .cp-kcal-delta,
html.v2 .cs-cardio-preview,
html.v2 .sch-series-preview .sch-series-when {
  font-family: 'Lato', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}
html.v2 .cp-shell .cp-mini-day,
html.v2 .cp-shell .cp-mini-time,
html.v2 .sch-week-label {
  font-family: 'Lato', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
html.v2 .cs-ex-picker-tag,
html.v2 .sch-ds-block-meta {
  font-family: 'Lato', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  font-size: 11.5px;
}
html.v2 .cal-unmatched-meta {
  font-family: 'Lato', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
}
html.v2 .cs-filter-chip-count {
  font-family: 'Lato', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 11.5px;
}

/* =========================================================================
   REDUCED MOTION. The canvas holds still; state changes are instant.
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html.v2 body::before,
  html.v2 body::after { animation: none; }
  html.v2 *, html.v2 *::before, html.v2 *::after { transition-duration: 1ms !important; }
}

/* ---- Inbox (R4): the panes ARE the page, no framed box -------------------- */
html.v2 body.coach-body .msg-wrap.coach-desktop {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
html.v2 body.coach-body .coach-sidebar {
  background: rgba(12, 11, 9, .46);
  border-right: 0;
  box-shadow: inset -1px 0 0 var(--v2-line);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
}
html.v2 body.coach-body .coach-sidebar-header { border-bottom: 0; }
html.v2 body.coach-body .coach-sidebar-header h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.015em;
}
html.v2 body.coach-body .coach-sidebar-item { border-bottom: 0; }
html.v2 body.coach-body .coach-sidebar-item:hover { background: rgba(255, 255, 255, .05); }
html.v2 body.coach-body .coach-sidebar-item.active,
html.v2 body.coach-body .coach-sidebar-item.active:hover { background: rgba(216, 181, 143, .14); }
html.v2 body.coach-body .coach-sidebar-avatar {
  border: 0;
  background: rgba(216, 181, 143, .12);
  color: var(--v2-gold);
}
html.v2 body.coach-body .coach-sidebar-name { color: var(--v2-ink); }
html.v2 body.coach-body .coach-sidebar-preview { color: var(--v2-ink-3); }
html.v2 body.coach-body .ib-row.has-unread .coach-sidebar-preview { color: var(--v2-ink-2); font-weight: 500; }
html.v2 body.coach-body .coach-sidebar-at { color: var(--v2-ink-3); }
html.v2 body.coach-body .ib-row.has-unread .coach-sidebar-at { color: var(--v2-gold); }
html.v2 body.coach-body .coach-sidebar-badge { background: var(--v2-gold); color: #1a1208; }
html.v2 body.coach-body .coach-thread { background: transparent; }
html.v2 body.coach-body .coach-thread .msg-header {
  padding: 14px 22px;
  border-bottom: 0;
  background: rgba(10, 9, 8, .55);
  box-shadow: 0 1px 0 var(--v2-line);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
}
html.v2 body.coach-body .coach-thread .msg-avatar { border: 0; background: rgba(216, 181, 143, .12); }
html.v2 body.coach-body .coach-thread .msg-header-name { font-size: 16px; font-weight: 600; }
html.v2 body.coach-body .coach-thread .msg-header-status { font-size: 13px; color: var(--v2-ink-3); }
html.v2 body.coach-body .coach-thread .msg-compose {
  background: rgba(10, 9, 8, .55);
  border-top: 0;
  box-shadow: 0 -1px 0 var(--v2-line);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}
html.v2 body.coach-body .coach-detail-pane {
  background: rgba(12, 11, 9, .4);
  border-left: 0;
  box-shadow: inset 1px 0 0 var(--v2-line);
}
html.v2 body.coach-body .ib-facts > div + div { box-shadow: 0 -1px 0 var(--v2-line); }
html.v2 body.coach-body .ib-facts dt,
html.v2 body.coach-body .ib-who-mail { color: var(--v2-ink-3); }
@media (min-width: 1024px) {
  html.v2 body.coach-body .msg-wrap.coach-desktop,
  html.v2 body.coach-body .msg-wrap.coach-inbox-only {
    max-width: none;
    margin: 0;
    height: 100vh;
    height: 100dvh;
  }
  html.v2 body.pf-imp.coach-body .msg-wrap.coach-desktop { height: calc(100dvh - var(--v2-imp-h)); }
  html.v2 body.coach-body .coach-sidebar,
  html.v2 body.coach-body .msg-wrap.coach-inbox-only .coach-sidebar { width: 340px; max-width: 340px; flex: 0 0 340px; }
  html.v2 body.coach-body .coach-detail-pane { width: 300px; padding: 26px 22px; }
  html.v2 body.coach-body .coach-thread .msg-list { padding: 26px clamp(24px, 4vw, 64px) 14px; }
  html.v2 body.coach-body .coach-thread .msg-compose { padding: 14px clamp(20px, 3.4vw, 56px) 18px; }
}

