/* Power Shed — speed & agility schedule, join, log in and My account.
   Only what these pages add; everything else is site.css. */

.link-btn {
  background: none; border: 0; padding: 0; min-height: 24px; font: inherit; font-size: var(--fs-sm); font-weight: 600;
  cursor: pointer;   /* on a dark row: the dark-surface link look is site.css's */
}
.inline-form { display: inline; margin: 0; }
.eyebrow-light { color: var(--chalk); }

/* ---------- classes.php ---------- */
.classes-hero h1 { margin-bottom: var(--s2); text-shadow: var(--text-shade); }
.class-facts {
  list-style: none; padding: 0; margin: 0 0 var(--s2);
  display: grid; gap: var(--s1); grid-template-columns: 1fr;
}
@media (min-width: 720px) { .class-facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .class-facts { grid-template-columns: repeat(4, 1fr); }
  .class-facts-5 { grid-template-columns: repeat(5, auto); gap: var(--s1); }
  .class-facts-5 li { padding: var(--s1) var(--s1-5); }
}
.class-facts li {
  background: color-mix(in srgb, var(--black) 32%, transparent); border-left: 4px solid var(--chalk); border-radius: var(--radius-sm);
  padding: var(--s1) var(--s1-5); line-height: 1.35;
}
.class-facts strong { display: block; font-family: var(--font-display); font-size: var(--fs-h3); text-transform: uppercase; letter-spacing: .04em; color: var(--white); }
.fact-line { display: block; }
.classes-sports { margin: 0; color: var(--chalk); opacity: .9; }

.class-cta {
  display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; justify-content: space-between;
  background: var(--char); border: 1px solid var(--steel); border-left: 5px solid var(--red);
  border-radius: var(--radius); padding: var(--s3); margin-bottom: var(--s3);
}
.class-cta-title { font-size: var(--fs-xl); margin-bottom: var(--s0); }

.class-week { margin-top: var(--s3); }
.class-week-title {
  font-size: var(--fs-h3); letter-spacing: .06em; color: var(--grey-light);
  padding-bottom: var(--s1); border-bottom: 2px dashed color-mix(in srgb, var(--red) 45%, transparent); margin-bottom: var(--s2);
}
.class-days { display: grid; gap: var(--s2); grid-template-columns: 1fr; }
@media (min-width: 720px) { .class-days { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .class-days { grid-template-columns: repeat(4, 1fr); } }

.class-day { background: var(--char); border: 1px solid var(--steel); border-radius: var(--radius); overflow: hidden; }
.class-day-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: var(--s1) var(--s2);
  background: var(--dirt-tile);   /* infield dirt, never a clay gradient under --noise (PSA_23626) */
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
}
.class-dow { font-size: var(--fs-lg); font-weight: 700; color: var(--white); }
.class-date { color: var(--chalk); font-weight: 600; }

.class-session { padding: var(--s1-5) var(--s2); border-top: 1px solid var(--steel); scroll-margin-top: calc(var(--header-h) + 1rem); }
.class-day-head + .class-session { border-top: 0; }
.class-session:target { box-shadow: inset 4px 0 0 var(--red); }
.class-session-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s1); }
.class-time { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; letter-spacing: .04em; color: var(--white); }

.spot-bar { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s0); margin: var(--s1) 0 var(--s0); }
.spot-bar span { height: 8px; border-radius: var(--radius-xs); background: var(--steel); }
.spot-bar span.on { background: var(--green-ok); }
.class-session.is-full .spot-bar span.on { background: var(--red); }

.class-athletes { list-style: none; margin: var(--s1) 0 0; padding: 0; display: grid; gap: var(--s1); }
.class-athlete { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s0) var(--s1); }
.class-athlete form:has(.btn) { flex: 1 1 100%; }
.class-athlete .btn { width: 100%; }
.class-why { font-size: var(--fs-xs); color: var(--grey-light); line-height: 1.3; }
/* "✓ Sam: You're in" is a .badge.badge-open (site.css); a long name wraps rather than leave the card */
.class-athlete .badge { white-space: normal; }

