/* gymbur.com v16 draft. Colours are app tokens; all example controls are illustrations. */
:root {
  color-scheme: light;
  --fieldEdge: #b9c2cc;   /* schemes.light.fieldEdge */
  --darkBg: #0d1013;      /* schemes.dark.bg */
  --darkText: #e9eef3;    /* schemes.dark.text */
  --darkDim: #8f9caa;     /* schemes.dark.dim */
  --darkAccent: #4a9eff;  /* schemes.dark.accent */
  --bg: #f1f4f7;          /* schemes.light.bg */
  --surface: #ffffff;     /* schemes.light.surface */
  --text: #12161a;        /* schemes.light.text */
  --dim: #55606d;         /* schemes.light.dim */
  --hairline: #e4e9ef;    /* schemes.light.hairline */
  --border: #dde3ea;      /* schemes.light.border */
  --link: #0a63c9;        /* light accentInk / accents.blue.light.solid.go */
  --go: #8fbaef;          /* light accent, CHOSEN pastel4 */
  --onGo: #083468;        /* light onAccent, CHOSEN pastel4 */
  --raised: #e9edf3;      /* schemes.light.raised */
  --faint: #616c78;       /* schemes.light.faint */
  --wash: #4a9eff24;      /* schemes.light.accentTint, logged normal sets */
  --earned: #8a6420;      /* schemes.light.earned, PR words only */
  --earnedWash: #dbae5a26; /* schemes.light.earnedTint, PR row only */
  --warm: #1f7a44;        /* schemes.light.rpeEasy, warm-up letter */
  --warmWash: #2f9e5c1f;  /* schemes.light.warmTint, warm-up row */
  --gold: #9a6f10;        /* medals.Gold.ink.light */
  --silver: #5b6875;      /* medals.Silver.ink.light */
  --bronze: #a3603a;      /* medals.Bronze.ink.light and medals.Bronze.bg */
  --todo: #af4f0a;        /* schemes.light.todo: CTA edge, site adaptation */
  --todoFill: #f08a3c;    /* schemes.light.todoFill: CTA fill, site adaptation */
  --goldRing: #dbae5a;    /* medals.Gold.bg */
  --silverRing: #b4bfca;  /* medals.Silver.bg */
  --bronzeRing: var(--bronze); /* medals.Bronze.bg equals its light ink */
  --scrim: #0d101373;     /* schemes.dark.scrim */
  --solid: var(--link);  /* light accentSolid / primaryStrong; same value as accentInk */
  --toggleOff: #808994;   /* schemes.light.toggleOff */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--surface); color: var(--text); font: 17px/1.5 -apple-system, system-ui, sans-serif; }
img { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: 4px; }
.wrap { max-width: 1080px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.top { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 16px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 24px; font-weight: 600; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.wordmark img { display: block; border-radius: 8px; }
.top-join { display: flex; align-items: center; gap: 8px; }
.owner-label { color: var(--dim); font-size: 12px; }
.top-join, .wordmark { flex-shrink: 0; white-space: nowrap; }
.top-link { display: inline-flex; align-items: center; padding: 0 16px; border-radius: 12px; background: var(--go); color: var(--onGo); min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: none; }
.band { display: grid; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.hero-band { position: relative; isolation: isolate; background: var(--bg); }
.hero-backdrop { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .09; z-index: -1; pointer-events: none; }
.band.hero { padding-top: 36px; padding-bottom: 44px; }
.text { min-width: 0; }
.hero h1 { font-size: 42px; line-height: 1.08; font-weight: 600; letter-spacing: -.025em; margin: 0 0 20px; max-width: 14ch; text-wrap: balance; }
.lede, .lede2, .section-lede { font-size: 19px; margin: 0; max-width: 36ch; }
.lede2 { margin-top: 12px; color: var(--dim); }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 24px; padding: 14px 22px; border-radius: 12px; background: var(--go); color: var(--onGo); font-weight: 600; text-decoration: none; }
/* todo / todoFill reused for the unlisted gym CTA; recorded site adaptation. */
.cta-list { width: 100%; min-height: 76px; padding: 20px 28px; font-size: 25px; background: var(--todoFill); color: var(--text); border: 2px solid var(--todo); }
.cta-note { margin: 12px 0 0; font-size: 15px; color: var(--dim); text-wrap: pretty; }
.addr { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.addr-note { margin-top: 6px; color: var(--dim); font-size: 15px; }
.addr-note a { color: var(--link); }
.status { margin: 12px 0 0; font-size: 15px; font-weight: 600; }
.section { font-size: 30px; line-height: 1.15; font-weight: 600; letter-spacing: -.015em; margin: 0 0 16px; text-wrap: balance; }
.note { margin: 16px 0 0; font-size: 15px; color: var(--dim); max-width: 46ch; }
.rows { margin: 24px 0 0; border-top: 1px solid var(--hairline); }
.row { padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.row dt { font-weight: 600; margin-bottom: 4px; }
.row dd { margin: 0; max-width: 52ch; color: var(--dim); }
.share-line { margin: 24px 0 0; }
.share { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; font-size: 15px; }
.share-url { display: grid; min-width: 0; overflow-wrap: anywhere; }
.share-act { color: var(--link); font-weight: 600; }
.share-sub { color: var(--dim); }
.bio-caption { margin: 24px 0 4px; font-weight: 600; }
.bio-sub { margin: 0 0 10px; color: var(--dim); font-size: 15px; }
.bio-example { padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 15px; overflow-wrap: anywhere; }
.bio-identity { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bio-identity img { display: block; flex: none; border-radius: 12px; }
.bio-identity > div { min-width: 0; }
.bio-handle, .bio-link-label { display: block; color: var(--dim); font-size: 13px; }
.bio-example p { margin: 12px 0; }
.bio-link { display: block; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
/* Equipment is a white band; community has a neutral app ground, full-width edges and air. */
.equipment-band { border-bottom: 1px solid var(--hairline); }
.community-band { background: var(--bg); border-bottom: 1px solid var(--hairline); }
.notice-box { margin: 0; display: grid; align-content: start; gap: 16px; min-width: 0; }
.mlist { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 16px; }
.mrow { display: flex; gap: 14px; align-items: center; padding: 16px 0; }
.mrow + .mrow { border-top: 1px solid var(--hairline); }
.mrow > div:last-child { min-width: 0; }
.msq { width: 56px; height: 56px; flex: none; background: var(--raised); border-radius: 12px; display: grid; place-items: center; overflow: hidden; }
.msq img { width: 70%; height: 70%; object-fit: contain; }
.msq.photo img { width: 100%; height: 100%; object-fit: cover; }
.c, .mlist .c { color: var(--dim); font-size: 14px; }
.mod { margin-top: 6px; font-size: 15px; }
.mrow.mtotal { display: block; font-size: 13px; }
.app-example { margin: 0; min-width: 0; }
figcaption { margin-top: 10px; font-size: 13px; color: var(--dim); }
/* The frame owns the height; long example screens stop at its bottom edge. */
.phone { width: 320px; max-width: 100%; aspect-ratio: 393 / 852; display: grid; grid-template-rows: minmax(0, 1fr); overflow: hidden; border: 1px solid var(--border); border-radius: 36px; padding: 10px; background: var(--surface); }
.screen { display: grid; grid-template-rows: minmax(0, 1fr); position: relative; min-width: 0; min-height: 0; overflow: hidden; border-radius: 26px; background: var(--bg); font-size: 12.5px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.scr { grid-area: 1 / 1; display: block; visibility: hidden; min-width: 0; min-height: 0; overflow: hidden; padding-bottom: 14px; border-radius: inherit; overflow-wrap: normal; }
/* Demo text keeps whole words, including descendants with shared wrapping rules. */
.screen .scr, .screen .scr * { overflow-wrap: normal; word-break: normal; hyphens: none; }
.scr img { display: block; }
.scr .c { font-size: 11.5px; }
.scr .link { color: var(--link); }
.pad { padding: 14px 14px 0; display: grid; gap: 8px; }
.cover { border-radius: 26px 26px 0 0; width: 100%; height: 112px; object-fit: cover; }
.gname { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.logo { width: 36px; height: 36px; border-radius: 9px; }
.tick { color: var(--text); font-size: 13px; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--surface); border-radius: 12px; text-align: center; padding: 8px 0; }
.strip div { display: grid; }
.strip div + div { border-left: 1px solid var(--hairline); }
.strip span { color: var(--dim); font-size: 11px; }
.about { margin: 0; }
.hrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--raised); }
.thumbs .mach { object-fit: contain; padding: 14px; }
.facil { display: grid; gap: 6px; border-top: 1px solid var(--hairline); padding-top: 8px; margin-top: 2px; }
.flist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--surface); border-radius: 12px; text-align: center; padding: 8px 0; }
.flist span + span { border-left: 1px solid var(--hairline); }
/* Script-free app-screen capsule. Inputs stay focusable and named by their labels. */
.demo { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 12px; min-width: 0; }
.tab-in { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.tabs { width: 100%; max-width: 340px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 4.5em), 1fr)); font-size: 13px; gap: 2px; padding: 4px; background: var(--raised); border-radius: 999px; }
.tabs label { min-width: 0; min-height: 44px; display: grid; place-items: center; border-radius: 999px; font-size: inherit; font-weight: 600; color: var(--dim); overflow-wrap: anywhere; cursor: pointer; padding: 8px 4px; }
#s-gym:checked ~ .tabs label[for="s-gym"] { background: var(--go); color: var(--onGo); }
#s-gym:focus-visible ~ .tabs label[for="s-gym"] { outline: 2px solid var(--link); outline-offset: 2px; }
#s-gym:checked ~ .phone .scr-gym { visibility: visible; }
#s-equip:checked ~ .tabs label[for="s-equip"] { background: var(--go); color: var(--onGo); }
#s-equip:focus-visible ~ .tabs label[for="s-equip"] { outline: 2px solid var(--link); outline-offset: 2px; }
#s-equip:checked ~ .phone .scr-equip { visibility: visible; }
#s-work:checked ~ .tabs label[for="s-work"] { background: var(--go); color: var(--onGo); }
#s-work:focus-visible ~ .tabs label[for="s-work"] { outline: 2px solid var(--link); outline-offset: 2px; }
#s-work:checked ~ .phone .scr-work { visibility: visible; }
#s-feed:checked ~ .tabs label[for="s-feed"] { background: var(--go); color: var(--onGo); }
#s-feed:focus-visible ~ .tabs label[for="s-feed"] { outline: 2px solid var(--link); outline-offset: 2px; }
#s-feed:checked ~ .phone .scr-feed { visibility: visible; }
.demo-cap { margin: 0; font-size: 13px; color: var(--dim); text-align: center; }
.title { font-size: 20px; line-height: 1.2; font-weight: 600; }
.seg { display: flex; flex-wrap: wrap; gap: 2px; background: var(--raised); padding: 3px; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--dim); }
.seg span { flex: 1; text-align: center; padding: 6px 2px; border-radius: 999px; overflow-wrap: anywhere; }
.seg .on { background: var(--go); color: var(--onGo); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { min-width: 0; display: grid; gap: 3px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.tile .ph { height: 76px; border-radius: 8px; background: var(--raised); display: grid; place-items: center; overflow: hidden; margin-bottom: 3px; }
.tile .ph picture { width: 100%; height: 100%; display: grid; place-items: center; }
.tile .ph img { width: 70%; height: 70%; object-fit: contain; }
.tile .ph .photo { width: 100%; height: 100%; object-fit: cover; }
.post, .board, .logcard { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; min-width: 0; }
.post { padding: 0; overflow: hidden; }
.who { display: flex; gap: 12px; align-items: center; padding: 12px 16px 8px; }
.avatar { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; flex: none; }
.who > div { flex: 1; min-width: 0; }
.author-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.gym-tag { font-size: 14px; color: var(--link); }
.post-heading { padding: 0 16px 12px; }
.post-heading > b { font-size: 17px; font-weight: 600; }
.numbers { font-variant-numeric: tabular-nums; }
.pr { color: var(--earned); font-weight: 600; }
/* Post pages share a square frame. Workout sets scroll within that frame.
 * Keep the native horizontal scrollbar available for mouse paging. */
.pager { display: flex; align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; min-width: 0; background: var(--bg); scrollbar-width: auto; }
.pager::-webkit-scrollbar { height: 12px; }
.pager:focus-visible, .workout-sets:focus-visible { outline: 2px solid var(--link); outline-offset: -2px; }
.page { position: relative; flex: 0 0 100%; min-width: 0; aspect-ratio: 1 / 1; scroll-snap-align: start; scroll-snap-stop: always; }
.page-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.page-work { min-height: 0; overflow-wrap: anywhere; }
.workout-sets { position: absolute; inset: 0; overflow-y: auto; padding: 4px 16px 32px; }
.prow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px 0; }
.prow + .prow { border-top: 1px solid var(--hairline); }
.ptile { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--raised); object-fit: contain; padding: 6px; }
.pname { flex: 1 1 7em; min-width: 0; display: grid; gap: 2px; }
.pname b { font-size: 16px; font-weight: 600; }
.psets { flex: 0 0 100%; list-style: none; margin: 0; padding: 0 0 0 60px; font-size: 16px; font-variant-numeric: tabular-nums; }
.psets li { display: grid; grid-template-columns: 1.5em minmax(0, 1fr); gap: 8px; padding: 3px 0; }
.psets li > span:first-child { color: var(--dim); }
.psets li.pr > span:first-child { color: var(--earned); }
.dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.dots i.on { background: var(--text); }
.page-photo .dots i { background: var(--surface); opacity: .7; }
.page-photo .dots i.on { background: var(--surface); opacity: 1; }
.photo-note, .paging-note { font-size: 13px; color: var(--dim); margin: 0; padding: 8px 16px 0; }
.paging-note { padding-top: 0; }
.example-note { margin: 8px 0 0; color: var(--dim); font-size: 13px; }
.paging-note span { display: block; }
.acts { display: flex; flex-wrap: wrap; gap: 16px; padding: 8px 16px 14px; }
.nh { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.nh span { color: var(--dim); font-size: 13px; }
.podium { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 4px; align-items: start; margin: 20px 0 16px; }
.podium > *, .place { min-width: 0; }
.place { display: grid; justify-items: center; gap: 4px; }
.place > b { font-size: 15px; font-weight: 600; max-width: 100%; text-align: center; overflow-wrap: anywhere; }
.place.second, .place.third { margin-top: 30px; }
.medal-photo { position: relative; border: 3px solid var(--bronzeRing); padding: 3px; border-radius: 50%; margin-bottom: 4px; }
.medal-photo > img { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.first .medal-photo { border-color: var(--goldRing); }
.second .medal-photo { border-color: var(--silverRing); }
.first .medal-photo > img { width: 76px; height: 76px; }
.play-disc { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 50%; background: var(--scrim); display: grid; place-items: center; }
.play-disc svg { fill: var(--surface); }
.first .play-disc { width: 24px; height: 24px; }
.weight { font-size: 18px; line-height: 1.2; font-variant-numeric: tabular-nums; max-width: 100%; overflow-wrap: anywhere; text-align: center; }
.first .weight { font-size: 24px; color: var(--gold); }
.second .weight { color: var(--silver); }
.third .weight { color: var(--bronze); }
.place-caption { color: var(--faint); font-size: 12px; text-align: center; }
.ranked-row { flex-wrap: wrap; min-height: 60px; border-top: 1px solid var(--hairline); padding: 8px 0; display: flex; align-items: center; gap: 12px; }
.rank { min-width: 26px; min-height: 26px; padding: 2px; flex: none; display: grid; place-items: center; background: var(--raised); color: var(--dim); font-size: 14px; font-weight: 700; border-radius: 50%; }
.ranked-photo { width: 44px; height: 44px; flex: none; position: relative; }
.ranked-photo > img { display: block; width: 44px; height: 44px; object-fit: cover; border-radius: 50%; }
.ranked-name { flex: 1 1 5em; min-width: 0; display: grid; gap: 2px; }
.ranked-name b { font-size: 15px; font-weight: 600; }
.ranked-name span { font-size: 12px; color: var(--faint); }
.ranked-row strong { font-size: 20px; font-weight: 600; max-width: 100%; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.logcard { padding: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.log-top { border-radius: 16px 16px 0 0; padding: 14px 16px 12px; background: var(--bg); }
.log-title { display: flex; flex-wrap: wrap; align-items: start; gap: 8px; }
.log-name { flex: 1 1 7em; min-width: 0; }
.log-name > b { font-size: 20px; font-weight: 600; }
.minimise { width: 32px; height: 32px; border-radius: 8px; background: var(--raised); display: grid; place-items: center; }
.fin { background: var(--go); color: var(--onGo); font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 12px; }
.work-clocks { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; }
.work-clocks > div { flex: 1 1 6em; min-width: 0; }
.work-clocks > .advanced { flex: 0 1 auto; }
.work-clocks .c, .sets-line { font-size: 13px; color: var(--dim); }
.clock { font-size: 30px; font-weight: 600; line-height: 1.2; }
.sets-line, .rest-actions { margin-top: 4px; }
.rest-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.rest-actions span { min-height: 22px; padding: 1px 6px; border-radius: 8px; font-size: 13px; font-weight: 600; background: var(--raised); }
.advanced { display: grid; gap: 7px; align-content: start; justify-items: end; }
.toggle-off { display: flex; width: 40px; height: 24px; padding: 2px; border-radius: 999px; background: var(--toggleOff); }
.toggle-off i { width: 20px; height: 20px; border-radius: 50%; background: var(--surface); }
.exband { background: var(--surface); border-block: 1px solid var(--hairline); padding: 16px; }
.ex { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.ph.sm { width: 48px; height: 48px; border-radius: 12px; background: var(--raised); display: grid; place-items: center; flex: none; }
.ph.sm img { width: 36px; height: 36px; object-fit: contain; }
.set-table { width: 100%; border-spacing: 0 4px; table-layout: fixed; font-size: 16px; }
.set-table th, .set-table td { overflow-wrap: anywhere; padding: 4px 6px; text-align: center; font-weight: 400; }
.set-table thead th { border-bottom: 1px solid var(--hairline); color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.set-table th:first-child { width: 44px; padding-inline: 3px; text-align: left; white-space: nowrap; overflow-wrap: normal; }
.set-table th:nth-child(2) { width: calc((100% - 88px) / 3); }
.set-table th:nth-child(3) { width: calc((100% - 88px) / 3); }
.set-table .set-video-col { width: 44px; padding-inline: 0; }
.set-video { width: 44px; min-height: 25px; margin-left: auto; display: flex; align-items: center; justify-content: flex-end; padding-inline: 4px; color: var(--dim); }
.set-video svg { flex: none; }
.set-table tbody th { color: var(--dim); border-radius: 8px 0 0 8px; }
.set-table tbody td:last-child { border-radius: 0 8px 8px 0; }
.set-table .warm { background: var(--warmWash); }
.set-table .warm th { color: var(--warm); font-weight: 700; }
.set-table abbr { text-decoration: none; }
.set-table .normal { background: var(--wash); }
.set-table .record { background: var(--earnedWash); }
.set-table .last { color: var(--dim); font-size: 13px; }
.prb { color: var(--earned); font-size: 12px; font-weight: 600; }
.set-key { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: 12px; }
.warm-key { color: var(--warm); }
.btns { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-top: 8px; }
.btns > span { min-height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; }
.done { background: var(--raised); }
.log-set { background: var(--solid); color: var(--surface); }
/* SetupGrid / SetupCells: conditional choices, labels above values. Static illustrations. */
.logger-setup { margin-bottom: 12px; }
.setup-heading { min-height: 44px; display: flex; align-items: center; justify-content: space-between; color: var(--dim); font-size: 13px; }
.setup-heading > span:last-child { display: flex; align-items: center; gap: 8px; }
.setup-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.setup-cell { flex: 1 1 45%; min-width: 0; min-height: 64px; padding: 12px; border-radius: 12px; background: var(--raised); display: flex; align-items: center; gap: 8px; }
.setup-cell > div { flex: 1; min-width: 0; }
.setup-label { display: block; color: var(--dim); font-size: 13px; }
.setup-cell b { display: block; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.setup-cell img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.attachment-thumb { width: 44px; min-height: 44px; display: grid; place-items: center; color: var(--dim); font-weight: 600; flex: none; }
.setup-side .toggle-off { flex: none; }
.setup-note { width: 100%; min-height: 64px; padding: 8px 11px; border: 1px dashed var(--border); border-radius: 12px; color: var(--dim); font-size: 13px; }
/* Compact app examples: no zoom and no text below 11px. */
.screen .logcard { border: 0; border-radius: 0; }
.screen .log-top { border-radius: 26px 26px 0 0; padding: 10px 12px; }
.screen .log-title { gap: 6px; }
.screen .log-name > b { font-size: 16px; }
.screen .minimise { width: 28px; height: 28px; }
.screen .fin { font-size: 12px; padding: 6px 8px; }
.screen .work-clocks { padding-top: 12px; }
.screen .clock { font-size: 28px; }
.screen .work-clocks .c, .screen .sets-line { font-size: 11px; }
.screen .rest-actions { gap: 4px; }
.screen .rest-actions span { font-size: 11px; padding-inline: 5px; }
.screen .exband { padding: 12px; }
.screen .ex { margin-bottom: 8px; }
/* Keep two tiles per row; move the icon above text before squeezing a word. */
.screen .setup-cell { flex-wrap: wrap; }
.screen .setup-cell > div { flex: 1 0 80px; max-width: 100%; }
.screen .setup-cell b { font-size: 13px; }
.screen .ph.sm { width: 40px; height: 40px; }
.screen .ph.sm img { width: 32px; height: 32px; }
.screen .set-table { font-size: 16px; border-spacing: 0 3px; }
.screen .set-table thead th { font-size: 11px; }
.screen .set-table th, .screen .set-table td { padding: 5px 3px; }
.screen .set-table .last, .screen .set-key { font-size: 13px; }
.screen .set-key { margin-top: 6px; }
.feed-top { display: grid; gap: 6px; padding: 10px; }
.screen .feed-top .seg span { padding: 4px 2px; }
.screen .post { border-radius: 0; border-inline: 0; }
.share { flex-wrap: wrap; }
.screen .who { padding: 6px 12px; gap: 8px; }
.screen .gym-tag { font-size: 11px; }
.screen .post-heading { padding: 0 12px 6px; }
.screen .post-heading > b { font-size: 14px; }
.screen .workout-sets { padding-inline: 12px; }
.screen .prow { gap: 8px; }
.screen .pname b, .screen .psets { font-size: 14px; }
.screen .psets { padding-left: 48px; }
.screen .ptile { width: 40px; height: 40px; padding: 4px; }
.screen .photo-note, .screen .paging-note { font-size: 11px; padding: 4px 12px 0; }
.screen .paging-note { padding-top: 0; }
.screen .acts { padding: 6px 12px 8px; }
.steps { margin: 20px 0 0; padding-left: 22px; display: grid; gap: 8px; max-width: 46ch; }
.foot { padding-top: 20px; padding-bottom: 48px; font-size: 15px; color: var(--dim); }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 12px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }
.foot p { margin: 0 0 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 860px) {
  .band { grid-template-columns: minmax(0, 1fr) 400px; column-gap: 72px; padding-block: 80px; align-items: start; }
  .band.hero { align-items: center; padding-block: 56px; }
  .hero h1 { font-size: 56px; }
  .cta-list { width: auto; min-width: 300px; }
  .section { font-size: 34px; }
  .medal-photo > img { width: 64px; height: 64px; }
  .first .medal-photo > img { width: 88px; height: 88px; }
  .weight { font-size: 20px; }
  .first .weight { font-size: 28px; }
  .play-disc { width: 24px; height: 24px; }
  .first .play-disc { width: 28px; height: 28px; }
  .ranked-photo .play-disc { width: 20px; height: 20px; }
}

/* Seven full-width band grounds. Only the vision band uses a dark scheme. */
[hidden] { display: none !important; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.photo-band, .wash-band { position: relative; isolation: isolate; }
.band-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; pointer-events: none; }
.equipment-band { background: var(--surface); }
.equipment-band .band-backdrop { opacity: .07; object-position: right center; }
.wash-band { background: var(--surface); }
.wash-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wash); pointer-events: none; }
.leaderboards-band::before { background: var(--earnedWash); }
.tracker-band, .join-band { background: var(--bg); }
.community-band .note, .community-band .row dd, .leaderboards-band .note, .leaderboards-band .row dd { color: var(--text); }
.hook { font-size: 22px; font-weight: 600; line-height: 1.35; margin: 0 0 16px; max-width: 36ch; }
.pain-lines p { margin: 0 0 12px; max-width: 46ch; }
.demo-caption { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; }
.demo-pause { min-height: 44px; border: 0; padding: 0 8px; background: transparent; color: var(--dim); font-size: 15px; font-weight: 600; }
.clock.rest { color: var(--link); }
.entry-grid { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 10px; }
.entry-grid > div { min-width: 0; }
.entry-label { display: block; font-size: 13px; color: var(--dim); margin-bottom: 4px; }
.entry-box { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 64px; padding: 8px 4px; border-radius: 12px; border: 1px solid var(--fieldEdge); background: var(--surface); font-size: 22px; font-weight: 600; }
.entry-set { font-size: 17px; }
.entry-set svg, .suggested { color: var(--dim); }
.screen .entry-box { min-height: 52px; }
.screen .entry-label { font-size: 13px; }
.screen .set-table th, .screen .set-table td { padding: 4px 3px; }
.set-key { font-size: 13px; }
.lock-example { margin: 0; min-width: 0; }
.lock-screen { width: 300px; max-width: 100%; min-height: 420px; border: 8px solid var(--text); border-radius: 36px; background: var(--darkBg); position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 16px; overflow: hidden; }
.lock-wallpaper { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .40; z-index: -1; }
.lock-clock { display: grid; justify-items: center; padding: 40px 8px 28px; color: var(--surface); font-size: 15px; font-weight: 600; }
.lock-clock strong { font-size: 64px; line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums; }
.lock-notices { padding: 0 12px; display: grid; gap: 8px; }
.lock-notice { padding: 12px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; background: var(--surface); border-radius: 20px; font-size: 15px; line-height: 1.35; }
.lock-notice > div { min-width: 0; }
.lock-notice b { font-weight: 600; }
.lock-notice p { margin: 2px 0 0; }
.lock-notice .nh { flex-wrap: wrap; }
.lock-notice .nh span { color: var(--dim); font-size: 13px; }
.sender { position: relative; width: 40px; height: 40px; }
.sender > img { display: block; width: 40px; height: 40px; border-radius: 10px; }
.sender > .app-badge { width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--surface); position: absolute; right: -2px; bottom: -2px; }
.community-intro > p:last-child { margin-bottom: 0; }
.community-rows .rows { margin-top: 0; }
.friends-board { border: 1px solid var(--border); border-radius: 16px; padding: 16px; background: var(--surface); min-width: 0; }
.friends-board > .nh { margin-bottom: 12px; }
.friends-board .podium { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; }
.friends-board .place.second, .friends-board .place.third { margin-top: 18px; }
.friends-board .medal-photo > img { width: 52px; height: 52px; }
.friends-board .first .medal-photo > img { width: 64px; height: 64px; }
.friends-board .weight { font-size: 17px; }
.friends-board .first .weight { font-size: 20px; }
.friend-place .ranked-row { border: 0; padding: 0; }
.friend-place.own { background: var(--wash); border-radius: 12px; padding: 8px; }
.behind { margin: 8px 0 0; color: var(--faint); font-size: 12px; }
.see-all { display: block; font-size: 15px; font-weight: 600; color: var(--link); margin-top: 12px; }
.vision-band { background: var(--darkBg); color: var(--darkText); }
.vision-band .band-backdrop { opacity: .26; }
.vision { max-width: 760px; padding-block: 64px; }
.eyebrow { color: var(--darkText); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 16px; }
.vision .section-lede { max-width: none; }
.vision-rule { height: 0; border-top: 1px solid currentColor; opacity: .2; margin: 28px 0; }
.vision .rows { border: 0; margin: 0; }
.vision .row { border: 0; padding: 10px 0; }
.vision .row dd { color: var(--darkText); }
.vision .row dt { font-size: 17px; }
.cta-email { width: 100%; min-height: 56px; margin-top: 8px; background: var(--todoFill); color: var(--text); border: 2px solid var(--todo); }
@media (min-width: 860px) {
  .community-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .community-intro { grid-column: 1; grid-row: 1; }
  .community-rows { grid-column: 1; grid-row: 2; }
  .lock-example { grid-column: 2; grid-row: 1 / span 2; }
  .vision { padding-block: 80px; }
  .vision .row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 480px) {
  .top { gap: 8px; }
  .top-link { padding-inline: 12px; }
}
@media (max-width: 359px) {
  .lock-screen { border-width: 6px; }
  .lock-notices { padding-inline: 8px; }
  .lock-notice { padding: 10px; gap: 8px; }
  .owner-label { display: none; }
}
/* 200% page zoom on a phone (about 195 px wide): the header wraps and the hero title shrinks, so nothing scrolls sideways. */
@media (max-width: 299px) {
  .top { flex-wrap: wrap; row-gap: 8px; padding-block: 12px; }
  .hero h1 { font-size: 32px; }
}

/* ---------- Privacy (DRAFT; not published until the legal check, see README) ---------- */
.doc h1 { font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; margin: 8px 0 6px; }
.meta { margin: 0 0 24px; font-size: 15px; color: var(--dim); }
.short {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 0 32px;
}
.short h2 { font-size: 19px; margin: 0 0 8px; font-weight: 600; }
.short ul { margin: 0; padding-left: 20px; }
.short li { margin: 8px 0; }
.doc-head { max-width: 760px; }
.toc { margin: 0 0 32px; font-size: 15px; }
.toc h2 { font-size: 15px; font-weight: 600; margin: 0 0 6px; color: var(--dim); }
.toc ol { margin: 0; padding-left: 22px; }
.toc li { margin: 4px 0; }
.doc section { margin: 0 0 36px; scroll-margin-top: 16px; }
.doc section h2 { font-size: 22px; font-weight: 600; line-height: 1.25; margin: 0 0 10px; }
.doc section h3 { font-size: 17px; font-weight: 600; margin: 20px 0 6px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.gap { background: var(--surface); border: 1px dashed var(--border); border-radius: 6px; padding: 0 5px; font-size: 0.92em; }

/* The privacy page's ledger rows: the home's rows, with the wider text and a second dim line. */
.doc .rows { margin: 8px 0 0; }
.doc .row dd { max-width: 68ch; color: var(--text); }
.doc .row dd + dd { margin-top: 4px; color: var(--dim); font-size: 15px; }

@media (min-width: 860px) {
  .doc-head { margin-left: 276px; }
  .doc-grid { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
  .toc { position: sticky; top: 24px; margin: 0; }
  .doc h1 { font-size: 42px; }
  .doc .row { grid-template-columns: 200px 1fr; }
  .doc .row dt { grid-row: span 2; }
}

/* Colour pass, 30 Nov 2026 (operator: "much of the page is bland black-and-white").
   Equipment takes the orange of the List your gym button; the tracker takes the app's own colours:
   blue titles, brass for records (set-type colours removed 30 Nov). Rows become flat white cards with coloured titles. */
.equipment-band { --todoWash: #f08a3c2e; /* todoFill at 18%: site adaptation */ }
.equipment-band::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--todoWash); pointer-events: none; }
.equipment-band .band-backdrop { z-index: -1; }
.equipment-band .pain-lines p:last-child { margin-bottom: 0; font-weight: 600; }
.equipment-band .rows, .tracker-band .rows { display: grid; gap: 12px; border-top: 0; }
.equipment-band .row, .tracker-band .row { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.equipment-band .row dt { color: var(--todo); }
.equipment-band .row dd, .tracker-band .row dd { color: var(--dim); }
.tracker-band .row dt { color: var(--link); }
.tracker-band .row-pr { border-color: var(--goldRing); background: var(--surface); position: relative; isolation: isolate; }
.tracker-band .row-pr::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--earnedWash); z-index: -1; }
.tracker-band .row-pr dt { color: var(--earned); }
/* Two columns only when the text column itself has room: with a picture per point, 640 px (one column beside the demo on desktop). */
.tracker-band .text { container-type: inline-size; }
@container (min-width: 640px) {
  .tracker-band .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Pictures and stronger grounds, 30 Nov 2026 (operator: a picture beside each point; set-type colours removed;
   bolder orange and blue). Each picture is decorative (the point's words say it); all come from the demo phone or
   the existing img-*.webp assets. */
.tracker-band { position: relative; isolation: isolate; border-top: 1px solid var(--hairline); }
.tracker-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #4a9eff2e; /* light accent at 18%: site adaptation */ pointer-events: none; }
.equipment-band .row, .tracker-band .row { position: relative; min-height: 88px; padding-left: 88px; }
.pic { position: absolute; left: 14px; top: 14px; width: 60px; height: 60px; border-radius: 12px; background: var(--raised); overflow: hidden; display: grid; place-items: center; align-content: center; }
.pic img { width: 40px; height: 40px; object-fit: contain; display: block; }
.pic.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pic.pair { grid-template-columns: repeat(2, 24px); gap: 4px; }
.pic.pair img { width: 24px; height: 24px; }
.pic.mini { font-variant-numeric: tabular-nums; line-height: 1.15; text-align: center; gap: 1px; }
.pic.mini b { display: block; font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; }
.pic.mini small { display: block; font-size: 11px; font-weight: 400; color: var(--dim); }
.pic.mini.pr { background: var(--surface); border: 1px solid var(--goldRing); }
.pic.mini.pr b { color: var(--earned); font-size: 15px; }
.pic.mini.rest b { color: var(--link); font-size: 15px; }
.equipment-band .pic { background: #f08a3c2e; /* the band's orange wash, on the white card */ }
.equipment-band .pic.photo { background: var(--raised); }
.tracker-band .pic { background: #4a9eff24; /* schemes.light.accentTint */ }
@media (max-width: 359px) {
  .equipment-band .row, .tracker-band .row { padding-left: 76px; }
  .pic { left: 12px; width: 52px; height: 52px; }
  .pic.mini b { font-size: 11px; }
}
/* 200% page zoom on a phone (under 300 px): the picture sits above the words so long words keep their width (Sol review). */
.equipment-band .row dd, .tracker-band .row dd { overflow-wrap: break-word; }
@media (max-width: 299px) {
  .equipment-band .row, .tracker-band .row { padding-left: 16px; min-height: 0; }
  .pic { position: relative; left: auto; top: auto; margin-bottom: 8px; }
}
