/* Ressort. One phone column; the main action always sits at the bottom, under the thumb.
   Single light theme, chosen by Sébastien. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #F2F4EE; --surface: #FFFFFF; --sunk: #E8ECE3; --ink: #17201B; --muted: #5B685F; --line: #D9DFD3;
  --far: #B5BFB4; --iron: #8E9B93; --bench: #9AA79F; --mat: #D6E0F4;
  --ball: #D3EE45; --ball-ink: #253300; --court: #2152C4; --muscle: #EE5F37; --muscle-far: #F4AE97;
  --ok: #2C9A58; --warn: #C27A0E; --stop: #CF4436; --ok-bg: #E3F3E8; --warn-bg: #FBF0DB; --stop-bg: #F9E3E0;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --nav-h: 64px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.45; -webkit-tap-highlight-color: transparent; }
.app {
  max-width: 460px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--nav-h) + 100px + env(safe-area-inset-bottom, 0px));
}
body.full .app { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
.view { display: flex; flex-direction: column; gap: 16px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: 28px; line-height: 1.12; }
h2 { font-size: 19px; line-height: 1.2; }
h3 { font-size: 16px; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
button:disabled { opacity: .45; cursor: default; }
button:focus-visible, input:focus-visible, summary:focus-visible, label:focus-within { outline: 3px solid var(--court); outline-offset: 2px; border-radius: 10px; }
.hint { font-size: 14px; color: var(--muted); margin: 0; }
.center { text-align: center; }
.empty { font-size: 14px; color: var(--muted); background: var(--sunk); border-radius: 12px; padding: 12px 14px; margin: 0; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: 22px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hello h1 { margin-top: 4px; }
.streak { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--ball-ink); background: var(--ball); padding: 4px 12px; border-radius: 99px; }

.card { background: var(--surface); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card.court-on { box-shadow: inset 0 0 0 2px var(--court); }
.resume { flex-direction: row; align-items: center; justify-content: space-between; }
.resume .big { width: auto; min-height: 48px; padding: 0 18px; font-size: 16px; margin: 0; }
.done-card { flex-direction: row; align-items: center; gap: 14px; }
.done-mark { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; }
.big-mark { width: 64px; height: 64px; margin: 0 auto 8px; }
.big-mark svg { width: 30px; height: 30px; }

/* morning check-in */
.zones { display: grid; gap: 10px; }
.zone { display: grid; grid-template-columns: 96px minmax(0, 1fr) 40px; align-items: center; gap: 10px; }
.zone label { font-weight: 600; font-size: 15px; }
.zone input { width: 100%; accent-color: var(--court); height: 32px; margin: 0; }
.zval { font-family: var(--display); font-weight: 700; font-size: 18px; text-align: center; border-radius: 10px; padding: 2px 0; font-variant-numeric: tabular-nums; }
.zval.ok { background: var(--ok-bg); color: var(--ok); } .zval.warn { background: var(--warn-bg); color: var(--warn); } .zval.stop { background: var(--stop-bg); color: var(--stop); }
.q { display: flex; flex-direction: column; gap: 8px; }
.q > span { font-weight: 600; font-size: 15px; }
.seg-ctl { display: flex; background: var(--sunk); border-radius: 14px; padding: 4px; gap: 4px; }
.seg-ctl button { flex: 1; min-height: 44px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); line-height: 1.15; padding: 4px 6px; }
.seg-ctl button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(23, 32, 27, .12); }

.verdict { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; }
.verdict.ok { background: var(--ok-bg); } .verdict.warn { background: var(--warn-bg); } .verdict.stop { background: var(--stop-bg); }
.light { width: 14px; height: 14px; border-radius: 50%; flex: none; margin-top: 4px; }
.verdict.ok .light { background: var(--ok); } .verdict.warn .light { background: var(--warn); } .verdict.stop .light { background: var(--stop); }
.verdict strong { display: block; font-size: 16px; }
.verdict p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.sess-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mins { font-family: var(--display); font-weight: 700; font-size: 28px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mins small { font-size: 14px; color: var(--muted); font-weight: 500; }
.block { display: flex; flex-direction: column; gap: 2px; }
.block-h { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 0 4px; border-top: 1px solid var(--line); }
.list { display: flex; flex-direction: column; gap: 2px; }
.ex-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px 0; text-align: left; width: 100%; border-radius: 12px; min-height: 56px; }
.ex-row .thumb { width: 48px; height: 48px; border-radius: 12px; background: var(--sunk); overflow: hidden; }
.ex-row .thumb svg { width: 48px; height: 48px; display: block; }
.ex-txt { display: flex; flex-direction: column; min-width: 0; }
.ex-row .nm { font-weight: 600; font-size: 15px; line-height: 1.25; }
.ex-row .ds { font-size: 13px; color: var(--muted); }

