/* ===== mvmt brand on black (approved 25 Nov) =====
   Colors only from the mvmt Visual Identity System (Nov 2026):
   black + white first; mvmt green #114A39 only for states (now / done / progress), white text on it;
   soft green #BACFC2 for small labels on green; data colors = results amber + app-data "on black" values. */
[data-theme=brand]{
  --bg:#000000; --s1:#141414; --s2:#222222; --s3:#2A2A2A; --line:#1F1F1F;
  --text:#FFFFFF; --muted:#9A9A9A; --dim:#666666; --inv:#FFFFFF; --inv-text:#000000;
  --brand:#114A39; --brand-text:#FFFFFF; --soft:#BACFC2;
  --ok:#5BA88A; --better:#9DBBE0; --amber:#9C7420; --red:#6E2318;
  --up1:#9DBBE0; --up2:#6F93C8; --up3:#5BA88A; --down:#9C7420; --same:#2A2A2A;
}
[data-theme=brand] header.top img{filter:invert(1)}

/* day strip: done days in mvmt green, today white */
[data-theme=brand] .sd.done b{box-shadow:none;background:var(--brand);color:#fff}
[data-theme=brand] .sd.on b{background:var(--inv);color:var(--inv-text)}
/* set cards: the set you're on = mvmt green; done = quiet with a soft-green tick */
[data-theme=brand] .grp.now{box-shadow:none}
[data-theme=brand] .grp.now > .gtop{background:var(--brand)}
[data-theme=brand] .grp.now > .gtop small,[data-theme=brand] .grp.now .gst{color:var(--soft)}
[data-theme=brand] .grp.now .chev{border-color:var(--soft)}
[data-theme=brand] .grp.done .gst{color:var(--soft)}
[data-theme=brand] .progress i{background:var(--brand);box-shadow:inset 0 0 0 1px #2f6b58}

/* coach: what's waiting, at a glance */
.ntiles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0 6px}
.ntile{background:var(--s1);border-radius:16px;padding:12px 12px 10px;display:flex;flex-direction:column;gap:2px}
.ntile b{font-size:30px;font-weight:900;line-height:1;color:var(--dim)}
.ntile span{font-size:12px;font-weight:700;color:var(--muted)}
.ntile.on{background:var(--brand)}.ntile.on b{color:#fff}.ntile.on span{color:var(--soft)}
.ntile.hot{background:var(--amber)}.ntile.hot b{color:#fff}.ntile.hot span{color:#fff}
@media(min-width:620px){.ntiles{grid-template-columns:repeat(6,1fr)}}

/* download program */
.dlp{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--s3);border-radius:16px;padding:12px 14px;margin:10px 0;text-decoration:none;color:var(--text)}
.dlp small{display:block;color:var(--muted);font-size:12px}
.dlp .ar{width:34px;height:34px;border-radius:50%;background:var(--inv);color:var(--inv-text);display:flex;align-items:center;justify-content:center;font-weight:900}

/* one exercise: video, header, note, then one row per set */
.xb .xh2{display:flex;gap:12px;align-items:center;padding:14px 16px 4px}
.xb .xk{min-width:38px;height:38px;padding:0 8px;border-radius:12px;background:var(--brand);color:#fff;font-weight:900;font-size:15px;display:flex;align-items:center;justify-content:center;flex:none}
.xb .xn2{font-weight:900;font-size:20px;letter-spacing:-.015em;line-height:1.15}
.xb .xr2{font-size:12px;color:var(--muted);margin-top:2px}
.xb .xnote{padding:2px 16px 6px;color:var(--muted);font-size:13px;line-height:1.5}
.lr{display:grid;grid-template-columns:24px 1fr 1.25fr 50px;gap:8px;align-items:center;margin:6px 12px;padding:9px 10px;border-radius:16px;background:var(--s1);transition:background .2s}
.lr .sn{font-weight:900;color:var(--muted);text-align:center}
.lr .pr{font-size:10px;color:var(--muted);font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.lr .pr b{display:block;font-size:17px;color:var(--text);letter-spacing:0;text-transform:none;font-weight:900}
.lr .you{font-size:10px;color:var(--muted);font-weight:700;letter-spacing:.06em;text-transform:uppercase;display:flex;flex-direction:column;gap:3px}
.lr .you .f{display:flex;gap:6px;align-items:center}
.lr .you input{width:74px;font-size:18px;font-weight:900;text-align:center;padding:7px 4px;background:var(--s2);border:1.5px solid transparent;border-radius:10px;color:var(--text);letter-spacing:0;text-transform:none}
.lr .you input.r{width:56px}
.lr .you .u{font-size:11px;color:var(--dim);text-transform:none;letter-spacing:0}
.lr .you .f.reps{display:none}
.xb.showreps .lr .you .f.reps{display:flex}
/* no video: a slim strip instead of an empty box */
.xb .fig.novid{aspect-ratio:auto;height:44px;background:var(--s1);border-bottom:1px solid var(--line)}
.lr .ck{height:44px;border-radius:13px;border:0;background:var(--inv);color:var(--inv-text);font-weight:900;font-size:18px;cursor:pointer;transition:transform .15s var(--ease)}
.lr .ck:active{transform:scale(.92)}
.lr.done{background:var(--brand)}
.lr.done .pr,.lr.done .you{color:var(--soft)}
.lr.done .you input{background:transparent;padding-left:0;text-align:left}
.lr.done .ck{background:rgba(255,255,255,.15);color:#fff}
.lr.queued{background:var(--brand);opacity:.75}
.xlinks2{display:flex;gap:16px;flex-wrap:wrap;padding:6px 16px 12px}
.xlinks2 button{background:none;border:0;color:var(--muted);font-weight:700;font-size:13px;padding:4px 0;cursor:pointer}
.xlinks2 button b{color:var(--text);text-decoration:underline;font-weight:700}
