/* SwingCheck / CourtCheck platform — design tokens + components.
 * Source of truth for the look: the locked master dashboard
 * (public/platform/img/source/master-dashboard.png). Product accents can be overridden
 * per product with [data-product] — the components never name a sport. */

:root {
  --sc-cobalt: #1029B8;      /* Royal Cobalt — approved 2026-10-17 */
  --sc-cobalt-2: #0e24a3;
  --sc-cobalt-hi: #1f3bd6;   /* top of cobalt gradients */
  --sc-cobalt-deep: #0a1a80;
  --sc-cobalt-soft: #e7eeff;
  --sc-navy: #0b1650;
  --sc-ink: #0f1a45;
  --sc-slate: #4a5578;
  --sc-mute: #5b6582; /* AA on white and on the light tints (was #7a84a3, 3.7:1) */
  --sc-yellow: #FFF000;      /* Electric Yellow — approved 2026-10-17 */
  --sc-yellow-edge: #e3d600; /* yellow edge on white; never orange */
  --sc-yellow-glow: rgba(255, 240, 0, .5);
  --sc-silver: #c7ccd6;
  --sc-gray: #8a93a6;
  --sc-green: #12a150;
  --sc-green-bar: #1db954;
  --sc-red: #e5484d;
  --sc-bg: #eef3fd;
  --sc-card: rgba(255, 255, 255, .9);
  --sc-card-solid: #ffffff;
  --sc-line: rgba(16, 41, 184, .09);
  --sc-shadow: 0 10px 30px rgba(20, 45, 140, .08), 0 2px 6px rgba(20, 45, 140, .05);
  --sc-radius: 20px;
  --sc-sidebar: 105px;
  --sc-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sc-display: 'Inter', system-ui, sans-serif;
  --sc-logo: 'Exo 2', 'Inter', system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body.sc-app {
  font-family: var(--sc-font); color: var(--sc-ink); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 700px at 85% -10%, #f9fbff 0%, rgba(249, 251, 255, 0) 60%),
    linear-gradient(180deg, #f3f6fe 0%, #eaf0fc 100%);
  min-height: 100vh;
}
button { font: inherit; color: inherit; }
.sc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc-ico { width: 24px; height: 24px; flex: none; }

/* ── layout ─────────────────────────────────────────────────────────────── */
.sc-layout { display: grid; grid-template-columns: var(--sc-sidebar) 1fr; min-height: 100vh; }
.sc-main { padding: 18px 26px 40px 28px; min-width: 0; max-width: 1130px; }

/* ── sidebar ────────────────────────────────────────────────────────────── */
.sc-sidebar {
  position: sticky; top: 0; height: 100vh; z-index: 5;
  background:
    radial-gradient(160px 260px at 0% 100%, rgba(150, 190, 255, .55), rgba(150, 190, 255, 0) 70%),
    linear-gradient(180deg, var(--sc-cobalt-hi) 0%, var(--sc-cobalt) 45%, var(--sc-cobalt-2) 100%);
  border-radius: 0 30px 30px 0; padding: 82px 0 24px;
  box-shadow: 6px 0 24px rgba(10, 40, 180, .18);
}
.sc-nav { display: flex; flex-direction: column; gap: 10px; }
.sc-nav a {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 500; padding: 14px 4px 13px;
  margin-right: 0; border-radius: 0 16px 16px 0; transition: background .15s;
}
.sc-nav a .sc-ico { width: 30px; height: 30px; stroke-width: 1.7; }
.sc-nav a:hover { background: rgba(255, 255, 255, .08); }
.sc-nav a[aria-current="page"] {
  margin-right: -13px; background: linear-gradient(180deg, var(--sc-cobalt-hi), var(--sc-cobalt));
  box-shadow: 0 8px 22px rgba(4, 25, 140, .35);
}
.sc-nav a[aria-current="page"]::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: var(--sc-yellow); box-shadow: 0 0 14px var(--sc-yellow-glow); }
.sc-nav a[aria-current="page"] .sc-ico { color: var(--sc-yellow); fill: var(--sc-yellow); }

/* ── top bar ────────────────────────────────────────────────────────────── */
.sc-top { display: flex; align-items: center; gap: 22px; margin: 0 0 18px; }
.sc-logo { display: flex; flex-direction: column; text-decoration: none; min-width: 270px; }
.sc-logo b { font-family: var(--sc-logo); font-style: italic; font-weight: 900; font-size: 36px; letter-spacing: -.5px; color: var(--sc-cobalt); line-height: 1; }
.sc-logo b span { font-weight: 500; margin-left: 6px; }
.sc-logo small { font-size: 12.5px; letter-spacing: .26em; color: var(--sc-slate); margin-top: 6px; font-weight: 500; }
.sc-search {
  flex: 1; max-width: 390px; display: flex; align-items: center; gap: 10px; height: 46px; margin-left: 84px;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--sc-line); border-radius: 999px; padding: 0 8px 0 16px;
  box-shadow: 0 4px 14px rgba(20, 45, 140, .06);
}
.sc-search .sc-ico { width: 20px; height: 20px; color: var(--sc-slate); }
.sc-search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--sc-ink); min-width: 0; }
.sc-search input::placeholder { color: var(--sc-mute); }
.sc-mic { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--sc-cobalt-deep); }
/* the under-18 voice rule hides these with the hidden attribute; their display rules must not draw them anyway */
#scMic[hidden], #scDockMic[hidden], #axTalk[hidden], #axTip[hidden] { display: none !important; }
.sc-mic .sc-ico { width: 22px; height: 22px; color: var(--sc-cobalt-deep); fill: var(--sc-cobalt-deep); }
.sc-mic.is-live { background: var(--sc-cobalt); box-shadow: 0 0 0 6px rgba(18, 54, 214, .15); }
.sc-mic.is-live .sc-ico { color: #fff; fill: #fff; }
.sc-top-right { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.sc-bell { position: relative; background: none; border: 0; cursor: pointer; padding: 4px; }
.sc-bell .sc-ico { width: 27px; height: 27px; color: var(--sc-navy); }
.sc-bell i { position: absolute; top: 2px; right: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--sc-yellow); box-shadow: 0 0 0 2px #fff; }
.sc-me { display: flex; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer; padding: 0; }
.sc-me img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 4px 12px rgba(0, 0, 0, .12); }
.sc-me span { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.sc-me b { font-size: 16px; font-weight: 600; color: var(--sc-ink); }
.sc-me small { font-size: 13px; color: var(--sc-slate); }
.sc-me .sc-ico { width: 18px; height: 18px; color: var(--sc-ink); }

/* ── cards ──────────────────────────────────────────────────────────────── */
.sc-card { background: var(--sc-card); border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--sc-radius); box-shadow: var(--sc-shadow); backdrop-filter: blur(10px); }
.sc-glow-y { position: relative; }
.sc-glow-y::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 2px;
  background: linear-gradient(135deg, rgba(255, 224, 58, .95) 0%, rgba(255, 224, 58, 0) 22%, rgba(255, 224, 58, 0) 78%, rgba(255, 224, 58, .95) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

/* ── hero ───────────────────────────────────────────────────────────────── */
.sc-hero {
  position: relative; overflow: hidden; border-radius: 24px; min-height: 340px; padding: 38px 44px 34px;
  background:
    radial-gradient(420px 320px at 72% 40%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%),
    radial-gradient(520px 380px at 100% 100%, rgba(120, 160, 255, .35), rgba(120, 160, 255, 0) 70%),
    linear-gradient(120deg, #f6f9ff 0%, #e8efff 55%, #dfe8ff 100%);
  border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 14px 40px rgba(20, 50, 170, .12);
}
.sc-hero::before { /* the cobalt + yellow rim of the locked design */
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 3px; pointer-events: none; z-index: 3;
  background: conic-gradient(from 210deg at 50% 50%, rgba(18, 54, 214, .0) 0deg, rgba(18, 54, 214, .85) 60deg, rgba(40, 90, 255, .9) 110deg, rgba(255, 224, 58, .95) 150deg, rgba(255, 224, 58, 0) 175deg, rgba(18, 54, 214, 0) 250deg, rgba(255, 224, 58, .9) 300deg, rgba(18, 54, 214, .0) 340deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.sc-hero-swirl { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(260px 60px at 18% 0%, rgba(255, 224, 58, .45), rgba(255, 224, 58, 0) 70%),
    radial-gradient(300px 90px at 80% 105%, rgba(255, 224, 58, .35), rgba(255, 224, 58, 0) 70%),
    conic-gradient(from 180deg at 70% 60%, rgba(80, 130, 255, 0), rgba(80, 130, 255, .18), rgba(80, 130, 255, 0) 30%); }
.sc-hero-copy { position: relative; z-index: 2; max-width: 640px; }
.sc-hero-copy h1 { max-width: 470px; }
.sc-eyebrow, .sc-hero .sc-eyebrow { font-size: 14.5px; line-height: 1.2; font-weight: 700; letter-spacing: .2em; color: var(--sc-cobalt-2); margin: 0 0 18px; max-width: none; }
.sc-hero h1 { font-family: var(--sc-display); font-weight: 800; font-size: 49px; line-height: 1.04; letter-spacing: -1.2px; color: #0a0f2e; margin: 0 0 12px; }
.sc-hero-sub { font-size: 19px; line-height: 1.32; color: var(--sc-slate); margin: 0 0 26px; max-width: 372px; }
.sc-hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.sc-pill {
  display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 34px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--sc-cobalt); background: rgba(255, 255, 255, .92); color: var(--sc-cobalt-deep); font-weight: 700; font-size: 16.5px;
  box-shadow: 0 6px 18px rgba(18, 54, 214, .12); transition: transform .12s, box-shadow .12s;
}
.sc-pill:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(18, 54, 214, .18); }
.sc-pill .sc-ico { width: 24px; height: 24px; color: var(--sc-cobalt-2); }
.sc-pill .sc-chev { width: 18px; height: 18px; margin-left: 8px; }
.sc-hero-coach { position: absolute; z-index: 1; right: 83px; top: 0; height: 430px; width: auto; pointer-events: none; filter: drop-shadow(0 18px 30px rgba(10, 30, 120, .18)); }
.sc-bubble {
  position: absolute; z-index: 2; right: 32px; top: 62px; width: 182px; min-height: 122px; padding: 18px 20px 16px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(122, 160, 255, .55), rgba(90, 130, 245, .5)); color: #fff; backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 10px 30px rgba(20, 60, 200, .2);
  font-size: 15.5px; line-height: 1.38; font-weight: 500;
}
.sc-bubble::after { content: ''; position: absolute; left: -9px; bottom: 26px; width: 18px; height: 18px; background: rgba(110, 148, 250, .55); transform: rotate(45deg); border-left: 1px solid rgba(255, 255, 255, .5); border-bottom: 1px solid rgba(255, 255, 255, .5); }
.sc-wave { display: flex; align-items: center; gap: 3px; height: 36px; margin-top: 10px; }
.sc-wave i { display: block; width: 3px; border-radius: 3px; background: linear-gradient(#bfe0ff, #5fb2ff); box-shadow: 0 0 8px rgba(150, 210, 255, .9); }
.sc-wave .line { flex: 1; height: 2px; width: auto; background: linear-gradient(90deg, rgba(190, 220, 255, 0), rgba(190, 220, 255, .9)); box-shadow: none; }
.sc-speaking .sc-wave i:not(.line) { animation: sc-wave 0.9s ease-in-out infinite; }
@keyframes sc-wave { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }

/* ── metric cards ───────────────────────────────────────────────────────── */
.sc-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 22px 0 18px; }
.sc-metric { position: relative; padding: 20px 20px 16px; min-height: 135px; overflow: hidden; }
.sc-metric-head { display: flex; align-items: center; gap: 16px; }
.sc-metric-head .sc-ico { width: 36px; height: 36px; color: var(--sc-cobalt-deep); stroke-width: 1.9; }
.sc-metric-label { font-size: 15px; font-weight: 500; color: var(--sc-ink); }
.sc-metric-value { font-weight: 800; font-size: 36px; letter-spacing: -.6px; color: var(--sc-navy); margin: 6px 0 0 66px; line-height: 1; white-space: nowrap; }
.sc-metric-value small { font-size: 17px; font-weight: 500; color: var(--sc-slate); margin-left: 4px; letter-spacing: 0; }
.sc-metric-delta { display: flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--sc-green); font-weight: 700; font-size: 17px; }
.sc-metric-delta .sc-ico { width: 18px; height: 18px; stroke-width: 2.6; }
.sc-spark { position: absolute; right: 16px; bottom: 18px; width: 100px; height: 44px; }
.sc-status { position: absolute; top: 12px; right: 14px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sc-mute);
  background: rgba(18, 54, 214, .06); border-radius: 999px; padding: 3px 7px; cursor: help; }

/* ── swing analysis stage ──────────────────────────────────────────────── */
.sc-stage { position: relative; padding: 22px 22px 24px; min-height: 378px; overflow: hidden; }
.sc-stage::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 4;
  background: linear-gradient(180deg, rgba(18, 54, 214, .5), rgba(18, 54, 214, 0) 30%), linear-gradient(315deg, rgba(255, 224, 58, .95), rgba(255, 224, 58, 0) 14%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.sc-stage-head { position: relative; z-index: 3; display: flex; align-items: flex-start; gap: 18px; }
.sc-stage-head h2 { margin: 0; font-size: 24px; font-weight: 800; color: #0a0f2e; letter-spacing: -.3px; }
.sc-stage-head .sc-eyebrow { font-size: 13px; margin: 6px 0 0; letter-spacing: .24em; }
.sc-tabs { margin-left: auto; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .85); border: 1px solid var(--sc-line); box-shadow: 0 4px 14px rgba(20, 45, 140, .07); }
.sc-tabs button { border: 0; background: none; cursor: pointer; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--sc-ink); }
.sc-tabs button[aria-selected="true"] { background: linear-gradient(180deg, var(--sc-cobalt-hi), var(--sc-cobalt)); color: #fff; box-shadow: 0 4px 12px rgba(16, 41, 184, .35); }
.sc-expand { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(20, 45, 140, .07); }
.sc-expand .sc-ico { width: 20px; height: 20px; color: var(--sc-navy); stroke-width: 2.4; }
.sc-stage-body { position: relative; display: grid; grid-template-columns: 296px 1fr; gap: 0; margin-top: 18px; min-height: 270px; }
.sc-video { position: relative; z-index: 3; width: 296px; height: 270px; border-radius: 14px; overflow: hidden; background: #111; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.sc-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-play { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); background: rgba(10, 20, 50, .35); backdrop-filter: blur(4px); display: grid; place-items: center; cursor: pointer; }
.sc-play .sc-ico { width: 30px; height: 30px; color: #fff; fill: #fff; margin-left: 4px; }
.sc-video.is-playing .sc-play { opacity: 0; }
.sc-vbar { position: absolute; left: 18px; right: 18px; bottom: 28px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); }
.sc-vbar i { position: absolute; left: 0; top: 0; bottom: 0; background: #fff; border-radius: 4px; }
.sc-vbar b { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .3); }
.sc-vtime { position: absolute; left: 18px; bottom: 6px; font-size: 12px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.sc-art { position: absolute; left: 318px; right: -22px; top: -26px; bottom: -24px; z-index: 1; pointer-events: none; }
.sc-art img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%); }
.sc-art.is-hidden { display: none; }
.sc-callouts { position: absolute; inset: 0; left: 318px; z-index: 2; pointer-events: none; }
.sc-callout { position: absolute; width: 122px; padding: 12px 14px 12px; border-radius: 14px; background: rgba(255, 255, 255, .9); box-shadow: 0 8px 22px rgba(20, 45, 140, .12); pointer-events: auto; }
.sc-callout b { display: block; font-size: 12.5px; font-weight: 500; color: var(--sc-ink); }
.sc-callout strong { display: block; font-size: 21px; font-weight: 800; color: var(--sc-navy); margin: 4px 0 2px; white-space: nowrap; }
.sc-callout strong.good { color: var(--sc-green); }
.sc-callout em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--sc-green); display: flex; gap: 3px; align-items: center; }
.sc-callout em .sc-ico { width: 11px; height: 11px; stroke-width: 3; }
.sc-callout .bar { height: 5px; border-radius: 5px; background: #e6e9f2; margin-top: 8px; overflow: hidden; }
.sc-callout .bar i { display: block; height: 100%; background: var(--sc-green-bar); border-radius: 5px; }
.sc-callout.l0 { left: 0; top: 18px; } .sc-callout.l1 { left: 0; top: 148px; }
.sc-callout.r0 { right: 6px; top: 6px; width: 142px; } .sc-callout.r1 { right: 6px; top: 148px; width: 142px; }
.sc-livehost { position: absolute; left: 318px; right: 0; top: 0; bottom: 0; z-index: 3; display: none; border-radius: 14px; overflow: hidden; background: #0b1020; }
.sc-livehost.is-on { display: block; }
.sc-livehost .mv2 { height: 100%; }
.sc-tabnote { position: absolute; left: 330px; bottom: 6px; z-index: 4; font-size: 11.5px; color: var(--sc-slate); background: rgba(255, 255, 255, .85); padding: 4px 10px; border-radius: 999px; }

/* ── bottom row ────────────────────────────────────────────────────────── */
.sc-row3 { display: grid; grid-template-columns: 370px 1fr 252px; gap: 18px; margin-top: 18px; }
.sc-panel { padding: 22px 22px 20px; }
.sc-panel h3 { margin: 0; font-size: 18.5px; font-weight: 800; color: #0a0f2e; letter-spacing: -.2px; }
.sc-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sc-link { font-size: 14px; color: var(--sc-cobalt-2); text-decoration: none; font-weight: 500; background: none; border: 0; cursor: pointer; padding: 0; }
.sc-activity { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sc-activity li button { width: 100%; display: grid; grid-template-columns: 64px 1fr auto 14px; gap: 12px; align-items: center; background: none; border: 0; cursor: pointer; padding: 0; text-align: left; }
.sc-activity img { width: 64px; height: 50px; border-radius: 8px; object-fit: cover; }
.sc-activity b { display: block; font-size: 13.5px; white-space: nowrap; font-weight: 500; color: var(--sc-ink); }
.sc-activity small { font-size: 12px; color: var(--sc-slate); white-space: nowrap; }
.sc-activity .sc-ico { width: 16px; height: 16px; color: var(--sc-slate); }
.sc-tag { font-size: 11.5px; font-weight: 600; padding: 6px 9px; border-radius: 8px; white-space: nowrap; }
.sc-tag.improved { background: #e3f7e9; color: #13843f; border: 1px solid #bfe9cc; }
.sc-tag.consistent { background: #e6efff; color: #1a3fc4; border: 1px solid #c8d8ff; }
.sc-tag.needs_work { background: #ffe9ea; color: #d23a42; border: 1px solid #ffcfd2; }
.sc-feedback { position: relative; }
.sc-feedback::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 2px;
  background: linear-gradient(135deg, rgba(255, 224, 58, .95), rgba(255, 224, 58, 0) 20%, rgba(255, 224, 58, 0) 80%, rgba(255, 224, 58, .95));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.sc-fb-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sc-fb-head img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0, 0, 0, .12); }
.sc-fb-head b { display: block; font-size: 16px; font-weight: 700; color: var(--sc-ink); }
.sc-fb-head small { font-size: 12.5px; color: var(--sc-mute); }
.sc-dots { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f2f5fc; cursor: pointer; font-size: 18px; color: var(--sc-ink); letter-spacing: 1px; }
.sc-fb-text { background: #f2f5fc; border-radius: 12px; padding: 12px 14px; font-size: 15.5px; line-height: 1.4; color: var(--sc-ink); }
.sc-fb-audio { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.sc-fb-audio button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--sc-cobalt); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(18, 54, 214, .35); }
.sc-fb-audio button .sc-ico { width: 16px; height: 16px; color: #fff; fill: #fff; margin-left: 2px; }
.sc-fb-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 30px; }
.sc-fb-wave i { flex: 1; max-width: 3px; border-radius: 2px; background: #c7d2ee; }
.sc-fb-wave i.on { background: var(--sc-cobalt); }
.sc-fb-audio small { font-size: 12.5px; color: var(--sc-slate); }
.sc-steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sc-steps label { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--sc-ink); cursor: pointer; }
.sc-steps input { appearance: none; width: 20px; height: 20px; border-radius: 50%; border: 1.6px solid #5b6789; margin: 0; flex: none; display: grid; place-items: center; cursor: pointer; }
.sc-steps input:checked { background: var(--sc-cobalt); border-color: var(--sc-cobalt); }
.sc-steps input:checked::after { content: ''; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.sc-steps input:checked + span { color: var(--sc-mute); text-decoration: line-through; }
.sc-outline { width: 100%; height: 46px; border-radius: 999px; border: 2px solid var(--sc-cobalt); background: #fff; color: var(--sc-cobalt-deep); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.sc-outline .sc-ico { width: 16px; height: 16px; }
.sc-steps-title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sc-steps-title .sc-ico { width: 24px; height: 24px; color: var(--sc-cobalt-2); }

/* ── secondary views (functional; styled from the same tokens, pending design review) ── */
.sc-view-head { display: flex; align-items: center; gap: 14px; margin: 4px 0 18px; }
.sc-view-head h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.6px; color: #0a0f2e; }
.sc-back { border: 0; background: #fff; border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 600; color: var(--sc-cobalt-deep); box-shadow: var(--sc-shadow); }
.sc-list { display: grid; gap: 12px; }
.sc-list-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; cursor: pointer; border: 0; width: 100%; text-align: left; }
.sc-list-item img { width: 96px; height: 70px; object-fit: cover; border-radius: 10px; }
.sc-list-item b { font-size: 16px; color: var(--sc-ink); } .sc-list-item small { display: block; color: var(--sc-slate); margin-top: 4px; }
.sc-player { padding: 16px; }
.sc-player-stage { position: relative; border-radius: 14px; overflow: hidden; background: #0b1020; height: min(62vh, 560px); }
.sc-player-stage > video { width: 100%; height: 100%; object-fit: contain; display: block; }
.sc-player-stage .mv2 { height: 100%; }
.sc-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.sc-chip { border: 1px solid var(--sc-line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--sc-cobalt-deep); }
.sc-chip[aria-pressed="true"] { background: var(--sc-cobalt); color: #fff; }
.sc-note { font-size: 13px; color: var(--sc-slate); }
.sc-grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.sc-drill { padding: 16px 18px; } .sc-drill b { display: block; font-size: 15.5px; } .sc-drill p { margin: 6px 0 10px; color: var(--sc-slate); font-size: 13.5px; line-height: 1.4; }
.sc-drill.is-open { outline: 3px solid var(--sc-yellow); }
.sc-big-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.sc-big-actions button { padding: 26px 20px; text-align: left; border: 0; cursor: pointer; }
.sc-big-actions button b { display: block; font-size: 18px; color: var(--sc-navy); margin-top: 10px; }
.sc-big-actions button .sc-ico { width: 34px; height: 34px; color: var(--sc-cobalt); }
.sc-big-actions button.is-active { outline: 3px solid var(--sc-yellow); }

/* ── Coach Austin dock (transcript + listening state) ─────────────────── */
.sc-dock { position: fixed; z-index: 60; right: 24px; bottom: 50px; width: 360px; max-width: calc(100vw - 32px); display: none; flex-direction: column;
  background: rgba(255, 255, 255, .97); border-radius: 20px; box-shadow: 0 20px 50px rgba(10, 30, 120, .25); border: 1px solid var(--sc-line); overflow: hidden; }
.sc-dock.is-open { display: flex; }
.sc-dock-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(120deg, var(--sc-cobalt-hi), var(--sc-cobalt)); color: #fff; }
.sc-dock-head img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.sc-dock-head b { font-size: 15px; } .sc-dock-head small { display: block; font-size: 12px; opacity: .85; }
.sc-dock-head button { margin-left: auto; background: rgba(255, 255, 255, .15); border: 0; color: #fff; border-radius: 999px; padding: 6px 10px; cursor: pointer; }
.sc-dock-log { max-height: 300px; overflow: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.sc-msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.38; }
.sc-msg.me { align-self: flex-end; background: var(--sc-cobalt); color: #fff; border-bottom-right-radius: 4px; }
.sc-msg.austin { align-self: flex-start; background: #f0f4fd; color: var(--sc-ink); border-bottom-left-radius: 4px; }
.sc-msg.act { align-self: center; background: #fffcd0; color: var(--sc-ink); font-size: 12px; font-weight: 600; border-radius: 999px; padding: 4px 10px; }
.sc-dock-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--sc-line); }
.sc-dock-input input { flex: 1; border: 1px solid var(--sc-line); border-radius: 999px; padding: 10px 14px; font-size: 14px; outline: 0; }
.sc-dock-input .sc-mic { background: var(--sc-cobalt-soft); }

/* ── bottom tab bar (phones) ─────────────────────────────────────────── */
.sc-tabbar { display: none; }

@media (max-width: 1180px) {
  .sc-search { margin-left: 0; }
  .sc-row3 { grid-template-columns: 1fr 1fr; }
  .sc-row3 > :last-child { grid-column: 1 / -1; }
  .sc-metrics { grid-template-columns: repeat(2, 1fr); }
  .sc-hero-coach { right: 40px; }
}
@media (max-width: 900px) {
  .sc-layout { grid-template-columns: 1fr; }
  .sc-sidebar { display: none; }
  .sc-main { padding: 12px 16px 96px; }
  .sc-top { flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
  .sc-logo { min-width: 0; } .sc-logo b { font-size: 26px; } .sc-logo small { font-size: 10px; letter-spacing: .2em; }
  .sc-top-right { gap: 12px; } .sc-me span { display: none; } .sc-me img { width: 42px; height: 42px; } .sc-me .sc-ico { display: none; }
  .sc-search { order: 3; flex-basis: 100%; max-width: none; }
  .sc-hero { padding: 24px 20px 22px; min-height: 0; }
  .sc-hero-copy { max-width: none; }
  .sc-hero-copy h1, .sc-hero-sub, .sc-hero .sc-eyebrow { max-width: 58%; }
  .sc-eyebrow { font-size: 11px; margin-bottom: 10px; }
  .sc-hero h1 { font-size: 29px; letter-spacing: -.6px; }
  .sc-hero p { font-size: 15px; margin-bottom: 18px; }
  .sc-hero-coach { height: 230px; right: -34px; }
  .sc-bubble { display: none; }
  .sc-hero-actions { flex-direction: column; gap: 10px; max-width: 100%; }
  .sc-pill { height: 48px; padding: 0 16px 0 20px; font-size: 15px; width: 100%; position: relative; z-index: 2; justify-content: flex-start; }
  .sc-pill .sc-chev { margin-left: auto; }
  .sc-hero-actions { width: 100%; position: relative; z-index: 2; }
  .sc-metrics { gap: 12px; margin: 16px 0 14px; }
  .sc-metric { padding: 14px 14px 12px; min-height: 118px; display: flex; flex-direction: column; }
  .sc-metric .sc-status { order: 5; position: static; align-self: flex-start; margin-top: 8px; }
  .sc-metric-head { gap: 10px; } .sc-metric-head .sc-ico { width: 26px; height: 26px; }
  .sc-metric-label { font-size: 13px; }
  .sc-metric-value { font-size: 26px; margin: 8px 0 0; } .sc-metric-value small { font-size: 13px; }
  .sc-metric-delta { font-size: 14px; margin-top: 10px; }
  .sc-spark { width: 64px; height: 30px; right: 10px; bottom: 12px; }
  .sc-stage { padding: 16px; }
  .sc-stage-head { flex-wrap: wrap; } .sc-tabs { margin-left: 0; order: 3; width: 100%; justify-content: space-between; }
  .sc-tabs button { padding: 8px 10px; font-size: 12.5px; }
  .sc-expand { position: absolute; right: 0; top: 0; }
  .sc-stage-body { grid-template-columns: 1fr; }
  .sc-video { width: 100%; height: 300px; }
  .sc-art { position: relative; left: 0; right: 0; top: 0; bottom: 0; height: 230px; margin-top: 12px; }
  .sc-callouts { position: relative; left: 0; inset: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .sc-callout { position: static; width: auto !important; }
  .sc-livehost { position: relative; left: 0; height: 420px; margin-top: 12px; }
  .sc-tabnote { left: 10px; }
  .sc-row3 { grid-template-columns: 1fr; }
  .sc-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, var(--sc-cobalt-hi), var(--sc-cobalt)); box-shadow: 0 -6px 20px rgba(10, 40, 180, .25); }
  .sc-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #fff; text-decoration: none; font-size: 10.5px; padding: 4px 0; border-radius: 12px; }
  .sc-tabbar a .sc-ico { width: 22px; height: 22px; }
  .sc-tabbar a[aria-current="page"] { background: rgba(255, 255, 255, .14); }
  .sc-tabbar a[aria-current="page"] .sc-ico { color: var(--sc-yellow); }
  .sc-dock { right: 12px; left: 12px; width: auto; bottom: 84px; }
  #sc-sandbox-banner { bottom: 76px !important; left: 12px !important; }
}

/* sandbox marker: rides the empty foot of the sidebar instead of covering content */
#sc-sandbox-banner { left: 8px !important; bottom: 12px !important; transform: none !important; width: 90px; white-space: normal !important; text-align: center; font-size: 9px !important; line-height: 1.35 !important; border-radius: 10px !important; padding: 6px 6px !important; }
@media (max-width: 900px) { #sc-sandbox-banner { width: auto; white-space: nowrap !important; left: 50% !important; transform: translateX(-50%) !important; bottom: calc(74px + env(safe-area-inset-bottom)) !important; } }