/* ---------- join.php ---------- */
.join-errors { margin: var(--s0) 0 0; padding-left: var(--s2); }
.join-form { max-width: 980px; margin: 0 auto; gap: var(--s3); }
.join-step legend {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xl); text-transform: uppercase;
  letter-spacing: .03em; color: var(--white); margin-bottom: var(--s2); display: flex; align-items: center; gap: var(--s1);
}
.step-no {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--red); color: var(--white); font-size: var(--fs-lg);
}
/* the plan grid, flag and term line are site.css's, shared with Memberships */
.plan-card {
  position: relative; display: flex; flex-direction: column; gap: var(--s1);
  background: var(--white); color: var(--ink); border: 3px solid transparent; border-radius: var(--radius);
  padding: var(--s3); padding-top: calc(var(--s3) + .4rem); cursor: pointer; box-shadow: var(--shadow);
  transition: border-color .15s, transform .15s;
}
.plan-card:hover { transform: translateY(-2px); }
.plan-card input { position: absolute; top: 1rem; right: 1rem; width: 22px; height: 22px; accent-color: var(--red); }
.plan-card.is-selected, .plan-card:has(input:checked) { border-color: var(--red); box-shadow: var(--ring), var(--shadow); }
.plan-card .plan-flag { position: absolute; top: -12px; }
.plan-card.is-popular { overflow: visible; }
.plan-name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); text-transform: uppercase; color: var(--black); padding-right: var(--s4); line-height: 1.1; }
.plan-card .card-list { font-size: var(--fs-md); }

.existing-athletes { display: grid; gap: var(--s1); margin-bottom: var(--s2); }

.price-line {
  background: var(--noise), linear-gradient(180deg, var(--turf-light), var(--turf));
  background-blend-mode: soft-light, normal;
  border-radius: var(--radius); padding: var(--s2) var(--s3); color: var(--white);
}
.price-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s1); font-size: var(--fs-lg); }
.price-total strong { font-family: var(--font-display); font-size: var(--fs-2xl); line-height: 1; }

/* ---------- login.php ---------- */
.auth-section { min-height: 60vh; display: grid; align-items: center; }
.auth-card { max-width: 440px; margin: 0 auto; }
.auth-title { font-size: var(--fs-3xl); color: var(--black); margin: 0; }
.auth-card .notice-warn { color: var(--ink); }
.auth-card a { font-weight: 600; }   /* the light-surface link look: site.css */
.auth-card .small a { white-space: nowrap; } /* keep a link's words together on a phone (PSA_23605) */

/* ---------- account.php: mock-up D (👤 Alex, PSA_23598; built PSA_23599) ----------
   Centred throughout (platform.md §4). Top to bottom: the head (name, email, phone, the adult's
   waiver), the Batting Cage Membership ticket, the Speed & Agility Membership ticket with one row per
   child, then Change or cancel, Password and Log out boxes. Every cell's content is centred top to
   bottom. */
.account-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s2); }
.account-waiver { justify-content: center; margin-top: var(--s1); }
.page-account .account-h { font-size: var(--fs-xl); text-align: center; margin: var(--s3) 0 0; }
.waiver-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1); }

/* the two tickets: a red top edge, the product big and bold, the plan small and red under it */
.pass {
  position: relative; text-align: center; overflow: hidden;
  background: var(--noise), linear-gradient(180deg, color-mix(in srgb, var(--steel) 55%, var(--char)), var(--char));
  background-blend-mode: soft-light, normal;
  border: 1px solid var(--steel); border-top: var(--edge) solid var(--red); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: var(--s3) var(--s2) var(--s2);
}
@media (min-width: 720px) { .pass { padding: var(--s3); } }
.pass + .pass { margin-top: var(--s3); }
.page-account .pass > .account-h { font-size: var(--fs-h2); line-height: 1.05; margin: 0; }
.pass-plan { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; color: var(--red-text); margin: var(--s1) 0 0; }
.pass-price { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--chalk); margin: var(--s1) 0 0; }
.pass-price small { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--grey); }
.pass-status { margin: var(--s1-5) 0 0; }
.pass-join { margin: var(--s1) 0 0; }
.pass > .btn { margin-top: var(--s1-5); }
.pass-stitch { height: 14px; background: var(--stitch) repeat-x center / 28px 14px; opacity: .55; margin: var(--s2) calc(-1 * var(--s2)); }

/* the ticket's cells (👤 Alex, PSA_23673): Commitment · Next payment · cage slot 1 · cage slot 2,
   equal, 2 per row on a phone and all in one row from 900px. With no pass only the two slots:
   side by side from 520px. Each label is pinned to the top, the content one block centred below */
