/* Soft Acro Aaron 2.0 "Signature" layer for the One Skill program page (13 Nov 2026).
   Loaded AFTER page.css (which snap_css.py has already snapped to the scale). Keeps the colours, fonts, pictures
   and every function. Adds: one set of widths, one left edge, one corner family, one shadow, sentence-case labels,
   a few touches. The weight, label and corner lists below were generated from the snapped page.css (selector by selector). */

/* ---- 1. Type scale: 14 label / 16 small / 17 body (18 on laptop) / 22 heading / 30 title ---- */
:root{--sig-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 1px 2px rgba(16,50,74,.06),0 10px 24px -14px rgba(16,50,74,.22);
  --shadow-card:var(--sig-shadow);--shadow-float:var(--sig-shadow);--shadow-press:0 1px 2px rgba(16,50,74,.18);--sig-pad:20px;--sig-col:560px}
body{font-size:17px}
@media (min-width:720px){body{font-size:18px}}
.prog{font-size:inherit}
.sub,.dose,.rest,.dext,.cnote,.mail p,.head .bnote,.note,.small,.links,.tex,.row .nm,.sub2,.race .calm,.cdwarm,.alt .nmw{font-size:16px}
.sub2,.dh .t,.tag,.pk,.secs,.tlab{font-size:14px}
.tclock{font-size:30px}
.rounds{font-size:22px}
h1,.head h1{text-wrap:balance}
p,.sub,.dose,.note,.cnote,.dext,.race p,.mail p{text-wrap:pretty}
h2,h3,.rounds{text-wrap:balance}
.tclock,.tex,.tlab,.secs,.pk span,.dh .t,.tn,.today,.use,.head .meta{font-variant-numeric:tabular-nums}

/* ---- 2. Three weights: 400 text, 600 emphasis and headings, 700 only the page title ---- */
html .ribbon,
html .eyebrow,
html .segs button,
html .dh h3,
html .today,
html .pk,
html .secs,
html .dext span,
html .dext .go,
html .goaltag,
html .tclock,
html .tlab,
html .rounds,
html section>h2,
html .tn,
html .mail .go,
html .homebtn,
html .sheetbtns button,
html .lt,
html .pick button,
html .alts h4,
html .use,
html .swapped-tag,
html .ctab,
html .pdf,
html .rcard dt,
html .lpanel .chg button,
html .pdone{font-weight:600}
html .prog :is(b,strong,h2,h3,h4){font-weight:600}
html .head h1{font-weight:700}

/* ---- 3. Labels: sentence case, 14 / 600. Only the top brand line stays spaced capitals ---- */
html .eyebrow,
html .pk,
html .goaltag,
html .alts h4,
html .rcard dt{text-transform:none;letter-spacing:0;font-size:14px;font-weight:600}
html .prog .head .eyebrow{text-transform:uppercase;letter-spacing:.08em;font-weight:600}
.today{letter-spacing:0}

/* ---- 4. Widths: tile = full column (phone: page minus 16 px edges; laptop: one 560 px column), row = tile minus 20 px each side ---- */
.prog{max-width:calc(var(--sig-col) + 32px)}
.car{gap:16px;margin-inline:-8px;padding-inline:8px;scroll-padding-inline:8px}
.day{flex:0 0 calc(100% - 26px)} /* keep the peek of the next day - it says 'swipe me' (Aaron likes the slider) */
.msg,.day,.race{padding:var(--sig-pad);overflow:hidden}
.goalbtn{width:auto;align-self:flex-start}
/* one left edge for the whole top (Aaron 12 Nov: the top felt criss-cross - centred title, left lesson, left section) */
.head{align-items:flex-start;text-align:left}
.head .bnote{text-align:left}
/* rows and groups run edge to edge of the tile; their text keeps the one row edge (tile padding) */
.grp{margin-inline:calc(var(--sig-pad) * -1);border-radius:0;background:var(--bg)}
.row{padding-inline:var(--sig-pad)}
.circ .grp{background:var(--card)}
/* the "Extra videos" list is its own tile */
.grp.res{margin-inline:0;border-radius:24px;background:var(--card);box-shadow:var(--shadow-card)}
.pk,.dose,.cnote,.dext,.rest{padding-inline:0}
.dh{padding-inline:0}
.drop{padding-inline:var(--sig-pad)}
.wrist,.undo.undorow,.rnote{padding-inline:var(--sig-pad)}
.lmenuw{padding-inline:var(--sig-pad)}
/* nested tinted blocks (conditioning circuit, calm note, Movement Freedom block): edge to edge of the tile, text on the row edge */
.circ{margin-inline:calc(var(--sig-pad) * -1);padding:12px var(--sig-pad);border-radius:0}
.tmr{margin-inline:calc(var(--sig-pad) * -1);padding:12px var(--sig-pad);border-radius:0}
.race .calm{margin-inline:calc(var(--sig-pad) * -1);padding:12px var(--sig-pad);border-radius:0}
.mfs{margin:6px calc(var(--sig-pad) * -1) calc(var(--sig-pad) * -1);padding:var(--sig-pad);border-radius:0}
.cdwarm{margin-inline:calc(var(--sig-pad) * -1);padding:10px var(--sig-pad);border-radius:0}
.sample{border-radius:14px}
.ctab{width:100%;font-size:1em}

