/* Athlete dashboard — the approved design (img/source/athlete-dashboard-mobile-locked.png, locked 2026-10-14),
 * one hierarchy on every screen size: header → welcome → Coach Austin → My Last Swing → My Best Swing.
 * Layout only; colours and type come from sc_platform.css tokens. */

body.ax { background: linear-gradient(180deg, #f2f5fd 0%, #e9eefb 100%); min-height: 100vh; }
.ax { --sa-t: 0px; --sa-r: 0px; --sa-b: 0px; --sa-l: 0px; --ax-tab-h: 0px; }

/* ── frame: sidebar (wide screens) + main column ── */
/* sidebar: premium dark navy, compact, electric-blue accents (approved correction, 2026-10-14) */
.ax-layout { display: grid; grid-template-columns: 184px minmax(0, 1fr); min-height: 100vh; }
.ax-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 0 10px;
  background: linear-gradient(180deg, #0d1530 0%, #0a1126 55%, #080d1d 100%); border-right: 1px solid rgba(80, 120, 255, .16); box-shadow: 4px 0 24px rgba(5, 10, 30, .18); }
.ax-mark { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 22px 8px 18px; }
.ax-mark-row { display: flex; align-items: center; gap: 9px; text-decoration: none; border-radius: 10px; }
.ax-mark svg { width: 30px; height: 30px; flex: none; padding: 5px; border-radius: 9px; background: linear-gradient(140deg, var(--sc-cobalt-hi), var(--sc-cobalt)); box-shadow: 0 4px 14px rgba(47, 107, 255, .35); }
.ax-mark-word { font-family: var(--sc-logo); font-style: italic; font-weight: 900; font-size: 15px; letter-spacing: -.2px; color: #fff; white-space: nowrap; }
.ax-mark-word i { color: var(--sc-yellow); margin-left: 3px; }
.ax-env { background: rgba(255, 240, 0, .1); color: var(--sc-yellow); border: 1px solid rgba(255, 240, 0, .3); font: 700 9px/1.4 system-ui, sans-serif; letter-spacing: .02em; padding: 4px 7px; border-radius: 7px; white-space: nowrap; }
.ax-nav { display: flex; flex-direction: column; gap: 3px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .07); }
.ax-nav a, .ax-nav-more { position: relative; display: flex; align-items: center; gap: 11px; min-height: 40px; padding: 0 12px; color: #b9c6e8; text-decoration: none; font: inherit; font-size: 14px; white-space: nowrap; font-weight: 500;
  letter-spacing: -.1px; border-radius: 10px; border: 0; background: none; cursor: pointer; text-align: left; transition: background .15s, color .15s; }
.ax-nav a .sc-ico, .ax-nav-more .sc-ico { width: 19px; height: 19px; stroke-width: 1.8; flex: none; color: #7f93c7; }
.ax-nav a:hover, .ax-nav-more:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.ax-nav a:hover .sc-ico, .ax-nav-more:hover .sc-ico { color: #c9d6ff; }
.ax-nav a:focus-visible, .ax-nav-more:focus-visible { outline: 2px solid #4f86ff; outline-offset: 1px; }
.ax-nav a[aria-current="page"], .ax-nav-more[aria-current="page"] { background: rgba(47, 107, 255, .16); color: #fff; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(79, 134, 255, .22); }
.ax-nav a[aria-current="page"]::before, .ax-nav-more[aria-current="page"]::before { content: ''; position: absolute; left: -10px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: #3d7bff; box-shadow: 0 0 10px rgba(61, 123, 255, .8); }
.ax-nav a[aria-current="page"] .sc-ico, .ax-nav-more[aria-current="page"] .sc-ico { color: #5b93ff; }
.ax-nav-sub { display: flex; flex-direction: column; gap: 2px; margin: 0 0 4px 21px; padding-left: 8px; border-left: 1px solid rgba(255, 255, 255, .12); }
.ax-nav-sub[hidden] { display: none; }
.ax-nav-sub a { min-height: 36px; font-size: 13.5px; }
.ax-nav-sub a .sc-ico { width: 17px; height: 17px; }
.ax-nav-sub a[aria-current="page"]::before { left: -19px; }
/* 2026-11-11: long legacy labels (Athletic Development, Prospect Combine, Game Mode Upload) wrap inside the sidebar instead of spilling past it */
.ax-side .ax-nav-sub { margin-left: 12px; }
.ax-side .ax-nav-sub a { white-space: normal; line-height: 1.25; gap: 9px; padding: 6px 6px 6px 10px; }
.ax-side .ax-nav-sub a[aria-current="page"]::before { left: -10px; }
.ax-brand { margin: auto 2px 16px; padding: 10px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); color: #fff; text-align: left; }
.ax-brand b { display: none; }
.ax-brand small { display: block; color: #7f93c7; font-weight: 700; font-size: 12px; letter-spacing: .07em; line-height: 1.6; }

.ax-main { min-width: 0; padding: 0 32px 40px; }
.ax-wrap { max-width: 1120px; margin: 0 auto; }
.ax-head { display: flex; align-items: center; gap: 18px; height: 96px; }
.ax-logo { text-decoration: none; display: flex; flex-direction: column; justify-content: center; min-height: 44px; margin-right: auto; }
.ax-logo b { font-family: var(--sc-logo); font-style: italic; font-weight: 900; font-size: 32px; color: var(--sc-cobalt); letter-spacing: -.4px; line-height: 1; }
.ax-logo b i { color: var(--sc-yellow); -webkit-text-stroke: .6px var(--sc-yellow-edge); font-style: italic; margin-left: 6px; }
.ax-logo small { white-space: nowrap; font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--sc-navy); margin-top: 6px; }
.sc-bell { min-width: 44px; min-height: 44px; display: grid; place-items: center; }
.ax-avatar { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, var(--sc-cobalt-hi), var(--sc-cobalt-deep)); color: #fff; font-weight: 800; font-size: 21px;
  box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(0, 0, 0, .14); flex: none; }

/* ── cards ── */
.ax-card { background: rgba(255, 255, 255, .94); border-radius: 18px; box-shadow: var(--sc-shadow); border: 1px solid rgba(255, 255, 255, .9); }
#scView > .ax-card + .ax-card, #scView > .ax-card + .ax-austin-slot, .ax-austin-slot + .ax-card { margin-top: 16px; }
.ax-empty { color: var(--sc-slate); font-size: 14px; line-height: 1.45; }
.ax-cap { font-size: 12.5px; color: var(--sc-slate); margin-top: 8px; }
.ax-note-strong { background: var(--sc-cobalt-soft); border-left: 4px solid var(--sc-yellow); border-radius: 12px; padding: 10px 12px; color: var(--sc-ink); font-size: 14px; }

/* welcome / profile */
.ax-welcome { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 16px 22px; }
.ax-welcome .ax-photo { width: 132px; height: 132px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 46px; font-weight: 800; color: #fff;
  background: linear-gradient(140deg, var(--sc-cobalt-hi), var(--sc-cobalt-deep)); box-shadow: 0 0 0 4px #fff, 0 8px 22px rgba(10, 30, 120, .2); }
.ax-hello { min-width: 0; flex: 1 1 200px; }
.ax-greet { font-size: 16px; font-weight: 800; color: var(--sc-cobalt-2); letter-spacing: .02em; }
.ax-welcome h1 { margin: 2px 0 4px; font-size: 50px; font-weight: 900; letter-spacing: -1.2px; color: #0a0f2e; line-height: 1.05; }
.ax-facts { font-size: 17px; color: var(--sc-ink); }
.ax-edit { margin-left: auto; }
.ax-edit-note { flex-basis: 100%; margin: 4px 0 0; background: #f1f5ff; border-radius: 12px; padding: 10px 12px; font-size: 14px; color: var(--sc-ink); }
.ax-edit-note[hidden] { display: none; }

/* Coach Austin — one card: portrait, identity, Remote Coaching, ask box, five quick actions */
.ax-coach { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; grid-template-areas: "photo id remote" "photo ask ask" "chips chips chips" "reply reply reply";
  gap: 10px 18px; align-items: center; padding: 16px 18px; background: linear-gradient(180deg, #f7f9ff, #eef3ff); }
.ax-coach-photo { grid-area: photo; width: 112px; height: 112px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #e9effd, #dfe7fb); align-self: start; }
.ax-coach-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; display: block; }
.ax-coach-id { grid-area: id; min-width: 0; }
.ax-online { display: flex; align-items: center; gap: 8px; color: var(--sc-green); font-size: 14.5px; }
.ax-online i { width: 11px; height: 11px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.ax-coach h2 { margin: 2px 0 0; font-size: 28px; font-weight: 800; color: #0a0f2e; letter-spacing: -.5px; line-height: 1.1; }
.ax-coach-id p { margin: 2px 0 0; color: var(--sc-slate); font-size: 16px; }
.ax-remote { grid-area: remote; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 14px 8px 10px; border-radius: 16px; border: 0; cursor: pointer; text-align: left;
  background: var(--sc-yellow); color: #0a1650; box-shadow: 0 8px 20px rgba(200, 190, 0, .28); }
.ax-remote .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--sc-cobalt); display: grid; place-items: center; flex: none; }
.ax-remote .ic .sc-ico { width: 22px; height: 22px; color: #fff; }
.ax-remote .tx b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.2px; }
.ax-remote .tx small { display: block; font-size: 14px; color: var(--sc-slate); }
.ax-remote .chev { width: 18px; height: 18px; }
.ax-ask { grid-area: ask; max-width: none; height: 54px; margin: 0; }
.ax-ask input { font-size: 16px; height: 44px; font-family: inherit; }
.ax-ask .sc-mic { width: 44px; height: 44px; }
.ax-chips { grid-area: chips; display: flex; gap: 8px; }
.ax-chip { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 12px; border-radius: 14px; border: 0; cursor: pointer;
  background: #fff; color: var(--sc-cobalt-deep); font: inherit; font-size: 14.5px; font-weight: 600; box-shadow: 0 3px 10px rgba(20, 45, 140, .07); white-space: nowrap; }
.ax-chip .sc-ico { width: 22px; height: 22px; color: var(--sc-cobalt); flex: none; }
.ax-chip.is-live, .ax-chip[aria-pressed="true"] { background: var(--sc-cobalt); color: #fff; }
.ax-reply { grid-area: reply; margin: 0; font-size: 14.5px; color: var(--sc-ink); line-height: 1.4; }
.ax-reply span::before { content: 'Coach Austin: '; font-weight: 700; color: var(--sc-cobalt-2); }
.ax-log[hidden] { display: none; }
.ax-sheet-close { display: none; }

/* My Last Swing */
.ax-last { padding: 16px 18px 18px; }
.ax-last-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.ax-last-title { min-width: 0; }
.ax-last-head h2 { margin: 0; font-size: 30px; font-weight: 800; color: #0a0f2e; letter-spacing: -.6px; }
.ax-when { margin: 2px 0 0; font-size: 17px; color: var(--sc-ink); }
.ax-sub { margin: 2px 0 0; font-size: 15px; color: var(--sc-slate); }
.ax-outline { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--sc-cobalt); background: #fff;
  color: var(--sc-cobalt-deep); font-weight: 700; font-size: 16px; cursor: pointer; white-space: nowrap; flex: none; }
.ax-outline .sc-ico { width: 18px; height: 18px; }
.ax-player { position: relative; border-radius: 14px; overflow: hidden; background: #0b1440; }
.ax-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: #0b1440; }
.ax-duo.is-3d { grid-template-columns: minmax(0, 1fr); }
.ax-pane { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; min-width: 0; }
.ax-pane[hidden] { display: none; }
.ax-duo.is-3d .ax-pane { aspect-ratio: auto; }
.ax-twin { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.ax-skel-host, .ax-skel-host > div { height: 100%; }
.ax-pane .mv2 { height: 100%; }
.ax-duo:not(.is-3d) .ax-pane .mv2-stage { width: 100%; height: 100%; aspect-ratio: auto !important; max-height: none; }
.ax-pane-lab { position: absolute; z-index: 6; left: 10px; top: 10px; padding: 5px 12px; border-radius: 999px; background: rgba(8, 14, 40, .72); color: #fff; font-size: 14px; font-weight: 600; pointer-events: none; }
.ax-fs { position: absolute; z-index: 6; right: 8px; top: 8px; width: 40px; height: 40px; border-radius: 10px; border: 0; background: rgba(8, 14, 40, .72); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ax-fs .sc-ico { width: 22px; height: 22px; }
.ax-duo.is-3d .ax-pane-lab { display: none; }
.ax-duo.is-3d .ax-fs { right: auto; left: 8px; top: auto; bottom: 8px; }
.ax-duo.is-3d .mv2-a3d-label { top: 10px; }
/* a pane in full screen: the whole player with only that pane, controls included */
.ax-player[data-fs]:fullscreen, .ax-player.ax-fs-css { display: flex; flex-direction: column; justify-content: center; background: #000; border-radius: 0; }
.ax-player.ax-fs-css { position: fixed; inset: 0; z-index: 200; padding: var(--sa-t) var(--sa-r) var(--sa-b) var(--sa-l); }
.ax-player[data-fs] .ax-duo { grid-template-columns: minmax(0, 1fr); flex: 1 1 auto; min-height: 0; background: #000; }
.ax-player[data-fs="orig"] #axSkel, .ax-player[data-fs="skel"] #axOrig { display: none; }
.ax-player[data-fs] .ax-pane { aspect-ratio: auto !important; height: 100%; }
body.ax-fs-lock { overflow: hidden; }

/* playback bar: replay · prev · play · next · time / timeline / speeds · views */
.ax .mv2-ctl, .ax .mv2-toggles, .ax .mv2-sync { display: none !important; }   /* one set of controls: ours, on the shared controller */
.ax-pb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px 12px; background: #0b1440; color: #fff; font-size: 14px; }
.ax-pb button { border: 0; cursor: pointer; background: rgba(255, 255, 255, .12); color: #fff; height: 44px; min-width: 44px; padding: 0 12px; border-radius: 10px; font-size: 15px; line-height: 1; }
.ax-pb button:hover { background: rgba(255, 255, 255, .22); }
.ax-pb .pb-play { background: var(--sc-cobalt); min-width: 60px; }
.ax-pb .pb-time { order: 1; margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ax-pb .pb-frame { order: 2; font-variant-numeric: tabular-nums; white-space: nowrap; opacity: .75; font-size: 13px; }
.ax-pb .pb-scrub { order: 3; flex: 1 1 100%; min-width: 80px; height: 30px; accent-color: var(--sc-yellow); margin: 0; }
.ax-pb .pb-speeds { order: 4; display: inline-flex; gap: 6px; }
.ax-pb .pb-speeds button { min-width: 56px; padding: 0 8px; font-size: 14px; }
.ax-pb .pb-speeds button[aria-pressed="true"] { background: var(--sc-yellow); color: #0a1650; font-weight: 700; }
.ax-pb .pb-modes { order: 5; margin-left: auto; display: inline-flex; gap: 6px; }
.ax-pb .pb-modes button { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 14.5px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; }
.ax-pb .pb-modes button .sc-ico { width: 20px; height: 20px; }
.ax-pb .pb-modes button[aria-pressed="true"] { background: var(--sc-cobalt); border-color: var(--sc-cobalt); }
.ax-cmp .ax-pb { margin-top: 8px; border-radius: 10px; }

/* My Best Swing */
.ax-best { border: 2.5px solid var(--sc-yellow-edge); box-shadow: 0 0 0 4px rgba(255, 240, 0, .2), var(--sc-shadow); padding: 14px 18px 14px; cursor: pointer; }
.ax-best:focus-visible { outline: 3px solid var(--sc-cobalt); outline-offset: 3px; }
.ax-best-head { display: flex; align-items: center; gap: 14px; }
.ax-best-head > .sc-ico { width: 48px; height: 48px; color: var(--sc-cobalt); fill: var(--sc-yellow); flex: none; }
.ax-best-head h2 { margin: 0; font-size: 30px; font-weight: 800; color: #0a0f2e; letter-spacing: -.5px; }
.ax-best-head p { margin: 2px 0 0; color: var(--sc-slate); font-size: 16px; }
.ax-chev-btn { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--sc-ink); flex: none; }
.ax-chev-btn .sc-ico { width: 24px; height: 24px; }
.ax-best-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 8px; }
.ax-stat { text-align: center; padding: 4px 8px; border-right: 1px solid #dde3f1; min-width: 0; }
.ax-stat:last-child { border-right: 0; }
.ax-stat label { display: block; font-size: 16px; color: var(--sc-ink); }
.ax-stat b { display: block; font-size: 34px; font-weight: 800; color: #0a0f2e; letter-spacing: -.8px; margin-top: 2px; white-space: nowrap; }
.ax-stat b small { font-size: 20px; font-weight: 500; color: var(--sc-slate); margin-left: 4px; letter-spacing: 0; }
.ax-stat em { display: block; font-style: normal; font-size: 12.5px; color: var(--sc-mute); margin-top: 4px; line-height: 1.6; }
.ax-stat em.low { color: #c8283a; }
.ax-prov { font-size: 12.5px; color: var(--sc-mute); margin-top: 8px; text-align: center; }

/* goals (Progress page) */
.ax-goals { padding: 18px 18px 14px; margin-bottom: 14px; }
.ax-goals-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ax-goals-head .sc-ico { width: 34px; height: 34px; color: var(--sc-cobalt); }
.ax-goals-head b { font-size: 16px; font-weight: 800; color: var(--sc-cobalt-2); }
.ax-goals-head button { margin-left: auto; min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--sc-cobalt-2); font-size: 15px; cursor: pointer; }
.ax-goal { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--sc-line); border-radius: 12px; padding: 9px 14px; margin-top: 7px; font-size: 15px; color: var(--sc-ink); }
.ax-goal i { width: 22px; height: 22px; border-radius: 50%; border: 1.6px solid #6b7593; flex: none; }
.ax-goal small { display: block; color: var(--sc-mute); font-size: 12.5px; }

/* settings */
.ax-set { padding: 18px 20px; margin-bottom: 14px; }
.ax-set h3 { margin: 0 0 10px; }
.ax-sport { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 12px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--sc-cobalt-hi), var(--sc-cobalt)); color: #fff; font-size: 16.5px; font-weight: 500; box-shadow: 0 8px 20px rgba(18, 54, 214, .3); }
.ax-sport select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ax-ball { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #d6283a; }
.ax-ball svg { width: 24px; height: 24px; }
.ax-tip { display: flex; gap: 14px; align-items: center; min-height: 52px; background: #f1f5ff; border-radius: 16px; padding: 12px 16px; font-size: 15.5px; color: var(--sc-ink); border: 0; cursor: pointer; text-align: left; }
.ax-tip .sc-ico { width: 30px; height: 30px; color: var(--sc-cobalt); flex: none; }
.ax-tip.is-on { background: #fffcd0; }
.ax-tip[hidden] { display: none; }

/* Full Analysis page (session) — its own player + view list */
.ax-last-body { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 14px; }
.ax-stage { position: relative; height: 272px; border-radius: 12px; overflow: hidden; background: #0b1020; }
.ax-stage .mv2 { height: 100%; }
.ax-stage .ax-pb { position: absolute; left: 0; right: 0; bottom: 0; z-index: 20; padding: 6px 10px; gap: 6px; background: linear-gradient(180deg, rgba(8, 14, 40, .35), rgba(8, 14, 40, .9)); }
.ax-stage .ax-pb button { height: 32px; min-width: 34px; padding: 0 8px; font-size: 13px; }
.ax-stage .ax-pb .pb-scrub { order: 0; flex: 1 1 120px; height: 18px; }
.ax-stage .ax-pb .pb-time { order: 0; margin-left: 0; font-size: 12.5px; }
.ax-stage .ax-pb .pb-speeds { order: 0; gap: 2px; } .ax-stage .ax-pb .pb-speeds button { min-width: 0; height: 26px; font-size: 12px; }
.ax-views { display: flex; flex-direction: column; gap: 6px; }
.ax-views button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 0; background: #f6f8fe; color: var(--sc-ink); font-size: 14.5px; cursor: pointer; text-align: left; box-shadow: 0 2px 6px rgba(20, 45, 140, .05); }
.ax-views button .sc-ico { width: 22px; height: 22px; color: var(--sc-cobalt); flex: none; }
.ax-views button[aria-pressed="true"] { background: linear-gradient(180deg, var(--sc-cobalt-hi), var(--sc-cobalt)); color: #fff; }
.ax-views button[aria-pressed="true"] .sc-ico { color: #fff; }

/* list cards (Top Scores) */
.ax-mini { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 16px; cursor: pointer; border: 0; text-align: left; min-height: 120px; }
.ax-mini .sc-ico { width: 34px; height: 34px; color: var(--sc-cobalt); grid-row: span 2; align-self: start; }
.ax-mini b { font-size: 18.5px; font-weight: 800; color: #0a0f2e; letter-spacing: -.3px; }
.ax-mini small { grid-column: 2; font-size: 13.5px; color: var(--sc-slate); line-height: 1.35; }
.ax-mini .chev { width: 16px; height: 16px; grid-row: 1 / span 2; grid-column: 3; align-self: center; color: var(--sc-ink); }

/* provenance badges used everywhere real numbers are shown */
.pv { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.pv.ball { background: #e6ebff; color: var(--sc-cobalt); } .pv.engine { background: #eef0f6; color: #4a5578; } .pv.estimate { background: #fff9a8; color: #3d3c12; }
.pv.hittrax { background: #f3e8ff; color: #6b21a8; } .pv.low { background: #ffe9ea; color: #c2343c; } .pv.na { background: #f1f3f8; color: #535d79; }
.ax-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ax-table th, .ax-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid #e7ebf5; vertical-align: top; }
.ax-table th { font-size: 12px; color: var(--sc-mute); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ax-table td b { font-size: 15px; }
.ax-sbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ax-sbs > div { position: relative; height: 360px; border-radius: 12px; overflow: hidden; background: #0b1020; }
.ax-sbs label { position: absolute; left: 10px; top: 10px; z-index: 5; background: rgba(10, 20, 60, .75); color: #fff; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; }
.ax-sbs video { width: 100%; height: 100%; object-fit: contain; }

/* this page carries its own, accurate sandbox marker (real athlete data, local only) */
body.ax #sc-sandbox-banner { display: none !important; }

/* phone-only pieces, hidden on wide screens */
.ax-tabbar, .ax-more, .ax-sheet, .ax-scrim { display: none; }
/* Coach Austin's dock: empty on Home (his card sits in the dashboard); elsewhere it holds the card for the sheet */
.ax-austin-dock { display: none; }
/* the Coach Austin shortcut appears where his card isn't on screen (every page except Home) */
.ax-fab { display: none; position: fixed; z-index: 52; right: calc(20px + var(--sa-r)); bottom: calc(var(--ax-tab-h) + var(--sa-b) + 20px); width: 64px; height: 64px; padding: 0; border: 3px solid #fff; border-radius: 50%;
  background: linear-gradient(140deg, var(--sc-cobalt-hi), var(--sc-cobalt-deep)); box-shadow: 0 8px 22px rgba(10, 30, 140, .35); cursor: pointer; transition: opacity .15s, transform .15s; }
body.ax:not(.ax-on-home):not(.ax-austin-open) .ax-fab { display: block; }
.ax-fab img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 20%; display: block; }
.ax-fab span { position: absolute; right: -4px; bottom: -4px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--sc-yellow); border: 2px solid #fff; }
.ax-fab span .sc-ico { width: 14px; height: 14px; color: #0a1650; fill: #0a1650; }
.ax-fab.is-tucked { opacity: 0; transform: scale(.8); pointer-events: none; }
.ax-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 54; background: rgba(8, 14, 40, .45); }
body.ax-austin-open .ax-austin-dock { display: block; position: fixed; z-index: 56; right: 24px; bottom: 24px; width: min(620px, calc(100% - 48px)); max-height: calc(100% - 48px); overflow: auto; overscroll-behavior: contain; border-radius: 20px; }
body.ax-austin-open .ax-austin-dock .ax-coach { box-shadow: 0 20px 60px rgba(10, 30, 120, .35); padding-top: 18px; }
body.ax-austin-open .ax-sheet-close { display: grid; place-items: center; position: absolute; z-index: 2; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #fff; color: var(--sc-ink); cursor: pointer; box-shadow: 0 2px 8px rgba(20, 45, 140, .15); }
body.ax-austin-open .ax-sheet-close .sc-ico { width: 20px; height: 20px; }
body.ax-austin-open .ax-austin-dock .ax-coach { grid-template-areas: "photo id close" "remote remote remote" "ask ask ask" "chips chips chips" "reply reply reply"; grid-template-columns: 96px minmax(0, 1fr) 44px; }
body.ax-austin-open .ax-austin-dock .ax-coach-photo { width: 96px; height: 96px; }

/* ── tablets ── */
@media (max-width: 1180px) {
  .ax-layout { grid-template-columns: 172px minmax(0, 1fr); }
  .ax-main { padding: 0 20px 32px; }
  .ax-coach { grid-template-columns: 104px minmax(0, 1fr); grid-template-areas: "photo id" "photo remote" "ask ask" "chips chips" "reply reply"; }
  .ax-coach-photo { width: 104px; height: 104px; }
  .ax-remote { justify-self: start; }
  .ax-pb .pb-frame { display: none; }
}

/* ── phones (≤900px): no sidebar — bottom tabs with the same six destinations ── */
@media (max-width: 900px) {
  .ax { --sa-t: env(safe-area-inset-top, 0px); --sa-r: env(safe-area-inset-right, 0px); --sa-b: env(safe-area-inset-bottom, 0px); --sa-l: env(safe-area-inset-left, 0px); --ax-tab-h: 64px; }
  .ax-layout { grid-template-columns: minmax(0, 1fr); }
  .ax-side { display: none; }
  .ax-main { padding: var(--sa-t) calc(12px + var(--sa-r)) calc(var(--ax-tab-h) + var(--sa-b) + 20px) calc(12px + var(--sa-l)); }
  .ax-head { height: auto; padding: 10px 2px; gap: 10px; }
  .ax-logo b { font-size: 26px; } .ax-logo small { font-size: 12px; }
  .ax-avatar { width: 50px; height: 50px; font-size: 17px; }
  #scView > .ax-card + .ax-card, #scView > .ax-card + .ax-austin-slot, .ax-austin-slot + .ax-card { margin-top: 12px; }

  .ax-welcome { padding: 12px 14px; gap: 6px 14px; flex-wrap: nowrap; }
  .ax-welcome .ax-photo { width: 96px; height: 96px; font-size: 34px; }
  .ax-greet { font-size: 13px; } .ax-welcome h1 { font-size: 34px; } .ax-facts { font-size: 14.5px; }
  .ax-welcome .ax-photo { width: 88px; height: 88px; font-size: 31px; }
  .ax-hello { flex: 1 1 0; } .ax-facts { font-size: 13.5px; }
  .ax-edit { padding: 0 12px; font-size: 13.5px; border-width: 1.5px; }
  .ax-welcome:has(.ax-edit-note:not([hidden])) { flex-wrap: wrap; }

  .ax-coach { grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "photo id" "photo remote" "ask ask" "chips chips" "reply reply"; gap: 8px 12px; padding: 12px; }
  .ax-coach-photo { width: 76px; height: 76px; border-radius: 14px; }
  .ax-coach h2 { font-size: 22px; } .ax-coach-id p { font-size: 13.5px; } .ax-online { font-size: 13px; }
  .ax-remote { min-height: 52px; padding: 6px 10px 6px 6px; gap: 8px; border-radius: 14px; }
  .ax-remote .ic { width: 38px; height: 38px; } .ax-remote .tx b { font-size: 14px; } .ax-remote .tx small { font-size: 12.5px; }
  .ax-ask { height: 50px; }
  .ax-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .ax-chip { flex-direction: column; gap: 3px; min-height: 58px; padding: 6px 2px; font-size: 12px; white-space: normal; line-height: 1.15; text-align: center; border-radius: 12px; }
  .ax-reply { font-size: 13.5px; }

  .ax-last { padding: 12px; }
  .ax-last-head { flex-wrap: wrap; gap: 8px; } .ax-last-head h2 { font-size: 24px; } .ax-when { font-size: 14.5px; } .ax-sub { font-size: 13px; }
  .ax-outline { min-height: 44px; padding: 0 14px; font-size: 14.5px; }
  .ax-pane-lab { font-size: 12px; padding: 3px 8px; left: 6px; top: 6px; }
  .ax-fs { width: 44px; height: 44px; right: 4px; top: 4px; }
  .ax-duo.is-3d .mv2-side .mv2-3d { aspect-ratio: auto; height: 240px; max-height: none; }
  .ax-pb { padding: 8px 8px 10px; gap: 6px; }
  .ax-pb .pb-play { min-width: 52px; }
  .ax-pb .pb-time { font-size: 13px; }
  .ax-pb .pb-speeds { flex: 1 1 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .ax-pb .pb-speeds button { min-width: 0; padding: 0 2px; font-size: 13px; }
  .ax-pb .pb-modes { order: 6; flex: 1 1 100%; margin-left: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .ax-pb .pb-modes button { justify-content: center; font-size: 14px; }

  .ax-best { padding: 12px; }
  .ax-best-head h2 { font-size: 24px; } .ax-best-head p { font-size: 14px; } .ax-best-head > .sc-ico { width: 38px; height: 38px; }
  .ax-stat { padding: 2px 3px; }
  .ax-stat label { font-size: 13px; }
  .ax-stat b { font-size: 21px; letter-spacing: -.4px; } .ax-stat b small { font-size: 13px; margin-left: 2px; }
  .ax-stat em { font-size: 12px; line-height: 1.5; }
  .ax-stat .pv { white-space: normal; padding: 1px 6px; letter-spacing: 0; border-radius: 7px; line-height: 1.3; }
  .ax-stat .nt { display: block; }
  .ax-prov { font-size: 12px; }

  .ax-last-body { grid-template-columns: minmax(0, 1fr); }
  .ax-stage { height: auto !important; }
  .ax-stage .mv2, .ax-stage > div:not(.ax-pb) { height: auto !important; }
  .ax-stage .mv2-side .mv2-3d { aspect-ratio: auto; height: 250px; max-height: none; }
  .ax-stage .ax-pb { position: static; padding: 8px; }
  .ax-stage .ax-pb button { height: 44px; min-width: 44px; }
  .ax-stage .ax-pb .pb-scrub { order: 3; flex-basis: 100%; height: 30px; }
  .ax-views { flex-direction: row; flex-wrap: wrap; } .ax-views button { flex: 1 1 30%; padding: 0 8px; font-size: 13.5px; gap: 6px; }
  .ax-mini { padding: 14px 12px; gap: 4px 8px; } .ax-mini .sc-ico { width: 28px; height: 28px; } .ax-mini small { overflow-wrap: anywhere; }
  .ax-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ax-table th, .ax-table td { padding: 8px 6px; } .ax-table th { letter-spacing: .02em; }
  .ax-sbs { grid-template-columns: 1fr; } .ax-sbs > div { height: 300px; }
  .ax .mv2-a3d-label { font-size: 12px; }
  .sc-controls .sc-chip { min-height: 44px; }

  /* bottom navigation + More sheet */
  .ax-tabbar { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
    padding: 8px calc(6px + var(--sa-r)) calc(8px + var(--sa-b)) calc(6px + var(--sa-l)); background: linear-gradient(180deg, var(--sc-cobalt-hi), var(--sc-cobalt)); box-shadow: 0 -6px 20px rgba(10, 40, 180, .25); border-radius: 22px 22px 0 0; }
  .ax-tabbar a, .ax-more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 48px; color: #fff; text-decoration: none; font: inherit; font-size: 12px; padding: 4px 0; border-radius: 12px; border: 0; background: none; cursor: pointer; text-align: center; }
  .ax-tabbar .sc-ico { width: 24px; height: 24px; }
  .ax-tabbar a[aria-current="page"], .ax-more[aria-expanded="true"], .ax-more[aria-current="page"] { background: rgba(255, 255, 255, .16); }
  .ax-more-sheet:not([hidden]) { display: block; position: fixed; z-index: 55; left: calc(8px + var(--sa-l)); right: calc(8px + var(--sa-r)); bottom: calc(var(--ax-tab-h) + var(--sa-b) + 8px);
    padding: 8px; border-radius: 18px; background: #f7f9ff; box-shadow: 0 12px 40px rgba(10, 30, 120, .35); }
  .ax-more-sheet nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .ax-more-sheet a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 12px; border-radius: 14px; background: #fff; color: var(--sc-cobalt-deep); font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 2px 6px rgba(20, 45, 140, .06); }
  .ax-more-sheet a .sc-ico { width: 24px; height: 24px; color: var(--sc-cobalt); flex: none; }
  .ax-more-sheet a[aria-current="page"] { background: linear-gradient(180deg, var(--sc-cobalt-hi), var(--sc-cobalt)); color: #fff; }
  .ax-more-sheet a[aria-current="page"] .sc-ico { color: #fff; }

  .ax-fab { width: 60px; height: 60px; right: calc(14px + var(--sa-r)); bottom: calc(var(--ax-tab-h) + var(--sa-b) + 12px); }
  body.ax-austin-open .ax-austin-dock { left: 0; right: 0; bottom: 0; width: auto; max-height: calc(100% - 16px - var(--sa-t)); border-radius: 22px 22px 0 0; padding: 0 var(--sa-r) var(--sa-b) var(--sa-l); }
  body.ax-austin-open .ax-austin-dock .ax-coach { border-radius: 22px 22px 0 0; grid-template-columns: 72px minmax(0, 1fr) 44px; }
  body.ax-austin-open .ax-austin-dock .ax-coach-photo { width: 72px; height: 72px; }
}

/* phones held sideways: short screen — panes sized to the visible height, compact tabs */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .ax { --ax-tab-h: 52px; }
  .ax-tabbar { padding-top: 4px; padding-bottom: calc(4px + var(--sa-b)); border-radius: 0; }
  .ax-tabbar a, .ax-more { flex-direction: row; gap: 6px; min-height: 44px; }
  .ax-pb .pb-speeds { flex: 0 1 auto; display: inline-flex; }
  .ax-pb .pb-speeds button { min-width: 48px; }
  .ax-pb .pb-modes { flex: 0 1 auto; margin-left: auto; display: inline-flex; }
  .ax { --ax-pb-h: 112px; }
  .ax-pb .pb-scrub { order: 0; flex: 1 1 120px; }
  .ax-pb .pb-time { order: 0; margin-left: 0; }
  .ax-duo { max-width: calc((100vh - var(--ax-tab-h) - var(--sa-b) - var(--ax-pb-h) - 24px) * 32 / 9 + 4px); max-width: calc((100svh - var(--ax-tab-h) - var(--sa-b) - var(--ax-pb-h) - 24px) * 32 / 9 + 4px); margin: 0 auto; }
  .ax-duo.is-3d { max-width: none; }
  .ax-duo.is-3d .mv2-side .mv2-views { grid-template-columns: 1fr 1fr; }
  .ax-duo.is-3d .mv2-stage, .ax-duo.is-3d .mv2-side .mv2-3d { aspect-ratio: auto !important; max-height: none; border-top: 0; height: calc(100svh - var(--ax-tab-h) - var(--sa-b) - var(--ax-pb-h) - 24px); min-height: 140px; }
  .ax-stage .mv2-side .mv2-views { grid-template-columns: 1fr 1fr; }
  body.ax-austin-open .ax-austin-dock .ax-coach-photo { display: none; }
  body.ax-austin-open .ax-austin-dock .ax-coach { grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "id close" "remote remote" "ask ask" "chips chips" "reply reply"; }
}

/* ── Dashboard redesign (2026-11-10, Rich's reference): cobalt-navy sidebar, ice-blue canvas, layered cards ── */
body.ax { background: radial-gradient(90% 60% at 100% 0%, #e2eaff 0%, rgba(226, 234, 255, 0) 60%), linear-gradient(180deg, #f4f7ff 0%, #e9efff 100%); }
.ax-side { background: linear-gradient(180deg, #13226f 0%, #0d1a5a 55%, #0a1450 100%); border-right: 0; box-shadow: 6px 0 30px rgba(10, 20, 80, .22); }
.ax-nav a[aria-current="page"], .ax-nav a.is-on { background: linear-gradient(90deg, #1f3bd6, #1029B8); color: #fff; border-radius: 12px; box-shadow: 0 8px 20px rgba(16, 41, 184, .45); }
.ax-nav a[aria-current="page"] .sc-ico, .ax-nav a.is-on .sc-ico { color: #fff; }
.ax-welcome .ax-photo { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--sc-yellow, #FFF000), 0 14px 30px rgba(16, 41, 184, .25); }
.ax-welcome-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.ax-welcome-actions .ax-outline { margin-left: 0; }
.ax-btn-p { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: linear-gradient(180deg, #1f3bd6, #1029B8); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 10px 22px rgba(16, 41, 184, .3); transition: transform .15s ease; }
.ax-btn-p:hover { transform: translateY(-1px); }
.ax-btn-p .sc-ico { width: 20px; height: 20px; }
.ax-dash-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 14px 0; }
.ax-tile { display: flex; gap: 14px; align-items: center; padding: 16px 18px; transition: transform .15s ease, box-shadow .15s ease; }
.ax-tile:hover { transform: translateY(-2px); }
.ax-tile-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: linear-gradient(140deg, #e7eeff, #d6e1ff); color: #1029B8; }
.ax-tile-ico .sc-ico { width: 22px; height: 22px; }
.ax-tile label { display: block; font-size: 12.5px; font-weight: 700; color: var(--sc-slate); }
.ax-tile b { display: block; font-size: 26px; font-weight: 800; color: var(--sc-ink); letter-spacing: -.01em; line-height: 1.15; }
.ax-tile small { display: block; font-size: 12px; color: var(--sc-mute, #5d6579); }
.ax-dash-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; margin-top: 14px; }
.ax-dash-row > .ax-card { padding: 16px 18px; }
.ax-dash-row h2 { margin: 0; font-size: 1.1rem; }
.ax-trend { width: 100%; height: auto; margin-top: 8px; }
.ax-dash-recent-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ax-link { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: #1029B8; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.ax-link .sc-ico { width: 16px; height: 16px; }
.ax-recent { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; margin-top: 8px; border-radius: 14px; border: 1px solid #e3e8f5; background: #fff; cursor: pointer; font: inherit; color: var(--sc-ink); transition: border-color .15s ease, transform .15s ease; }
.ax-recent:hover { border-color: #1029B8; transform: translateY(-1px); }
.ax-recent-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #0d1a5a; color: #fff; }
.ax-recent-ico .sc-ico { width: 20px; height: 20px; }
.ax-recent > span:nth-child(2) { flex: 1; min-width: 0; }
.ax-recent b { display: block; font-size: 15px; }
.ax-recent small { display: block; font-size: 12.5px; color: var(--sc-slate); }
.ax-recent em { font-style: normal; font-weight: 800; color: #12753f; background: #e3f6ea; border-radius: 999px; padding: 3px 10px; font-size: 13px; }
.ax-recent > .sc-ico:last-child { width: 18px; height: 18px; color: #8a93a6; }
@media (max-width: 1100px) { .ax-dash-tiles { grid-template-columns: repeat(2, 1fr); } .ax-dash-row { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ax-dash-tiles { gap: 10px; } .ax-tile { padding: 12px; gap: 10px; } .ax-tile b { font-size: 21px; } .ax-tile-ico { width: 36px; height: 36px; } .ax-welcome-actions { width: 100%; } .ax-welcome-actions > * { flex: 1 1 auto; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .ax-tile, .ax-recent, .ax-btn-p { transition: none; } }

/* ── Dashboard, part 2 (Rex A, 2026-11-10): Train grid, recommended drills, Austin next steps ── */
.ax-dash-train { margin-top: 14px; padding: 16px 18px; }
.ax-dash-train h2, .ax-dash-recs h2, .ax-dash-next h2 { margin: 0 0 10px; font-size: 1.1rem; }
.ax-train-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.ax-train { display: flex; gap: 12px; align-items: center; text-align: left; min-width: 0; padding: 12px 14px; border: 1px solid #dfe5f2; border-radius: 14px; background: #fff; color: #0a1650; text-decoration: none; font: inherit; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.ax-train:hover, .ax-train:focus-visible { border-color: #1029B8; box-shadow: 0 6px 18px rgba(16, 41, 184, .12); outline: none; }
.ax-train b { display: block; font-size: 15px; } .ax-train small { display: block; color: #4a5578; font-size: 12.5px; line-height: 1.3; }
.ax-train-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #eef2ff; color: #1029B8; }
.ax-train-ico .sc-ico { width: 22px; height: 22px; }
.ax-rec { display: block; width: 100%; text-align: left; padding: 10px 12px; margin-top: 8px; border: 1px solid #dfe5f2; border-left: 4px solid #FFF000; border-radius: 12px; background: #fff; font: inherit; color: #0a1650; cursor: pointer; }
.ax-rec b { display: block; } .ax-rec small { display: block; color: #4a5578; font-size: 13px; margin-top: 2px; }
.ax-next-list { display: grid; gap: 8px; }
.ax-next { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border: 1px solid #dfe5f2; border-radius: 12px; background: #f6f8fe; color: #0a1650; font: 600 14.5px/1.3 inherit; font-family: inherit; text-align: left; cursor: pointer; }
.ax-next span { flex: 1; min-width: 0; } .ax-next:hover, .ax-next:focus-visible { border-color: #1029B8; outline: none; }
@media (max-width: 560px) { .ax-train-grid { grid-template-columns: 1fr 1fr; } .ax-train { flex-direction: column; align-items: flex-start; gap: 8px; } .ax-train small { display: none; } }
@media (prefers-reduced-motion: reduce) { .ax-train { transition: none; } }
/* phones: the welcome card's action buttons get their own row, so the name and Edit Profile keep theirs */
@media (max-width: 900px) { .ax-welcome { flex-wrap: wrap; } .ax-welcome-actions { flex: 1 1 100%; margin-left: 0; } .ax-welcome-actions > * { flex: 1 1 0; justify-content: center; } }

/* Rich's demo examples (indoor cage + live game) — dashboard card and Saved Videos group */
.ax-demo-home { padding: 16px 18px; margin-top: 14px; }
.ax-demo-home-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.ax-demo-home-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ax-demo-home-row .ax-recent { margin-top: 6px; }
.ax-demo-group { padding: 16px; margin-bottom: 12px; border: 2px solid rgba(16, 41, 184, .18); }
#axDemoTable tr.is-best td { background: #eef3ff; font-weight: 600; }
@media (max-width: 700px) { .ax-demo-home-row { grid-template-columns: 1fr; } }

/* featured: CranialCheck + CORA College Match (owner directive 2026-11-13) */
.ax-featured h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.ax-featured .ax-pow { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #1029B8; background: #eef1fc; border-radius: 999px; padding: 3px 9px; }
.ax-featured .ax-sub { margin: 0 0 12px; }

/* Athlete navigation sections (owner 2026-11-18): labelled Main + More tools, both always visible; the sidebar scrolls */
.ax-side .ax-nav { overflow-y: auto; min-height: 0; flex: 1 1 auto; padding-bottom: 8px; scrollbar-width: thin; }
.ax-nav-h { margin: 12px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8fa3d6; }
.ax-nav-h:first-child { margin-top: 6px; }
.ax-side .ax-nav-sub { margin-left: 0; padding-left: 0; border-left: 0; }
.ax-side .ax-nav-sub a { padding: 6px 12px; }
.ax-side .ax-nav-sub a[aria-current="page"]::before { left: -10px; }
@media (max-width: 900px) {
  .ax-more-sheet:not([hidden]) { max-height: calc(100vh - var(--ax-tab-h, 72px) - var(--sa-b, 0px) - 40px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .ax-more-sheet .ax-sheet-h { grid-column: 1 / -1; margin: 8px 6px 2px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sc-cobalt-deep, #0b1a4a); }
  .ax-more-sheet .ax-sheet-h:first-child { margin-top: 2px; }
}
/* long primary labels (Swing & Pitch Analysis, Athletic Development) wrap instead of being cut off */
.ax-side .ax-nav > a { white-space: normal; line-height: 1.2; padding-top: 6px; padding-bottom: 6px; }
/* Fix 6: the greeting avatar is a button when the profile is the viewer's own; a saved photo fills both avatars */
.ax-photo img, .ax-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.ax-avatar { overflow: hidden; }
.ax-welcome .ax-photo { position: relative; }
.ax-photo-btn { border: 0; padding: 0; cursor: pointer; font-family: inherit; color: #fff; }
.ax-photo-btn:focus-visible { outline: 3px solid #4f86ff; outline-offset: 4px; }
.ax-photo-cam { position: absolute; right: 2px; bottom: 2px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--sc-cobalt, #1029B8); box-shadow: 0 2px 8px rgba(10, 30, 120, .3); }
.ax-photo-cam .sc-ico { width: 20px; height: 20px; }
.ax-photo-btn:hover .ax-photo-cam { background: #FFF000; }
@media (max-width: 900px) { .ax-photo-cam { width: 30px; height: 30px; } .ax-photo-cam .sc-ico { width: 17px; height: 17px; } }
/* Fix 7: the account menu under the top-right avatar */
button.ax-avatar { border: 0; padding: 0; cursor: pointer; font-family: inherit; }
button.ax-avatar:focus-visible { outline: 3px solid #4f86ff; outline-offset: 3px; }
button.ax-avatar[aria-expanded="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--sc-yellow, #FFF000); }
.ax-acct-menu { position: fixed; z-index: 70; width: min(280px, calc(100vw - 16px)); padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 16px 44px rgba(10, 30, 120, .28); border: 1px solid #e2e8f6; }
.ax-acct-menu[hidden] { display: none; }
.ax-acct-who { padding: 8px 10px 10px; border-bottom: 1px solid #eef1f8; margin-bottom: 6px; }
.ax-acct-who b { display: block; color: var(--sc-cobalt-deep, #0b1a4a); font-size: 15px; }
.ax-acct-who small { display: block; color: #64748b; font-size: 13px; overflow-wrap: anywhere; }
.ax-acct-menu [role=menuitem] { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-radius: 10px; background: none; color: var(--sc-cobalt-deep, #0b1a4a); font: 600 15px/1.2 inherit; font-family: inherit; text-decoration: none; cursor: pointer; text-align: left; }
.ax-acct-menu [role=menuitem] .sc-ico { width: 19px; height: 19px; color: var(--sc-cobalt, #1029B8); flex: none; }
.ax-acct-menu [role=menuitem]:hover, .ax-acct-menu [role=menuitem]:focus-visible { background: #eef3ff; outline: none; }

/* Owner 2026-11-18 visual fix 1: the logo + tagline group is centred in the dashboard header; the bell and the account
   avatar keep their places on the right. On narrow phones the tagline stacks on two lines so the centred group never
   runs into the bell. */
.ax-head { position: relative; }
.ax-head .ax-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; align-items: center; text-align: center; }
.ax-head .ax-logo img { align-self: center !important; }
.ax-head .sc-bell { margin-left: auto; }
@media (max-width: 900px) { .ax-head { min-height: 76px; } }
@media (max-width: 600px) {
  .ax-head .ax-logo small { white-space: normal; max-width: 9.5em; line-height: 1.2; margin-top: 4px; }
}

/* Owner 2026-11-18 visual fix 2: every profile photo fills its circle exactly. The picture is pinned to the circle
   (it used to take its own 512 px height inside the grid and spill past the ring), covers it edge to edge, and leans
   slightly up so a face stays centred; the camera button stays on top. */
.ax-welcome .ax-photo, .ax-avatar { position: relative; overflow: hidden; }
.ax-welcome .ax-photo img, .ax-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 35%; border-radius: 50%; }
.ax-welcome .ax-photo-btn { overflow: visible; }
.ax-welcome .ax-photo-btn img { clip-path: circle(50% at 50% 50%); }
.ax-photo-cam { z-index: 1; }
@media (max-width: 380px) { .ax-head .ax-logo small { font-size: 11px; } }
/* f3 2026-11-19 (owner-approved structure): six labelled sections in the sidebar. The list scrolls inside the sidebar
   when the window is short, so nothing is ever cut off; the small ↗ marks a link that opens its own page. */
.ax-side .ax-nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-bottom: 8px; }
.ax-side .ax-brand { flex: none; }
@media (max-height: 760px) { .ax-side .ax-brand { display: none; } }
.ax-nav-h { margin: 10px 12px 2px; }
.ax-ext { font-style: normal; margin-left: auto; padding-left: 6px; font-size: 11px; opacity: .55; }
.ax-acct-menu .ax-ext { color: inherit; }