.pass-cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s1-5) var(--s2); }
.pass-cells.cells-3 > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .pass-cells.cells-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pass-cells.cells-3 > :first-child { grid-column: auto; }
  .pass-cells.cells-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 519.98px) { .pass-cells.cells-2 { grid-template-columns: 1fr; } }
.pass-cell, .child-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  background: color-mix(in srgb, var(--black) 28%, transparent); border-radius: var(--radius-sm); padding: var(--s1-5) var(--s1);
}
.pass-cell { justify-content: flex-start; }
/* a step up from a small grey label, a step below the child row's .cell-head */
.pass-cell > .pass-cell-head {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); letter-spacing: .08em; text-transform: uppercase; color: var(--chalk);
  line-height: 1.2; margin: 0 0 var(--s1); padding-bottom: var(--s0); border-bottom: 1px solid color-mix(in srgb, var(--red) 75%, transparent);
}
.pass-cell .btn { margin-top: 0; }
.up-when { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--white); letter-spacing: .03em; }
/* a booked slot's action, on its own line under the cage name: a small pill, not a link */
.slot-form { margin: var(--s1) 0 0; }
.pill-btn {
  position: relative; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: var(--s0) var(--s1-5);
  background: none; border: 2px solid var(--grey-light); border-radius: var(--radius-pill);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-xs); line-height: 1.2; color: var(--white);
}
a.pill-btn { margin-top: var(--s1); text-decoration: none; }
.athlete-row a.pill-btn, .athlete-row a.pill-btn:hover { color: var(--white); text-decoration: none; }
.pill-btn:hover { border-color: var(--white); }
.pill-btn:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Speed & Agility: one row per child, split by a dashed line; three equal columns from 900px:
   left = name, report card, waiver · middle = the plan · right = upcoming classes */
.child-row { padding: var(--s2) 0; border-top: 1px dashed color-mix(in srgb, var(--white) 18%, transparent); }
.child-row:first-of-type { border-top: 0; padding-top: 0; }
.child-row:last-of-type { padding-bottom: 0; }
.child-grid { display: grid; gap: var(--s1); grid-template-columns: 1fr; }
@media (min-width: 900px) { .child-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.child-cell strong { color: var(--white); }
.child-cell .btn { margin-top: var(--s1); }
.child-who { gap: var(--s1); }
.child-who h3 { font-size: var(--fs-h3); margin: 0; }
/* left cell, top to bottom: name · sport and birthdate · report card button or its two lines ·
   LAST the waiver, a pill in the report card button's look (👤 Alex, PSA_23672) */
.child-who .rc-none { margin: calc(-1 * var(--s0)) 0 var(--s0); }
.waiver-pill {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s1); min-height: 40px; padding: var(--s1) var(--s2);
  border: 2px solid var(--grey-light); border-radius: var(--radius-pill);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-sm); color: var(--white);
}
.waiver-pill .waiver-key { color: var(--grey-light); }
.waiver-pill .badge { padding-block: 0; line-height: 1.4; }   /* the pill keeps the report card button's height */
.athlete-row .waiver-pill a.waiver-sign { color: var(--green-text); text-decoration: underline; text-underline-offset: 3px; }
.athlete-row .waiver-pill a.waiver-sign:hover { color: var(--white); }
/* middle and right cells: the label is the cell's heading, pinned to the top; everything under it
   is one block, centred top to bottom in the space left */
.child-col { justify-content: flex-start; }
.child-col > .cell-head {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); letter-spacing: .05em; text-transform: uppercase; color: var(--white);
  line-height: 1.15; margin: 0 0 var(--s1); padding-bottom: var(--s0); border-bottom: 2px solid var(--red);
}
.cell-body { margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.cell-body > .btn:only-child { margin-top: 0; }
/* with no class to show, the right cell is one green button (👤 Alex, PSA_23672): positive, no red glow */
.btn-go { --btn-bg: var(--green-fill); --btn-fg: var(--white); box-shadow: none; }
.btn-go:hover { --btn-bg: color-mix(in srgb, var(--green-fill) 85%, var(--black)); }
.child-classes { list-style: none; padding: 0; margin: 0 0 var(--s0); display: grid; gap: var(--s0); }
.child-classes .up-when { font-size: var(--fs-base); }
.child-none p { margin-bottom: var(--s1); }

/* the report card opens full width under the row: a focusable, unseen checkbox and its label */
.rc-btn {
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: var(--s1); min-height: 40px; padding: var(--s1) var(--s2);
  border: 2px solid var(--grey-light); border-radius: var(--radius-pill);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-sm); color: var(--white);
}
.rc-btn::after { content: '+'; color: var(--red-text); font-size: var(--fs-lg); line-height: 1; }
.rc-toggle:checked ~ .child-grid .rc-btn::after { content: '–'; }
.rc-toggle:focus-visible ~ .child-grid .rc-btn { outline: 3px solid var(--red); outline-offset: 2px; }
.rc-btn:hover { border-color: var(--white); }
.rc-panel { display: none; }
.rc-toggle:checked ~ .rc-panel { display: block; }
.pass .report-card { margin-top: var(--s2); }
/* below 900px the button opens the card full screen instead (report-card.js, PSA_25779): a top bar
   with the child's name and ×, the card scrolling under it, the page behind held still */