/* ---- 5. One shadow (tiles) and no loose rings: secondary buttons get a real 2 px border, dots lose their halo ---- */
.dot,.dot.r,.dot.g{box-shadow:none}
.pdf,.sheetbtns .sec{box-shadow:none;border:2px solid var(--line-strong)}
.lpanel .chg button{box-shadow:none;border:1.5px solid var(--line-strong)}
.lpanel .chg button[aria-pressed="true"]{border-color:var(--ink)}
.lmenu{box-shadow:var(--shadow-card)}
@media (hover:hover){.goalbtn:hover{box-shadow:none;background:var(--line)}}
.sbox{box-shadow:none}

/* ---- 6. Corners: 14 inner, 24 tile, 999 pill, 50% circle. Squircles where the browser can draw them ---- */
.sbox{border-radius:24px 24px 0 0}
@supports (corner-shape:squircle){
  html .segs,
html .segs button,
html .grp,
html .circ,
html .gicon,
html .tmr,
html .cdwarm,
html .tn,
html .pick,
html .pick button,
html .alt,
html .race .calm,
html .mfs,
html .vid,
html .lmenu{corner-shape:squircle;border-radius:20px}
  html .msg,
html .day,
html .race,
html .sbox{corner-shape:squircle;border-radius:34px}
  html .sbox{border-radius:34px 34px 0 0}
  html .grp.res{border-radius:34px}
  html .circ,html .tmr,html .race .calm,html .mfs,html .cdwarm,html .grp:not(.res){border-radius:0}
}

/* ---- 7. Signature touches ---- */
/* traffic light: the chosen light grows and settles (180 ms spring) - class set by signature.js after the tap */
@keyframes sig-pop{0%{transform:scale(1)}45%{transform:scale(1.12)}100%{transform:scale(1)}}
.dot.sig-pop{animation:sig-pop .18s cubic-bezier(.34,1.56,.64,1) 1}
@media (prefers-reduced-motion:reduce){.dot.sig-pop{animation:none}}
/* middot meta strings: signature.js swaps " · " for an em space. */
.links a{padding:0 2px}

/* ======== Round 2 (13 Nov, after the judge) ======== */
/* one body size per viewport: 16 on phone, 18 on laptop */
body{font-size:16px}
@media (min-width:720px){body{font-size:18px}}
.sbar h3{font-size:22px}
.tclock{font-size:22px}
/* the day slider: the active card always starts on the 16 px edge, the next day peeks on the right only.
   A short spacer after the last card lets Fri snap to the left edge too. */
.car::after{content:"";flex:0 0 10px}
/* every light looks the same: the breathing peach capsule behind the first light is gone */
.lt.cue::before{display:none}
/* day heading: the meta line always sits under the day name */
.dh{flex-direction:column;align-items:flex-start;gap:2px}
/* timer: no empty strip under it, a visible 4 px progress bar */
.circ{padding-bottom:0}
.tmr{padding-top:14px;padding-bottom:16px}
.tbar{height:4px;background:var(--line)}
.tbar i{background:var(--signal)}
.tex{flex:1 1 100%}
.tmain{gap:4px}
.tnav{width:36px}

/* ======== Round 3 (13 Nov, after judge 2) ======== */
/* the day card is the full column again (no peek); the tabs and arrows show the days, swipe still works */
.day{flex:0 0 100%}
.car::after{display:none}
/* page title 36 px (laptop 40), Jost 700 */
.head h1{font-size:36px;line-height:1.1}
@media (min-width:720px){.head h1{font-size:40px}}
/* the "Too easy / Too hard" panel no longer repeats the three choices: the rating is changed from the pill's own menu */
.lpanel .chg{display:none}
/* swap-in rows: name on the full width, the note under it, then the play button and a quiet "Swap in" link on the last line */
.alt{flex-wrap:wrap;row-gap:0;padding:10px 12px}
.alt .nmw{flex:1 1 100%}
.alt .pv{order:2;margin-left:-10px}
.use{order:3;background:none;color:var(--blue);text-decoration:underline;text-underline-offset:3px;padding:0 8px;min-height:44px}
/* number and time chips are small rounded squares (only real buttons are pills) */
.tn,.secs{border-radius:6px}
@supports (corner-shape:squircle){html .tn,html .secs{border-radius:8px}}

/* ======== Round 4 (13 Nov, judge 3) ======== */
/* swap rows: the play button sits on the right like every other row, "Swap in" stays on the left under the note */
.use{order:2}
.alt .pv{order:3;margin-left:auto}
/* "Today" is a small chip, not a pill */
.today{border-radius:6px}
@supports (corner-shape:squircle){html .today{border-radius:8px}}
/* the challenge line now sits below the week */
.bnote.sig-moved{margin:0;color:var(--muted);font-size:16px}

