.cm{--cmCoral:#F0534A;--cmCoralSoft:rgba(240,83,74,.12);
  position:relative;width:100%;max-width:520px;margin:0 auto;box-sizing:border-box;
  display:flex;flex-direction:column;padding:8px 0 24px;
  font-family:var(--text,Inter,system-ui,sans-serif);color:var(--ink,#0D0D0D);-webkit-font-smoothing:antialiased}
.cm *,.cm *::before,.cm *::after{box-sizing:border-box}
.cm h3,.cm p,.cm ul,.cm dl,.cm dd{margin:0;padding:0}
.cm ul{list-style:none}
.cm-card{position:relative;background:var(--card,#fff);border-radius:28px;
  box-shadow:var(--shadow,0 30px 70px rgba(30,20,60,.10),0 4px 14px rgba(30,20,60,.05));
  padding:20px 22px;border:1px solid var(--line,rgba(0,0,0,.08))}
.cm-ic{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.cm-h{font-family:var(--display,Geist,var(--text,Inter),system-ui,sans-serif);font-weight:500;font-size:19px;letter-spacing:-.2px;line-height:1.25;color:var(--ink,#0D0D0D)}
.cm-meta{font-size:14px;color:var(--ink3,#7C7C83);line-height:1.35}
.cm-sub{font-size:14px;color:var(--ink2,#55555B);margin-top:3px;line-height:1.4}

/* composition: loose overlap with depth */
.cm-now{width:340px;align-self:flex-start;z-index:1}
.cm-pact{width:340px;align-self:flex-end;margin-top:-22px;z-index:2}
.cm-post{width:420px;align-self:center;margin-top:-22px;z-index:3}

/* training now */
.cm-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px}
.cm-rings{display:flex;justify-content:space-between;gap:8px}
.cm-rings li{display:flex;flex-direction:column;align-items:center;min-width:0;flex:1}
.cm-ring{width:56px;height:56px;border-radius:50%;border:2.5px solid var(--cmCoral);background:var(--muted,#F2F1F4);
  color:var(--ink,#0D0D0D);font:500 16px/1 var(--text,Inter,system-ui,sans-serif);letter-spacing:.2px;cursor:pointer;
  display:grid;place-items:center;padding:0;box-shadow:0 0 0 2px var(--card,#fff) inset;transition:transform .15s ease}
.cm-ring:active{transform:scale(.94)}
.cm-ring:focus-visible,.cm-like:focus-visible{outline:2px solid var(--cmCoral);outline-offset:3px}
.cm-nm{font-size:15px;font-weight:500;margin-top:7px;line-height:1.2}
.cm-t{font-size:13px;color:var(--ink3,#7C7C83);line-height:1.3}
.cm-toast{position:absolute;left:50%;bottom:-14px;transform:translate(-50%,6px);opacity:0;pointer-events:none;
  background:var(--ink,#0D0D0D);color:var(--card,#fff);font-size:13px;font-weight:500;padding:8px 14px;border-radius:999px;
  white-space:nowrap;transition:opacity .2s ease,transform .2s ease;z-index:5}
.cm-toast.cm-show{opacity:1;transform:translate(-50%,0)}
@keyframes cm-pulse{0%{box-shadow:0 0 0 2px var(--card,#fff) inset,0 0 0 0 rgba(240,83,74,.45)}
  100%{box-shadow:0 0 0 2px var(--card,#fff) inset,0 0 0 14px rgba(240,83,74,0)}}
.cm.cm-in .cm-pulse{animation:cm-pulse 1.4s ease-out .35s 1}

/* pact */
.cm-pact-top{display:flex;gap:12px;align-items:flex-start}
.cm-pact-top .cm-ic{margin-top:1px;color:var(--ink2,#55555B)}
.cm-pill{display:inline-block;margin-top:10px;background:var(--muted,#F2F1F4);color:var(--ink2,#55555B);
  font-size:13px;font-weight:500;padding:5px 11px;border-radius:999px}
.cm-prog{margin-top:14px;display:flex;flex-direction:column;gap:9px}
.cm-prog li{display:grid;grid-template-columns:28px auto 1fr;align-items:center;gap:10px}
.cm-chip{width:28px;height:28px;border-radius:50%;background:var(--muted,#F2F1F4);display:grid;place-items:center;
  font-size:11px;font-weight:500;color:var(--ink2,#55555B)}
.cm-pl{font-size:14px;color:var(--ink2,#55555B);white-space:nowrap}
.cm-pl b{font-weight:500;color:var(--ink,#0D0D0D)}
.cm-bar{height:5px;border-radius:3px;background:var(--muted,#F2F1F4);overflow:hidden;min-width:40px}
.cm-bar i{display:block;height:100%;width:100%;background:var(--cmCoral);border-radius:3px;
  transform-origin:left;transform:scaleX(var(--p))}
.cm.cm-armed .cm-bar i{transform:scaleX(0);transition:transform .9s cubic-bezier(.32,.72,0,1)}
.cm.cm-armed.cm-in .cm-bar i{transform:scaleX(var(--p))}
.cm.cm-armed.cm-in .cm-prog li:nth-child(2) .cm-bar i{transition-delay:.12s}
.cm.cm-armed.cm-in .cm-prog li:nth-child(3) .cm-bar i{transition-delay:.24s}

/* post */
.cm-who{display:flex;gap:12px;align-items:center}
.cm-av{width:44px;height:44px;border-radius:50%;background:var(--muted,#F2F1F4);display:grid;place-items:center;font-size:15px;font-weight:500;flex:none}
.cm-name{font-size:16px;font-weight:500;line-height:1.25}
.cm-title{font-family:var(--display,Geist,var(--text,Inter),system-ui,sans-serif);font-weight:500;font-size:24px;letter-spacing:-.3px;line-height:1.2;margin:14px 0 12px}
.cm-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.cm-stats dt{font-size:13px;color:var(--ink3,#7C7C83)}
.cm-stats dd{font-family:var(--display,Geist,var(--text,Inter),system-ui,sans-serif);font-weight:500;font-size:20px;font-variant-numeric:tabular-nums;margin-top:2px;white-space:nowrap}
.cm-stats small{font-family:var(--text,Inter,system-ui,sans-serif);font-size:13px;font-weight:400;color:var(--ink3,#7C7C83)}
.cm-rec{display:flex;align-items:center;gap:12px;background:var(--muted,#F2F1F4);border-radius:18px;padding:12px 14px;margin-top:14px}
.cm-trophy{width:38px;height:38px;border-radius:50%;background:var(--card,#fff);display:grid;place-items:center;flex:none;color:var(--ink,#0D0D0D)}
.cm-trophy .cm-ic{width:19px;height:19px}
.cm-rec-t{min-width:0;flex:1}
.cm-rec-h{font-size:15px;font-weight:500;line-height:1.3}
.cm-rec .cm-meta{font-size:13px}
.cm-tag{flex:none;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500;color:var(--cmCoral);
  background:var(--cmCoralSoft);padding:5px 10px;border-radius:999px}
.cm-tag::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--cmCoral)}
.cm-acts{display:flex;align-items:center;gap:18px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line,rgba(0,0,0,.08))}
.cm-like,.cm-cmt{display:inline-flex;align-items:center;gap:7px;font-size:15px;font-weight:500;color:var(--ink2,#55555B);font-variant-numeric:tabular-nums}
.cm-like{background:none;border:0;padding:0 6px;margin-left:-6px;min-height:44px;cursor:pointer;font-family:inherit;border-radius:12px;transition:color .15s ease}
.cm-like .cm-ic,.cm-cmt .cm-ic{width:20px;height:20px}
.cm-like[aria-pressed=true]{color:var(--cmCoral)}
.cm-like[aria-pressed=true] .cm-ic{fill:var(--cmCoralSoft)}
.cm-like.cm-pop .cm-ic{animation:cm-pop .32s ease-out 1}
@keyframes cm-pop{40%{transform:scale(1.22)}100%{transform:scale(1)}}

@media (max-width:560px){
  .cm-now,.cm-pact,.cm-post{width:100%;align-self:stretch;margin-top:14px}
  .cm-now{margin-top:0}
  .cm-card{padding:18px}
  .cm-ring{width:52px;height:52px}
}
@media (max-width:370px){
  .cm-rec{flex-wrap:wrap}
  .cm-tag{margin-left:50px}
  .cm-stats dd{font-size:18px}
}
@media (prefers-reduced-motion:reduce){
  .cm *{animation:none!important;transition:none!important}
}

/* site layout: a clean grid, nothing overlapping */
.cm{max-width:1120px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
.cm-now,.cm-pact,.cm-post,.cm-groups,.cm-together{width:auto!important;margin:0!important;align-self:stretch!important;z-index:auto!important}
.cm-post{grid-column:span 2}
.cm-groups{grid-row:span 2}
.cm-glist{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.cm-glist li{display:flex;align-items:center;gap:12px}
.cm-gav{flex:none;width:44px;height:44px;border-radius:13px;display:grid;place-items:center;color:#fff;font:600 14px var(--text,Inter)}
.cm-gt{flex:1;min-width:0}.cm-gt b{display:block;font-weight:500;font-size:15px}.cm-gt small{display:block;font-size:13px;color:var(--ink3,#7C7C83);line-height:1.35}
.cm-badge{flex:none;min-width:24px;height:24px;border-radius:12px;background:rgba(240,83,74,.14);color:#D9443B;font:600 13px var(--text,Inter);display:grid;place-items:center}
.cm-board{margin-top:18px;padding:14px;border-radius:18px;background:var(--muted,#F2F1F4)}
.cm-board-h{display:flex;justify-content:space-between;align-items:baseline;font-weight:500;font-size:15px}
.cm-board-h small{font-weight:400;font-size:13px;color:var(--ink3,#7C7C83)}
.cm-board ol{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:4px;counter-reset:b}
.cm-board li{counter-increment:b;display:flex;align-items:center;gap:10px;min-height:40px;font-size:15px}
.cm-board li::before{content:counter(b);width:14px;font-size:13px;color:var(--ink3,#7C7C83)}
.cm-board i{font-style:normal;width:28px;height:28px;border-radius:14px;background:var(--card,#fff);display:grid;place-items:center;font:600 10.5px var(--text,Inter);color:var(--ink2,#55555B)}
.cm-board b{margin-left:auto;font:500 16px var(--display,Geist);font-variant-numeric:tabular-nums}
.cm-board .cm-me{font-weight:500}
.cm-fine{margin-top:10px!important;font-size:12.5px;color:var(--ink3,#7C7C83);line-height:1.4}
.cm-faces{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.cm-faces span{width:34px;height:34px;border-radius:17px;display:grid;place-items:center;font:600 13px var(--text,Inter);border:2.5px solid var(--fc);color:var(--fc);background:var(--card,#fff)}
.cm-faces small{flex-basis:100%;font-size:13px;color:var(--ink2,#55555B);margin-top:8px}
.cm-rows{margin-top:12px;display:grid;gap:8px}
.cm-row{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border-radius:14px;background:var(--muted,#F2F1F4);font-size:15px}
.cm-row b{margin-left:auto;font-weight:500;font-variant-numeric:tabular-nums}
.cm-dot{width:9px;height:9px;border-radius:5px;flex:none}
.cm-ok{font-style:normal;color:#F0534A;font-weight:600}
@media (max-width:1000px){.cm{grid-template-columns:repeat(2,minmax(0,1fr))}.cm-groups{grid-row:auto}}
@media (max-width:640px){.cm{grid-template-columns:1fr}.cm-post{grid-column:auto}}
.cm{width:100%!important;max-width:1120px!important;margin:0 auto!important;align-items:stretch!important}
.cm-groups{grid-row:auto!important}
.cm-post{grid-column:span 2}
@media (max-width:1000px){.cm-post{grid-column:span 2}}
@media (max-width:640px){.cm-post{grid-column:auto}}
.cm{align-items:start!important}

/* phones: the five cards become one swipeable row, the next card peeking */
@media (max-width:640px){
  .cm{display:flex!important;flex-direction:row;align-items:flex-start!important;gap:12px;
    width:calc(100% + 32px)!important;max-width:none!important;margin:0 -16px!important;
    padding:6px 16px 30px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
    scroll-padding-inline:16px;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none}
  .cm::-webkit-scrollbar{display:none}
  .cm-now,.cm-pact,.cm-post,.cm-groups,.cm-together{flex:0 0 calc(100% - 40px);min-width:0;scroll-snap-align:start;align-self:flex-start!important;
    box-shadow:0 10px 26px rgba(30,20,60,.08),0 2px 6px rgba(30,20,60,.05)}
  .cm-card{padding:18px}
  .cm-chip{font-size:12px}
  .cm-board i{font-size:12px}
}
@media (max-width:400px){
  .cm-rec{flex-wrap:wrap}
  .cm-rec-t{flex:1 1 calc(100% - 50px)}
  .cm-tag{margin-left:50px}
  .cm-stats dd{font-size:18px}
  .cm-ring{width:50px;height:50px}
  .cm-title{font-size:22px}
}

/* tablet and desktop: cards sized to what they hold (owner, 14 Nov: boxes stretched to the tallest
   in their row and left empty space). Training now over the pact beside the groups, then Train
   together beside the post; the groups' board and Train together's foot line sit at the bottom. */
@media (min-width:641px){
  .cm{align-items:stretch!important}
  .cm-now{grid-column:1!important;grid-row:1!important}
  .cm-pact{grid-column:1!important;grid-row:2!important}
  .cm-groups{grid-column:2 / -1!important;grid-row:1 / 3!important;display:flex;flex-direction:column}
  .cm-groups>.cm-board{margin-top:auto}
  .cm-together{grid-column:1!important;grid-row:3!important;display:flex;flex-direction:column}
  .cm-together>:last-child{margin-top:auto}
  .cm-post{grid-column:2 / -1!important;grid-row:3!important}
}
.vpic-home>*,.vpic-kit>*{width:100%;max-width:520px}
.vpic-home h3{letter-spacing:-.02em}
/* Dark page: the Appearance picture's own controls sit on the page, not on its light panel, and the
   import picture's foot pill is glass; both read the page's ink there. */
:root[data-theme="dark"] .vpic-themes .th{color:var(--ink)}
:root[data-theme="dark"] .vpic-themes .th-sw{box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
:root[data-theme="dark"] .vpic-themes .th-tone[aria-pressed="true"] .th-sw{box-shadow:inset 0 0 0 1px rgba(255,255,255,.24),0 0 0 2px #16151C,0 0 0 4px currentColor}
:root[data-theme="dark"] .vpic-import .ic-foot{background:rgba(255,255,255,.1);color:var(--ink-2)}
.vwide .vpic>*{max-width:none}