html.rc-sheet-open, html.rc-sheet-open body { overflow: hidden; }
.rc-sheet { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--char); color: var(--chalk); }
.rc-sheet[open] { display: flex; flex-direction: column; }
.rc-sheet::backdrop { background: var(--black); }
.rc-sheet-bar { flex: none; display: flex; align-items: center; gap: var(--s1); padding: var(--s1) var(--s1) var(--s1) var(--s2); border-bottom: 2px solid var(--red); background: var(--ink); }
.rc-sheet-title { flex: 1; min-width: 0; margin: 0; padding-left: 2.75rem; text-align: center; font-size: var(--fs-lg); line-height: 1.2; overflow-wrap: anywhere; }
.rc-sheet-close { flex: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; color: var(--chalk); font-size: var(--fs-2xl); line-height: 1; cursor: pointer; }
.rc-sheet-close:hover, .rc-sheet-close:focus-visible { color: var(--white); }
.rc-sheet-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--s2); }
.rc-sheet .rc-panel { display: block; margin-top: 0; border-top: 0; padding-top: 0; }

/* Change or cancel, Your card, Password, Log out: one box look */
.account-box {
  background: var(--char); border: 1px solid var(--steel); border-top: var(--edge) solid var(--steel-light); border-radius: var(--radius);
  padding: var(--s3) var(--s2); text-align: center; width: 100%; max-width: 52rem; margin: var(--s2) auto 0;
}
.change-list { list-style: none; padding: 0; margin: 0 0 var(--s1-5); display: grid; gap: var(--s1-5); }
.change-list li { display: flex; flex-direction: column; align-items: center; gap: var(--s0); }
.change-list strong { color: var(--white); }
.change-do { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s1); }
.account-fold > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: var(--s1); min-height: 40px; padding: var(--s1) var(--s2);
  border: 2px solid var(--grey-light); border-radius: var(--radius-pill);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-md); color: var(--white);
}
.account-fold > summary::-webkit-details-marker { display: none; }
.account-fold > summary::after { content: '+'; color: var(--red-text); font-size: var(--fs-lg); line-height: 1; }
.account-fold[open] > summary::after { content: '–'; }
.account-fold[open] > summary { margin-bottom: var(--s2); }
.account-fold > summary:hover { border-color: var(--white); }
.password-form { width: 100%; max-width: 440px; margin: 0 auto; }
.password-form .field input { width: 100%; }
.password-form .btn { margin-top: var(--s1); }
.logout-form { margin: 0; }
.logout-form .btn, .card-box .btn { border: 2px solid var(--grey-light); border-radius: var(--radius-pill); }   /* the Change password fold's look */
.card-line { margin: 0 0 var(--s1-5); color: var(--white); font-size: var(--fs-md); font-weight: 600; }   /* "Visa ending 4242" (PSA_23819) */
.card-note { margin-top: var(--s1); }
/* on a phone, Cancel, Call to change and the cell links are 44px tap targets (UI 5 #11) */
@media (max-width: 519.98px) {
  .link-btn, .pass-cell a:not(.btn):not(.pill-btn), .child-cell a:not(.btn) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
  .pill-btn::after { content: ''; position: absolute; inset: -8px -4px; }   /* the 44px tap target, the pill still 32px */
  .waiver-pill .waiver-sign { margin: calc(-1 * var(--s1-5)) 0; }   /* the 44px tap target, the pill still 40px */
}

/* ---------- Speed & Agility page, centred (👤 Alex, 2026-10-24): the hero text and its fact
   boxes, the season notice, the Reserve a spot box and its buttons, and the week titles.
   The day cards below stay as they are. ---------- */
