/* Vertical: Circle-style shell. Blue #1ca0ef is a fill, never body text; white text on blue buttons. */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap');
/* Light by default, the Jump Analyzer's look (Geist, #F3F4F6, white cards with a soft shadow, a dark floating tab bar).
   Dark stays one tap away on the account page (cookie vtheme, set before paint in page()). */
:root {
  --blue: #1ca0ef; --blue-deep: #0b6fbd; --good: #12A150; --warn: #B26A00; --bad: #D93A2F;
  --bg: #F3F4F6; --side: #FFFFFF; --card: #FFFFFF; --card2: #F5F6F8; --card3: #E9EBEF;
  --ink: #0B0D10; --ink2: #59616D; --ink3: #8A919C; --line: rgba(16,24,40,.09); --track: #E6E8EC;
  --hover: rgba(16,24,40,.04); --onink: #FFFFFF; --ongood: #FFFFFF; --topbg: rgba(243,244,246,.9);
  --good-bg: #E3F6EA; --good-ink: #0E7A3C; --bad-bg: #FDECEA; --bad-ink: #B42318; --warn-bg: #FFF2DB; --warn-ink: #8A5300;
  --blue-bg: #E3F2FD; --blue-ink: #0A5A99; --miss: #F6D5D1;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.06);
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --good: #3DDC84; --warn: #FFB547; --bad: #FF6B5E;
  --bg: #07090C; --side: #0C0F13; --card: #11151A; --card2: #181D23; --card3: #222831;
  --ink: #F3F5F7; --ink2: rgba(243,245,247,.66); --ink3: rgba(243,245,247,.42); --line: rgba(255,255,255,.07); --track: #222831;
  --hover: rgba(255,255,255,.03); --onink: #0B0D10; --ongood: #062213; --topbg: rgba(7,9,12,.92);
  --good-bg: #11301f; --good-ink: #8EEDB8; --bad-bg: #3a1714; --bad-ink: #FFB4AC; --warn-bg: #3b2a0f; --warn-ink: #FFD38A;
  --blue-bg: #0f2a3b; --blue-ink: #CFEAFB; --miss: #4a2420; --shadow: none;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.icon { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--ink3); }
.small { font-size: 13px; color: var(--ink3); line-height: 1.45; }
.small b { color: var(--ink); font-weight: 500; }
.sub { font-size: 14.5px; color: var(--ink2); }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.row-i { display: inline-flex; align-items: center; gap: 5px; }
.row-i.gap { gap: 10px; }
.good-t { color: var(--good); }
.crumb { color: var(--ink2); text-decoration: underline; text-underline-offset: 3px; }
h1 { font-size: 28px; font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
h2 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin: 10px 0 2px; line-height: 1.25; }
h3 { font-size: 15px; font-weight: 600; }

/* ── Shell ── */
.app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--side); border-right: 1px solid var(--line); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; min-height: 0; }
.club { display: flex; align-items: center; gap: 11px; padding: 18px 18px 14px; }
.club .logo { width: 38px; height: 38px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; flex: none; }
.club .logo b { font-size: 13px; color: #0B0D10; letter-spacing: -.02em; }
.club .n { font-size: 15px; font-weight: 600; line-height: 1.2; }
.club .s { font-size: 12px; color: var(--ink3); margin-top: 2px; }
details.switch > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 11px; }
details.switch > summary::-webkit-details-marker { display: none; }
details.switch { padding: 18px 18px 14px; display: block; }
.clubmenu { margin-top: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.clubmenu a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: var(--ink2); }
.clubmenu a.on, .clubmenu a:hover { background: var(--card2); color: var(--ink); }
.search { margin: 0 14px 6px; height: 38px; border-radius: 11px; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; gap: 9px; padding: 0 12px; color: var(--ink3); font-size: 13px; }
.nav { padding: 4px 10px 16px; overflow-y: auto; flex: 1; scrollbar-width: thin; }
.grp { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); padding: 16px 10px 6px; display: flex; justify-content: space-between; align-items: center; }
.grp .lock { display: inline-flex; gap: 4px; align-items: center; text-transform: none; letter-spacing: 0; font-weight: 500; }
.sp { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px; font-size: 14px; color: var(--ink2); }
.sp:hover { background: var(--hover); color: var(--ink); }
.sp .em { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--card2); color: var(--ink2); flex: none; }
.sp .em .icon { width: 13px; height: 13px; }
.sp.on { background: var(--card2); color: var(--ink); }
.sp.on .em { background: var(--blue); color: #fff; }
.sp .badge { margin-left: auto; min-width: 20px; height: 20px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; padding: 0 6px; }
.sp .meta { margin-left: auto; font-size: 11px; color: var(--ink3); }
.me { border-top: 1px solid var(--line); padding: 14px 18px; display: flex; align-items: center; gap: 11px; }
.me .n { font-size: 14px; font-weight: 500; } .me .s { font-size: 12px; color: var(--ink3); }
.av { border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; flex: none; }
.main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; min-width: 0; }
.main.full { grid-template-columns: minmax(0, 1fr); }
.col { padding: 0 32px 60px; min-width: 0; }
.col.narrow { max-width: 760px; }
.head { display: flex; align-items: center; justify-content: space-between; padding: 22px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }
.head .sub { font-size: 13px; color: var(--ink3); margin-top: 4px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs a { font-size: 13px; font-weight: 500; padding: 7px 13px; border-radius: 999px; color: var(--ink3); }
.tabs a.on { background: var(--card2); color: var(--ink); }
.rail { border-left: 1px solid var(--line); padding: 22px; position: sticky; top: 0; max-height: 100vh; overflow-y: auto; }
.rt { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin: 6px 0 10px; display: flex; justify-content: space-between; align-items: center; }
.rt .lock, .lock { display: inline-flex; gap: 4px; align-items: center; text-transform: none; letter-spacing: 0; font-weight: 500; }
.rc { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 18px; }
.rc.tight { padding: 6px 16px; }
.rc .k { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.rc .t { font-size: 14px; font-weight: 500; margin-top: 3px; line-height: 1.35; }
.rc .big { font-size: 28px; font-weight: 600; letter-spacing: -.02em; margin: 4px 0 2px; }
.rrow { display: flex; align-items: center; gap: 11px; padding: 9px 0; font-size: 14px; }
.rrow + .rrow { border-top: 1px solid var(--line); }
.rrow small { color: var(--ink3); font-size: 12px; }
.rk { width: 22px; height: 22px; border-radius: 7px; background: var(--card2); font-size: 11px; font-weight: 600; display: grid; place-items: center; color: var(--ink2); flex: none; }
.mtop, .ptabs, .mchips { display: none; }

/* ── Buttons, chips, pills, forms ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: 14px; border: 0; cursor: pointer; white-space: nowrap; }
.btn.wide { display: flex; width: 100%; min-height: 48px; font-size: 15px; margin-top: 14px; }
.btn.ghost { background: var(--card2); color: var(--ink); }
.btn.done { display: flex; width: 100%; min-height: 48px; background: var(--card2); color: var(--good); cursor: default; }
.btn:disabled { opacity: .5; }
.linkbtn { background: none; border: 0; color: var(--ink3); font-size: 12.5px; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; padding: 0; }
.linkbtn:hover, .linkbtn.on { color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-size: 12.5px; font-weight: 500; padding: 5px 11px; background: var(--card2); color: var(--ink2); white-space: nowrap; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 16px; scrollbar-width: none; flex-wrap: wrap; }
.chip { white-space: nowrap; font-size: 13px; font-weight: 500; padding: 7px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink2); }
.chip.on { background: var(--ink); color: var(--onink); border-color: var(--ink); }
.flash { padding: 12px 14px; border-radius: 14px; background: var(--card2); font-size: 14px; margin-bottom: 14px; }
.flash.bad { background: var(--bad-bg); color: var(--bad-ink); }
label.f { display: block; font-size: 13px; font-weight: 500; color: var(--ink2); margin: 14px 0 6px; }
.in { width: 100%; min-height: 46px; border-radius: 12px; background: var(--card2); border: 1px solid var(--line); padding: 0 14px; font-size: 15px; color: var(--ink); }
textarea.in { padding: 12px 14px; line-height: 1.5; resize: vertical; }
.in.sm { min-height: 36px; width: 96px; font-size: 14px; }
select.in { appearance: none; }
.in:focus { outline: 2px solid rgba(28,160,239,.5); outline-offset: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { display: block; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card2); margin-top: 10px; cursor: pointer; font-size: 15px; }
.choice input { margin-right: 10px; accent-color: #1ca0ef; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink2); margin-top: 14px; line-height: 1.45; }
.consent input { margin-top: 3px; accent-color: #1ca0ef; }
.empty { padding: 30px; text-align: center; color: var(--ink3); font-size: 14px; background: var(--card); border: 1px dashed var(--line); border-radius: 16px; }
code.k { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; background: var(--card2); padding: 2px 6px; border-radius: 6px; }

/* ── Feed ── */
.post { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin-bottom: 14px; scroll-margin-top: 20px; }
.ph { display: flex; align-items: center; gap: 11px; }
.ph .who { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.role { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--card3); color: var(--ink2); }
.role.ve { background: var(--blue); color: #fff; }
.ph .when { font-size: 12px; color: var(--ink3); margin-top: 2px; }
.pin { margin-left: auto; font-size: 11.5px; color: var(--ink3); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.post h2 { font-size: 18px; margin: 14px 0 6px; }
.pbody { font-size: 14.5px; line-height: 1.6; color: var(--ink2); }
.pbody p { margin: 0 0 8px; } .pbody p:last-child { margin: 0; }
.media { margin-top: 14px; border-radius: 14px; aspect-ratio: 16 / 7; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 16px; border: 1px solid var(--line);
  background: radial-gradient(520px 260px at 72% 20%, rgba(28,160,239,.42), transparent 60%), linear-gradient(135deg, #0E1C2B, #05080C); }
.media .play { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; border: 0; }
.media .play svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }
.media .cap { font-size: 13px; font-weight: 500; color: #fff; position: relative; }
.media .cap small { display: block; color: rgba(255,255,255,.6); font-weight: 400; margin-top: 2px; }
.embed { margin-top: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card2); padding: 14px; display: flex; gap: 14px; align-items: center; }
.embed .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--blue); display: grid; place-items: center; color: #fff; flex: none; }
.embed .t { display: block; font-size: 14px; font-weight: 600; } .embed .s { display: block; font-size: 12.5px; color: var(--ink3); margin-top: 2px; }
.embed .go { margin-left: auto; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--card3); white-space: nowrap; }
.foot { display: flex; gap: 18px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink3); align-items: center; flex-wrap: wrap; }
.foot > span { display: inline-flex; align-items: center; gap: 6px; }
.foot .acts { margin-left: auto; gap: 14px; }
.event { display: flex; gap: 14px; align-items: center; margin-top: 14px; }
.event .t { font-size: 14px; font-weight: 600; }
.date { width: 54px; height: 58px; border-radius: 12px; background: var(--card2); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.date b { font-size: 20px; line-height: 1; } .date span { font-size: 10px; font-weight: 600; letter-spacing: .08em; color: var(--ink3); margin-top: 3px; }
.date.sm { width: 42px; height: 46px; } .date.sm b { font-size: 16px; }
details.composer { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-bottom: 18px; }
details.composer > summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: center; }
details.composer > summary::-webkit-details-marker { display: none; }
details.composer .fake { flex: 1; height: 40px; border-radius: 11px; background: var(--card2); display: flex; align-items: center; padding: 0 14px; color: var(--ink3); font-size: 14px; }
details.composer[open] > summary .btn { display: none; }
.cform { margin-top: 6px; }
.cfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }

/* ── Course spaces ── */
.course { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.lessons { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 14px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.lhead { font-size: 15px; font-weight: 600; padding: 0 6px; }
.lessons .small { padding: 0 6px; }
.prog { height: 6px; border-radius: 6px; background: var(--card3); overflow: hidden; margin: 10px 6px 6px; } .prog i { display: block; height: 100%; background: var(--blue); }
.sec { font-size: 12px; font-weight: 600; color: var(--ink2); margin: 16px 6px 6px; display: flex; justify-content: space-between; gap: 8px; }
.les { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; color: var(--ink2); }
.les:hover { background: var(--hover); }
.les.on { background: var(--card2); color: var(--ink); }
.les .ck { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--card3); display: grid; place-items: center; flex: none; color: var(--ink3); }
.les .ck .icon { width: 11px; height: 11px; }
.les .ck.done { background: var(--good-bg); border-color: transparent; color: var(--good); }
.les .ck.done .icon { stroke-width: 3; }
.les .ck.now { border-color: var(--blue); }
.les .d { margin-left: auto; font-size: 11.5px; color: var(--ink3); white-space: nowrap; }
.card.watch { display: flex; gap: 14px; align-items: center; margin-top: 14px; padding: 14px 18px; }
.card.watch .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--card2); display: grid; place-items: center; color: var(--ink2); flex: none; }
.card.watch .t { font-size: 14px; font-weight: 600; }