/* (Round 7 below: ladder numbers removed, light chip ?lt=1|2) */
/* ======== Round 5 -> 6 (Aaron picked on 16 Nov 2026): ladder rows A "Tap the row" and laptop B "Sticky intro" are the default; the other variants are removed. ======== */
:root{--sig-sky:#2F8FCB}
:root[data-theme="dark"]{--sig-sky:#7CC3EE}
@media (prefers-color-scheme:dark){:root[data-scheme="auto"]:not([data-theme="light"]){--sig-sky:#7CC3EE}}

/* ---- Ladder rows (Round 7, Aaron 16 Nov): no number chips on the skill ladders (the conditioning circuit keeps its 1-2-3).
   The light is a borderless soft chip tinted in its own colour. ?lt=1 (default) "Top right": top right of the row, level with the first line of the name.
   ?lt=2 "Own line, with air": under the text on the text edge, 8 px of air above and the row's normal padding below. ---- */
.lrow{position:relative}
.lrow .tn{display:none}
.lrow .row{padding-top:8px;padding-bottom:2px;min-height:0;align-items:flex-start}
.lrow .row .nm{overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:balance}
.lrow .row .sub2{padding-block:6px;line-height:18px;margin-top:0;text-wrap:pretty}
:root{--sig-lr:var(--red)}
:root[data-theme="dark"]{--sig-lr:#FF5C4D}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--sig-lr:#FF5C4D}}
.lrow .lt{border-left:0;min-height:0;height:30px;width:auto;min-width:0;padding:0 10px 0 11px;gap:6px;border-radius:999px;background:color-mix(in srgb,var(--yellow) 22%,transparent);margin:0}
.lrow .lt:has(.dot.r){background:color-mix(in srgb,var(--sig-lr) 16%,transparent)}
.lrow .lt:has(.dot.g){background:color-mix(in srgb,var(--green) 18%,transparent)}
.lrow .lt::before,.lrow .lt::after{display:none}
.lrow .lt .dot{width:10px;height:10px}
.lrow .lt svg{width:10px;height:10px}
@supports (corner-shape:squircle){html .lrow .lt{corner-shape:round;border-radius:999px}}
/* lt=1 Top right */
html.sig-lt-1 .lrow .lt{position:absolute;top:4px;right:var(--sig-pad);left:auto;bottom:auto}
html.sig-lt-1 .lrow .sig-t{padding-right:110px} /* only the name keeps clear of the chip; the meta line sits below the chip and uses the full width */
html.sig-lt-1 .lmenuw{justify-content:flex-end;padding:0 var(--sig-pad) 8px 0}
html.sig-lt-1 .lmenu{transform-origin:top right}
/* lt=2 Own line, with air */
html.sig-lt-2 .lrow{flex-wrap:wrap}
html.sig-lt-2 .lrow .row{flex:1 1 100%;padding-bottom:0}
html.sig-lt-2 .lrow .row .sub2{padding-bottom:0}
html.sig-lt-2 .lrow .lt{position:relative;margin:8px 0 12px calc(var(--sig-pad) + 30px)}
html.sig-lt-2 .lmenuw{justify-content:flex-start;padding:0 0 8px calc(var(--sig-pad) + 30px)}
html.sig-lt-2 .lmenu{transform-origin:top left}

/* ---- D3 laptop (>= 1100 px). Phone and tablet are untouched ---- */
@media (min-width:1100px){
  /* "Sticky intro": left 360 px stays in view (title, goal skill button, big cut-out, lesson note); right 560 px scrolls */
  .prog{max-width:none;width:968px;margin-inline:auto;padding-inline:0;display:grid;grid-template-columns:360px 560px;column-gap:48px;align-items:start;grid-auto-rows:auto}
  .prog>*{grid-column:2;min-width:0}
  .head{grid-column:1;grid-row:1/span 12;position:sticky;top:24px;align-self:start}
  .head::after{content:"";display:block;width:100%;height:300px;margin-top:12px;background:var(--sig-goal,none) center bottom/contain no-repeat}
  .mail{grid-column:1;grid-row:1/span 12;position:sticky;align-self:start;margin-top:calc(var(--sig-hh,420px) + 16px);top:calc(24px + var(--sig-hh,420px) + 16px)}
  .wk .seg{margin-top:0}
}

/* ======== Round 6 (16 Nov 2026): every task row says "play" ======== */
/* The name sits in a 2-column grid: a 22 px soft sky circle with a triangle first (where the eye starts), then the name, clamped with "..." (two lines at most, then "...").
   The full name shows in the video sheet. Number chip stays. Pressed rows darken for 120 ms; laptop rows darken on hover. */
.row .play{display:none}
.row .nm{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:8px;align-items:start}
.row .nm>br{display:none}
.row .nm>*:not(.sig-pc):not(.sig-t){grid-column:2}
.sig-pc{grid-column:1;grid-row:1;width:22px;height:22px;border-radius:50%;background:var(--soft);display:grid;place-items:center;margin-top:-1px}
.sig-pc svg{width:9px;height:10px;margin-left:2px;fill:var(--sig-sky)}
.sig-t{grid-column:2;grid-row:1;min-width:0}
.sig-t{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.row{transition:background-color .12s ease-out}
.row:active{background:color-mix(in srgb,var(--ink) 9%,transparent)}
@media (hover:hover){.row:hover{background:color-mix(in srgb,var(--ink) 5%,transparent)}.row:active{background:color-mix(in srgb,var(--ink) 9%,transparent)}}
@media (prefers-reduced-motion:reduce){.row{transition:none}}
.numnote{display:none}

/* ======== Round 8 (16 Nov 2026, go-live fixes) ======== */
/* nothing under 14 px: Today chip, light chip words, "swapped in", dose line under circuit names, circuit numbers, YouTube note + Privacy */
.today,.lt .ltv,.side,.swapped-tag,.tn,.ytnote,.ytnote a{font-size:14px}
html.sig-lt-1 .lrow .sig-t{padding-right:118px}
/* circuit rows: number chip, then the 22 px sky play circle, then the name, all level with the first line of the name. The chip sits in the 20 px
   strip before the row edge, so the name starts on the same text edge as every other row (tile padding + 22 + 8). Tapping the row opens the video. */
.circ .row{align-items:flex-start;position:relative;min-height:0;padding-block:12px}
.circ .row .tn{position:absolute;left:2px;top:11px;width:16px;min-width:16px;height:22px;border-radius:6px;font-size:14px;line-height:1;margin:0}
.circ .row .secs{margin-top:0}
/* swap rows: same row style as every other row - the sky play circle before the name (it still opens the video), "Swap in" quiet link under the note */
.alt{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:8px;row-gap:0;align-items:start;padding:10px 12px 2px}
.alt .pv{grid-column:1;grid-row:1;order:0;margin:-1px 0 0;width:22px;height:22px;border-radius:50%;background:var(--soft);position:relative}
.alt .pv::before{content:"";position:absolute;inset:-11px}
.alt .pv .play{width:22px;height:22px;background:var(--soft)}
.alt .pv .play svg{width:9px;height:10px;margin-left:2px;fill:var(--sig-sky)}
.alt .nmw{grid-column:2;grid-row:1;flex:none}
.use{grid-column:2;grid-row:2;order:0;justify-self:start;margin-left:-8px;min-height:40px}

/* ======== Go-live round 2 (Aaron's go-live notes, 16 Nov 2026) - needs page.js from golive2_page_patch.py ======== */
/* note 02: ladder rows = [play circle, centred in the row] [name + subtitle] [Swap]. The Swap column is its own column, so the
   subtitle never runs under it. The traffic-light chip, its menu and its panel are gone (notes 04, 05, light). */
.sw-lrow{display:flex;align-items:stretch}
.sw-lrow .row{flex:1 1 auto;min-width:0;padding-right:4px;padding-block:10px;align-items:center}
html .sw-lrow .sig-t{padding-right:0}
.sw-lrow .row .nm{align-items:center;row-gap:0}
.sw-lrow .sig-pc{grid-row:1/span 3;align-self:center;margin-top:0}
.sw-lrow .row .sub2{padding-block:2px 0}
.swapb{flex:none;align-self:center;display:inline-flex;align-items:center;gap:4px;border:0;background:none;color:var(--blue);font:600 14px/1 var(--body,inherit);min-height:44px;padding:0 var(--sig-pad) 0 6px;cursor:pointer;border-radius:999px}
.swi{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.swapb:active{background:color-mix(in srgb,var(--ink) 9%,transparent)}
@media (hover:hover){.swapb:hover{text-decoration:underline;text-underline-offset:3px}}
.undo.undorow{padding:0 var(--sig-pad) 10px calc(var(--sig-pad) + 30px);font-size:14px}

/* note 03: circuit = number in the left column, the dose in orange under the name, the play button on the right (like live, in our colours) */
.circ .row{align-items:center;padding-block:10px;gap:10px}
.circ .row .tn{position:static;flex:none;width:28px;min-width:28px;height:28px;border-radius:6px;font-size:14px;margin:0;align-self:center}
.circ .row .nm{display:block}
.circ .row .sig-pc{display:none}
.circ .row .sig-t{display:inline;-webkit-line-clamp:unset}
.circ .row .side{display:block;margin-top:2px;font-size:14px;font-weight:600;color:var(--signal-ink)}
.circ .row .secs{align-self:center}
.circ .row .play{display:grid;flex:none;width:36px;height:36px;border-radius:50%;background:var(--soft)}
.circ .row .play svg{width:12px;height:12px;fill:var(--sig-sky);margin-left:2px}
/* the "Repeat circuit 3x" box sits at the top of the circuit, so the instruction comes first */
.sw-rep{padding:2px 0 12px}
.sw-rep .rounds{padding-inline:0}
.sw-rep .dose{margin:6px 0 0;padding:0}
/* the timer opens the full-screen workout: the whole bar is one tap target, the old back / next arrows go */
.tmr{cursor:pointer}
.tmr .tnav{display:none}
.tmr:active{background:color-mix(in srgb,var(--ink) 6%,var(--card))}

/* the Swap sheet - 1:1 with the MFS app mock (wiki/mfs-app/mock/index.html: .sh-top, .opt, .mgroup, .close-disc) */
.sbox.sw-sheet{background:var(--bg);padding:12px 16px calc(28px + env(safe-area-inset-bottom,0px));gap:14px;animation:sw-up .22s cubic-bezier(.2,.8,.2,1)}
.sbox.sw-sheet>*+*{margin-top:0}
@keyframes sw-up{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.sbox.sw-sheet{animation:none}}
.sw-sheet .grab{display:block;width:40px;height:5px;border-radius:3px;background:var(--line);align-self:center;flex:none}
.sw-top{display:flex;align-items:center;gap:12px}
.sw-tt{flex:1;min-width:0}
.sw-top h3{font:600 22px/1.2 var(--display);margin:0;text-wrap:balance;overflow-wrap:anywhere}
.sw-sub{margin:2px 0 0;font-size:16px;color:var(--muted)}
.sw-x{background:var(--soft)}
.sw-back{flex:none;width:44px;height:44px;border-radius:50%;border:0;background:var(--soft);color:var(--ink);display:grid;place-items:center;cursor:pointer}
.sw-back svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.sw-group,.sw-list{display:grid;gap:8px}
.sw-opt{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:0;background:var(--card);border-radius:14px;min-height:64px;padding:8px 14px;text-align:left;cursor:pointer;width:100%;box-shadow:0 1px 3px rgba(16,50,74,.15);color:var(--ink)}
.sw-opt b{display:block;font-weight:600;font-size:16px}
.sw-opt span span{font-size:14px;color:var(--muted)}
.sw-opt:active{background:color-mix(in srgb,var(--ink) 6%,var(--card))}
.chv{width:20px;height:20px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sw-tip{margin:0;font-size:16px}
.sw-h{margin:4px 0 0;font-size:14px;font-weight:600;color:var(--muted)}
.sw-alt{display:flex;align-items:center;background:var(--card);border-radius:14px;box-shadow:0 1px 3px rgba(16,50,74,.15);overflow:hidden}
.sw-alt .row{border-top:0;flex:1 1 auto;padding:10px 4px 10px 12px}
.sw-alt .row .nm{font-size:16px}
.sw-alt .row .sub2{display:block;font-weight:400;color:var(--muted);font-size:14px}
.sw-use{flex:none;border:0;background:none;color:var(--blue);font:600 14px/1 var(--body,inherit);min-height:44px;padding:0 14px 0 6px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.sw-in{flex:none;font-size:14px;color:var(--muted);padding:0 14px 0 6px}
@supports (corner-shape:squircle){html .sw-opt,html .sw-alt{corner-shape:squircle;border-radius:20px}}
.sw-alt .row .nm{display:block;font-weight:600}
.sw-alt .row .play{display:grid;order:-1;width:22px;height:22px;background:var(--soft);align-self:center}
.sw-alt .row .play svg{width:9px;height:10px;fill:var(--sig-sky);margin-left:2px}
.circ .grp+.tmr,.circ .cnote+.tmr{margin-top:0;border-top:1px solid var(--line)}
/* judge fixes (golive2): "Swapped in" sits on its own line under the subtitle; the circuit's timer closes the day card (no peach sliver, no empty strip) */
.sw-lrow .sw-tag{display:block;margin-top:2px;font-size:14px;font-weight:600;color:var(--blue)}
.circ .grp{margin-bottom:0}
.day .part:last-child>.circ{margin-bottom:calc(var(--sig-pad) * -1)}
.day .part:last-child>.circ .tmr{padding-bottom:20px}

/* ======== Go-live round 3 (Aaron's golive2 notes A1 + A2, 17 Nov 2026) - needs page.js from golive3_page_patch.py ======== */
/* Aaron 17 Nov (after seeing the one-surface try): "the main box made it clear that this is where the workout lives ... each separate box,
   especially with the color differences, made it really clear". So: the day card is the main box; each part = a small label line
   (number, name, minutes) + one quiet how-line, then ITS OWN rounded box - light blue for warm-up and skill ladders, peach for the circuit
   (white exercise rows inside, like live). Kept from round 3: the how-lines, play circles centred in their row, Swap column, Start circuit,
   no timer box. Picks: ?pl=sky (soft sky play circles), ?st=end (Start circuit under the list). */
.day{gap:0}
.day>.part{gap:0;margin-top:22px}
.day>.dh+.part{margin-top:16px}
html .pk{font:600 14px/1.3 var(--body);color:var(--muted);align-items:baseline;padding-inline:0}
.part>.dose{color:var(--ink);font-size:15px;line-height:1.45;margin:4px 0 0}
.part>.pk+.grp,.part>.pk+.circ,.part>.dose+.grp{margin-top:8px}
/* the boxes: inset inside the card, rounded, one tint each */
.day .grp{margin-inline:0;border-radius:16px;background:var(--bg);overflow:hidden}
.day .row{padding-inline:16px}
.day .swapb{padding-right:16px}
.day .undo.undorow{padding-left:52px}
.day .wrist{padding-inline:0}
@supports (corner-shape:squircle){html .day .grp{corner-shape:squircle;border-radius:22px}}
.row .nm{align-items:center;min-height:26px}
.row .nm .sig-pc{align-self:center;margin-top:0}
/* play circles: dark blue with a white triangle (default, like live) - ?pl=sky keeps round 2's soft sky circles */
html:not(.sig-pl-sky) .row .nm{grid-template-columns:26px minmax(0,1fr);column-gap:10px}
html:not(.sig-pl-sky) .sig-pc{width:26px;height:26px;background:var(--ink)}
html:not(.sig-pl-sky) .sig-pc svg{width:9px;height:11px;margin-left:2px;fill:var(--card)}
html:not(.sig-pl-sky) .circ .row .play{background:var(--ink)}
html:not(.sig-pl-sky) .circ .row .play svg{fill:var(--card)}
html:not(.sig-pl-sky) .sw-alt .row .play{width:26px;height:26px;background:var(--ink)}
html:not(.sig-pl-sky) .sw-alt .row .play svg{fill:var(--card)}
/* A2 the circuit: one peach box - "Repeat circuit 3x", one line, a big Start circuit button, then the exercises in a white box. No timer box. */
html .day .circ{margin:8px 0 0;padding:16px;border-radius:16px;gap:0}
@supports (corner-shape:squircle){html .day .circ{corner-shape:squircle;border-radius:22px}}
.day .part:last-child>.circ{margin-bottom:0}
.circ .sw-rep{order:0;padding:0 0 14px}
.circ .sw-rep .dose{color:var(--ink);font-size:16px;margin-top:6px}
.circ .sw-start{order:1}
html .day .circ .grp{order:2;margin-inline:0;background:var(--card);border-radius:14px}
.circ .cnote{order:3}
.day .circ .row{padding-inline:12px}
.sw-start{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:56px;margin:0 0 16px;padding:0 20px;border:0;border-radius:14px;
  background:var(--signal);color:#fff;font:600 19px/1 var(--display);letter-spacing:.01em;cursor:pointer;box-shadow:var(--shadow-press);
  transition:transform .12s ease-out,background-color .12s ease-out}
.sw-start svg{width:13px;height:15px;fill:currentColor}
.sw-start:active{transform:scale(.98);background:color-mix(in srgb,var(--signal) 88%,var(--ink))}
@media (hover:hover){.sw-start:hover{background:color-mix(in srgb,var(--signal) 92%,var(--ink))}}
.sw-start:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
@media (prefers-reduced-motion:reduce){.sw-start{transition:none}}
@supports (corner-shape:squircle){html .sw-start{corner-shape:squircle;border-radius:20px}}
html.sig-st-end .circ .sw-start{order:4;margin:16px 0 0}
/* Synthesis A (17 Nov, from the MFS app, design only): today = an orange highlighter stroke on the day name, no "Today" chip */
.dh h3 .hl,.segs .istoday span{background:linear-gradient(transparent 52%,color-mix(in srgb,var(--signal) 42%,transparent) 52% 92%,transparent 92%);padding:0 3px;margin:0 -3px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.vh{position:absolute;left:0;top:0;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.dh h3,.segs .istoday{position:relative}   /* round 4 fix: the hidden " - today" no longer widens the page on phones */
/* (17 Nov: the full-screen skill player was vetoed by Aaron - "Actually keep the old look. It was better." The video sheet stays as it was.) */
/* nested boxes: a little less padding so names keep their width (peach 12, white rows 10, ladder rows 14) */
html .day .circ{padding:14px 12px 12px}
.day .circ .sw-rep,.day .circ .sw-start{margin-inline:4px;width:calc(100% - 8px)}
.day .circ .row{padding-inline:10px;gap:8px}
.day .circ .row .secs{padding:2px 6px}
.day .row{padding-inline:14px}
.day .swapb{padding-right:14px;padding-left:4px}
/* the "90 s" chip goes: the Start circuit workout shows the time, and the names get their width back */
.day .circ .row .secs{display:none}

/* ======== Go-live round 4 (Aaron 17 Nov): the skill-ladder sheet + the locked YouTube player ======== */
/* the dose, again, in the red pen hand - small, a margin note, never a headline */
.ldose{margin:10px 2px 0;text-align:right}
.ldose span{display:inline-block;font:400 21px/1.1 var(--font-hand,"Caveat Brush",cursive);color:var(--signal-ink);transform:rotate(-2deg)}
/* the fit note at the foot of every ladder sheet: red / yellow marker words, "Swap it" as the one blue action */
.lfit{margin:16px 0 2px;padding-top:12px;border-top:1px dashed var(--line);font-size:15px;line-height:1.5;color:var(--ink);text-align:center;text-wrap:pretty}
.lf-hard,.lf-easy{font-weight:650;padding:0 2px;border-radius:3px}
.lf-hard{color:var(--red);background:linear-gradient(transparent 60%,color-mix(in srgb,var(--red) 18%,transparent) 60% 94%,transparent 94%)}
.lf-easy{color:var(--amber);background:linear-gradient(transparent 60%,color-mix(in srgb,var(--yellow) 42%,transparent) 60% 94%,transparent 94%)}
.lf-swap{border:0;background:none;padding:0;font:inherit;font-weight:700;color:var(--blue);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px;cursor:pointer}
.lf-swap:focus-visible{outline:3px solid var(--signal);outline-offset:2px;border-radius:4px}
/* locked player: our own layer takes every tap; a slim bar with play/pause, the scrub line and mute */
.ytl{position:absolute;inset:0}
.vid .ytl iframe{position:absolute;left:0;right:auto;top:-60px;bottom:auto;width:100%;height:calc(100% + 120px);border:0;pointer-events:none}
.ytl-hit{position:absolute;inset:0 0 44px;border:0;background:transparent;cursor:pointer;padding:0}
.ytl-hit::after{content:"";position:absolute;left:50%;top:50%;width:58px;height:58px;margin:-29px 0 0 -29px;border-radius:50%;background:rgba(16,50,74,.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='white'/%3E%3C/svg%3E") center/30px no-repeat;opacity:0;transition:opacity .2s}
.ytl.is-paused .ytl-hit::after{opacity:1}
.ytl-bar{position:absolute;left:0;right:0;bottom:0;height:44px;display:flex;align-items:center;gap:6px;padding:0 6px;background:linear-gradient(transparent,rgba(16,50,74,.62))}
.ytl-pp,.ytl-mute{flex:none;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.ytl-pp svg,.ytl-mute svg{width:20px;height:20px;fill:#fff}
.ytl-pp:focus-visible,.ytl-mute:focus-visible,.ytl-seek:focus-visible{outline:2px solid #fff;outline-offset:1px}
.ytl-seek{--p:0%;flex:1;min-width:0;height:24px;margin:0;background:transparent;-webkit-appearance:none;appearance:none;cursor:pointer}
.ytl-seek::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(90deg,#fff var(--p),rgba(255,255,255,.35) var(--p))}
.ytl-seek::-moz-range-track{height:4px;border-radius:2px;background:linear-gradient(90deg,#fff var(--p),rgba(255,255,255,.35) var(--p))}
.ytl-seek::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;margin-top:-5px;border-radius:50%;background:#fff;border:0;box-shadow:0 1px 3px rgba(0,0,0,.3)}
.ytl-seek::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:#fff;border:0}
@media (prefers-reduced-motion:reduce){.ytl-hit::after{transition:none}}
.ytl::before{content:"";position:absolute;inset:0;z-index:1;background:#0C1A24;opacity:0;transition:opacity .2s ease;pointer-events:none}
.ytl.is-veiled::before{opacity:1}
.ytl-hit,.ytl-bar{z-index:2}
.ytl.is-veiled:not(.is-paused) .ytl-hit::after{opacity:0}
@media (prefers-reduced-motion:reduce){.ytl::before{transition:none}}

/* ======== Go-live round 4: the three offers (replaces "The program is the starting line ..."). Looks 1-3 via ?offers= ======== */
.offers{background:var(--card);border-radius:18px;padding:var(--sig-pad,18px);box-shadow:var(--shadow-card);display:flex;flex-direction:column;gap:12px}
.offers h2{margin:0;font-size:1.3rem;color:var(--ink);text-wrap:balance}
.of-bridge{margin:0;font-size:16px;color:var(--ink);text-wrap:pretty}
.of-who{display:block;font:400 19px/1.1 var(--font-hand,"Caveat Brush",cursive);color:var(--signal-ink);transform:rotate(-1.5deg);transform-origin:left center;margin-bottom:3px}
.of-fit{color:var(--blue)}
.of-free{display:inline-block;vertical-align:2px;margin-left:4px;font:600 13px/1 var(--body,"Figtree",sans-serif);color:var(--green,#1D7555);background:color-mix(in srgb,var(--green,#1D7555) 12%,var(--card));border-radius:999px;padding:4px 8px}
/* A - three doors: rows split by a dashed line, the whole row is the link, the fitting one sits on a light blue band */
.of-list{display:flex;flex-direction:column;margin:2px calc(var(--sig-pad,18px) * -1) 0}
.of-row{display:flex;align-items:center;gap:12px;padding:14px var(--sig-pad,18px);color:var(--ink);text-decoration:none;border-top:1px dashed var(--line)}
.of-row:last-child{border-bottom:1px dashed var(--line)}
.of-row.fit{background:var(--soft)}
.of-txt{flex:1;min-width:0;display:flex;flex-direction:column}
.of-row b{font:600 19px/1.25 var(--display,"Jost",sans-serif)}
.of-line{font-size:15px;line-height:1.45;color:var(--muted);margin-top:2px}
.of-act{margin-top:6px;font-weight:700;color:var(--blue);font-size:15px}
.of-row.fit .of-act{color:var(--signal-ink)}
.of-row .chv{flex:none;width:20px;height:20px;fill:none;stroke:var(--blue);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.of-row:focus-visible{outline:3px solid var(--signal);outline-offset:-3px}
@media (hover:hover){.of-row:hover b{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}}
.of-sign{display:flex;align-items:center;gap:10px;margin:4px 0 0;font:400 20px/1.05 var(--font-hand,"Caveat Brush",cursive);color:var(--ink)}
.of-sign img{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none}
/* B - one door: Aaron's face + one sentence, the one offer, a quiet line for the other two */
.of-me{display:flex;gap:12px;align-items:flex-start}
.of-me img{width:56px;height:56px;border-radius:50%;object-fit:cover;flex:none}
.of-me p{margin:0;font-size:16px}
.of-one,.of-pane{background:var(--soft);border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.of-one h3,.of-pane h3{margin:0;font:600 21px/1.25 var(--display,"Jost",sans-serif);color:var(--ink)}
.of-one p,.of-pane p{margin:0 0 6px;font-size:15px;color:var(--ink)}
.of-cta{display:flex;align-items:center;justify-content:center;min-height:50px;border-radius:14px;background:var(--signal);color:#fff;font:600 17px/1.2 var(--display,"Jost",sans-serif);text-decoration:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 2px 0 color-mix(in srgb,var(--signal) 70%,#000)}
.of-else{margin:0;font-size:15px;color:var(--muted)}
.of-else a{color:var(--blue);font-weight:600}
.of-b .of-sign{display:none}
/* C - which one are you: the ASSESS mover slider 1:1 */
.of-track{position:relative;display:grid;grid-template-columns:repeat(3,1fr);background:var(--soft);border-radius:999px;padding:4px}
.of-knob{position:absolute;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/3);border-radius:999px;background:var(--card);box-shadow:0 1px 3px rgba(16,50,74,.18);transform:translateX(calc(var(--pos,0) * 100%));transition:transform .22s cubic-bezier(.2,.8,.2,1)}
.of-track button{position:relative;z-index:1;border:0;background:none;min-height:44px;padding:4px 6px;font:600 14px/1.15 var(--display,"Jost",sans-serif);color:var(--muted);border-radius:999px;cursor:pointer}
.of-track button[aria-checked="true"]{color:var(--blue)}
.of-pane[hidden]{display:none}
@supports (corner-shape:squircle){.of-one,.of-pane,.of-cta{corner-shape:squircle;border-radius:20px}}
@media (prefers-reduced-motion:reduce){.of-knob{transition:none}}
@media print{.offers .of-cta,.offers .of-track{display:none}}

/* ======== Go-live round 5 (Aaron 18 Nov) ======== */
/* bug since day one: the day slider stretched every card to the tallest day, so skills-only and conditioning-only days showed a big
   empty white block. Each card now hugs its own content; the space under a shorter card is plain page ground. */
.car{align-items:flex-start}
/* ONE blue box for the skills practice: one fat blue "Start skills practice" (the twin of the orange Start circuit), then the warm-up
   (2 moves) and the skill ladders as two groups. Blue = skills, orange = conditioning. */
.day .skbox{margin-top:8px;padding:14px 12px 12px;border-radius:16px;background:var(--soft);display:flex;flex-direction:column}
@supports (corner-shape:squircle){html .day .skbox{corner-shape:squircle;border-radius:22px}}
.sk-start{display:flex;align-items:center;justify-content:center;gap:12px;width:calc(100% - 8px);min-height:56px;margin:0 4px 16px;padding:0 20px;border:0;border-radius:14px;
  background:var(--blue);color:#fff;font:600 19px/1 var(--display);letter-spacing:.01em;cursor:pointer;box-shadow:var(--shadow-press);transition:transform .12s ease-out,background-color .12s ease-out}
.sk-start svg{width:13px;height:15px;fill:currentColor}
.sk-start:active{transform:scale(.98);background:color-mix(in srgb,var(--blue) 86%,var(--ink))}
@media (hover:hover){.sk-start:hover{background:color-mix(in srgb,var(--blue) 90%,var(--ink))}}
.sk-start:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
@supports (corner-shape:squircle){html .sk-start{corner-shape:squircle;border-radius:20px}}
.skg+.skg{margin-top:16px}
.skh{display:flex;flex-direction:column;gap:1px;margin:0 4px 8px;font-size:15px;line-height:1.4;color:var(--ink)}
.skh b{font:600 16px/1.25 var(--display);color:var(--ink)}
.skh span{color:var(--ink)}
html .day .skbox .grp{background:var(--card);border-radius:14px}
.day .skbox .row{padding-inline:12px}
.day .skbox .swapb{padding-right:12px}
.day .skbox .wrist{margin:8px 4px 0}
/* iteration 2 (?skv=2): a quiet path - two numbered dots on a dashed rail, warm-up first, then ladders */
html.sig-skv-2 .skg{position:relative;padding-left:26px}
html.sig-skv-2 .skg::before{content:"";position:absolute;left:8px;top:22px;bottom:-16px;border-left:2px dashed color-mix(in srgb,var(--blue) 35%,transparent)}
html.sig-skv-2 .skg-l::before{bottom:8px}
html.sig-skv-2 .skh b::before{position:absolute;left:0;top:1px;width:18px;height:18px;border-radius:50%;background:var(--blue);color:#fff;font:600 12px/18px var(--body);text-align:center}
html.sig-skv-2 .skg-w .skh b::before{content:"1"}
html.sig-skv-2 .skg-l .skh b::before{content:"2"}
/* iteration 3 (?skv=3): pen-hand cues - "first, warm up" / "then, your ladders" above plain rows */
html.sig-skv-3 .skh b{font:400 21px/1.05 var(--font-hand);color:var(--signal-ink);transform:rotate(-2deg);transform-origin:left center}
/* the email-course line: says it is an email, which lesson, and why to open it */
.mail5 p{display:flex;flex-direction:column;gap:2px}
.mail5 .mk{font-size:14px;color:var(--muted)}
.mail5 .mt{font:600 16px/1.3 var(--display);color:var(--ink)}
.mail5 .mh{font-size:15px;color:var(--ink)}
.mail5 .mo{align-self:flex-start;margin-top:4px;font-weight:700;color:var(--blue);text-underline-offset:3px}
.of-row{padding-top:18px}   /* round 5: clear space CS1 - the pen label keeps >= 12 px from the band above */
/* round 6 (Aaron 19 Nov): the email lesson line in max 4 lines - kicker, then title + hook as one paragraph */
.mail6 p{display:block}
.mail6 .mk{display:block;font-size:14px;line-height:1.35;color:var(--muted)}
.mail6 .mf{display:block;font-size:15px;line-height:1.4;color:var(--ink)}
.mail6 .mt{font:600 16px/1.3 var(--display);color:var(--ink)}
.mail6 a.mt{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
