:root {
  --ink: #1a1e23; --dark: #121518; --gun: #2b3238; --gun2: #3d464f;
  --silver: #aab2ba; --silver-lt: #d5dade; --tint: #eef0f2; --bg: #f6f7f8; --card: #fff;
  --sky: #9fd0ee; --sky-tint: #eef7fc; --peach: #f5ad7f; --coral: #ec7a4c;
  --muted: #5d6670; --line: #e3e6e9;
  --cond: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--dark); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Avenir Next", -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
#app { max-width: 560px; margin: 0 auto; min-height: 100vh; background: var(--bg); }
a { color: inherit; }
button { font: inherit; color: inherit; }
input { font: inherit; }
small { font-size: .62em; font-weight: 600; color: var(--muted); letter-spacing: .02em; }

/* header */
.top { position: relative; z-index: 5; background: var(--dark); color: #fff; padding: calc(var(--safe-t) + 10px) 16px 0; }
.brand { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; }
.logo { font-family: var(--cond); font-weight: 800; font-style: italic; font-size: 21px; letter-spacing: .01em; }
.logo em { color: var(--silver); }
.cyc { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.stripe { height: 7px; margin: 0 -16px; background: linear-gradient(to bottom, var(--sky) 0 2px, transparent 2px 2.5px, var(--peach) 2.5px 4.5px, transparent 4.5px 5px, var(--coral) 5px 7px); }
.stripe.big { height: 10px; width: 190px; margin: 12px 0 18px; background: linear-gradient(to bottom, var(--sky) 0 2.5px, transparent 2.5px 3.75px, var(--peach) 3.75px 6.25px, transparent 6.25px 7.5px, var(--coral) 7.5px 10px); }

.dayhead { padding: 12px 0 10px; }
.wkline { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--silver-lt); }
.wkline .date { margin-left: auto; color: var(--silver); font-weight: 500; }
.daynav { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.daynav > div { flex: 1; min-width: 0; }
.dname { font-family: var(--cond); font-weight: 800; font-style: italic; font-size: 30px; line-height: 1; text-transform: uppercase; }
.dtitle { color: var(--silver-lt); font-size: 14px; font-weight: 500; margin-top: 3px; }
.arrow { width: 40px; height: 40px; flex: none; display: grid; place-items: center; font-size: 30px; line-height: 1; text-decoration: none; color: #fff; border-radius: 99px; background: rgba(255,255,255,.08); }
span.arrow { background: none; }
.week-strip { display: flex; gap: 4px; margin-top: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.week-strip::-webkit-scrollbar { display: none; }
.week-strip a { flex: 0 0 calc((100% - 24px) / 7); display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center; padding: 6px 0 8px; border-radius: 7px; font-size: 12px; font-weight: 700; line-height: 1.15; text-decoration: none; color: var(--silver); background: rgba(255,255,255,.06); position: relative; }
.week-strip a small { font-size: 11px; font-weight: 600; opacity: .75; }
.week-strip a.mon { scroll-snap-align: start; }
.week-strip a.mon:not(:first-child) { margin-left: 8px; }
.week-strip a.today:not(.on) { color: #fff; box-shadow: inset 0 0 0 1.5px var(--coral); }
.week-strip a.on { background: #fff; color: var(--ink); }
.week-strip a.has::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 9px; background: var(--peach); }

/* chips */
.chip { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.b-build { background: var(--sky); } .b-strength { background: var(--peach); } .b-peak { background: var(--coral); color: #fff; }
.b-deload { background: var(--silver); } .b-test { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.chip.ghost { background: none; color: var(--muted); padding-left: 0; }

/* main */
main { padding: 14px 16px calc(96px + var(--safe-b)); }
.h { font-family: var(--cond); font-weight: 800; font-style: italic; font-size: 22px; text-transform: uppercase; margin: 22px 0 8px; }
.h:first-child { margin-top: 6px; }
.lead { margin: 0 0 6px; color: var(--gun); }
.fine { font-size: 13.5px; color: var(--muted); margin: 6px 0 12px; }
.more { display: inline-block; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.intro { font-size: 14.5px; color: var(--gun); margin: 4px 0 12px; }
.note, .banner { background: var(--tint); border-left: 4px solid var(--gun2); padding: 10px 12px; border-radius: 6px; font-size: 14px; margin-bottom: 12px; }
.banner { background: var(--sky-tint); border-color: var(--sky); font-weight: 600; }
.card { background: var(--card); border-radius: 12px; box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); overflow: hidden; }
.card.pad { padding: 12px 14px; }

/* exercise list */
.ex { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.item { display: grid; grid-template-columns: 26px 1fr auto 28px; align-items: center; gap: 10px; background: var(--card); border-radius: 12px; padding: 12px 12px; box-shadow: 0 0 0 1px var(--line); cursor: pointer; user-select: none; }
.num { width: 24px; height: 24px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; flex: none; }
.en { font-weight: 700; font-size: 16px; line-height: 1.25; }
.nt { font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.3; }
.rx { text-align: right; font-weight: 700; font-size: 15px; max-width: 150px; line-height: 1.25; }
.load { font-size: 19px; font-weight: 800; margin-top: 2px; }
.load .pct { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.item.done, .runcard.done { background: #f1f4f2; }
.item.done .en, .item.done .rx { color: var(--muted); }
.tick { width: 26px; height: 26px; border-radius: 99px; border: 2px solid var(--silver-lt); display: grid; place-items: center; flex: none; }
.tick svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.tick.on { background: var(--gun); border-color: var(--gun); }
.tick.on svg { opacity: 1; }

/* main lift */
.main { background: var(--dark); color: #fff; border-radius: 14px; padding: 14px 14px 12px; position: relative; overflow: hidden; }
.main::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(to right, var(--sky), var(--peach), var(--coral)); }
.mh { display: flex; gap: 10px; align-items: flex-start; }
.main .num { background: #fff; color: var(--ink); }
.main .en { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 24px; text-transform: uppercase; line-height: 1; }
.main .nt { color: var(--silver); }
.scheme { font-size: 13px; color: var(--silver-lt); margin: 10px 0 8px; }
.sets { display: flex; flex-direction: column; gap: 6px; }
.set { display: grid; grid-template-columns: 1fr auto 52px 28px; align-items: center; gap: 8px; background: rgba(255,255,255,.07); border-radius: 10px; padding: 10px 10px 10px 12px; cursor: pointer; user-select: none; min-height: 54px; }
.set .sl { font-size: 13px; font-weight: 600; color: var(--silver-lt); }
.set .sw { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.set .sw small { color: var(--silver); }
.set .sr { font-size: 15px; font-weight: 700; color: var(--silver-lt); text-align: right; }
.set .tick { border-color: rgba(255,255,255,.35); }
.set .tick.on { background: var(--sky); border-color: var(--sky); }
.set .tick.on svg { stroke: var(--ink); }
.set.done { background: rgba(159,208,238,.16); }
.set.amrap { grid-template-columns: 1fr auto auto; cursor: default; box-shadow: inset 0 0 0 1.5px var(--peach); }
.reps { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--silver-lt); }
.reps input { width: 64px; height: 40px; border-radius: 8px; border: 0; text-align: center; font-size: 20px; font-weight: 800; color: var(--ink); background: #fff; }
.verdict { font-size: 12.5px; color: var(--peach); padding: 0 4px 2px; }
.set.test { grid-template-columns: 1fr auto 44px 64px; }
.set.test .st { text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 0; border-radius: 7px; background: rgba(255,255,255,.12); }
.set.test.done .st { background: var(--sky); color: var(--ink); }
.set.test.miss { background: rgba(236,122,76,.16); }
.set.test.miss .st { background: var(--coral); }
.mf { font-size: 12px; color: var(--silver); margin-top: 10px; }

.runcard, .rest { margin-top: 12px; background: var(--sky-tint); border-radius: 12px; padding: 12px 50px 12px 14px; position: relative; box-shadow: inset 0 0 0 1px #d4e9f6; cursor: pointer; }
.runcard .tick { position: absolute; right: 12px; top: 50%; margin-top: -13px; }
.rest { background: var(--tint); box-shadow: none; padding-right: 14px; cursor: default; }
.rest p { margin: 4px 0 0; font-size: 14px; color: var(--gun); }
.rl { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rn { font-family: var(--cond); font-weight: 800; font-style: italic; font-size: 21px; text-transform: uppercase; line-height: 1.1; margin-top: 2px; }
.rr { font-weight: 700; font-size: 16px; margin-top: 2px; }
.rw { font-size: 13px; color: var(--muted); margin-top: 2px; }
.rule { margin-top: 16px; }

/* buttons + forms */
.btn { display: inline-block; background: var(--ink); color: #fff; border: 0; border-radius: 12px; padding: 14px 22px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; text-align: center; }
.btn.wide { display: block; width: 100%; margin-top: 18px; }
.btn.ghost { background: none; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--silver-lt); margin-top: 26px; }
.seg { display: inline-flex; background: var(--tint); border-radius: 10px; padding: 3px; margin-bottom: 12px; }
.seg button { border: 0; background: none; padding: 8px 16px; border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--muted); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.seg.sm { margin: 0; }
.lift-in { display: grid; grid-template-columns: 1fr auto 12px auto; align-items: center; gap: 6px 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.lift-in:last-child { border-bottom: 0; }
.lift-in .ln { font-weight: 700; font-size: 15px; }
.lift-in label { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.lift-in input { width: 74px; height: 42px; border: 1.5px solid #cfe5f3; background: var(--sky-tint); border-radius: 9px; text-align: center; font-size: 18px; font-weight: 700; color: var(--ink); }
.lift-in label:last-of-type input { width: 52px; }
.lift-in input::placeholder { font-size: 12px; font-weight: 500; color: #8a96a2; }
.lift-in .x { color: var(--muted); text-align: center; }
.lift-in .out { grid-column: 1 / -1; font-size: 13px; color: var(--muted); min-height: 0; }
.lift-in .out:empty { display: none; }
.lift-in .out b { color: var(--ink); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; font-weight: 600; font-size: 15px; }
.row + .row { border-top: 1px solid var(--line); }
.row input[type=date] { font-size: 15px; padding: 6px 8px; border: 1.5px solid #cfe5f3; background: var(--sky-tint); border-radius: 8px; }
.err { color: #b4441b; font-weight: 600; font-size: 14px; min-height: 0; margin: 10px 0 0; }

/* welcome */
.welcome { position: relative; min-height: 100vh; background: var(--dark); color: #fff; overflow: hidden; display: flex; align-items: flex-end; }
/* Photo is scaled so the top 21% (gym sign) sits above the screen. */
.welcome img { position: absolute; left: 0; top: -18vh; width: 100%; height: 86vh; object-fit: cover; object-position: 50% 0; }
.welcome .fade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(18,21,24,.3) 0, rgba(18,21,24,0) 10%, rgba(18,21,24,0) 40%, #121518 68%); }
.welcome .in { position: relative; padding: 0 24px calc(36px + var(--safe-b)); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); }
.title { font-family: var(--cond); font-weight: 800; font-style: italic; font-size: 76px; line-height: .9; margin: 8px 0 0; letter-spacing: -.01em; }
.title span { background: linear-gradient(to bottom, #fff 0 46%, #d7dee5 46% 50%, #5b6672 50% 55%, #aebfcd 55%, #e3f1fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.welcome p { font-size: 17px; color: #e6eaee; margin: 0 0 20px; max-width: 360px; }
.welcome .btn { background: #fff; color: var(--ink); }
.by { margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); }
.by b { color: #fff; }

/* optional back-off sets */
.set.opt { grid-template-columns: 1fr auto auto; grid-template-areas: "l w r" "b b b"; row-gap: 8px; cursor: default; background: none; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18); }
.set.opt .sl { grid-area: l; } .set.opt .sw { grid-area: w; } .set.opt .sr { grid-area: r; }
.set.opt .ob { grid-area: b; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.set.opt .ob button { border: 0; border-radius: 8px; padding: 9px 0; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
.set.opt .ob button.on[data-v=done] { background: var(--sky); color: var(--ink); }
.set.opt .ob button.on[data-v=skip] { background: var(--silver); color: var(--ink); }
.set.opt .sl em { display: block; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); margin-top: 1px; }
.set.opt.done { background: rgba(159,208,238,.16); box-shadow: none; }
.set.opt.skip .sw, .set.opt.skip .sr { opacity: .45; text-decoration: line-through; }

/* wednesday choice */
.choice { background: var(--dark); color: #fff; border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.cq { font-family: var(--cond); font-weight: 800; font-style: italic; font-size: 19px; text-transform: uppercase; }
.cb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0 8px; }
.cb button { border: 0; border-radius: 10px; padding: 12px 0; font-weight: 700; font-size: 15px; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
.cb button.on { background: var(--sky); color: var(--ink); }
.cn { font-size: 12.5px; color: var(--silver); }
.sec-l { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.sec-l:first-of-type { margin-top: 4px; }
.dim { opacity: .4; }

/* notes */
.notes { display: block; margin-top: 18px; }
.notes span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.notes textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 16px; background: #fff; resize: vertical; }
.notes textarea:focus { outline: none; border-color: var(--sky); }

/* program */
.tms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tms div { background: var(--dark); color: #fff; border-radius: 10px; padding: 8px 6px; text-align: center; }
.tms span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--silver); }
.tms b { font-size: 22px; }
.cyclebar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin: 4px 0 10px; }
.cyclebar span { height: 8px; border-radius: 2px; }
.wtable { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.wrow { display: grid; grid-template-columns: 20px 5px repeat(4, 1fr); align-items: center; gap: 6px; padding: 10px 12px 10px 10px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 13px; }
.wrow:last-child { border-bottom: 0; }
.wrow.hd { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--tint); }
.wrow .wk { font-weight: 800; }
.wrow .v { font-weight: 700; font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.01em; }
.wrow .v.sm { font-size: 13px; line-height: 1.25; }
.wrow .bar { width: 5px; height: 22px; border-radius: 3px; box-shadow: none; }
.wrow .bar.b-test { background: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 10px; }
.wrow.cur { background: var(--sky-tint); box-shadow: inset 4px 0 0 var(--sky); }
.wrow .chip { font-size: 9.5px; padding: 2px 6px; justify-self: start; }
.stable { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.srow { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 6px; padding: 9px 10px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.srow:last-child { border-bottom: 0; }
.srow .sn { font-weight: 700; }
.srow.hd { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--tint); }

/* log */
.logrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.logrow:last-child { border-bottom: 0; }
.logrow .ln { grid-column: 1 / -1; font-weight: 800; }
.logrow label { font-size: 11.5px; color: var(--muted); font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.logrow input, .prow input { height: 40px; border: 1.5px solid #cfe5f3; background: var(--sky-tint); border-radius: 9px; text-align: center; font-size: 17px; font-weight: 700; width: 100%; color: var(--ink); }
.logrow .next { grid-column: 1 / -1; font-size: 14px; display: flex; gap: 8px; align-items: baseline; }
.logrow .next span { font-size: 12px; color: var(--muted); }
.logrow .verd { grid-column: 1 / -1; font-size: 12.5px; color: #b4561f; }
.logrow .verd:empty { display: none; }
.prow { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; align-items: center; padding: 6px 0; font-size: 14px; font-weight: 600; }
.hist div { padding: 6px 0; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.hist div:last-child { border-bottom: 0; }

/* summary */
.sumlink { display: block; background: var(--dark); color: #fff; text-decoration: none; border-radius: 12px; padding: 12px 14px; margin: 4px 0 14px; position: relative; }
.sumlink b { display: block; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 19px; text-transform: uppercase; }
.sumlink span { font-size: 13px; color: var(--silver); }
.sumlink::after { content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 28px; color: var(--sky); }
.back { display: inline-block; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--muted); margin-bottom: 8px; }
.sum-head { background: var(--dark); color: #fff; border-radius: 14px; padding: 14px; position: relative; overflow: hidden; }
.sum-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(to right, var(--sky), var(--peach), var(--coral)); }
.sum-k { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 28px; text-transform: uppercase; line-height: 1; }
.sum-d { font-size: 13px; color: var(--silver); margin-top: 4px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0; }
.tiles div { background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); padding: 10px 4px; text-align: center; }
.tiles b { display: block; font-size: 22px; font-weight: 800; }
.tiles small { font-size: 12px; }
.tiles span { font-size: 10.5px; color: var(--muted); font-weight: 600; line-height: 1.2; display: block; }
.recap { font-size: 15.5px; line-height: 1.5; background: var(--sky-tint); border-radius: 12px; padding: 12px 14px; margin: 0 0 6px; }
.sh { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 19px; text-transform: uppercase; margin: 20px 0 8px; }
.stbl { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.stbl .r { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 4px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 14px; align-items: start; }
.stbl.three .r { grid-template-columns: 1.3fr 1fr 1fr; }
.stbl .r:last-child { border-bottom: 0; }
.stbl .r.hd { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--tint); }
.stbl .r span:first-child { font-weight: 700; }
.stbl .r span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.stbl.three .r span:not(:first-child) { text-align: left; }
.stbl em { display: block; font-style: normal; font-size: 11px; color: var(--muted); }
.stbl .up { color: #2f7d4f; font-weight: 700; }
.facts { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts div:last-child { border-bottom: 0; }
.facts span { color: var(--muted); }
.facts b { text-align: right; }
.nlist div { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 10px 12px; margin-bottom: 6px; }
.nlist span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nlist p { margin: 4px 0 0; font-size: 15px; white-space: pre-wrap; }

/* guide */
details { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); margin-bottom: 8px; overflow: hidden; scroll-margin-top: 70px; }
summary { list-style: none; padding: 14px 16px; font-weight: 700; font-size: 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; font-weight: 500; color: var(--muted); }
details[open] summary::after { content: "–"; }
.gb { padding: 0 16px 14px; font-size: 15px; color: var(--gun); }
.gb h4 { margin: 14px 0 4px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.gb p { margin: 0 0 10px; }
.gb ol, .gb ul { padding-left: 20px; margin: 0 0 10px; }
.gb li { margin-bottom: 6px; }
.gt { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 6px 0 12px; }
.gt th { text-align: left; background: var(--tint); padding: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.gt td { padding: 6px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* tabs */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; justify-content: center; background: rgba(18,21,24,.97); padding: 6px 6px calc(6px + var(--safe-b)); backdrop-filter: blur(10px); }
.tabs a { flex: 1; max-width: 112px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; text-decoration: none; color: var(--silver); font-size: 11px; font-weight: 600; }
.tabs svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabs a.on { color: #fff; }
.tabs a.on svg { stroke: var(--sky); }

@media (max-width: 370px) {
  .item { grid-template-columns: 24px 1fr auto 26px; gap: 8px; padding: 10px; }
  .rx { max-width: 120px; font-size: 14px; }
  .set .sw { font-size: 23px; }
  .wrow { padding: 9px 8px; gap: 4px; }
  .wrow .v { font-size: 12.5px; }
  .wrow .v.sm { font-size: 12px; }
}

/* brand + sign-in */
.brandline { font-size: 13px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.link-in { display: block; margin-top: 14px; color: var(--silver-lt); font-size: 15px; font-weight: 600; }
.link-back { display: block; text-align: center; margin-top: 14px; color: var(--muted); font-weight: 600; }
.signin label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.signin input { height: 48px; border: 1.5px solid #cfe5f3; background: var(--sky-tint); border-radius: 10px; padding: 0 12px; font-size: 18px; font-weight: 600; color: var(--ink); }
.signin #code { letter-spacing: .3em; font-size: 22px; text-align: center; }
.signin #codebox { margin-top: 12px; }
.btn:disabled { opacity: .6; }
.acct .row b { font-weight: 600; color: var(--gun); text-align: right; overflow-wrap: anywhere; }

/* personalized plan, client side */
.coachmsg { background: var(--dark); color: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; font-size: 15px; box-shadow: inset 4px 0 0 var(--peach); }
.coachmsg span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--peach); margin-bottom: 3px; }
.ctag { display: inline-block; vertical-align: 2px; margin-left: 6px; font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #c4552a; background: #fff; box-shadow: inset 0 0 0 1.5px var(--coral); border-radius: 99px; padding: 2px 7px; white-space: nowrap; }
.ctag.new { color: #fff; background: var(--coral); box-shadow: 0 2px 6px rgba(236,122,76,.35); }
.nt.updnt { color: #c4552a; font-weight: 700; }

/* coach */
.tms.two { grid-template-columns: 1fr 1fr; margin-bottom: 10px; }
.search { width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; font-size: 16px; margin-bottom: 10px; background: #fff; }
.client { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 12px 14px; margin-bottom: 8px; text-decoration: none; }
.client b { display: block; font-size: 16px; }
.client span:not(.chip) { display: block; font-size: 12.5px; color: var(--muted); }
.sumbox { margin-top: 16px; }
.sumbox .gb { padding-top: 4px; }
.dayseg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 16px 0 8px; }
.dayseg a { text-align: center; padding: 9px 0; border-radius: 9px; background: var(--tint); font-weight: 700; font-size: 14px; text-decoration: none; color: var(--muted); }
.dayseg a.on { background: var(--ink); color: #fff; }
.pe-day { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.pe-day b { color: var(--ink); }
.pe { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 12px; margin-bottom: 8px; display: flex; flex-direction: column; gap: 8px; }
.pe.chg { box-shadow: 0 0 0 1.5px var(--peach); }
.pe.hid > label, .pe.hid > .rx3 { opacity: .35; }
.pe.hid .pe-h b { text-decoration: line-through; color: var(--muted); }
.pe-h { display: flex; align-items: center; gap: 8px; }
.pe-h b { flex: 1; font-size: 15px; }
.pe label { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.pe input:not([type=checkbox]) { height: 40px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 10px; font-size: 15px; color: var(--ink); background: #fff; width: 100%; }
.pe input::placeholder { color: #a3acb5; }
.pe .hide { flex-direction: row; align-items: center; gap: 5px; font-size: 13px; }
.rx3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rm { border: 0; background: none; color: #b4441b; font-weight: 700; font-size: 13px; cursor: pointer; }
.savebar { position: sticky; bottom: calc(66px + var(--safe-b)); padding-top: 6px; }
.savebar .btn { margin-top: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
main:has(.savebar) { padding-bottom: calc(150px + var(--safe-b)); }

/* calendar */
.wkline span { white-space: nowrap; }
.ddate { font-size: 13px; color: var(--silver); font-weight: 500; margin-bottom: 2px; }
.ddate b { color: var(--sky); }
.wkline .calbtn { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 4px 9px 4px 7px; border-radius: 99px; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; }
.wkline .calbtn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cal { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.cw { display: grid; grid-template-columns: 30px repeat(7, 1fr); border-bottom: 1px solid var(--line); }
.cw:last-child { border-bottom: 0; }
.cw.hd { background: var(--tint); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 6px 0; }
.cwk { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 13px; }
.cwk .bar { width: 14px; height: 4px; border-radius: 2px; }
.cwk .bar.b-test { background: var(--ink); }
.cd { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 50px; padding: 4px 0; text-decoration: none; border-left: 1px solid var(--line); position: relative; }
.cd .dn { font-size: 15px; font-weight: 700; line-height: 1.1; text-align: center; }
.cd .dn i { display: block; font-style: normal; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--coral); }
.cd .dt { font-size: 9.5px; font-weight: 600; color: var(--muted); }
.cd.we { background: #fafbfb; }
.cd.past .dn { color: var(--muted); }
.cd.today { background: var(--ink); }
.cd.today .dn, .cd.today .dt { color: #fff; }
.cd.logged::after { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 9px; background: var(--peach); }
.callegend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.callegend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.k-today { background: var(--ink); }
.k-logged { background: var(--peach); border-radius: 9px !important; }

/* short on time + equipment */
.tools { display: flex; gap: 8px; margin: 0 0 12px; flex-wrap: wrap; }
.tools button, .eqbar button { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 99px; padding: 8px 13px; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink); background: var(--card); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.tools svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eqbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff4ec; border-left: 4px solid var(--peach); border-radius: 6px; padding: 8px 10px 8px 12px; font-size: 13.5px; margin-bottom: 10px; }
.eqbar button { padding: 6px 12px; flex: none; }
.ctag.sw { background: #fff4ec; color: #a8521f; }
.swapnt { color: #a8521f; font-weight: 600; }
.mvtag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: var(--tint); color: var(--muted); font-size: 11px; font-weight: 700; vertical-align: 2px; }
.item.moved { opacity: .55; }
.item.subm { box-shadow: inset 0 0 0 2px var(--ink); }
.shortcard { background: var(--dark); color: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.shortcard .sh-h { font-family: var(--cond); font-weight: 800; font-style: italic; font-size: 19px; text-transform: uppercase; }
.shortcard ol { margin: 8px 0 6px; padding-left: 20px; font-size: 14.5px; font-weight: 600; }
.shortcard ol span { color: var(--silver); font-weight: 500; font-size: 12.5px; }
.shortcard p { margin: 4px 0; font-size: 13px; color: var(--silver-lt); }
.shortcard button { margin-top: 6px; border: 0; background: rgba(255,255,255,.12); color: #fff; font: inherit; font-weight: 700; font-size: 13px; border-radius: 99px; padding: 6px 14px; cursor: pointer; }
.carry .num { background: var(--peach); color: var(--ink); }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; color: var(--coral); font-weight: 700; text-decoration: underline; cursor: pointer; }
.sheet-bg { position: fixed; inset: 0; z-index: 50; background: rgba(18,21,24,.55); display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--bg); width: 100%; max-width: 560px; max-height: 88vh; overflow: auto; border-radius: 16px 16px 0 0; padding: 18px 16px calc(18px + var(--safe-b)); box-sizing: border-box; }
.sh-t { font-family: var(--cond); font-weight: 800; font-style: italic; font-size: 22px; text-transform: uppercase; margin-bottom: 10px; }
.sh-sub { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 16px 0 6px; }
.mins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mins button, .eqlist button { border: 0; border-radius: 10px; padding: 12px 4px; font: inherit; font-weight: 700; background: var(--card); box-shadow: 0 0 0 1px var(--line); color: var(--ink); cursor: pointer; }
.mins button.on { background: var(--ink); color: #fff; }
.plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.plan li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; background: var(--card); border-radius: 10px; padding: 9px 10px; box-shadow: 0 0 0 1px var(--line); font-size: 14px; }
.plan li.mv { background: var(--tint); }
.plan li.mv .pn { color: var(--muted); }
.plan em { font-style: normal; font-size: 12px; color: var(--muted); }
.pm { font-size: 12.5px; color: var(--muted); }
.pc { border: 0; border-radius: 99px; padding: 6px 10px; font: inherit; font-size: 12.5px; font-weight: 700; background: var(--sky); color: var(--ink); cursor: pointer; min-width: 92px; }
.plan li.mv .pc { background: var(--silver-lt); }
.pc.fixed { background: var(--ink); color: #fff; text-align: center; }
.sh-b { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.sh-b.col { flex-direction: column; }
.eqlist { display: grid; gap: 8px; }
.eqlist button { display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 12px; }
.eqlist button.on { box-shadow: 0 0 0 2px var(--ink); }
.sheet .btn.ghost { margin-top: 0; } .sheet .btn { font: inherit; font-weight: 700; }

/* rep checks inside workouts */
.check, .catchup { background: #fff4ec; border-left: 4px solid var(--peach); border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; font-size: 14px; }
.check.done { background: var(--sky-tint); border-color: var(--sky); }
.check p { margin: 4px 0 0; color: var(--gun); }
.ck-h { font-family: var(--cond); font-weight: 800; font-style: italic; font-size: 18px; text-transform: uppercase; line-height: 1.1; }
.ck-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; font-weight: 600; font-size: 14px; }
.ck-in input { width: 110px; height: 40px; border-radius: 8px; border: 1px solid var(--silver-lt); background: #fff; text-align: center; font: inherit; font-size: 17px; font-weight: 700; color: var(--ink); }
.set.amrap.focus { box-shadow: inset 0 0 0 3px var(--peach); animation: amrapPulse 1.6s ease-in-out infinite; }
@keyframes amrapPulse { 50% { box-shadow: inset 0 0 0 3px var(--peach), 0 0 0 4px rgba(245,173,127,.35); } }
.cu { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid rgba(0,0,0,.06); }
.cu:first-of-type { border-top: 0; }
.cu a { color: var(--ink); font-weight: 700; text-decoration: none; }
.cu a span { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.cu button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.nexttm .row b span { display: block; font-size: 12px; font-weight: 500; color: var(--muted); text-align: right; }

/* pull to refresh */
html, body { overscroll-behavior-y: none; }
.ptr { position: fixed; left: 0; right: 0; top: var(--safe-t); z-index: 40; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 6px; pointer-events: none; opacity: 0; transform: translateY(-120px); transition: transform .25s ease, opacity .25s ease; }
.ptr.pulling { transition: none; }
.ptr::before { content: ""; position: absolute; inset: -60px 0 0; background: var(--bg); border-radius: 0 0 18px 18px; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.ptr > * { position: relative; }
.ptr-t { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.squatter { width: 128px; height: 72px; overflow: hidden; }
.squatter .sq-ground { stroke: var(--silver-lt); stroke-width: 2; }
.squatter .sq-man { fill: var(--ink); }
.squatter .sq-limb { fill: none; stroke: var(--ink); stroke-width: 8.5; stroke-linecap: round; stroke-linejoin: round; }
.squatter .sq-torso { fill: var(--ink); stroke: var(--ink); stroke-width: 6; stroke-linejoin: round; }
.squatter .sq-arm { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.squatter .sq-bar { stroke: var(--gun2); stroke-width: 3.5; stroke-linecap: round; }
.squatter .sq-plate { fill: var(--coral); }
.squatter .sq-dog { fill: #6b4430; }
.squatter .sq-dogleg { fill: none; stroke: #6b4430; stroke-width: 4.2; stroke-linecap: round; }
.squatter .sq-tail { fill: none; stroke: #6b4430; stroke-width: 4.4; stroke-linecap: round; }
.squatter .sq-neck { fill: none; stroke: #6b4430; stroke-width: 7.5; stroke-linecap: round; }
.squatter .sq-ear { fill: #4a2c1d; }
.squatter .sq-nose { fill: var(--ink); }
.squatter .sq-ball { fill: #c8d94a; }
.squatter .sq-dogrun { animation: dogRun 3.4s linear infinite; }
@keyframes dogRun { from { transform: translateX(-56px); } to { transform: translateX(170px); } }
.ptr:not(.pulling):not(.busy) .squatter * { animation-play-state: paused; }
.plantoast { position: fixed; left: 10px; right: 10px; bottom: calc(76px + var(--safe-b)); z-index: 45; max-width: 540px; margin: 0 auto; display: flex; align-items: center; gap: 12px; background: var(--coral); color: #fff; border-radius: 16px; padding: 14px 12px 14px 14px; box-shadow: 0 10px 30px rgba(236,122,76,.45), 0 2px 8px rgba(0,0,0,.2); animation: ptIn .45s cubic-bezier(.2,1.4,.4,1) both; }
.plantoast .pt-i { flex: none; width: 40px; height: 40px; border-radius: 99px; background: rgba(255,255,255,.22); display: grid; place-items: center; animation: ptRing 1.6s ease-in-out .5s 3; transform-origin: 50% 20%; }
.plantoast .pt-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.plantoast .pt-t b { font-family: var(--display, inherit); font-size: 17px; font-weight: 800; line-height: 1.2; }
.plantoast .pt-t span { font-size: 13.5px; font-weight: 600; opacity: .95; line-height: 1.3; overflow-wrap: anywhere; }
.plantoast button { flex: none; border: 0; border-radius: 99px; padding: 10px 16px; background: #fff; color: var(--ink); font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
@keyframes ptIn { from { transform: translateY(40px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ptRing { 0%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } 50% { transform: rotate(0); } }
button.link-in { background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.steps { margin: 6px 0 10px; padding-left: 22px; display: grid; gap: 10px; font-size: 15px; }
.ii { width: 20px; height: 20px; vertical-align: -4px; fill: none; stroke: #0a84ff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cu.more span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* Accessory weights */
.item .acc { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 2px; font-size: 13px; cursor: default; }
.acc .sug { font-weight: 700; color: var(--ink); background: var(--tint); border-radius: 8px; padding: 5px 9px; line-height: 1.3; }
.acc .last { color: var(--muted); font-weight: 600; }
.acc .used { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: 12.5px; }
.acc input { width: 64px; padding: 7px 8px; border: 1.5px solid var(--silver-lt); border-radius: 9px; font: inherit; font-size: 15px; font-weight: 800; color: var(--ink); text-align: center; background: #fff; }
.acc input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px var(--sky-tint); }
.item.done .acc .sug { color: var(--muted); }
.accnote { margin: 10px 2px 0; }

/* Unlock screen */
.keyhelp { margin-top: 18px; font-size: 14px; color: var(--gun); }
.keyhelp p { margin: 6px 0 0; line-height: 1.45; }
.keyhelp a { color: var(--coral); font-weight: 700; }
.fine.center { text-align: center; margin-top: 16px; }
#lkey { font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
#lkey::placeholder { text-transform: none; letter-spacing: 0; font-size: 13px; }

/* plan-change pop-up */
.pm-bg { align-items: center; padding: 16px; z-index: 60; background: rgba(18,21,24,.6); }
.planmodal { width: 100%; max-width: 440px; max-height: calc(100vh - 32px - var(--safe-t) - var(--safe-b)); display: flex; flex-direction: column; background: var(--bg); border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); animation: pmIn .35s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes pmIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.pm-h { display: flex; align-items: center; gap: 12px; background: var(--coral); color: #fff; padding: 16px; }
.pm-h .pt-i { flex: none; width: 42px; height: 42px; border-radius: 99px; background: rgba(255,255,255,.22); display: grid; place-items: center; animation: ptRing 1.6s ease-in-out .4s 3; transform-origin: 50% 20%; }
.pm-h b { display: block; font-size: 19px; font-weight: 800; line-height: 1.2; }
.pm-h span { display: block; font-size: 13.5px; font-weight: 600; opacity: .95; margin-top: 2px; }
.pm-b { overflow: auto; padding: 14px 14px 4px; }
.pm-msg { font-weight: 600; font-style: italic; margin: 0 0 8px; }
.pm-f { padding: 10px 14px calc(14px + 0px); border-top: 1px solid var(--line); background: #fff; }
.pm-f .fine { text-align: center; margin: 8px 0 0; }
/* list of changes (pop-up and Account) */
.chg { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.chg-g { display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: #fff; border: 0; border-left: 4px solid var(--coral); border-radius: 10px; box-shadow: 0 0 0 1px var(--line); padding: 10px 12px; cursor: pointer; }
.chg-g.msg { cursor: default; border-left-color: var(--peach); }
.chg-d { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #c4552a; }
.chg-d i { font-style: normal; font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--coral); }
.chg ul { margin: 4px 0 0; padding-left: 18px; font-size: 14.5px; }
.chg li { margin: 3px 0; }
/* account */
.h3 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 22px 0 8px; }
details.upd summary { justify-content: flex-start; gap: 8px; font-size: 15px; }
details.upd summary span:not(.upd-dot) { margin-left: auto; margin-right: 8px; font-weight: 600; font-size: 13px; color: var(--muted); }
.upd-dot { width: 9px; height: 9px; border-radius: 99px; background: var(--coral); flex: none; }
details.upd .chg { padding: 0 12px 4px; }

.eqlist button span small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }

/* share a workout */
.sharebtn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 6px; background: var(--coral); }
.sharebtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.shareprev { display: flex; justify-content: center; padding: 10px; border-radius: 14px; background: var(--tint); margin: 4px 0 12px; }
.shareprev.see { background: repeating-conic-gradient(#d9dde1 0 25%, #f3f4f6 0 50%) 0 0 / 22px 22px; }
.shareprev img { display: block; max-width: 100%; max-height: 52vh; border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }

.dbs { margin-top: 10px; }
.dbgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.dbgrid button { border: 0; border-radius: 9px; padding: 10px 0; font: inherit; font-weight: 700; font-size: 15px; background: var(--tint); color: var(--muted); cursor: pointer; }
.dbgrid button.on { background: var(--ink); color: #fff; }

.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--card); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 12px 14px; margin: 0 0 10px; font-weight: 700; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch i { position: relative; flex: none; width: 50px; height: 30px; border-radius: 99px; background: #cfd4d9; transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 99px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + i { background: var(--coral); }
.switch input:checked + i::after { transform: translateX(20px); }


/* recommended warm-up */
.wubtn { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 12px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.wubtn svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--coral); stroke-width: 2; stroke-linejoin: round; }
.wubtn span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wubtn b { font-size: 15px; }
.wubtn small { font-size: 12.5px; color: var(--muted); }
.wubtn i { font-style: normal; font-size: 13px; font-weight: 700; color: var(--coral); }
.wulist { list-style: none; counter-reset: wu; margin: 12px 0 0; padding: 0; }
.wulist li { counter-increment: wu; display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.wulist li::before { content: counter(wu); grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }
.wulist b { font-size: 15px; }
.wulist span, .wuramp span { font-size: 13.5px; color: var(--muted); }
.wuprim { margin: 4px 0 0; padding: 10px 12px; border-left: 3px solid var(--coral); background: var(--tint); border-radius: 0 10px 10px 0; font-size: 14px; }
.wuh { margin: 18px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wuramp { list-style: none; margin: 0; padding: 0; }
.wuramp li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.wuramp li.work b, .wuramp li.work span { color: var(--coral); }

/* day-complete flyby */
.flyby { position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden; }
.fb-track { position: absolute; left: -300px; width: calc(100vw + 600px); top: 44%; height: 110px; transform: rotate(-13deg); }
.fb-car { position: absolute; top: 0; left: 0; width: 280px; animation: fbCar 1.35s cubic-bezier(.45, 0, .7, 1) forwards; }
.fb-car svg { display: block; width: 100%; height: auto; animation: fbBob .3s ease-in-out infinite alternate; filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); }
.fb-glow { animation: fbGlow .25s ease-in-out infinite alternate; }
.fb-fire { position: absolute; left: 0; height: 8px; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,90,20,0), #ff5a14 30%, #ff9a3c 65%, #ffd27a 88%, #fffbe8);
  box-shadow: 0 0 14px 4px rgba(255,110,40,.65), 0 0 3px 1px #fff3c4;
  animation: fbFire 1.35s cubic-bezier(.45, 0, .7, 1) forwards, fbFade 3.4s linear forwards; }
.fb-fire.a { top: 67px; }
.fb-fire.b { top: 77px; }
.fb-msg { position: absolute; left: 50%; bottom: calc(110px + var(--safe-b)); transform: translateX(-50%); white-space: nowrap;
  background: var(--dark); color: #fff; border-radius: 99px; padding: 10px 18px; box-shadow: 0 0 0 2px var(--coral);
  font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .02em;
  opacity: 0; animation: fbMsg 3.4s ease forwards; }
.flyby.calm .fb-track { display: none; }
.flyby.calm .fb-msg { animation-duration: 2.2s; }
@keyframes fbCar { from { left: 0; } to { left: calc(100% - 280px); } }
@keyframes fbFire { from { width: 0; } to { width: calc(100% - 267px); } }
@keyframes fbFade { 0%, 42% { opacity: 1; } 47% { opacity: .5; } 52% { opacity: 1; } 58% { opacity: .7; } 100% { opacity: 0; } }
@keyframes fbBob { from { transform: translateY(-2px); } to { transform: translateY(2px); } }
@keyframes fbGlow { from { opacity: .55; } to { opacity: 1; } }
@keyframes fbMsg { 0%, 25% { opacity: 0; transform: translate(-50%, 10px); } 35%, 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 0); } }

/* day-complete celebrations: scenes (ghost hunter, aerobics dancer) */
.fb-scene { position: absolute; left: 50%; top: 42%; width: min(94vw, 440px); transform: translate(-50%, -50%); animation: fbScene 3.6s ease forwards; }
.fb-scene svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); }
.gh-hunter { transform-box: view-box; }
.dn-leg, .dn-arm, .dn-body { transform-box: fill-box; }
@keyframes fbScene { 0% { opacity: 0; transform: translate(-50%, -46%) scale(.9); } 10%, 86% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); } }

.gh-hunter { animation: ghIn .45s cubic-bezier(.2, .8, .3, 1.2) both, ghKick .08s linear .55s 26 alternate; }
.gh-beam { opacity: 0; filter: drop-shadow(0 0 6px #ec7a4c); animation: ghBeam 3.6s linear forwards; }
.gh-led { animation: ghLed .2s steps(2) infinite; }
.gh-ghost { transform-box: fill-box; transform-origin: center; animation: ghFloat .5s ease-in-out infinite alternate, ghGone 3.6s ease-in forwards; }
.gh-poof circle { opacity: 0; transform-box: fill-box; transform-origin: center; animation: ghPoof 3.6s ease-out forwards; }
@keyframes ghIn { from { transform: translateX(-90px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ghKick { from { transform: translateX(0); } to { transform: translateX(-2px); } }
@keyframes ghBeam { 0%, 14% { opacity: 0; } 16%, 70% { opacity: 1; } 74%, 100% { opacity: 0; } }
@keyframes ghLed { to { opacity: .3; } }
@keyframes ghFloat { from { translate: 0 -4px; } to { translate: 0 4px; } }
@keyframes ghGone { 0%, 16% { transform: rotate(0) scale(1); opacity: 1; } 20%, 60% { transform: rotate(-6deg) scale(1); } 30%, 50% { transform: rotate(6deg) scale(.95); } 72% { transform: rotate(200deg) scale(.15); opacity: 1; } 76%, 100% { transform: rotate(260deg) scale(0); opacity: 0; } }
@keyframes ghPoof { 0%, 70% { opacity: 0; transform: scale(.2); } 78% { opacity: 1; transform: scale(1.6); } 100% { opacity: 0; transform: scale(2.4); } }

.dn-body { transform-origin: 50% 100%; animation: dnBob .25s ease-in-out infinite alternate; }
.dn-leg.back { transform-origin: 50% 4%; animation: dnLeg .5s ease-in-out infinite alternate; }
.dn-leg.front { transform-origin: 50% 4%; animation: dnLeg .5s ease-in-out infinite alternate-reverse; }
.dn-arm.back { transform-origin: 75% 10%; animation: dnArm .5s ease-in-out infinite alternate-reverse; }
.dn-arm.front { transform-origin: 20% 10%; animation: dnArm .5s ease-in-out infinite alternate; }
.dn-spk { transform-box: fill-box; transform-origin: center; animation: dnThump .25s ease-in-out infinite alternate; }
.dn-notes g { opacity: 0; animation: dnNote 1.2s ease-out infinite; }
.dn-notes .n2 { animation-delay: .4s; }
.dn-notes .n3 { animation-delay: .8s; }
@keyframes dnBob { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@keyframes dnLeg { from { transform: rotate(-28deg); } to { transform: rotate(22deg); } }
@keyframes dnArm { from { transform: rotate(-40deg); } to { transform: rotate(35deg); } }
@keyframes dnThump { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes dnNote { 0% { opacity: 0; transform: translate(0, 0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(-12px, -46px); } }
.flyby.fb-ghost::before, .flyby.fb-dance::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 42%, rgba(18,21,24,.55), rgba(18,21,24,.25) 70%); animation: fbDim 3.6s ease forwards; }
@keyframes fbDim { 0% { opacity: 0; } 10%, 86% { opacity: 1; } 100% { opacity: 0; } }

/* Accessory dropdown: one circle per set */
.item.accx { grid-template-columns: 26px 1fr auto 34px; cursor: default; }
.item.accx [data-open] { cursor: pointer; }
.tickbtn { border: 0; background: none; padding: 4px; margin: -4px; cursor: pointer; display: grid; place-items: center; }
.drop-t { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 0; background: var(--tint); border-radius: 9px; padding: 8px 10px; margin-top: 2px; font: inherit; font-size: 13px; font-weight: 700; color: var(--gun); cursor: pointer; text-align: left; }
.drop-t svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; flex: none; }
.item.open .drop-t svg { transform: rotate(180deg); }
.drop { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; padding-top: 4px; cursor: default; }
.drop[hidden] { display: none; }
.setchips { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.setchips button { display: flex; align-items: center; justify-content: space-between; gap: 6px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; min-height: 46px; }
.setchips button .tick { width: 24px; height: 24px; }
.setchips button.on { background: var(--sky-tint); border-color: var(--sky); }
.ctag.fb { background: var(--coral); color: #fff; }

/* Form checks */
.formarea { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.formarea .fine { margin: 0; }
.filmbtn { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px dashed var(--silver); border-radius: 10px; padding: 12px; font-weight: 800; font-size: 14.5px; color: var(--ink); cursor: pointer; background: #fff; }
.filmbtn svg { width: 22px; height: 22px; fill: none; stroke: var(--coral); stroke-width: 2; stroke-linejoin: round; }
.fcrow { display: flex; align-items: center; gap: 10px; background: var(--tint); border-radius: 10px; padding: 10px 12px; }
.fcrow > div { flex: 1; min-width: 0; font-size: 13.5px; }
.fcrow b { display: block; font-size: 13.5px; }
.fcrow span { color: var(--muted); font-weight: 600; }
.fcrow.good span { color: #2f7d4f; } .fcrow.fix span { color: #b4441b; }
.fcrow button { border: 0; border-radius: 8px; background: var(--ink); color: #fff; font: inherit; font-weight: 800; font-size: 13px; padding: 8px 12px; cursor: pointer; }
.fcreply { margin: 6px 0 0; padding: 8px 10px; background: #fff; border-left: 3px solid var(--coral); border-radius: 6px; font-size: 14px; color: var(--ink); white-space: pre-wrap; }
.fcq { margin: 6px 0; font-size: 14px; color: var(--gun); font-style: italic; }
.fcmedia { display: grid; place-items: center; background: var(--tint); border-radius: 12px; overflow: hidden; min-height: 60px; margin: 8px 0; }
.fcmedia video, .fcmedia img { display: block; width: 100%; max-height: 36vh; object-fit: contain; background: #000; }
.fcnote { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.fcnote textarea, .fccard textarea { width: 100%; border: 1.5px solid var(--silver-lt); border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 15px; color: var(--ink); resize: vertical; }
.fcdone { background: var(--sky-tint); border-radius: 10px; padding: 12px; font-size: 14.5px; }
.fcig { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.fcig-t { font-weight: 800; font-size: 15px; }
.fcig .steps { font-size: 14px; }
.btn.sm { padding: 9px 14px; font-size: 14px; min-height: 0; }
.fcwait { color: var(--coral) !important; font-weight: 800; }
.fclist { display: flex; flex-direction: column; gap: 12px; }
.fccard { background: var(--card); border-radius: 12px; padding: 12px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 8px; }
.fccard.wait { box-shadow: inset 0 0 0 2px var(--coral); }
.fch { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.fch span { font-size: 12.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.fcact { display: flex; align-items: center; justify-content: space-between; }
.btn.ghost.sm { margin-top: 0; color: var(--ink); }
.fcsend .btn.wide { margin-top: 0; }
.item.accx .rx { max-width: 118px; }

/* iPhone zooms the whole page in when you tap a box whose text is under 16px, and stays zoomed:
   the right edge gets cut off and the bottom bar drifts when you scroll. Keep every box at 16px. */
.acc input, .row input[type=date], .pe input:not([type=checkbox]), .fcnote textarea, .fccard textarea, #lkey { font-size: 16px; }

/* Notifications */
.tabs a { position: relative; }
.tdot { position: absolute; top: 2px; left: calc(50% + 7px); width: 10px; height: 10px; border-radius: 99px; background: var(--coral); box-shadow: 0 0 0 2px var(--dark); }
.nh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.nh .linkbtn { font-size: 13.5px; }
.nnew { display: inline-block; vertical-align: 2px; background: var(--coral); color: #fff; border-radius: 99px; padding: 1px 8px; font-size: 11px; letter-spacing: .04em; font-family: inherit; font-style: normal; }
details.upd summary { align-items: center; }
.upd-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.upd-t b { font-size: 15px; line-height: 1.25; }
.upd-t small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
details.upd summary span.upd-t { margin: 0; font-size: inherit; color: inherit; }
.upd-mark { flex: none; border: 0; border-radius: 99px; background: var(--coral); color: #fff; font: inherit; font-size: 12.5px; font-weight: 800; padding: 6px 11px; cursor: pointer; margin-right: 6px; }
details.upd.read { background: var(--tint); box-shadow: none; }
details.upd.read .upd-dot { background: var(--silver-lt); }
details.upd.read .upd-t b, details.upd.read .chg, details.upd.read .nbody { color: var(--muted); }
details.upd.read .chg-g { border-left-color: var(--silver); }
details.upd.read .chg-d, details.upd.read .chg-d i { color: var(--muted); }
.nbody { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.nrow { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.vpill { display: inline-block; border-radius: 99px; padding: 3px 10px; font-size: 12px; font-weight: 800; color: #fff; }
.vpill.good { background: #2f7d4f; } .vpill.fix { background: #b4441b; }
.pm-f .btn.ghost.wide { margin-top: 8px; }
.pm-b .nbody { padding: 0; }

/* Coach: To review */
.inbox-clear { background: var(--tint); border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--muted); margin: 8px 0 4px; }
.fcsub { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.fcsub a { color: var(--coral); font-weight: 700; }
.fcbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fcbtns .btn { margin: 0; }
.btn.good { background: #2f7d4f; } .btn.fix { background: #b4441b; }
.fcdel { align-self: flex-start; font-size: 13px; }
.fccard.sent { box-shadow: 0 0 0 1px var(--line); background: var(--tint); }
.fcsent { display: flex; align-items: center; gap: 8px; font-size: 15px; }

/* Setup notes: one per movement, shown every week */
.sn { margin-top: 5px; font-size: 13px; line-height: 1.3; color: var(--gun); background: #fff4e6; border-left: 3px solid var(--peach); border-radius: 6px; padding: 4px 8px; }
.sn b { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #c4552a; margin-right: 2px; }
.sn[hidden] { display: none; }
.main .sn { background: rgba(255,255,255,.08); color: #fff; }
.main .sn b { color: var(--peach); }
.snedit { display: block; }
.snedit span { display: flex; align-items: baseline; justify-content: space-between; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.snedit small { font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.snedit textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); resize: vertical; }
.snedit textarea:focus { outline: none; border-color: var(--sky); }
.snbtn { display: block; margin-top: 10px; border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 700; color: var(--peach); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.snbox { margin-top: 8px; }
.snbox[hidden] { display: none; }
.main .snedit span, .main .snedit small { color: var(--silver); }

/* Custom programs (rotating days, a weight per set) */
.cxgym { margin-bottom: 6px; }
.cxnext { display: block; background: var(--dark); color: #fff; border-radius: 14px; padding: 16px; text-decoration: none; position: relative; overflow: hidden; margin: 4px 0 6px; }
.cxnext::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(to right, var(--sky), var(--peach), var(--coral)); }
.cxnext .cxk { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--peach); }
.cxnext b { display: block; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: 1.05; margin-top: 4px; }
.cxnext .cxt { display: block; color: var(--silver-lt); font-size: 15px; margin-top: 2px; }
.cxnext .btn { display: block; margin-top: 14px; background: #fff; color: var(--ink); }
.cxdays { display: grid; gap: 8px; }
.cxdays a { display: grid; grid-template-columns: 58px 1fr; grid-template-rows: auto auto; column-gap: 10px; background: var(--card); border-radius: 12px; padding: 11px 12px; box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); }
.cxdays a.on { box-shadow: inset 0 0 0 2px var(--ink); }
.cxdays b { grid-row: 1 / 3; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 18px; text-transform: uppercase; align-self: center; }
.cxdays span { font-weight: 700; font-size: 15px; }
.cxdays small { color: var(--muted); font-size: 12.5px; }
.cxhead { background: var(--dark); color: #fff; border-radius: 14px; padding: 14px 16px; margin: 6px 0 10px; }
.cxlist { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cxe { background: var(--card); border-radius: 12px; padding: 12px; box-shadow: 0 0 0 1px var(--line); }
.cxe.done { background: #f1f4f2; }
.cxe.done .en { color: var(--muted); }
.cxe.moved { opacity: .6; }
.cxh { display: grid; grid-template-columns: 26px 1fr 34px; gap: 10px; align-items: start; }
.cxh .num { margin-top: 2px; }
.cxh .en { font-weight: 800; font-size: 16px; line-height: 1.2; }
.cxh .tickbtn { border: 0; background: none; padding: 0; cursor: pointer; justify-self: end; }
.cxopts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0 36px; }
.cxopts button { border: 0; background: var(--tint); color: var(--muted); border-radius: 99px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.cxopts button.on { background: var(--ink); color: #fff; }
.cxlast { margin: 10px 0 0 36px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.cxlast b { color: var(--ink); }
.cxsets { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 0 36px; }
.cxset { display: grid; grid-template-columns: 48px 1fr 32px; align-items: center; gap: 8px; background: var(--tint); border-radius: 10px; padding: 6px 8px; }
.cxset.on { background: #e3efe7; }
.cxset .sl { font-size: 13px; font-weight: 700; color: var(--muted); }
.cxset label { display: flex; align-items: center; gap: 6px; }
.cxset input { width: 100%; max-width: 110px; border: 1.5px solid var(--line); border-radius: 8px; padding: 7px 9px; font: inherit; font-size: 16px; font-weight: 700; background: #fff; }
.cxset small { color: var(--muted); font-size: 13px; }
.cxset button { border: 0; background: none; padding: 0; cursor: pointer; }
.cxask { display: block; width: calc(100% - 36px); margin: 10px 0 0 36px; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 16px; }
.cxlines { margin: 8px 0 0 36px; padding-left: 18px; font-size: 14px; line-height: 1.5; }
.cxe .setchips { margin: 8px 0 0 36px; }
.cxe .snbtn { margin-left: 36px; }
.cxe .snbox { margin-left: 36px; }
.cxe .sn { margin-top: 6px; }
.cxov { background: var(--card); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 12px; margin-bottom: 8px; }
.cxov summary { cursor: pointer; font-size: 15px; }
.cxov ol { padding-left: 20px; margin: 10px 0 0; }
.cxov li { margin-bottom: 6px; font-size: 14px; }
.cxov li span { display: block; color: var(--muted); font-size: 12.5px; }
.cxov li em { color: var(--muted); font-size: 12px; }
.cxov .btn.ghost { margin-top: 8px; }
.cxwl { padding: 0 12px; }
.cxw { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cxw:last-child { border-bottom: 0; }
.cxw span { font-weight: 700; font-size: 14px; }
.cxw small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.cxw b { white-space: nowrap; font-size: 14px; }
.cxcoach { background: var(--tint); border-radius: 12px; padding: 12px; margin-top: 10px; }
.cxcoach select { width: 100%; margin: 8px 0 0; padding: 10px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; font-size: 16px; background: #fff; }
.cxcoach .btn { margin-top: 8px; }
.cxcoach .btn.ghost { margin-top: 8px; }
.client span.chips { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; }
.client .chips small { font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: right; max-width: 120px; line-height: 1.2; }
.cxwk { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 6px 0 2px; }
.cxhead .cxwk { color: var(--peach); margin: 0 0 4px; }
.cxup { margin: 6px 0 0 36px; font-size: 13px; font-weight: 700; color: #2e7d4f; background: #e9f5ee; border-radius: 8px; padding: 6px 9px; line-height: 1.3; }
.cxe .formarea { margin: 10px 0 0 36px; }
.cxe .updnt { margin-top: 3px; }
.cxcal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 8px; }
.cxcal span { min-height: 44px; border-radius: 8px; background: var(--card); box-shadow: 0 0 0 1px var(--line); padding: 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cxcal span.hd { min-height: 0; background: none; box-shadow: none; font-size: 11px; font-weight: 800; color: var(--muted); }
.cxcal small { font-size: 11px; color: var(--muted); }
.cxcal b { font-size: 11px; font-weight: 800; color: #fff; background: var(--coral); border-radius: 99px; padding: 1px 6px; }
.cxcal span.did { background: #fff4ec; }
.cxcal span.today { box-shadow: inset 0 0 0 2px var(--ink); }
.cxcal span.fut { opacity: .45; }
.client > div { min-width: 0; overflow-wrap: anywhere; }

/* privacy policy + terms pages, and the links to them */
.legalpage main { padding: 18px 18px calc(40px + var(--safe-b)); }
.legalpage .logo { text-decoration: none; color: #fff; }
.legalpage h2 { font-family: var(--cond); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 21px; margin: 26px 0 6px; }
.legalpage p, .legalpage li { font-size: 15.5px; line-height: 1.5; }
.legalpage ul { padding-left: 20px; margin: 6px 0 12px; }
.legalpage li { margin-bottom: 6px; }
.legalpage a { color: var(--coral); font-weight: 600; }
.legalwarn { background: #fff4ee; border-left: 4px solid var(--coral); border-radius: 8px; padding: 2px 16px; }
.legalnav { display: flex; gap: 20px; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); }
.legal { font-size: 13px; color: var(--muted); text-align: center; margin: 14px 0 0; line-height: 1.5; }
.legal a { color: inherit; font-weight: 600; text-decoration: underline; }
.welcome .legal { color: var(--silver); }
.legal.links a + a { margin-left: 14px; }
.btn.danger { color: #b4441b; box-shadow: inset 0 0 0 1.5px #e9b9a5; }
.sheet .btn.dangerfill { background: #b4441b; color: #fff; }
.sheet .btn.dangerfill:disabled { opacity: .4; }

/* "How to" movement animations */
.howbtn { display: inline-flex; align-items: center; gap: 5px; margin: 6px 0 2px; padding: 3px 10px 3px 4px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.howbtn svg { width: 17px; height: 17px; flex: none; }
.howbtn svg circle { fill: var(--coral); }
.howbtn svg path { fill: #fff; }
.main .howbtn { font-family: inherit; font-style: normal; text-transform: none; }
.wulist li .howbtn, .cxlines li .howbtn { margin: 4px 0 0; display: flex; width: max-content; }
.howbox { background: var(--tint); border-radius: 14px; margin: 8px 0 12px; overflow: hidden; }
.howbox svg { display: block; width: 100%; height: auto; }
.howcue { font-size: 15.5px; line-height: 1.45; margin: 0 0 6px; }
.hownote { font-size: 13px; line-height: 1.4; color: var(--muted); margin: 0 0 8px; }
.wulist li .howbtn { grid-column: 2; }
.ck-u { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--muted); }
/* coach preview of a client's screens */
.pvbar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 14px; padding-top: max(9px, env(safe-area-inset-top)); background: var(--coral, #ec7a4c); color: #fff; font-size: 13.5px; line-height: 1.3; }
.pvbar button { flex: none; background: #fff; color: var(--ink); border: 0; border-radius: 8px; padding: 7px 14px; font: inherit; font-weight: 700; }
.previewing main input, .previewing main textarea, .previewing main select { pointer-events: none; }
/* Arm Day add-on */
.armcard { display: block; margin-top: 14px; background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 0 0 1px var(--line); position: relative; overflow: hidden; text-decoration: none; color: var(--ink); }
.armcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(to right, var(--sky), var(--peach), var(--coral)); }
.armcard.on { background: var(--dark); color: #fff; box-shadow: none; }
.armcard .ak { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.armcard.on .ak { color: var(--peach); }
.armcard b { display: block; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1.05; margin-top: 4px; }
.armcard .at { display: block; font-size: 14.5px; line-height: 1.4; margin-top: 6px; color: var(--muted); }
.armcard.on .at { color: var(--silver-lt); }
.armcard .btn { display: block; margin-top: 12px; text-align: center; }
.armcard.on .btn { background: #fff; color: var(--ink); }
.armprev { margin: 8px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.5; }
.armx { grid-template-columns: 26px 1fr auto; cursor: default; }
.armx .armsets { grid-column: 1 / -1; }
.armx .rx small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); text-align: right; }
.armsets { display: grid; gap: 6px; }
.armset { display: grid; grid-template-columns: 44px 1fr 30px; align-items: center; gap: 4px 8px; padding: 6px 8px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; user-select: none; }
.armset.on { background: var(--sky-tint); border-color: var(--sky); }
.armset .sl { font-size: 13px; font-weight: 800; color: var(--muted); }
.armset .av { display: flex; align-items: center; gap: 6px; min-width: 0; }
.armset input { height: 40px; border-radius: 8px; border: 1px solid var(--silver-lt); background: #fff; text-align: center; font: inherit; font-size: 17px; font-weight: 700; color: var(--ink); min-width: 0; user-select: text; }
.armset input.aw { width: 72px; }
.armset input.aw.band { width: 112px; font-size: 15px; }
.armset input.ar { width: 54px; }
.armset .au { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.armset .ax { font-size: 15px; font-weight: 700; color: var(--muted); }
.armset .tickbtn { margin: 0; justify-self: end; }
.armset .al { grid-column: 2 / -1; font-size: 12px; color: var(--muted); margin-top: -2px; }
.ssgrp { list-style: none; border-left: 4px solid var(--peach); padding-left: 8px; }
.ssgrp .ex { gap: 8px; }
.sslabel { font-size: 13px; font-weight: 700; color: var(--muted); margin: 2px 0 6px; }
.armrule { margin-top: 14px; }
.armup { margin-top: 16px; }

/* Saturday: long run, Arm Day or other */
.cb button .lk { width: 14px; height: 14px; margin-left: 5px; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.othercard { margin-top: 12px; background: var(--sky-tint); border-radius: 12px; padding: 12px 14px; box-shadow: inset 0 0 0 1px #d4e9f6; }
.othercard.done { background: #f1f4f2; box-shadow: inset 0 0 0 1px var(--line); }
.othercard label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.othercard input { height: 44px; border-radius: 10px; border: 1px solid var(--silver-lt); background: #fff; padding: 0 12px; font: inherit; font-size: 16px; color: var(--ink); }
.othercard .btn { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.othercard .btn .tick { width: 22px; height: 22px; }
.othercard .err:empty { display: none; }
.satarms.done { background: #23302a; }

/* cycle trophies */
.trophy { display: block; width: 100%; height: auto; overflow: visible; }
.trophy .tp1 { font: 800 9px var(--cond, sans-serif); font-style: italic; letter-spacing: .08em; fill: #5a3f0c; text-anchor: middle; }
.trophy .tp2 { font: 800 6.5px var(--cond, sans-serif); letter-spacing: .14em; fill: #5a3f0c; text-anchor: middle; }
.trophy .tq { font: 800 40px var(--cond, sans-serif); font-style: italic; fill: #8b949d; text-anchor: middle; }
.trophy.locked .tbody { filter: brightness(0) opacity(.18); }
.shelf { background: linear-gradient(#20252b, #15191d); border-radius: 14px; padding: 14px 10px 0; overflow: hidden; }
.shelf-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.shelf-row::-webkit-scrollbar { display: none; }
.tslot { flex: 0 0 86px; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; padding: 0; font: inherit; color: var(--silver-lt); cursor: pointer; }
.tslot svg { width: 78px; filter: drop-shadow(0 6px 6px rgba(0,0,0,.45)); }
.tslot span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tslot.next { cursor: default; color: var(--silver); }
.tslot.next svg { filter: none; }
.shelf-board { height: 12px; margin: 4px -10px 0; background: linear-gradient(#6b4a35, #3d2a1e); box-shadow: 0 -2px 0 rgba(255,255,255,.08) inset; }
.tnext { margin-top: 8px; }
.tspot { position: fixed; inset: 0; z-index: 90; background: radial-gradient(ellipse at 50% 38%, #2a2f35 0%, #0b0d0f 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; color: #fff; text-align: center; animation: tsFade .4s ease-out; }
.tbeam { position: absolute; top: -10%; left: 50%; width: 120vmin; height: 90vh; transform: translateX(-50%); background: conic-gradient(from 166deg at 50% 0%, transparent 0deg, rgba(255,240,190,.32) 10deg, rgba(255,240,190,.32) 18deg, transparent 28deg); pointer-events: none; animation: tsBeam 1s ease-out both; }
.tstage { position: relative; width: min(52vw, 220px); perspective: 700px; }
.tstage .trophy { animation: tsSpin 2.2s cubic-bezier(.2,.7,.2,1) both; transform-origin: 50% 60%; filter: drop-shadow(0 18px 18px rgba(0,0,0,.6)); }
.tstage::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -10px; height: 18px; border-radius: 50%; background: radial-gradient(rgba(255,240,190,.35), transparent 70%); }
.ttext { position: relative; max-width: 340px; margin-top: 26px; animation: tsUp .6s 1.6s ease-out both; }
.ttext .tk { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--peach); }
.ttext .tt { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 30px; line-height: 1.05; text-transform: uppercase; margin-top: 6px; }
.ttext p { color: var(--silver-lt); font-size: 15px; line-height: 1.45; margin: 10px 0 18px; }
.ttext .btn { background: #fff; color: var(--ink); }
.tspot.replay .tstage .trophy { animation-duration: 1.4s; }
.tspot.replay .ttext { animation-delay: .8s; }
@keyframes tsFade { from { opacity: 0; } }
@keyframes tsBeam { from { opacity: 0; } }
@keyframes tsSpin { 0% { transform: scale(.3) rotateY(-540deg); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(1) rotateY(0); } }
@keyframes tsUp { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .tspot, .tbeam, .tstage .trophy, .ttext { animation: none !important; } }

/* morning check-in */
.checkin { background: var(--card); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; box-shadow: 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.checkin::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--sky), var(--peach), var(--coral)); }
.ci-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.ci-h b { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 18px; text-transform: uppercase; }
.ci-h span { font-size: 12px; color: var(--muted); font-weight: 600; }
.ci-ch { border: 0; background: none; padding: 4px 0; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--coral); cursor: pointer; }
.ci-q { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 0; flex-wrap: wrap; }
.ci-q > span { font-size: 14px; font-weight: 700; }
.ci-q .seg button { padding: 7px 11px; font-size: 13.5px; }
.ci-said { font-size: 13px; color: var(--muted); font-weight: 600; }
.ci-a { margin: 8px 0 0; font-size: 14.5px; line-height: 1.45; }
.ci-f { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