.classes-hero .wrap { text-align: center; }
.class-facts li { border-left: 0; border-top: var(--edge) solid var(--chalk); }
.page-classes .notice { text-align: center; }
.class-cta { flex-direction: column; justify-content: center; text-align: center; border-left: 1px solid var(--steel); border-top: var(--edge) solid var(--red); }
.class-cta .row { justify-content: center; }
.class-week-title { text-align: center; }
/* Logged in, free first class on (PSA_23353): one line per athlete — free, booked, had it, or a
   membership. Each fact on its own line (.lines, site.css), the action under it. */
.class-lines { list-style: none; margin: var(--s1) 0 0; padding: 0; display: grid; gap: var(--s1-5); width: 100%; max-width: 30rem; }
.class-lines > li { background: color-mix(in srgb, var(--black) 25%, transparent); border-radius: var(--radius-sm); padding: var(--s1) var(--s1-5); }
.class-lines > li > span + span { margin-top: var(--s0); }
.class-lines .btn { margin-top: var(--s0); }
.class-who { align-items: center; }
/* Tim's class description (PSA_23408): his tagline is the heading (PSA_23610), and the
   paragraph is centred under it too (👤 Alex, 2026-10-25). */
.class-about {
  background: var(--char); border: 1px solid var(--steel); border-top: var(--edge) solid var(--clay);
  border-radius: var(--radius); padding: var(--s3); margin-bottom: var(--s3); text-align: center;
}
.class-about-text { text-align: center; max-width: 44rem; margin: 0 auto; line-height: 1.6; }

/* ---------- join.php: two plans billed apart (PSA_23051) ---------- */
.join-step-sub { text-align: center; max-width: 46rem; margin: -.4rem auto var(--s2); color: var(--grey-light); }
.join-step legend { justify-content: center; width: 100%; }
.join-step .plan-grid-2 { max-width: 660px; }
.join-skip { justify-content: center; margin-top: var(--s2); }
.join-have { text-align: center; }
.join-who { margin-top: var(--s3); text-align: center; }
.join-who[hidden] { display: none; }
.join-who-title { font-size: var(--fs-h3); margin-bottom: var(--s1); }
.join-who .existing-athletes { justify-items: center; }
.join-lines { list-style: none; margin: 0 0 var(--s1); padding: 0 0 var(--s1); border-bottom: 1px dashed color-mix(in srgb, var(--white) 40%, transparent); display: grid; gap: var(--s1); }
.join-line-top { display: flex; justify-content: space-between; gap: var(--s1-5); font-weight: 600; }
.join-line-term { display: block; color: var(--chalk); font-size: var(--fs-sm); }

/* ---------- join.php: each plan its own panel (PSA_23081, 👤 Alex, 2026-10-24) ----------
   The cage step sits on steel grey with a red top edge, the Speed & Agility step on dark
   infield dirt with a clay top edge, so the two read as two choices. "Due today" stays turf.
   The legend floats so it sits INSIDE the panel, not on its border line. */
.join-step {
  border: 1px solid var(--steel); border-radius: var(--radius);
  padding: var(--s3) var(--s2); box-shadow: var(--shadow);
}
@media (min-width: 720px) { .join-step { padding: var(--s3); } }
.join-step > legend { float: left; width: 100%; padding: 0; }
.join-step > legend + * { clear: both; }
.join-step#cage {
  background: var(--noise), linear-gradient(180deg, color-mix(in srgb, var(--steel) 50%, var(--char)), var(--char));
  background-blend-mode: soft-light, normal;
  border-top: var(--edge) solid var(--red);
}
.join-step#class {
  background: var(--dirt-tile);   /* infield dirt (PSA_23626) */
  border-color: var(--clay-dark); border-top: var(--edge) solid var(--clay);
}
.join-step#class .step-no { background: var(--clay); }
.join-step#class .join-step-sub { color: var(--dirt-text); }
.join-step#class .muted:not(.plan-card .muted) { color: var(--dirt-text); }   /* grey fails AA on dirt (4.0:1); this is 8.2:1 */

/* ---------- Log in, Join and My account, centred (platform.md §4, PSA_23054) ----------
   Log in: the whole card (title, notices, labels, links); the typed text is centred too (site.css).
   Join: the hero, each plan card's name / flag / price / terms (its tick list stays left), the
   "Who is in class?" box and its links. The "Due today" lines stay a receipt (text left, amount right).
   My account is centred throughout: its own block above (PSA_23599). */