/* ── Training ── */
.card { background: var(--card); border-radius: 22px; padding: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.card.hero { margin-top: 18px; }
.card.hero .sub { font-size: 14px; }
.card.film { display: flex; gap: 14px; align-items: center; margin-top: 14px; }
.card.film .t { font-size: 16px; font-weight: 500; margin-top: 4px; }
.meter { display: grid; gap: 6px; margin: 4px 0 10px; }
.meter i { height: 5px; border-radius: 5px; background: var(--track); display: block; }
.meter.big i { height: 6px; }
.meter i.on { background: var(--blue); } .meter i.done { background: var(--good); }
.rc .meter { margin: 12px 0 8px; }
.warm { display: flex; gap: 12px; align-items: center; background: var(--card2); border-radius: 14px; padding: 10px; margin: 6px 0; }
.warm .t { font-size: 15px; font-weight: 500; }
.play { width: 64px; height: 44px; border-radius: 10px; background: #000; display: grid; place-items: center; border: 1px solid var(--line); flex: none; }
.play svg { width: 16px; height: 16px; fill: #fff; }
.play.sm { width: 52px; height: 38px; } .play.sm svg { width: 12px; height: 12px; }
.play.lg { width: 72px; height: 54px; }
.block { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin: 16px 0 2px; }
.row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.tile { width: 40px; height: 40px; border-radius: 10px; background: var(--card2); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--ink2); flex: none; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ex .n { font-size: 15px; } .ex .note { font-size: 12px; color: var(--ink3); margin-top: 2px; }
.ex .d { font-size: 14px; color: var(--ink2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.list { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 16px; }
.day { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.day:last-child { border-bottom: 0; }
.day .when { width: 38px; font-size: 13px; color: var(--ink3); font-weight: 500; }
.day .t { font-size: 15.5px; font-weight: 500; } .day .s { font-size: 13px; color: var(--ink3); margin-top: 2px; }
.chev { color: var(--ink3); display: inline-flex; }
.check { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--good-bg); color: var(--good); flex: none; }
.check .icon { width: 13px; height: 13px; stroke-width: 3; }
.bar { height: 4px; background: var(--track); border-radius: 4px; overflow: hidden; margin: 12px 0 6px; }
.bar i { display: block; height: 100%; background: var(--blue); }
details.exd > summary { list-style: none; cursor: pointer; }
details.exd > summary::-webkit-details-marker { display: none; }
.exopen { padding: 4px 0 14px; }
.exbody { display: flex; gap: 14px; align-items: center; }
.exbody img { width: 110px; height: 110px; object-fit: contain; background: #fff; border-radius: 14px; flex: none; }
.cue { font-size: 15px; line-height: 1.45; margin-top: 10px; } .exbody .cue { margin: 0; }
.video { position: relative; border-radius: 16px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.video video, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .pending { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: rgba(255,255,255,.62); font-size: 14px; padding: 20px;
  background: radial-gradient(500px 260px at 70% 25%, rgba(28,160,239,.32), transparent 60%), linear-gradient(135deg, #0E1C2B, #05080C); }
.prose { font-size: 15px; line-height: 1.65; color: var(--ink2); }
.prose p { margin: 0 0 12px; } .prose h3 { margin: 18px 0 6px; color: var(--ink); } .prose ul { margin: 0 0 12px 18px; } .prose b { color: var(--ink); }

/* ── Coach ── */
.probs { padding: 4px 16px; }
.item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.item .n { font-size: 16px; font-weight: 600; margin-top: 3px; }
.item .c { font-size: 14px; color: var(--ink2); margin-top: 3px; }
details.prob > summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; }
details.prob > summary::-webkit-details-marker { display: none; }
details.prob .chev { margin-top: 14px; }
details.prob[open] .chev { transform: rotate(90deg); }
.probvid { margin: 14px 0 4px; height: 150px; border-radius: 14px; position: relative; display: flex; align-items: flex-end; padding: 14px; border: 1px solid var(--line);
  background: radial-gradient(420px 200px at 70% 25%, rgba(28,160,239,.30), transparent 60%), linear-gradient(135deg, #0E1C2B, #05080C); }
.probvid .pill { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.14); color: #fff; font-size: 11px; }
.probvid .t { font-size: 14px; font-weight: 500; }
.part { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.part:last-child { border-bottom: 0; }
.part .k { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin-bottom: 4px; }
.part.wantfault { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.part ul.see { margin: 0; padding-left: 18px; } .part ul.see li { margin: 2px 0; }
.bigcue { font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.drill { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 10px; background: var(--card2); border-radius: 14px; }
.drill .play { width: 52px; height: 38px; } .drill .play svg { width: 12px; height: 12px; }
.drill .t { font-size: 14px; font-weight: 500; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.lb .rrow { padding: 8px 0; }

/* ── Director + admin ── */
.dhead { display: flex; align-items: flex-end; justify-content: space-between; padding: 22px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }
.dhead h1 { margin-top: 6px; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.actions .pill { background: var(--card); border: 1px solid var(--line); padding: 9px 14px; font-size: 13px; }
.btn.inline { min-height: 40px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi .k { font-size: 13px; color: var(--ink2); font-weight: 500; }
.kpi .v { font-size: 32px; font-weight: 600; letter-spacing: -.02em; margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.kpi .v small { font-size: 16px; color: var(--ink3); font-weight: 500; }
.kpi .s { font-size: 13px; color: var(--ink3); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.grid2 { display: grid; grid-template-columns: 1.75fr 1fr; gap: 14px; margin-top: 14px; }
.sidecol { display: flex; flex-direction: column; gap: 14px; }
.ch { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 10px; }
.ch .m { font-size: 13px; color: var(--ink3); }
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; align-items: end; height: 196px; }
.bars div { display: flex; flex-direction: column; align-items: center; gap: 8px; justify-content: flex-end; }
.bars i { width: 100%; max-width: 46px; flex: none; border-radius: 8px 8px 4px 4px; background: var(--card3); display: block; }
.bars i.now { background: var(--blue); }
.bars b { font-size: 12px; font-weight: 600; color: var(--ink2); font-variant-numeric: tabular-nums; }
.bars span { font-size: 12px; color: var(--ink3); }
.status .r { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.status .r:last-child { border-bottom: 0; }
.status .t { grid-column: 1 / -1; height: 5px; background: var(--card2); border-radius: 5px; overflow: hidden; }
.status .t i { display: block; height: 100%; border-radius: 5px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 500; color: var(--ink3); padding: 0 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.name { font-weight: 500; } .tbl td.mute { color: var(--ink2); }
.chipx { display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 999px; white-space: nowrap; border: 0; }
.chipx.bad { background: var(--bad-bg); color: var(--bad-ink); } .chipx.warn { background: var(--warn-bg); color: var(--warn-ink); }
.chipx.good { background: var(--good-bg); color: var(--good-ink); } .chipx.blue { background: var(--blue-bg); color: var(--blue-ink); }
.more { font-size: 13px; color: var(--ink2); font-weight: 500; margin-top: 12px; display: inline-flex; gap: 6px; align-items: center; }
.vt .r { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.vt .r:last-of-type { border-bottom: 0; }
.vt .g { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vt .g small, .vt .l small { font-size: 12px; color: var(--ink3); font-weight: 400; }
.vt .l small { display: block; margin-top: 2px; }
.lb .r { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 14px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.qr { background: #fff; padding: 18px; border-radius: 18px; display: inline-block; }
.qr img { display: block; width: 240px; height: 240px; }

/* ── Bare pages (login, join, quiz) ── */
.bare { max-width: 520px; margin: 0 auto; padding: max(env(safe-area-inset-top), 20px) 20px 60px; }
.bare h1 { margin: 8px 0 4px; }
.topbar { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 22px; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.brand img { height: 22px; }
.brand img.cobrand { height: 38px; width: auto; }
.bare .list { padding: 0 16px; }

/* ── Phone ── */
@media (max-width: 1180px) { .main { grid-template-columns: minmax(0, 1fr) 280px; } .kpis { grid-template-columns: repeat(2, 1fr); } .grid2, .cols { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .app { display: block; }
  .side { display: none; }
  .mtop { display: flex; align-items: center; justify-content: space-between; padding: max(env(safe-area-inset-top), 10px) 16px 8px; position: sticky; top: 0; z-index: 5; background: var(--topbg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .mtop .club { padding: 0; gap: 10px; } .mtop .club .logo { width: 34px; height: 34px; border-radius: 10px; }
  .mtop .r { display: flex; gap: 14px; color: var(--ink2); }
  .main, .main.full { display: flex; flex-direction: column; }
  .col { padding: 0 14px 130px; width: 100%; max-width: none; }
  .head { padding: 16px 0 14px; margin-bottom: 14px; }
  .head h1 { font-size: 22px; }
  .head .tabs { display: none; }
  .mchips { display: flex; gap: 8px; overflow-x: auto; margin: -2px -14px 14px; padding: 0 14px; scrollbar-width: none; }
  .mchips a { white-space: nowrap; font-size: 13px; font-weight: 500; padding: 7px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink2); }
  .mchips a.on { background: var(--ink); color: var(--onink); border-color: var(--ink); }
  .rail { order: -1; width: 100%; border: 0; padding: 14px 14px 0; position: static; max-height: none; overflow: visible; }
  .rail > :not(.keep) { display: none; }
  .rail .rc.keep { margin-bottom: 0; }
  .post { padding: 16px; }
  .media { aspect-ratio: 16 / 9; }
  .course { grid-template-columns: 1fr; }
  .lessons { position: static; max-height: none; }
  .head .row-i.gap .btn.ghost { display: none; }
  .ptabs { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); gap: 4px; padding: 6px; border-radius: 26px; z-index: 10; background: rgba(17,20,26,.95); backdrop-filter: blur(12px); border: 0; box-shadow: 0 14px 34px rgba(0,0,0,.32), inset 0 0 0 1px rgba(255,255,255,.08); }
  .ptabs a { flex: 1; min-width: 0; white-space: nowrap; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 2px; border-radius: 16px; font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,.58); }
  .ptabs a .icon { width: 20px; height: 20px; }
  .ptabs a.on { background: rgba(255,255,255,.14); color: #fff; }
  .spaces-page { padding: 0; } .spaces-page .sp { padding: 11px 10px; font-size: 15px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi .v { font-size: 26px; }
  .tbl { display: block; overflow-x: auto; white-space: nowrap; }
  .two { grid-template-columns: 1fr; }
  .cfoot { gap: 10px; }
}
@media print { .side, .ptabs, .mtop, .rail, .noprint { display: none !important; } .app { display: block; } }

/* Program v2: workouts A/B/C, month goal, focus cue */
.letter { width: 34px; height: 34px; border-radius: 10px; background: var(--card2); display: grid; place-items: center; font-size: 14px; font-weight: 700; color: var(--ink); flex: none; }
.monthgoal { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 14px; font-size: 15px; font-weight: 500; }
.monthgoal .eyebrow { display: block; margin-bottom: 4px; }
.focus { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--blue); background: var(--card2); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--ink); }
.focus.big { margin: 0 0 14px; font-size: 15px; }
.path { margin-top: 12px; }
.month { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.month:last-child { border-bottom: 0; }
.month .mnum { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--card2); color: var(--ink3); flex: none; }
.month .mnum .icon { width: 14px; height: 14px; stroke-width: 3; }
.month.past .mnum { background: var(--good-bg); color: var(--good); }
.month.now .mnum { background: var(--blue); color: #fff; }
.month .t { font-size: 15px; font-weight: 600; }
.month.next .t { color: var(--ink2); }
.month .bar { margin: 8px 0 0; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 6px; }
.howi { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.hn { font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 4px; }
.hn span { font-size: 13px; font-weight: 500; color: var(--ink2); margin-left: 6px; letter-spacing: 0; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; gap: 8px; } .howi { padding: 12px 14px; } .hn { font-size: 22px; margin-bottom: 2px; } }
.monthstrip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 18px; align-items: center; margin-bottom: 14px; border-radius: 20px; }
.monthstrip .t { font-size: 15px; font-weight: 600; margin-top: 3px; }
.ms-w { display: flex; gap: 8px; flex-wrap: wrap; grid-column: 1 / -1; }
.ms-w span { font-size: 12.5px; color: var(--ink2); background: var(--card2); padding: 5px 10px; border-radius: 999px; }
.ms-w b { color: var(--ink); margin-right: 6px; }
.monthstrip > .small { grid-row: 1; grid-column: 2; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 900px) { .monthstrip { grid-template-columns: 1fr; } .monthstrip > .small { grid-row: auto; grid-column: 1; } }

/* "You'll need" equipment line on workouts */
.gear { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0 12px; }
.gear .gl { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); margin-right: 2px; }
.gchip { background: var(--card2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 13px; color: var(--ink2); }

/* Section tabs inside one sidebar item (Athletes, Coaching, Club admin, Admin). Shown on every screen size. */
.subtabs { display: flex; gap: 4px; overflow-x: auto; padding: 18px 0 2px; scrollbar-width: none; }
.subtabs::-webkit-scrollbar { display: none; }
.subtabs a { flex: none; font-size: 13.5px; font-weight: 500; padding: 8px 14px; border-radius: 999px; color: var(--ink2); border: 1px solid var(--line); }
.subtabs a.on { background: var(--card2); color: var(--ink); border-color: transparent; }
.subtabs + .dhead { padding-top: 14px; }

/* Wide tables (roster, jump tests, coaches) scroll inside their card on phones instead of stretching the page */
.card:has(> table.tbl), .card:has(> form > table.tbl) { overflow-x: auto; }
.cols > *, .grid2 > *, .col { min-width: 0; }

/* Club logos (co-branding) */
.club .logo.img, .logo-lg.img { padding: 3px; overflow: hidden; }
.club .logo.img img, .logo-lg img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-lg { width: 64px; height: 64px; border-radius: 16px; background: #fff; display: grid; place-items: center; flex: none; }
.logo-lg b { font-size: 20px; color: #0B0D10; }
.joinlogo { width: 72px; height: 72px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 6px; margin: 6px 0 14px; }
.joinlogo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Onboarding kit: copyable templates */
.kit { white-space: pre-wrap; font: inherit; font-size: 13.5px; line-height: 1.55; color: var(--ink2); background: var(--card2); padding: 14px; border-radius: 14px; margin: 0; max-height: 360px; overflow: auto; }

/* "This weekend" question on This Week (normal / tournament / qualifier) */
.wkplan { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.wkplan .lbl { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.wkplan .seg { display: inline-flex; background: var(--card2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.wkplan .seg button { font: inherit; font-size: 13px; font-weight: 500; color: var(--ink2); background: none; border: 0; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.wkplan .seg button.on { background: var(--blue); color: #fff; }

/* T / Q marker next to an athlete's workouts on a tournament or qualifier week */
.wk-t { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; font-size: 10.5px; font-weight: 700; background: var(--card3); color: var(--ink2); margin-left: 4px; vertical-align: 1px; }

/* Exercise demo clip (replaces the drawing once filmed) */
.exbody.hasclip { flex-direction: column; align-items: stretch; gap: 10px; }
.exbody .exclip { width: 100%; max-width: 420px; border-radius: 14px; overflow: hidden; }

/* Admin: exercise clip review */
.cliplist { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.clipcard .clipprev { position: relative; margin: 12px 0 8px; background: #000; }
.clipcard .clipph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink3); font-size: 13px; pointer-events: none; }
.clipcard.playing .clipph { display: none; }
.clipopt { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.clipopt form { margin: 0; } .clipopt .pill.on { background: var(--blue); color: #fff; border-color: transparent; }
.tytag { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: var(--blue); color: #fff; vertical-align: 1px; }

/* ── Season schedule ── */
.rhythm { margin-bottom: 14px; } .rhythm h3 { margin: 6px 0 2px; }
.rhy-row { margin-top: 14px; } .rhy-l { font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink2); }
.rhy-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.rhy-c { background: var(--card2); border-radius: 10px; padding: 8px 2px; text-align: center; min-width: 0; }
.rhy-c .d { font-size: 11px; color: var(--ink3); } .rhy-c .v { font-size: 15px; font-weight: 700; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rhy-c.wo { background: var(--blue); } .rhy-c.wo .d, .rhy-c.wo .v { color: #fff; }
.rhy-c.rest .v { font-size: 12px; font-weight: 500; color: var(--ink3); padding-top: 2px; }
.rhy-c.game { background: var(--blue-bg); } .rhy-c.game .v { font-size: 12px; color: var(--blue-ink); padding-top: 2px; }
.rhy-c.prim { background: var(--card3); } .rhy-c.prim .v { font-size: 11px; color: var(--ink); padding-top: 3px; }
@media (max-width: 420px) { .rhy-days { gap: 4px; } .rhy-c .v { font-size: 14px; } .rhy-c.prim .v, .rhy-c.game .v, .rhy-c.rest .v { font-size: 10px; } }
.smonth { margin-bottom: 14px; padding: 18px 18px 6px; } .smonth .mt { margin: 6px 0 2px; font-size: 18px; }
.smonth .wos { display: grid; gap: 6px; margin: 12px 0 8px; } .smonth .wos span { font-size: 13.5px; color: var(--ink2); display: flex; gap: 8px; align-items: baseline; }
.smonth .wos b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--card3); color: var(--ink); font-size: 11px; flex: none; }
.wkrow { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.wkrow .wn { width: 62px; font-size: 14px; font-weight: 600; flex: none; }
.wkrow .wmid { flex: 1; min-width: 0; display: flex; gap: 10px; align-items: baseline; }
.wkrow .wd { width: 92px; font-size: 13px; color: var(--ink2); flex: none; } .wkrow .ws { font-size: 13.5px; color: var(--ink2); }
.wkrow .wtags { display: flex; gap: 6px; flex: none; } .wkrow .chev { color: var(--ink3); display: inline-flex; flex: none; }
.wkrow.now { margin: 0 -10px; padding: 12px 10px; background: var(--card2); border-radius: 12px; border-top-color: transparent; }
.wkrow.later { opacity: .55; }
@media (max-width: 520px) { .wkrow .wmid { flex-direction: column; gap: 2px; } .wkrow .wd { width: auto; } }

/* ── Sign-in help (login, check your email) ── */
.help { margin-top: 22px; font-size: 13.5px; color: var(--ink2); line-height: 1.55; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.help b { color: var(--ink); font-weight: 600; }
.steps { margin-top: 18px; display: grid; gap: 10px; }
.steps div { display: flex; gap: 11px; align-items: center; font-size: 14px; color: var(--ink2); }
.steps span { width: 24px; height: 24px; border-radius: 50%; background: var(--card2); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--ink); flex: none; }

/* ── Athlete profile (coaches and directors) ── */
.crumb.small { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: var(--ink3); }
.crumb.small .icon { width: 14px; height: 14px; }
.legend { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.legend > span { display: inline-flex; gap: 5px; align-items: center; }
.legend b { font-size: 11px; color: var(--warn); }
.grid24 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gml { font-size: 12px; color: var(--ink2); font-weight: 500; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gmw { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.gw { background: var(--card2); border-radius: 10px; padding: 7px 4px 5px; text-align: center; position: relative; }
.gw.cur { outline: 1.5px solid var(--blue); }
.sqs { display: flex; flex-direction: column; gap: 3px; align-items: center; }
.sq { display: inline-block; width: 14px; height: 9px; border-radius: 3px; background: var(--card3); }
.legend .sq { width: 12px; height: 8px; }
.sq.done { background: var(--good); } .sq.miss { background: var(--miss); } .sq.open { background: transparent; outline: 1.5px dashed var(--ink3); outline-offset: -1.5px; }
.sq.fut { background: var(--card3); opacity: .45; } .sq.pre { background: transparent; } .sq.off { background: var(--card3); opacity: .25; }
.gwl { font-size: 11px; color: var(--ink3); margin-top: 4px; line-height: 1.2; }
.gwl b { color: var(--warn); margin-left: 2px; font-size: 10px; } .gwl em { display: block; font-style: normal; font-size: 9.5px; color: var(--blue); letter-spacing: .02em; }
.fdot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.gw .fdot { position: absolute; top: 5px; right: 5px; }
.letter.done { background: var(--good-bg); color: var(--good); }
.letter .icon { width: 16px; height: 16px; }
.feed .ev { display: flex; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.feed .ev:last-child { border-bottom: 0; }
.feed .ev a b { font-weight: 600; } .feed .ev a:hover b { text-decoration: underline; }
.feed .ev .small { white-space: nowrap; }
.evdot { width: 8px; height: 8px; border-radius: 50%; flex: none; transform: translateY(-1px); }
.note { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.note:last-child { border-bottom: 0; }
textarea.in { width: 100%; resize: vertical; min-height: 64px; padding: 12px 14px; }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv > span:first-child { color: var(--ink3); }
.kv a { text-decoration: underline; text-underline-offset: 3px; }
.kv .in.sm { width: 140px; }
.linkbox { display: flex; gap: 14px; align-items: flex-end; margin-bottom: 14px; border-color: rgba(28,160,239,.45); }
.linkbox .in { margin-top: 10px; font-size: 13px; }
.btn[disabled] { opacity: .45; cursor: default; }
.tbl a.who { font-weight: 500; } .tbl a.who:hover { text-decoration: underline; }
@media (max-width: 900px) { .grid24 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .grid24 { grid-template-columns: repeat(2, 1fr); } .linkbox { flex-direction: column; align-items: stretch; } }

/* ── Add to Home Screen steps ── */
.a2hs { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.a2h-t { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin-bottom: 6px; }
.a2h-s { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.a2h-s:last-of-type { border-bottom: 0; }
.a2h-i { width: 38px; height: 38px; border-radius: 11px; background: var(--card2); display: grid; place-items: center; flex: none; }
.a2h-i svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a2h-i svg circle { fill: var(--blue); stroke: none; }
.a2h-i img { width: 30px; height: 30px; border-radius: 8px; }
.a2h-n { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--ink); color: var(--onink); font-size: 11px; margin-right: 8px; vertical-align: 1px; }
.a2h-done { color: var(--good); font-weight: 500; font-size: 15px; }
.a2hcard { display: flex; gap: 12px; align-items: center; }
.a2hcard img { width: 40px; height: 40px; border-radius: 10px; }

/* ── Girls / Boys segmented choice on the join form ── */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; min-height: 48px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--ink2); cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: var(--onink); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.a2hcard { align-items: flex-start; }
.a2hcard .pill { border: 1px solid var(--line); cursor: pointer; }
.a2hcard .pill.on { background: var(--ink); color: var(--onink); border-color: var(--ink); }

/* ── Problem library films (Ty) ── */
.pv { margin: 14px 0 4px; }
.pv .video { border-radius: 14px; }
.pvt { display: flex; gap: 10px; align-items: center; margin-top: 8px; font-size: 14px; font-weight: 500; }
.pvt .pill { font-size: 11px; padding: 3px 9px; }
.pvt .small { margin-left: auto; }

/* ── Season board (athletes x weeks) ── */
.sbwrap { padding: 0; overflow-x: auto; }
table.sbt { border-collapse: separate; border-spacing: 0; font-size: 13px; width: auto; }
.sbt th { font-size: 11.5px; font-weight: 500; color: var(--ink3); padding: 12px 3px 8px; text-align: center; position: sticky; top: 0; background: var(--card); }
.sbt th.cur { color: var(--blue); }
.sbt td { padding: 3px; text-align: center; border-bottom: 1px solid var(--line); }
.sbt .sbn { text-align: left; padding: 9px 12px 9px 16px; position: sticky; left: 0; background: var(--card); min-width: 170px; z-index: 1; white-space: nowrap; }
.sbt .sbn .small { font-size: 11.5px; }
.sbt .sbp { font-weight: 600; padding: 0 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.sb { width: 30px; min-width: 30px; height: 30px; font-size: 12px; font-weight: 600; border-radius: 0; }
td.sb, i.sb { background-clip: padding-box; }
td.sb.full { background: var(--good-bg); color: var(--good-ink); } td.sb.most { background: var(--blue-bg); color: var(--blue-ink); } td.sb.some { background: var(--warn-bg); color: var(--warn-ink); }
td.sb.none { background: var(--bad-bg); color: var(--bad-ink); } td.sb.open { color: var(--ink3); } td.sb.na { color: var(--ink3); } td.sb.pre { background: transparent; }
td.sb.cur { box-shadow: inset 0 0 0 1.5px var(--blue); }
td.sb sup { font-size: 8.5px; color: var(--warn); margin-left: 1px; }
.sblegend { display: flex; gap: 14px; flex-wrap: wrap; margin: 4px 0 12px; align-items: center; }
.sblegend span { display: inline-flex; gap: 6px; align-items: center; }
.sblegend i.sb { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
i.sb.full { background: var(--good-bg); } i.sb.most { background: var(--blue-bg); } i.sb.some { background: var(--warn-bg); } i.sb.none { background: var(--bad-bg); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sbwrap { width: fit-content; max-width: 100%; }
.sbt .sbp { color: var(--ink2); }
.rsearch { margin-bottom: 12px; max-width: 520px; }
.njl { display: flex; flex-wrap: wrap; gap: 6px; }
.njl span { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--card2); color: var(--ink2); }
.rc .big small { font-size: 15px; color: var(--ink3); font-weight: 500; }

/* ── Workout done: pinned button on phones, confirmation on This Week ── */
.donebar { margin-top: 18px; }
@media (max-width: 760px) { .donebar { position: sticky; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 5; } .donebar .btn { box-shadow: 0 0 0 6px var(--bg); } }
.donecard { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; border-color: rgba(61,220,132,.35); background: var(--good-bg); }
.donecard .dc { width: 38px; height: 38px; border-radius: 50%; background: var(--good); color: var(--ongood); display: grid; place-items: center; flex: none; }
.donecard .dc .icon { width: 20px; height: 20px; stroke-width: 3; }
.donecard .t { font-weight: 600; font-size: 16px; }
.emailtip { font-size: 13.5px; color: var(--warn); margin-top: 6px; }
.emailtip button { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.in.big { min-height: 58px; font-size: 22px; letter-spacing: .02em; }
.qt .f { margin-top: 10px; }
.card.setup { margin-bottom: 14px; border-color: rgba(28,160,239,.45); }
.card.setup .letter { width: 28px; height: 28px; border-radius: 50%; }
.card.setup .row a:hover { text-decoration: underline; }
.parentmail { background: #fff; color: #3B4757; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }

/* ── Notifications card and settings row ── */
.pn { position: relative; }
.pn-row { display: flex; gap: 12px; align-items: center; }
.pn-row b { font-weight: 600; }
.pn-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--warn); flex: none; }
.pn-dot.on { background: var(--good); } .pn-dot.off { background: var(--bad); }
.pn-x { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--ink3); font-size: 12px; cursor: pointer; }
.card.pn { margin-bottom: 14px; border-color: rgba(28,160,239,.45); padding-top: 26px; }
.mtop .r { display: flex; gap: 12px; align-items: center; }
.meav .av { font-size: 11px; }

/* Roles: "Your role" on the account page, "Who can do what" in Club admin, the 403 page */
.roleul { margin: 10px 0 4px; padding-left: 18px; font-size: 14px; line-height: 1.5; color: var(--ink2); }
.roleul li { margin: 3px 0; }
.rolegrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.rolegrid .card { background: var(--card2); }
details.roles > summary { cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: baseline; }
details.roles > summary::-webkit-details-marker { display: none; }
details.roles > summary::after { content: '+'; margin-left: auto; color: var(--ink2); font-size: 18px; }
details.roles[open] > summary::after { content: '–'; }
/* Club admin > Staff: one card per person, team checkboxes */
.card.staff + .card.staff { margin-top: 12px; }
.teamboxes { display: flex; flex-wrap: wrap; gap: 6px; }
.teamboxes .tb { position: relative; }
.teamboxes .tb input { position: absolute; opacity: 0; pointer-events: none; }
.teamboxes .tb span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--ink2); cursor: pointer; }
.teamboxes .tb input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.teamboxes .tb input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.status a.r { color: inherit; text-decoration: none; }
.status a.r:hover b { color: var(--blue); }
@media (max-width: 760px) { .rolegrid { grid-template-columns: 1fr; } }
/* demo clubs: sample data banner (src/demo.js) */
.demobar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #1ca0ef; color: #fff; border-radius: 12px; padding: 10px 14px; margin: 0 0 16px; font-size: 13.5px; line-height: 1.35; }
.demobar a { color: #fff; font-weight: 600; text-decoration: underline; white-space: nowrap; }
.main > .demobar { grid-column: 1 / -1; margin: 18px 32px 0; }
.bare .demobar { margin: 0 0 18px; }
@media (max-width: 900px) { .main > .demobar { order: -2; margin: 12px 14px 0; } }

/* ── Light theme details ── */
[data-theme="dark"] img.cobrand { filter: invert(1); }   /* the combined mark is ink; white in dark mode */
.post, .rc, details.composer, .lessons { box-shadow: var(--shadow); }
.kpi { box-shadow: var(--shadow); }
.btn { box-shadow: 0 10px 24px rgba(28,160,239,.22); }
.btn.ghost, .btn.sec, .pill { box-shadow: none; }
.btn.big { min-height: 54px; font-size: 16px; }
[data-theme="dark"] .btn { box-shadow: none; }

/* ── The Art of Jumping × VolleyElite: Vertical's own co-brand (the combined mark + both names) ── */
.cob { display: inline-flex; align-items: center; gap: 12px; padding: 7px 16px 7px 12px; border-radius: 99px; background: var(--card); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); max-width: 100%; }
.cob img.cobrand { height: 36px; width: auto; flex: none; }
.cob b { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }

/* ── Club signup (/join/<club>) ── */
.joinhero { margin: 6px 0 18px; }
.joinhero h1 { font-size: 34px; letter-spacing: -.035em; margin: 8px 0 8px; }
.joinhero .sub { font-size: 16px; line-height: 1.45; margin-bottom: 14px; }
.wyg { padding: 6px 18px; margin-bottom: 14px; }
.wyg-r { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.wyg-r:last-child { border-bottom: 0; }
.wyg-r b { font-size: 15px; font-weight: 600; }
.wyg-r .small { margin-top: 2px; }
.wyg-i { width: 38px; height: 38px; border-radius: 12px; background: var(--blue-bg); color: var(--blue); display: grid; place-items: center; flex: none; }
.wyg-i .icon { width: 19px; height: 19px; }
.joinform { padding: 22px 20px 24px; }
.joinform .sec { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin: 24px 0 2px; padding-top: 18px; border-top: 1px solid var(--line); }
.joinform .sec:first-of-type { border-top: 0; padding-top: 0; margin-top: 20px; }
label.f.req::after { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); margin-left: 6px; vertical-align: 2px; }

/* ── Appearance switch (account page) ── */
.themesw { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--card2); border: 1px solid var(--line); }
.themesw a { padding: 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 500; color: var(--ink2); }
.themesw a.on { background: var(--ink); color: var(--onink); }

/* ── Athlete Home: greeting + this week (the Jump Analyzer's home) ── */
.ahero { margin: 4px 0 16px; }
.ahero .adate { font-size: 14px; color: var(--ink2); font-weight: 500; }
.ahero h1 { font-size: 30px; letter-spacing: -.03em; margin: 4px 0 12px; }
.wkcard { margin-bottom: 18px; padding: 20px; }
.wkcard h2 { margin: 6px 0 12px; font-size: 21px; }
.wkcard .streak { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ink2); background: var(--card2); border-radius: 99px; padding: 4px 10px; }
.wk3 { display: grid; gap: 8px; margin-bottom: 16px; }
.wk3-r { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--card2); color: var(--ink); }
.wk3-r b { display: block; font-size: 14.5px; font-weight: 600; }
.wk3-r small { display: block; font-size: 12.5px; color: var(--ink3); margin-top: 2px; }
.wk3-r > .icon { color: var(--ink3); width: 16px; height: 16px; }
.wk3-c { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 13px; font-weight: 700; background: var(--card); color: var(--ink2); box-shadow: inset 0 0 0 1.5px var(--line); }
.wk3-r.done .wk3-c { background: var(--good); color: #fff; box-shadow: none; }
.wk3-r.done b { color: var(--ink2); }
.wk3-r.next { box-shadow: inset 0 0 0 1.5px var(--blue); background: var(--blue-bg); }
.wk3-r.next .wk3-c { background: var(--blue); color: #fff; box-shadow: none; }
.feedhead { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin: 22px 0 10px; }

/* ── Director Dashboard (what the club was sold: compliance by name, leaderboard, tryout to now) ── */
.kpis.three { grid-template-columns: repeat(3, 1fr); margin-bottom: 14px; }
.kpis .v small { font-size: 16px; color: var(--ink3); font-weight: 500; }
a.r { color: inherit; } .status a.r:hover b { color: var(--blue); }
.card.signups .big { font-size: 46px; font-weight: 700; letter-spacing: -.03em; margin: 8px 0 12px; font-variant-numeric: tabular-nums; }
.card.signups .big small { font-size: 17px; font-weight: 500; color: var(--ink3); letter-spacing: 0; margin-left: 6px; }
.card .bar { height: 8px; border-radius: 8px; background: var(--track); overflow: hidden; } .card .bar i { display: block; height: 100%; border-radius: 8px; background: var(--blue); }
.card.attn { margin-top: 14px; }
.attn .r { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.attn .r:last-of-type { border-bottom: 0; }
.who small { font-weight: 400; }
@media (max-width: 900px) { .kpis.three { grid-template-columns: 1fr 1fr; } .kpis.three > :first-child { grid-column: 1 / -1; } .attn .r .small { display: none; } }
/* Weekly report page */
.wkchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; }
.card.rep { margin-bottom: 14px; }
.card.rep .big { font-size: 48px; font-weight: 700; letter-spacing: -.03em; margin: 8px 0 2px; font-variant-numeric: tabular-nums; }
.rcounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.rcounts a { background: var(--card2); border-radius: 14px; padding: 12px 10px; text-align: center; color: var(--ink2); font-size: 12.5px; }
.rcounts b { display: block; font-size: 24px; font-weight: 700; margin-bottom: 2px; }
@media (max-width: 560px) { .rcounts { grid-template-columns: 1fr 1fr; } }
/* VolleyElite admin: clubs at a glance */
.clubcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; margin-bottom: 14px; }
.clubcard h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.cc-stats div { background: var(--card2); border-radius: 14px; padding: 10px 12px; }
.cc-stats b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.cc-stats span { font-size: 12px; color: var(--ink3); }
details.addclub summary { cursor: pointer; list-style: none; } details.addclub summary::-webkit-details-marker { display: none; }
details.addclub summary::after { content: ' +'; color: var(--ink3); font-weight: 600; }
details.addclub[open] summary::after { content: ' –'; }

/* QR & kit > Invite: the athlete code and the coach code, side by side */
.qrcard .qrrow { display: flex; gap: 20px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.qrcard .qr { padding: 12px; border: 1px solid var(--line); flex: none; }
.qrcard .qr img { width: 168px; height: 168px; }
.qrcard .grow { min-width: 200px; }

/* QR & kit: two equal columns (athlete code | coach code), one column on a phone */
.qrgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; align-items: start; }
.qrgrid > .card { margin-top: 0; height: 100%; }
.qrgrid > div > .card:first-child { margin-top: 0; }
@media (max-width: 900px) { .qrgrid { grid-template-columns: minmax(0, 1fr); } .qrgrid > .card { height: auto; } }
.kit.tall { max-height: 560px; }
.staffrow { padding: 12px 0; border-bottom: 1px solid var(--line); }
.staffrow:first-child { padding-top: 0; } .staffrow:last-child { border-bottom: 0; padding-bottom: 0; }

/* VolleyElite admin > People: a wide table, so cells stay compact and links read as links */
.tbl.ppl { white-space: nowrap; } .tbl.ppl th { white-space: nowrap; }
.tbl.ppl td { vertical-align: top; line-height: 1.45; padding: 10px 14px 10px 0; } .tbl.ppl th { padding: 0 14px 10px 0; } .tbl.ppl td.small a:hover, .tbl.ppl td a:hover { text-decoration: underline; }
.tbl.ppl td.small { font-size: 13px; }