.big { display: block; width: 100%; max-width: 428px; margin: 0 auto; min-height: 60px; border-radius: 18px; background: var(--ball); color: var(--ball-ink); font-family: var(--display); font-weight: 800; font-size: 19px; }
.secondary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; border-radius: 14px; background: var(--sunk); font-weight: 700; text-align: center; cursor: pointer; }
.link { align-self: center; min-height: 44px; padding: 0 12px; color: var(--court); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.danger { color: var(--stop) !important; }

/* session player */
.pbar { display: flex; align-items: center; gap: 12px; }
.pinfo { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); min-width: 0; }
.track { height: 6px; border-radius: 3px; background: var(--sunk); overflow: hidden; }
.track i { display: block; height: 100%; background: var(--court); border-radius: 3px; }
.ex-title h1 { font-size: 26px; margin-top: 2px; }
.stage { background: var(--surface); border-radius: 24px; padding: 10px 10px 14px; display: flex; flex-direction: column; gap: 10px; }
.stage svg.fig { width: 100%; height: auto; aspect-ratio: 1 / 1; max-width: 100%; display: block; }
.phase-now { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 8px; }
.phase-now b { font-family: var(--display); font-size: 22px; font-weight: 800; line-height: 1.15; }
.pp { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--sunk); display: grid; place-items: center; }
.phases { display: flex; gap: 6px; padding: 0 8px; }
.ph { flex: var(--d); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ph .bar { height: 6px; border-radius: 3px; background: var(--sunk); overflow: hidden; }
.ph .bar i { display: block; height: 100%; width: 0; background: var(--ink); }
.ph span { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph.on span { color: var(--ink); font-weight: 700; }
.legend { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 0 8px; }
.legend i { width: 18px; height: 6px; border-radius: 3px; background: var(--muscle); }
.gear { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.gear svg { flex: none; margin-top: 2px; }
.load { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 8px; background: var(--sunk); border-radius: 16px; padding: 6px; text-align: center; }
.load b { display: block; font-family: var(--display); font-size: 19px; }
.load span { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; }
.stepper { width: 48px; height: 48px; border-radius: 12px; background: var(--surface); font-size: 24px; font-weight: 700; }
.dose { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dose div, .big-stat div { background: var(--sunk); border-radius: 14px; padding: 10px; text-align: center; min-width: 0; }
.dose b { display: block; font-family: var(--display); font-size: 22px; font-variant-numeric: tabular-nums; }
.dose span { font-size: 12px; color: var(--muted); }
.dose-line { margin: 0; font-size: 15px; }
.sets { display: flex; flex-direction: column; gap: 8px; }
.set { display: grid; grid-template-columns: 28px minmax(0, 1fr) 36px; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 14px; background: var(--sunk); min-height: 56px; }
.set.cur { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); }
.set.done { opacity: .65; }
.set .n { font-family: var(--display); font-weight: 700; }
.set .v { font-weight: 700; font-variant-numeric: tabular-nums; }
.stp { display: inline-flex; align-items: center; gap: 6px; }
.stp b { min-width: 52px; text-align: center; font-family: var(--display); font-size: 19px; font-variant-numeric: tabular-nums; }
.stp button { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); font-size: 22px; font-weight: 700; }
.set.cur .stp button { background: var(--sunk); }
.set .tick { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); justify-self: end; }
.set.done .tick { background: var(--ok); color: #fff; }
details.how summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 32px; }
details.how summary::-webkit-details-marker { display: none; }
details.how summary::after { content: "+"; font-family: var(--display); font-size: 24px; color: var(--muted); }
details.how[open] summary::after { content: "−"; }
details.how[open] { gap: 14px; }
ol.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
ul.avoid { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
ul.avoid li::marker { color: var(--stop); }
.why { font-size: 14px; color: var(--muted); border-left: 3px solid var(--ball); padding-left: 12px; margin: 0; }

.action {
  position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px)); z-index: 5;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
  background: linear-gradient(to top, var(--bg) 72%, rgba(242, 244, 238, 0));
}
body.full .action { bottom: 0; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
.action button { display: block; width: 100%; max-width: 428px; margin: 0 auto; min-height: 60px; border-radius: 18px; background: var(--ball); color: var(--ball-ink); font-family: var(--display); font-weight: 800; font-size: 19px; }
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--surface); border-top: 1px solid var(--line);
  padding: 0 max(8px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(8px, env(safe-area-inset-left, 0px)); }