.auth-card .card-body { text-align: center; }
.join-hero .wrap { text-align: center; }
.join-hero .lead { margin-left: auto; margin-right: auto; }
.plan-card { text-align: center; align-items: center; }
.plan-card .plan-name { padding-left: var(--s4); padding-right: var(--s4); }
.plan-card .plan-flag { left: 50%; transform: translateX(-50%); }
.plan-card .card-list { text-align: left; align-self: stretch; }
/* the price's unit on its own line under the big number, so "tax" is never left alone on one (style-fold #5, PSA_23585) */
.plan-card .card-price small { display: block; margin-top: var(--s1); line-height: 1.3; text-wrap: balance; }
.join-who .btn { margin-top: var(--s1); }
.join-who .muted { margin-top: var(--s1); }

/* ---------- account.php: the athlete's report card (PSA_23273) ----------
   One tile per measurable: its name, the latest result, the change since the first test, and a
   small growth graph where better is always up. Centred, like every card (platform.md §4). */
.report-card { margin-top: var(--s3); border-top: 1px solid var(--steel); padding-top: var(--s2); text-align: center; }
.report-card-h { font-size: var(--fs-lg); margin: 0 0 var(--s2); }
.report-card-h .small { display: block; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 400; letter-spacing: 0; text-transform: none; margin-top: var(--s0); }
/* Each box keeps one small size however many there are (PSA_23608): auto-fit drops the
   empty tracks and the real ones sit centred; the box opens larger in the lightbox. */
.measure-grid { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(150px, 210px)); justify-content: center; }
.measure { margin: 0; background: var(--ink); border: 1px solid var(--steel); border-radius: var(--radius-sm); padding: var(--s1-5) var(--s1-5) var(--s1); }
.measure figcaption { display: flex; flex-direction: column; align-items: center; gap: .1rem; }
.measure-name { color: var(--grey-light); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; }
.measure-now { font-family: var(--font-display); font-size: var(--fs-2xl); line-height: 1.1; color: var(--white); }
.measure-change { font-size: var(--fs-sm); color: var(--grey); }
.measure-chart { display: block; width: 100%; height: auto; margin-top: .4rem; overflow: visible; }
.measure-chart .mc-base { stroke: var(--steel); stroke-width: 1; }
.measure-chart .mc-line { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.measure-chart .mc-dot { fill: var(--char); stroke: var(--red); stroke-width: 2; }
.measure-chart .mc-dot.is-last { fill: var(--red); }
.measure-chart .mc-val { fill: var(--chalk); font: 600 11px var(--font-body); text-anchor: middle; }
.measure-chart .mc-date { fill: var(--grey); font: 10px var(--font-body); text-anchor: middle; }

/* A box opens larger in a lightbox (assets/js/report-card.js). Hover and focus show it
   can be opened; the colours stay neutral, as on the card. */
.measure.is-zoomable { cursor: zoom-in; transition: border-color .15s ease; }
.measure.is-zoomable:hover, .measure.is-zoomable:focus-visible { border-color: var(--grey-light); }
.measure.is-zoomable:focus-visible { outline: 2px solid var(--chalk); outline-offset: 2px; }
.measure-hint { display: block; margin-top: var(--s0); font-size: var(--fs-xs); color: var(--grey); }
.measure-dialog { width: min(720px, calc(100vw - 2rem)); max-width: none; max-height: calc(100vh - 2rem); padding: 0; border: 1px solid var(--steel); border-radius: var(--radius-sm); background: var(--ink); color: var(--chalk); }
.measure-dialog::backdrop { background: color-mix(in srgb, var(--black) 75%, transparent); }
.measure-dialog-inner { position: relative; padding: var(--s4) var(--s2) var(--s2); }
.measure-dialog-close { position: absolute; top: .3rem; right: .4rem; width: 2.5rem; height: 2.5rem; padding: 0; border: 0; background: none; color: var(--chalk); font-size: var(--fs-2xl); line-height: 1; cursor: pointer; }
.measure-dialog-close:hover, .measure-dialog-close:focus-visible { color: var(--white); }
.measure-dialog .measure { border: 0; padding: 0; text-align: center; }
.measure-dialog .measure-name { font-size: var(--fs-base); }
.measure-dialog .measure-now { font-size: var(--fs-3xl); }
.measure-dialog .measure-change { font-size: var(--fs-lg); }
.measure-dialog .measure-chart { margin-top: .8rem; }