.nav-in { max-width: 460px; margin: 0 auto; display: flex; height: var(--nav-h); }
.nav button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--muted); }
.nav button svg { width: 24px; height: 24px; }
.nav button[aria-current="page"] { color: var(--ink); }
.nav button[aria-current="page"] svg { color: var(--court); }

/* sheets */
.scrim { position: fixed; inset: 0; background: rgba(23, 32, 27, .38); z-index: 9; display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto; background: var(--surface); border-radius: 28px 28px 0 0;
  padding: 22px max(20px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 16px; }
.sheet h2 { font-size: 24px; text-align: center; }
.ring { position: relative; width: 220px; height: 220px; margin: 0 auto; }
.ring svg { width: 220px; height: 220px; transform: rotate(-90deg); }
.ring .t { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 60px; font-variant-numeric: tabular-nums; }
.ring circle { fill: none; stroke-width: 14; }
.ring .bg { stroke: var(--sunk); }
.ring .fg { stroke: var(--court); stroke-linecap: round; transition: stroke-dashoffset .2s linear; }
.ring .fg.fast { stroke: var(--muscle); }
.ring .fg.sw { stroke: var(--ok); }
.next { text-align: center; font-size: 15px; color: var(--muted); margin: 0; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.row3 button { min-height: 54px; border-radius: 14px; background: var(--sunk); font-weight: 700; }
.row3 .span2 { grid-column: span 2; background: var(--ball); color: var(--ball-ink); }
.fb { display: grid; gap: 10px; }
.fb button { min-height: 56px; border-radius: 16px; background: var(--sunk); font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; text-align: left; }
.fb button span { font-size: 14px; font-weight: 500; color: var(--muted); }
.fb button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.fb button[aria-pressed="true"] span { color: var(--far); }
.pain { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.pain button { min-height: 46px; border-radius: 12px; background: var(--sunk); font-weight: 700; font-variant-numeric: tabular-nums; }
.pain button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.note { background: var(--ok-bg); border-radius: 14px; padding: 12px 14px; font-size: 15px; }
.note.warn { background: var(--warn-bg); }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + 90px + env(safe-area-inset-bottom, 0px)); z-index: 12;
  background: var(--ink); color: var(--surface); padding: 12px 16px; border-radius: 14px; font-size: 14px; max-width: min(420px, calc(100% - 32px)); }

/* summary, progress */
.summary-head { text-align: center; padding-top: 16px; }
.big-stat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.big-stat b { display: block; font-family: var(--display); font-size: 24px; font-variant-numeric: tabular-nums; }
.big-stat span { font-size: 12px; color: var(--muted); }
.msgs { display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; flex-direction: column; font-size: 14px; }
.msg span { color: var(--muted); }
.phase-card { gap: 8px; }
.ptrack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.ptrack .bar { height: 8px; border-radius: 4px; background: var(--sunk); overflow: hidden; }
.ptrack .bar i { display: block; height: 100%; background: var(--court); }
.ptrack span { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.chip { white-space: nowrap; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 99px; background: var(--sunk); color: var(--muted); min-height: 40px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.chart { width: 100%; height: auto; max-width: 100%; display: block; }
.chart text { font-family: var(--body); font-size: 11px; fill: var(--muted); }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .goal { stroke: var(--ok); stroke-dasharray: 4 4; stroke-width: 1.5; }
.chart .line { fill: none; stroke: var(--court); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart .line.kr { stroke: var(--muscle); }
.chart .dot { fill: var(--surface); stroke: var(--court); stroke-width: 2.5; }
.chart .dot.end { fill: var(--court); }
.keys { display: flex; gap: 16px; font-size: 13px; color: var(--muted); }
.keys span { display: inline-flex; align-items: center; gap: 6px; }
.keys i { width: 14px; height: 4px; border-radius: 2px; background: var(--court); }
.keys i.kr { background: var(--muscle); }
.sparks { display: grid; gap: 10px; }
.spark { display: grid; grid-template-columns: 96px minmax(0, 1fr) 36px; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.spark svg { width: 100%; height: 30px; }
.spark .limit { stroke: var(--line); stroke-dasharray: 3 3; }
.spark .sline { fill: none; stroke: var(--court); stroke-width: 2; vector-effect: non-scaling-stroke; }
.tscroll { overflow-x: auto; }
.ttable { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.ttable th, .ttable td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.ttable thead th { font-size: 12px; color: var(--muted); font-weight: 600; }
.ttable tbody th { font-weight: 600; }
.ttable small, .ttable td:last-child { color: var(--muted); }
.hist { display: flex; flex-direction: column; }
.hrow { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.hrow span:first-child { color: var(--muted); }
.gloss { margin: 0; display: grid; gap: 4px; }
.gloss dt { font-weight: 700; margin-top: 8px; }
.gloss dd { margin: 0; color: var(--muted); font-size: 14px; }

/* tests and settings forms */
.tform fieldset { border: 0; padding: 0 0 14px; margin: 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.tform legend { font-family: var(--display); font-weight: 700; font-size: 17px; padding: 0; margin-bottom: 4px; }
.tin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tf { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); font-weight: 600; }
.tfi { display: flex; align-items: center; gap: 6px; background: var(--sunk); border-radius: 12px; padding: 0 12px; }
.tfi input { width: 100%; min-width: 0; border: 0; background: none; font: inherit; font-family: var(--display); font-size: 20px; color: var(--ink); min-height: 48px; }
.tfi small { white-space: nowrap; }
.row-set { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.row-set span { display: flex; flex-direction: column; min-width: 0; }
.row-set small { color: var(--muted); font-size: 13px; }
.row-set input[type="date"] { font: inherit; border: 0; background: var(--sunk); border-radius: 12px; padding: 10px; color: var(--ink); }
.switch { appearance: none; -webkit-appearance: none; flex: none; width: 52px; height: 32px; border-radius: 99px; background: var(--line); position: relative; cursor: pointer; margin: 0; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .15s; }
.switch:checked { background: var(--court); }
.switch:checked::after { transform: translateX(20px); }
.file-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* the figure */
.fig .seg { stroke: var(--ink); stroke-linecap: round; fill: none; }
.fig .far .seg { stroke: var(--far); }
.fig .seg.hot { stroke: var(--muscle); }
.fig .far .seg.hot { stroke: var(--muscle-far); }
.fig .tr { stroke-width: 17; } .fig .th { stroke-width: 14; } .fig .sh { stroke-width: 11; } .fig .ft { stroke-width: 8; }
.fig .ua { stroke-width: 10; } .fig .fa { stroke-width: 9; } .fig .hn { stroke-width: 7; }
.fig .torso-f { fill: var(--ink); stroke: var(--ink); stroke-width: 8; stroke-linejoin: round; }
.fig .torso-f.hot { fill: var(--muscle); stroke: var(--muscle); }
.fig .head { fill: var(--ink); }
.fig .floor { stroke: var(--line); stroke-width: 3; stroke-linecap: round; }
.fig .iron { fill: var(--iron); stroke: var(--ink); stroke-width: 2; }
.fig .far .iron { fill: var(--far); stroke: var(--far); }
.fig .wall { fill: var(--sunk); stroke: var(--far); stroke-width: 1.5; }
.fig .bench { fill: var(--bench); }
.fig .bench-leg { stroke: var(--bench); stroke-width: 4; }
.fig .mat { fill: var(--mat); }
.fig .frame { fill: var(--sunk); stroke: var(--far); stroke-width: 2; }
.fig .frame-line { stroke: var(--far); stroke-width: 5; stroke-linecap: round; }
.fig .pulley { fill: var(--surface); stroke: var(--muted); stroke-width: 3; }
.fig .cable { stroke: var(--muted); stroke-width: 2; }
.fig .stack { fill: #6B5446; }
.fig .band { stroke: var(--muscle); stroke-width: 4; stroke-linecap: round; }
.fig .bike-base, .fig .bike-post { stroke: var(--bench); stroke-width: 7; stroke-linecap: round; }
.fig .wheel { fill: var(--sunk); stroke: var(--far); stroke-width: 3; }
.fig .bike-seat { fill: var(--muted); }
.fig .bike-bar { stroke: var(--muted); stroke-width: 6; stroke-linecap: round; }
.fig .crank { stroke: var(--muted); stroke-width: 4; stroke-linecap: round; }
.fig .hub { fill: var(--muted); }

@media (prefers-reduced-motion: reduce) { .ring .fg { transition: none; } .switch, .switch::after { transition: none; } }
