/* Self-hosted fonts (Poppins, Open Sans) - no data sent to Google */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/opensans-400-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/opensans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/opensans-500-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/opensans-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/opensans-600-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/opensans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/opensans-700-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/opensans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/poppins-500-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/poppins-600-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/poppins-700-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/poppins-800-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/poppins-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Reset & base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --phase-w: 150px;      /* width of the week phase panel, content aligns to its right edge */
  /* Brand palette, matched to the live T2W Wix site + worksheet thumbnails */
  --navy:      #103F66;  /* header / primary navy, Understand */
  --navy-deep: #0B2C49;  /* deep navy section bands */
  --teal:      #17A2C6;  /* CTA / button cyan, Adapt */
  --done:      #2E9E5B;  /* completed / done state, deliberately distinct from the Adapt teal */
  --coral:     #FA3357;  /* vivid pink-red, Perform + brand accent */
  --steel:     #3C5168;  /* steel-blue, Review */
  --gold:      #FA3357;  /* primary accent (brand pink-red) */

  --bg:         #E9F0F6;  /* cool pale blue page */
  --bg-tint:    #D9E5EF;  /* deeper pale blue bands */
  --surface:    #FFFFFF;
  --border:     #CFDDEA;
  --text:       #143049;  /* navy-ink body on white */
  --text-muted: #5E7A92;  /* slate-blue muted */
  --text-light: #93A7BA;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 3px rgba(16,63,102,.07), 0 1px 2px rgba(16,63,102,.05);
  --shadow:    0 4px 12px rgba(16,63,102,.10), 0 1px 3px rgba(16,63,102,.05);
  --shadow-lg: 0 12px 32px rgba(16,63,102,.13), 0 2px 6px rgba(16,63,102,.06);

  /* Type, Poppins display (geometric sans) + Open Sans body, matching Wix */
  --font:    'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ui: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Layout shell ──────────────────────────────────────── */
.view { min-height: 100vh; }

.container {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Global nav header ─────────────────────────────────── */
/* ── Legal pages (privacy / terms / cookies) ───────────── */
.legal-doc { max-width: 760px; }
.legal-doc h2 { font-family: var(--font); font-size: 19px; font-weight: 800; margin: 28px 0 8px; color: var(--navy); }
.legal-doc p, .legal-doc li { font-family: var(--font-ui); font-size: 15px; line-height: 1.75; color: var(--text); }
.legal-doc ul { padding-left: 20px; margin: 4px 0; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc a { color: var(--teal); }
.legal-updated { font-size: 13px !important; color: var(--text-muted) !important; margin-bottom: 8px; }
.legal-crosslinks { margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--border); font-family: var(--font-ui); font-size: 13px; }
.legal-crosslinks a { color: var(--teal); cursor: pointer; }
.home-legal-links { margin-top: 6px; }
.home-legal-links a { cursor: pointer; }

/* ── Public taster banner ──────────────────────────────── */
.preview-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -2px 14px rgba(11,44,73,.35);
  font-family: var(--font-ui); font-size: 14px;
}
.preview-banner .pb-text { opacity: .95; }
.preview-banner .pb-cta {
  background: var(--gold, #E5A200); color: var(--navy); border: none; cursor: pointer;
  font-family: var(--font-ui); font-weight: 800; font-size: 14px;
  padding: 9px 16px; border-radius: 999px; white-space: nowrap;
}
body.has-preview-banner { padding-bottom: 76px; }
@media (max-width: 560px) { .preview-banner { font-size: 13px; gap: 8px; padding: 10px 14px; } .preview-banner .pb-cta { font-size: 13px; padding: 8px 14px; } }

.site-header {
  background: var(--navy);
  padding: 12px 24px;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  display: flex;
  align-items: center;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(11,44,73,.35);
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header .logo-img {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,.9);
}

.logo-words { display: flex; flex-direction: column; gap: 1px; }

.logo-brand {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .2px;
  line-height: 1.1;
}
.logo-brand span { font-weight: 600; }

.logo-tag {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}

/* Executive Space tier wordmark (Option A lockup); only renders when SPACE.tier is set */
.logo-tier {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FA3357;
  margin-top: 2px;
}
.splash-tier {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FA3357;
  margin-top: 6px;
}

.back-btn {
  margin-left: auto;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-ui);
  cursor: pointer;
  transition: background .15s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.back-btn:hover { background: rgba(255,255,255,.22); }

/* Header right group + account icon */
.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.acct-link {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff;
  border-radius: 20px; width: 38px; height: 38px; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.acct-link:hover { background: rgba(255,255,255,.22); }

/* Auth screen links (sign in / create account / forgot password) */
.authlink { color: var(--accent, var(--teal)); font-weight: 600; cursor: pointer; text-decoration: none; }
.authlink:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .logo-tag { display: none; }
  .logo-brand { font-size: 15px; }
}

/* ── Home view ─────────────────────────────────────────── */
/* ── The Executive Space: distinct graphite banners (text/buttons/phases stay shared) ── */
.space-exec { --hero-a: #18304a; --hero-b: #0a1826; }
.space-exec .site-header { background: var(--hero-b); }
.space-exec .home-hero,
.space-exec .ws-hero,
.space-exec .programme-hero,
.space-exec .splash { background: linear-gradient(150deg, var(--hero-a) 0%, var(--hero-b) 100%); }
/* Retint the UNDERSTAND phase off the athlete navy for the Executive Space (pills + phase-bar segments;
   the week-hero panel + next-week button are retinted in JS via phaseColour). */
.space-exec .phase-UNDERSTAND { background: #18304a; }
.space-exec .phase-segment.understand { border-color: #18304a; color: #18304a; }

.home-hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 64px 24px 60px;
  text-align: center;
}

.home-hero-eyebrow {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}

.home-hero h1 {
  font-family: var(--font);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.home-hero p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,.78);
  max-width: 540px;
  margin: 0 auto;
}

.home-section {
  padding: 48px 24px 64px;
  max-width: 960px;
  margin: 0 auto;
}

.home-section h2 {
  font-family: var(--font);
  font-size: 14px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 700;
  margin-bottom: 24px;
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.programme-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  display: block;
}

.programme-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.programme-card.locked {
  opacity: .55;
  cursor: default;
}

.programme-card.locked:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.card-stripe {
  height: 6px;
}

.card-body {
  padding: 22px 22px 20px;
}

.card-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.card-title {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
}

.badge-locked {
  background: #F3F4F6;
  color: var(--text-light);
}

.badge-available {
  background: #EFF6FF;
  color: #1D4ED8;
}

.badge-weeks {
  background: var(--bg);
  color: var(--text-muted);
  font-size: 11px;
}

/* ── Phase pill ────────────────────────────────────────── */
.phase-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

.phase-UNDERSTAND { background: var(--navy); }
.phase-ADAPT      { background: var(--teal); }
.phase-PERFORM    { background: var(--coral); }
.phase-REVIEW     { background: var(--steel); }

/* ── Programme view ────────────────────────────────────── */
.programme-hero {
  background: var(--navy);
  padding: 40px 24px 44px;
}

.programme-hero-grid {
  max-width: 840px;  /* match the phase bar + weeks list below so all edges line up */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ph-block {
  padding: 48px 36px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
}

.ph-eyebrow {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 14px;
}

.ph-block h1 {
  font-family: var(--font);
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -.5px;
  text-transform: uppercase;
  line-height: 1.05;
}

.ph-divider {
  width: 64px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  margin: 20px 0 16px;
}

.ph-subtitle {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
}

.ph-panel {
  background: var(--surface);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ph-panel p {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

.programme-meta {
  display: flex;
  gap: 22px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
}

.meta-item strong {
  color: var(--navy);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .programme-hero-grid { grid-template-columns: 1fr; }
  .ph-block { min-height: 180px; padding: 36px 28px; }
  .ph-panel { padding: 28px; }
}

/* Phase bar */
.phase-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  overflow-x: auto;
}

.phase-bar-inner {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  gap: 0;
}

.phase-segment {
  flex: 1;
  min-width: 120px;
  padding: 14px 16px 12px;
  border-bottom: 3px solid transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.phase-segment .phase-weeks {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-light);
  margin-top: 2px;
}

.phase-segment.understand { border-color: var(--navy); color: var(--navy); }
.phase-segment.adapt      { border-color: var(--teal); color: var(--teal); }
.phase-segment.perform    { border-color: var(--coral); color: var(--coral); }
.phase-segment.review     { border-color: var(--steel); color: var(--steel); }

/* Week list */
.weeks-section {
  padding: 40px 24px 64px;
  max-width: 840px;
  margin: 0 auto;
}

.weeks-section h2 {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 22px;
}

.week-list { display: flex; flex-direction: column; gap: 12px; }

.week-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  cursor: pointer;
  transition: box-shadow .15s, transform .15s;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}

.week-card:hover {
  box-shadow: var(--shadow);
  transform: translateX(3px);
}

.week-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.week-info { flex: 1; min-width: 0; }

.week-info .week-phase {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.week-info h3 {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.week-steps-count {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.week-arrow {
  color: var(--text-light);
  font-size: 18px;
  flex-shrink: 0;
}

/* ── Week view ─────────────────────────────────────────── */
.week-hero-split {
  display: flex;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  min-height: 300px;
}

.phase-panel {
  flex-shrink: 0;
  width: var(--phase-w);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phase-panel-word {
  writing-mode: vertical-rl;
  font-family: var(--font);
  font-size: clamp(54px, 9vw, 104px);
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(255,255,255,.16);
  white-space: nowrap;
  text-transform: uppercase;
  user-select: none;
}

.week-hero-content {
  flex: 1;
  min-width: 0;
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
}

.week-hero-content .week-label {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.week-hero-content h1 {
  font-family: var(--font);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -.3px;
  margin-bottom: 10px;
  line-height: 1.15;
  color: var(--navy);
}

.phase-tagline {
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

@media (max-width: 640px) {
  .week-hero-split { min-height: 0; flex-direction: column; }
  .phase-panel { width: 100%; height: 84px; }
  .phase-panel-word { writing-mode: horizontal-tb; font-size: 40px; }
  .week-hero-content { padding: 28px 24px; }
}

.outcome-block {
  background: var(--bg);
  border-left: 4px solid currentColor;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  max-width: 640px;
}

.outcome-block .outcome-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: .7;
}

.outcome-block p {
  font-size: 14px;
  line-height: 1.65;
}

/* Steps list, aligned to the hero content (right of the phase panel), matching its width */
.steps-section {
  padding: 36px 40px 64px;
  max-width: 760px;
  margin: 0 0 0 var(--phase-w);
}
/* On mobile the phase panel stacks on top, so the content must reclaim the full width.
   This override sits AFTER the base rule so it reliably wins the cascade on small screens. */
@media (max-width: 640px) {
  .steps-section { margin: 0; max-width: none; padding: 28px 24px 56px; }
}

.steps-section h2 {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 22px;
}

.step-list { display: flex; flex-direction: column; gap: 12px; }

/* Next-week CTA, shown at the foot of a week once every step is complete */
.week-next-btn { --wn: var(--teal); display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin-top: 24px; padding: 20px 24px; border: none; border-radius: var(--radius); cursor: pointer; text-align: left; color: #fff; background: var(--wn); box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease; }
.week-next-btn.done { --wn: var(--navy); }
.week-next-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg, var(--shadow)); }
.week-next-btn .wn-label { font-family: var(--font-ui); font-size: 12.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; opacity: .85; }
.week-next-btn .wn-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-top: 3px; }
.week-next-btn .wn-arrow { font-size: 30px; line-height: 1; font-weight: 700; flex: 0 0 auto; }

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
  transition: box-shadow .15s, transform .15s;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.step-card:hover {
  box-shadow: var(--shadow);
  transform: translateX(3px);
}

.step-type-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 2px;
}

.step-type-badge .type-icon { font-size: 18px; line-height: 1; }
.step-type-badge .type-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.type-READ    { background: #EFF4FF; color: #1D4ED8; }
.type-LISTEN  { background: #F5F0FF; color: #7C3AED; }
.type-DO      { background: #F0FDF4; color: #166534; }
.type-REFLECT { background: #FFF7ED; color: #9A3412; }

.step-info { flex: 1; min-width: 0; }

.step-info h3 {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 4px;
}

.step-info .step-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  align-items: center;
}

.step-info .step-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-light);
}

.step-arrow {
  color: var(--text-light);
  font-size: 18px;
  flex-shrink: 0;
}

/* ── Step view ─────────────────────────────────────────── */
.step-view { background: var(--bg); }

.step-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px 28px;
}

.step-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.step-hero .step-breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-hero .step-breadcrumb span { color: var(--text-light); }

.step-hero-type {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}

.step-hero-type .icon { font-size: 16px; }
.step-hero-type .label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.step-hero h1 {
  font-family: var(--font);
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  letter-spacing: -.3px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.step-hero .step-duration {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Article content */
.step-content-area {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.article-body {
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}

.article-body p { margin-bottom: 22px; }
.article-body p:last-child { margin-bottom: 0; }

.article-body h2 {
  font-family: var(--font);
  font-size: 23px;
  font-weight: 700;
  margin: 38px 0 14px;
  color: var(--navy);
  letter-spacing: -.2px;
}

.article-body h3 {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--navy);
}

.article-body blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  background: var(--bg);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.article-body blockquote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--gold);
  font-family: var(--font-ui);
  text-transform: uppercase;
}

/* Audio placeholder */
.audio-placeholder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 32px;
  text-align: center;
}

.audio-placeholder .audio-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}

.audio-placeholder h3 {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.audio-placeholder p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.audio-placeholder .audio-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.audio-intro {
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 28px;
  font-style: italic;
}

/* Exercise guides */
.exercise-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}

.exercise-block-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.exercise-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.exercise-block-header h3 {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
}

.exercise-block-body {
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

.exercise-block-body p { margin-bottom: 14px; }
.exercise-block-body p:last-child { margin-bottom: 0; }

/* Reflection questions */
.reflection-questions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.reflection-q {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
}

.reflection-q-body { flex: 1; min-width: 0; }
.reflection-input { width: 100%; margin-top: 12px; min-height: 66px; resize: vertical; font-family: var(--font-ui); }

.q-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.reflection-q p {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

/* Worksheets section */
.worksheets-section {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.worksheets-section h2 {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}

.worksheets-section .ws-intro {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.worksheet-rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.worksheet-row {
  display: flex;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  align-items: flex-start;
}

.worksheet-thumb-link {
  flex-shrink: 0;
  width: 132px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
}

.worksheet-thumb-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.worksheet-thumb {
  width: 100%;
  aspect-ratio: 243 / 344;
  object-fit: cover;
  display: block;
  background: var(--bg);
}

.worksheet-thumb-placeholder {
  width: 100%;
  aspect-ratio: 243 / 344;
  background: linear-gradient(145deg, var(--bg) 0%, var(--bg-tint) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--text-light);
}

/* Executive Space: generated worksheet tiles (programme accent + initials) in place of PDF thumbnails */
.worksheet-thumb-tile {
  width: 100%;
  aspect-ratio: 243 / 344;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--a) 12%, #fff);
}
.wb-thumb-tile {
  width: 46px; height: 65px; flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--a) 30%, var(--border));
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--a) 12%, #fff);
}
.ws-tile-mark { font-family: var(--font); font-weight: 700; letter-spacing: .5px; color: var(--a); font-size: 34px; }
.wb-thumb-tile .ws-tile-mark { font-size: 16px; }

.worksheet-row-info { flex: 1; min-width: 0; }

.worksheet-row-info h3 {
  font-family: var(--font);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--navy);
}

.worksheet-row-info p {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.worksheet-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 22px;
  text-decoration: none;
  transition: filter .15s;
}

.worksheet-download-btn:hover { filter: brightness(1.08); }

@media (max-width: 560px) {
  .worksheet-row { flex-direction: column; gap: 16px; }
  .worksheet-thumb-link { width: 110px; }
}

/* Step nav */
.step-nav {
  display: flex;
  gap: 12px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.step-nav-btn {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: box-shadow .15s;
  box-shadow: var(--shadow-sm);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-nav-btn:hover { box-shadow: var(--shadow); }
.step-nav-btn:disabled { opacity: .35; cursor: default; box-shadow: none; }

.step-nav-btn.next { justify-content: flex-end; text-align: right; }

.nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.nav-arrow { font-size: 18px; color: var(--text-muted); flex-shrink: 0; }

/* ── Programme outcome block (home card) ───────────────── */
.outcome-callout {
  background: linear-gradient(135deg, rgba(27,45,79,.06) 0%, rgba(27,45,79,.02) 100%);
  border: 1px solid rgba(27,45,79,.12);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 28px;
  max-width: 840px;
}

.outcome-callout .oc-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.outcome-callout p {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

/* ── Utility ───────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .programme-grid { grid-template-columns: 1fr; }
  .worksheet-grid { grid-template-columns: repeat(2, 1fr); }
  .step-nav { flex-direction: column; }
  .article-body { font-size: 16px; }
}

/* ── Worksheet row buttons ─────────────────────────────── */
.worksheet-btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.worksheet-fill-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal); color: #fff;
  font-family: var(--font-ui); font-size: 13px; font-weight: 700;
  padding: 9px 18px; border: none; border-radius: 22px; cursor: pointer;
  transition: filter .15s;
}
.worksheet-fill-btn:hover { filter: brightness(1.08); }

.worksheet-download-btn.secondary {
  background: transparent; color: var(--teal);
  border: 1.5px solid var(--teal);
  padding: 8px 16px;
}
.worksheet-download-btn.secondary:hover { background: rgba(23,162,198,.08); }

/* ── Worksheet (native form) view ──────────────────────── */
.ws-view { background: var(--bg); }

.ws-hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; padding: 28px 0 40px;
}
/* Match the hero's inner width to the form below it (.ws-page) so their edges line up */
.ws-hero .container { max-width: 720px; }
.ws-back {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: #fff; border-radius: 20px; padding: 6px 14px; font-size: 13px;
  font-family: var(--font-ui); font-weight: 600; cursor: pointer; margin-bottom: 18px;
}
.ws-back:hover { background: rgba(255,255,255,.22); }
.ws-eyebrow {
  font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.ws-hero h1 {
  font-family: var(--font); font-size: clamp(24px, 4vw, 32px); font-weight: 700;
  letter-spacing: -.3px; margin-bottom: 12px; line-height: 1.15;
}
.ws-hero p { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.8); max-width: 640px; }

.ws-page { max-width: 720px; padding-bottom: 64px; }
/* Tool pages (log, control) lead with content that has no top margin, add breathing room below the hero */
.log-view .ws-page { padding-top: 24px; }

.ws-privacy {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  background: var(--bg-tint); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 16px; margin: 24px 0 28px;
  font-size: 13px; color: var(--text-muted);
}
.ws-saved {
  margin-left: auto; font-weight: 700; color: var(--teal);
  opacity: 0; transition: opacity .2s;
}
.ws-saved.show { opacity: 1; }

.ws-section {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 24px 8px; margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.ws-section h2 {
  font-family: var(--font); font-size: 17px; font-weight: 700; color: var(--navy);
  margin-bottom: 6px;
}
.ws-help { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

.ws-field { margin-bottom: 18px; }
.ws-label {
  display: block; font-family: var(--font-ui); font-size: 14px; font-weight: 600;
  color: var(--text); margin-bottom: 7px; line-height: 1.4;
}
.ws-input, .ws-textarea {
  width: 100%; font-family: var(--font-ui); font-size: 15px; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 12px; transition: border-color .15s, background .15s;
}
.ws-textarea { resize: vertical; min-height: 76px; line-height: 1.55; }
.ws-input:focus, .ws-textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
}

.ws-rating { display: flex; align-items: center; gap: 12px; }
.ws-range { flex: 1; accent-color: var(--teal); height: 6px; }
.ws-rating-end { font-size: 12px; color: var(--text-light); font-weight: 600; }
.ws-rating-out {
  min-width: 34px; text-align: center; font-family: var(--font); font-weight: 800;
  font-size: 16px; color: #fff; background: var(--teal); border-radius: 16px; padding: 3px 0;
}

.ws-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.ws-btn {
  font-family: var(--font-ui); font-size: 14px; font-weight: 700; cursor: pointer;
  padding: 11px 20px; border-radius: 24px; text-decoration: none; border: 1.5px solid transparent;
  display: inline-flex; align-items: center; gap: 6px;
}
.ws-btn-secondary { background: var(--surface); color: var(--navy); border-color: var(--border); }
.ws-btn-secondary:hover { border-color: var(--navy); }
.ws-btn-ghost { background: transparent; color: var(--text-muted); }
.ws-btn-ghost:hover { color: var(--coral); }

@media print {
  .site-header, .ws-back, .ws-actions, .ws-privacy { display: none !important; }
  .ws-hero { background: none !important; color: #000 !important; padding: 0 0 16px; }
  .ws-hero p, .ws-eyebrow { color: #333 !important; }
  .ws-section { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .ws-view { background: #fff; }
}

/* ── Progress summary (programme view) ─────────────────── */
.prog-summary {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 32px; box-shadow: var(--shadow-sm);
}
.prog-summary.light { background: var(--surface); }
.prog-summary-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.prog-label { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.prog-count { font-family: var(--font); font-size: 17px; font-weight: 700; color: var(--navy); }
.workbook-btn {
  background: var(--navy); color: #fff; border: none; border-radius: 22px;
  font-family: var(--font-ui); font-size: 13px; font-weight: 700; padding: 9px 18px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: filter .15s;
}
.workbook-btn:hover { filter: brightness(1.15); }
.prog-bar { height: 10px; background: var(--bg-tint); border-radius: 6px; overflow: hidden; }
.prog-bar-fill { height: 100%; background: linear-gradient(90deg, var(--teal), #1ec0e0); border-radius: 6px; transition: width .3s; }
.prog-continue {
  margin-top: 14px; background: transparent; border: none; color: var(--teal);
  font-family: var(--font-ui); font-size: 14px; font-weight: 700; cursor: pointer; padding: 0; text-align: left;
}
.prog-continue:hover { text-decoration: underline; }
.prog-complete-note { margin-top: 14px; font-size: 14px; color: var(--text-muted); }

/* ── Step completion ───────────────────────────────────── */
.step-complete-btn {
  width: 100%; margin-top: 36px; padding: 16px; border-radius: var(--radius);
  border: 1.5px dashed var(--border); background: var(--surface); cursor: pointer;
  font-family: var(--font-ui); font-size: 15px; font-weight: 700; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; gap: 10px; transition: all .15s;
}
.step-complete-btn:hover { border-color: var(--done); color: var(--done); }
.step-complete-btn.done {
  background: var(--done); border: 1.5px solid var(--done); color: #fff;
}
.scb-check { font-weight: 900; }

.step-card.done { border-color: var(--done); background: linear-gradient(0deg, rgba(46,158,91,.06), rgba(46,158,91,.06)), #fff; }
.step-done-tick {
  width: 26px; height: 26px; border-radius: 50%; background: var(--done); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; flex-shrink: 0;
}
.week-card.done .week-number { background: var(--done) !important; }

/* ── My Workbook ───────────────────────────────────────── */
.wb-view { background: var(--bg); }
.wb-hero { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 28px 24px 40px; }
.wb-hero h1 { font-family: var(--font); font-size: clamp(24px,4vw,32px); font-weight: 700; margin-bottom: 12px; letter-spacing: -.3px; }
.wb-hero p { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.8); max-width: 640px; }
.wb-page { max-width: 760px; padding-bottom: 64px; padding-top: 28px; }
.wb-h2 { font-family: var(--font); font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--navy); margin: 8px 0 18px; }
.wb-group { margin-bottom: 26px; }
.wb-group-head { margin-bottom: 12px; }
.wb-row {
  display: flex; align-items: center; gap: 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px;
  margin-bottom: 10px; box-shadow: var(--shadow-sm);
}
.wb-row.filled { border-color: var(--done); }
.wb-thumb { width: 46px; height: 65px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); flex-shrink: 0; }
.wb-info { flex: 1; min-width: 0; }
.wb-info h4 { font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.wb-status { font-size: 12px; font-weight: 600; }
.wb-status.wb-filled { color: var(--done); }
.wb-status.wb-empty { color: var(--text-light); }
.wb-status.wb-pdf { color: var(--text-muted); }
.wb-open {
  flex-shrink: 0; background: var(--teal); color: #fff; border: none; border-radius: 20px;
  font-family: var(--font-ui); font-size: 13px; font-weight: 700; padding: 8px 16px; cursor: pointer;
  text-decoration: none; display: inline-block;
}
.wb-open:hover { filter: brightness(1.08); }
.wb-open-pdf { background: var(--surface); color: var(--navy); border: 1.5px solid var(--border); }
.wb-open-pdf:hover { border-color: var(--navy); filter: none; }

/* ── Cross-worksheet pre-fill ──────────────────────────── */
.ws-textarea.inherited, .ws-input.inherited {
  background: rgba(23,162,198,.07);
  border-color: rgba(23,162,198,.45);
  border-style: dashed;
}
.ws-prefill-note { font-size: 12.5px; margin-top: 6px; line-height: 1.45; }
.ws-prefill-note.pulled { color: var(--teal); }
.ws-prefill-note.pulled strong { color: var(--teal); }
.ws-prefill-note.waiting { color: var(--text-light); font-style: italic; }
.ws-prefill-note.waiting strong { color: var(--text-muted); font-style: normal; }

/* ── Repeater rows (Evidence Bank) ─────────────────────── */
.ws-rep-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.ws-rep-row { display: flex; gap: 8px; align-items: center; }
.ws-rep-head { padding-right: 30px; }
.ws-rep-colhead { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text-light); padding: 0 2px; }
.ws-rep-num { text-align: center; flex: 0 0 64px !important; }
.ws-rep-remove-spacer { flex: 0 0 30px; }
.ws-rep-remove {
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text-light); font-size: 18px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .15s;
}
.ws-rep-remove:hover { border-color: var(--coral); color: var(--coral); }
.ws-rep-add {
  background: transparent; border: 1.5px dashed var(--teal); color: var(--teal);
  font-family: var(--font-ui); font-size: 13px; font-weight: 700; padding: 8px 16px;
  border-radius: 22px; cursor: pointer; transition: background .15s;
}
.ws-rep-add:hover { background: rgba(23,162,198,.08); }

@media (max-width: 560px) {
  .ws-rep-row { flex-wrap: wrap; }
  .ws-rep-row .ws-input:not(.ws-rep-num) { flex: 1 1 100% !important; }
  .ws-rep-head { display: none; }
}

/* ── Consent gate ──────────────────────────────────────── */
.consent-view { background: var(--bg); min-height: 100vh; }
.consent-wrap { display: flex; justify-content: center; padding: 40px 20px 64px; }
.consent-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); max-width: 560px; width: 100%; padding: 40px 36px;
}
.consent-eyebrow {
  font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--coral); margin-bottom: 12px;
}
.consent-card h1 {
  font-family: var(--font); font-size: 28px; font-weight: 800; color: var(--navy);
  letter-spacing: -.4px; margin-bottom: 8px;
}
.consent-lead { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; }
.consent-points { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 26px; }
.consent-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.consent-points li span { font-size: 20px; flex-shrink: 0; line-height: 1.2; }
.consent-points strong { color: var(--navy); }
.consent-check {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  background: var(--bg-tint); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 22px;
  font-size: 14px; color: var(--text); line-height: 1.45;
}
.consent-check input { width: 20px; height: 20px; accent-color: var(--teal); flex-shrink: 0; margin-top: 1px; cursor: pointer; }
.consent-btn {
  width: 100%; background: var(--teal); color: #fff; border: none; border-radius: 26px;
  font-family: var(--font); font-size: 16px; font-weight: 700; padding: 14px; cursor: pointer;
  transition: filter .15s, opacity .15s;
}
.consent-btn:hover:not(:disabled) { filter: brightness(1.08); }
.consent-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ── Home footer ───────────────────────────────────────── */
.home-footer {
  max-width: 960px; margin: 0 auto; padding: 28px 24px 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted);
}
.home-footer a { color: var(--teal); font-weight: 700; cursor: pointer; text-decoration: none; }
.home-footer a:hover { text-decoration: underline; }
.home-copyright { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); width: 100%; font-size: 12px; color: var(--text-light); }

/* ── Data page ─────────────────────────────────────────── */
.data-stat { font-family: var(--font-ui); font-size: 16px; color: var(--text); }
.data-stat strong { color: var(--navy); font-family: var(--font); font-size: 19px; }
.ws-section.danger { border-color: rgba(250,51,87,.4); }
.ws-section.danger h2 { color: var(--coral); }
.data-delete-btn {
  margin-top: 14px; background: var(--coral); color: #fff; border: none; border-radius: 24px;
  font-family: var(--font-ui); font-size: 14px; font-weight: 700; padding: 11px 22px; cursor: pointer;
  transition: filter .15s;
}
.data-delete-btn:hover { filter: brightness(1.06); }
.wb-data-link {
  display: inline-block; margin-top: 18px; color: var(--text-muted); font-size: 13px;
  font-weight: 600; cursor: pointer; text-decoration: none;
}
.wb-data-link:hover { color: var(--teal); }

/* ── Home tool card ────────────────────────────────────── */
.tool-card {
  display: flex; align-items: center; gap: 18px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px;
  cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tool-icon { font-size: 34px; flex-shrink: 0; }
.tool-body { flex: 1; }
.tool-body h3 { font-family: var(--font); font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.tool-tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--steel); color: #fff; font-family: var(--font-ui); font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1.5; white-space: nowrap; }
.tool-body p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.tool-arrow { font-size: 26px; color: var(--text-light); }

/* ── Performance log list ──────────────────────────────── */
.log-new-btn {
  width: 100%; background: var(--teal); color: #fff; border: none; border-radius: 26px;
  font-family: var(--font); font-size: 16px; font-weight: 700; padding: 14px; cursor: pointer;
  margin-bottom: 22px; transition: filter .15s;
}
.log-new-btn:hover { filter: brightness(1.08); }
.log-list { display: flex; flex-direction: column; gap: 12px; }
.log-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; cursor: pointer; box-shadow: var(--shadow-sm); transition: box-shadow .15s, transform .15s; }
.log-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.log-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.log-type { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 14px; }
.log-type-training { background: #E8F0F6; color: var(--navy); }
.log-type-competition { background: rgba(250,51,87,.12); color: var(--coral); }
.log-date { font-size: 12px; color: var(--text-light); }
.log-card h3 { font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.log-card-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.log-card-meta .arrow { color: var(--text-light); }
.log-pending { color: var(--coral); font-style: italic; }
.log-empty { background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--text-muted); font-size: 14px; }

/* ── Comfort trend chart ───────────────────────────────── */
.log-chart { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.log-chart-head h2 { font-family: var(--font); font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.log-chart-svg { width: 100%; height: auto; display: block; }
.log-axis { font-size: 11px; }
.log-legend { display: flex; gap: 16px; margin-top: 8px; font-size: 12px; font-weight: 600; }
.leg-in { color: var(--navy); }
.leg-out { color: var(--teal); }

/* ── Log entry form ────────────────────────────────────── */
.log-type-toggle { display: inline-flex; gap: 6px; background: rgba(255,255,255,.12); padding: 4px; border-radius: 24px; }
.log-type-toggle button {
  background: transparent; border: none; color: rgba(255,255,255,.7); font-family: var(--font-ui);
  font-size: 14px; font-weight: 700; padding: 8px 18px; border-radius: 20px; cursor: pointer; transition: all .15s;
}
.log-type-toggle button.on { background: #fff; color: var(--navy); }
.log-row2 { display: flex; gap: 14px; flex-wrap: wrap; }
.log-row2 > div { min-width: 0; }
.log-row2 .ws-input { width: 100%; box-sizing: border-box; }
@media (max-width: 560px) { .log-row2 { flex-direction: column; gap: 16px; } }
.log-line { margin-bottom: 8px; }

/* ── Face scale ────────────────────────────────────────── */
.face-scale { display: flex; gap: 8px; margin-top: 4px; }
.face-btn {
  flex: 1; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 12px 4px 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: all .15s;
}
.face-btn:hover { border-color: var(--teal); }
.face-btn.sel { border-color: var(--teal); background: rgba(23,162,198,.1); box-shadow: 0 0 0 2px rgba(23,162,198,.25); }
.face-emoji { font-size: 26px; filter: grayscale(.5); transition: filter .15s; }
.face-btn.sel .face-emoji, .face-btn:hover .face-emoji { filter: grayscale(0); }
.face-label { font-size: 10px; font-weight: 600; color: var(--text-muted); text-align: center; line-height: 1.2; }

@media (max-width: 480px) {
  .face-label { display: none; }
  .face-btn { padding: 10px 2px; }
}

/* ── Body map ──────────────────────────────────────────── */
.bodymap-field { text-align: center; margin: 0 auto 18px; max-width: 280px; }
.bodymap-field .ws-label { text-align: center; }
.bodymap-svg { width: 100%; max-width: 132px; height: auto; display: block; margin: 6px auto 8px; }
.bm-zone { fill: #fff; stroke: var(--bm); stroke-width: 2; cursor: pointer; transition: fill .12s; }
.bm-zone:hover { fill: var(--bm); fill-opacity: .35; }
.bm-zone.on { fill: var(--bm); }
.bodymap-caption { font-size: 12.5px; font-weight: 600; color: var(--bm); min-height: 18px; }
.bodymap-field { max-width: 300px; }

/* ── Log "last time" callback ──────────────────────────── */
.log-callback {
  background: rgba(23,162,198,.08); border: 1px solid rgba(23,162,198,.35); border-radius: var(--radius);
  padding: 12px 14px; margin-bottom: 16px; font-size: 13.5px; line-height: 1.5; color: var(--text);
}
.log-callback strong { color: var(--navy); }

/* ── Confidence plot graph ─────────────────────────────── */
.plot-wrap { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 10px 8px; }
.plot-svg { width: 100%; height: auto; display: block; cursor: crosshair; touch-action: manipulation; user-select: none; }
.plot-lab { font-size: 9px; fill: var(--text-light); font-family: var(--font-ui); font-weight: 600; }
.plot-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; font-size: 12px; line-height: 1.4; color: var(--text-muted); }
.plot-clear { flex-shrink: 0; background: transparent; border: 1px solid var(--border); border-radius: 16px; padding: 5px 14px; font-size: 12px; font-weight: 700; color: var(--text-muted); cursor: pointer; transition: all .15s; }
.plot-clear:hover { border-color: var(--coral); color: var(--coral); }

/* ── Control sorter ────────────────────────────────────── */
.ctrl-add { display: flex; gap: 10px; margin-bottom: 22px; }
.ctrl-add .ws-input { flex: 1; }
.ctrl-add-btn { flex-shrink: 0; background: var(--teal); color: #fff; border: none; border-radius: 24px; font-family: var(--font); font-size: 15px; font-weight: 700; padding: 0 24px; cursor: pointer; transition: filter .15s; }
.ctrl-add-btn:hover { filter: brightness(1.08); }

.ctrl-pending { background: var(--bg-tint); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 20px; }
.ctrl-pending-label { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }

.ctrl-chip { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 8px 8px 8px 16px; margin-bottom: 8px; }
.ctrl-chip.pending { flex-wrap: wrap; border-radius: var(--radius); }
.ctrl-chip .ctrl-text { flex: 1; font-size: 14px; color: var(--text); min-width: 120px; }
.ctrl-assign { display: flex; gap: 6px; }
.ctrl-in-btn, .ctrl-out-btn { border: 1.5px solid var(--border); background: transparent; border-radius: 18px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all .15s; }
.ctrl-in-btn { color: var(--teal); border-color: var(--teal); }
.ctrl-in-btn:hover { background: var(--teal); color: #fff; }
.ctrl-out-btn { color: var(--text-muted); }
.ctrl-out-btn:hover { background: var(--steel); color: #fff; border-color: var(--steel); }

.ctrl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ctrl-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; min-height: 120px; }
.ctrl-col-in { border-top: 3px solid var(--teal); }
.ctrl-col-out { border-top: 3px solid var(--steel); opacity: .9; }
.ctrl-col-head { font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.ctrl-col-head span { background: var(--bg-tint); color: var(--text-muted); font-size: 12px; border-radius: 12px; padding: 1px 9px; }
.ctrl-col .ctrl-chip { cursor: pointer; transition: transform .12s; }
.ctrl-col .ctrl-chip:hover { transform: translateX(2px); }
.ctrl-col-in .ctrl-chip { background: rgba(23,162,198,.08); border-color: rgba(23,162,198,.4); }
.ctrl-col-out .ctrl-chip { background: var(--bg); color: var(--text-muted); }
.ctrl-empty { font-size: 13px; color: var(--text-light); font-style: italic; padding: 8px 4px; }

.ctrl-x { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: none; background: transparent; color: var(--text-light); font-size: 18px; cursor: pointer; line-height: 1; }
.ctrl-x:hover { color: var(--coral); }

.ctrl-message { margin-top: 20px; background: rgba(23,162,198,.08); border: 1px solid rgba(23,162,198,.35); border-radius: var(--radius); padding: 14px 16px; font-size: 14px; line-height: 1.55; color: var(--text); }
.ctrl-message strong { color: var(--teal); font-family: var(--font); }

@media (max-width: 520px) {
  .ctrl-cols { grid-template-columns: 1fr; }
}

/* ── Performance Profile radar ─────────────────────────── */
.prof-radar { text-align: center; margin-bottom: 6px; }
.radar-svg { width: 100%; max-width: 340px; height: auto; display: block; margin: 0 auto; }
.prof-axis { font-size: 8.5px; fill: var(--text-muted); font-family: var(--font-ui); font-weight: 600; }
.prof-hint { text-align: center; color: var(--text-light); font-size: 13px; font-style: italic; padding: 40px 16px; }
.prof-legend { display: flex; gap: 18px; justify-content: center; font-size: 12px; font-weight: 700; margin-bottom: 16px; }
.prof-legend .leg-you { color: var(--teal); }
.prof-legend .leg-goal { color: var(--coral); }

/* ── Preparation Audit: confidence leak map ──────────────── */
.pmap-svg { width: 100%; max-width: 360px; height: auto; display: block; margin: 4px auto 0; }
.pmap-axis { font-size: 9px; fill: var(--text-muted); font-family: var(--font-ui); font-weight: 700; letter-spacing: .2px; }
.pmap-quad { font-size: 9.5px; font-family: var(--font-ui); font-weight: 700; fill: var(--text-light); text-transform: uppercase; letter-spacing: .4px; }
.pmap-quad-leak { fill: var(--coral); }
.pmap-quad-strong { fill: var(--teal); }
.pmap-dot-label { font-size: 9.5px; fill: var(--text); font-family: var(--font-ui); font-weight: 600; }
.pmap-leaks { margin-top: 14px; background: rgba(250, 51, 87, .05); border: 1px solid rgba(250, 51, 87, .22); border-radius: 12px; padding: 14px 16px; }
.pmap-leaks h4 { margin: 0 0 2px; font-family: var(--font-display); font-size: 14px; color: var(--coral); }
.pmap-leaks p { margin: 0 0 10px; font-size: 12.5px; color: var(--text-muted); }
.pmap-leaks ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pmap-leaks li { font-size: 13px; line-height: 1.45; color: var(--text); }
.pmap-leak-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.pmap-leak-cat { font-size: 11px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .3px; }

/* ── Evidence Bank: living archive + proof surfacer ──────── */
.eb-summary { background: var(--bg-tint, #D9E5EF); border: 1px solid var(--border); border-radius: 14px; padding: 18px; text-align: center; }
.eb-total { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--navy); }
.eb-total .eb-total-num { font-size: 30px; display: block; line-height: 1; margin-bottom: 2px; color: var(--teal); }
.eb-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0; }
.eb-chip { font-size: 12px; font-weight: 600; color: var(--text); background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--c); border-radius: 8px; padding: 5px 10px; }
.eb-chip strong { color: var(--c); }
.eb-surface-intro { font-size: 13px; color: var(--text-muted); margin: 6px auto 14px; max-width: 460px; line-height: 1.5; }
.eb-empty { font-size: 13px; color: var(--text-muted); font-style: italic; margin: 8px 0 0; }
.eb-surface-btn { font-family: var(--font-ui); font-size: 15px; font-weight: 700; color: #fff; background: var(--teal); border: none; border-radius: 10px; padding: 12px 22px; cursor: pointer; transition: transform .12s ease; }
.eb-surface-btn:hover { transform: translateY(-2px); }
.eb-surfaced { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.eb-surfaced-head { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--navy); text-align: center; margin-bottom: 2px; }
.eb-proof-card { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--teal); border-radius: 10px; padding: 12px 14px; }
.eb-proof-card p { margin: 0 0 4px; font-size: 14.5px; line-height: 1.45; color: var(--text); font-weight: 600; }
.eb-proof-meta { font-size: 11px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .3px; }
.eb-surface-again { align-self: center; margin-top: 4px; font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--teal); background: none; border: none; cursor: pointer; }
.evpull { margin-top: 4px; }
.evpull .eb-surfaced { margin-top: 12px; }
.evpull-btn { font-size: 14px; padding: 10px 18px; }
.evpull-empty { font-size: 13px; color: var(--text-muted); font-style: italic; margin: 4px 0 0; }
.evpull-empty a { color: var(--teal); font-weight: 600; cursor: pointer; text-decoration: underline; }

/* ── Dip Protocol pocket card ────────────────────────────── */
.dipc-card { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; border-radius: 16px; padding: 26px 24px 18px; box-shadow: var(--shadow); max-width: 380px; margin: 4px auto 0; }
.dipc-step { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); }
.dipc-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 4px 0 12px; }
.dipc-text { font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.92); min-height: 84px; }
.dipc-text.empty { color: rgba(255,255,255,.5); font-style: italic; }
.dipc-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.dipc-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; transition: background .12s; }
.dipc-arrow:hover:not(:disabled) { background: rgba(255,255,255,.22); }
.dipc-arrow:disabled { opacity: .3; cursor: default; }
.dipc-dots { display: flex; gap: 8px; }
.dipc-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: background .12s, transform .12s; }
.dipc-dot.on { background: var(--teal); transform: scale(1.25); }

/* ── Confidence Letter assembled preview ─────────────────── */
.letter-card { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--teal); border-radius: 14px; padding: 24px 26px; box-shadow: var(--shadow-sm); }
.letter-eyebrow { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.letter-card p { font-size: 15.5px; line-height: 1.75; color: var(--text); margin: 0 0 14px; }
.letter-close { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy); border-top: 1px solid var(--border); padding-top: 16px; margin-top: 4px; }
.letter-card.empty { border-left-color: var(--border); }
.letter-empty { font-style: italic; color: var(--text-muted); font-size: 14px; margin: 0; }

/* ── Confronting the Bullshit: flip the script ───────────── */
.flip-deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.flip-card { perspective: 1200px; cursor: pointer; }
.flip-inner { display: grid; transition: transform .5s; transform-style: preserve-3d; }
.flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { grid-area: 1 / 1; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 14px; padding: 18px 18px 14px; min-height: 150px; display: flex; flex-direction: column; }
.flip-front { background: linear-gradient(150deg, var(--coral) 0%, #d81f44 100%); color: #fff; }
.flip-back { background: linear-gradient(150deg, var(--teal) 0%, #0f8aa9 100%); color: #fff; transform: rotateY(180deg); }
.flip-tag { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; opacity: .85; }
.flip-face p { font-size: 15px; line-height: 1.5; font-weight: 600; margin: 8px 0 0; flex: 1; }
.flip-face p em { font-weight: 400; opacity: .8; }
.flip-hint { font-size: 11px; font-weight: 600; opacity: .8; margin-top: 10px; }

/* ── Pre-Competition Routine timeline ────────────────────── */
.rtl-bar { display: flex; align-items: stretch; gap: 3px; height: 30px; margin-bottom: 20px; }
.rtl-seg { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; border-radius: 5px; min-width: 18px; transition: width .25s ease; }
.rtl-finish { flex: 0 0 auto; display: flex; align-items: center; font-size: 20px; padding-left: 4px; }
.rtl-steps { display: flex; flex-direction: column; gap: 14px; }
.rtl-step { display: flex; gap: 14px; }
.rtl-dot { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.rtl-body { flex: 1; min-width: 0; }
.rtl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rtl-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--navy); }
.rtl-stepper { display: inline-flex; align-items: center; gap: 4px; }
.rtl-stepper button { width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface); color: var(--navy); font-size: 17px; line-height: 1; cursor: pointer; }
.rtl-stepper button:hover:not(:disabled) { background: var(--bg-tint); }
.rtl-stepper button:disabled { opacity: .35; cursor: default; }
.rtl-min { min-width: 54px; text-align: center; font-family: var(--font-ui); font-size: 13px; font-weight: 700; color: var(--text-muted); }
.rtl-text { font-size: 14px; line-height: 1.55; color: var(--text); margin: 4px 0 0; }
.rtl-text.empty { color: var(--text-muted); font-style: italic; }
.rtl-total { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-muted); }
.rtl-total strong { color: var(--teal); font-size: 16px; }
.rtl-total.over strong { color: var(--coral); }

/* ── Season Confidence Plan roadmap ──────────────────────── */
.road { display: flex; gap: 14px; }
.road-stop { flex: 1; min-width: 0; }
.road-node { position: relative; height: 34px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.road-node::before { content: ''; position: absolute; top: 50%; left: -7px; right: -7px; height: 3px; background: var(--border); transform: translateY(-50%); }
.road-stop:first-child .road-node::before { left: 50%; }
.road-stop:last-child .road-node::before { right: 50%; }
.road-dot { position: relative; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px var(--surface); }
.road-card { background: var(--bg-tint); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.road-card.empty { background: transparent; border-style: dashed; }
.road-when { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--navy); line-height: 1.35; }
.road-when em { font-weight: 400; color: var(--text-muted); }
.road-detail { margin-top: 10px; }
.road-detail span { display: block; font-family: var(--font-ui); font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text-light); margin-bottom: 2px; }
.road-detail p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text); }
.road-detail.rescue span { color: var(--coral); }
@media (max-width: 600px) {
  /* Stack into a vertical journey on phones: line runs down the left of the dots */
  .road { flex-direction: column; gap: 0; }
  .road-stop { display: grid; grid-template-columns: 34px 1fr; gap: 0 14px; }
  .road-node { height: auto; align-items: flex-start; margin-bottom: 0; }
  .road-node::before { top: 0; bottom: -18px; left: 50%; right: auto; width: 3px; height: auto; transform: translateX(-50%); }
  .road-stop:first-child .road-node::before { top: 17px; left: 50%; }
  .road-stop:last-child .road-node::before { bottom: auto; height: 0; }
  .road-card { margin-bottom: 18px; }
}

/* ── Values Anchor cards ─────────────────────────────────── */
.anchor-deck { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.anchor-card { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--ac); border-radius: 14px; padding: 20px 18px; text-align: center; box-shadow: var(--shadow-sm); }
.anchor-card.empty { border-top-style: dashed; box-shadow: none; }
.anchor-mark { font-size: 22px; line-height: 1; color: var(--ac); }
.anchor-val { font-family: var(--font-display); font-weight: 800; font-size: 23px; color: var(--navy); letter-spacing: -.2px; margin: 8px 0 2px; word-break: break-word; }
.anchor-val.empty { color: var(--text-light); font-weight: 700; font-size: 17px; }
.anchor-means { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); margin: 6px 0 0; }
.anchor-phrase { margin-top: 14px; background: var(--bg-tint); border-radius: 10px; padding: 11px 12px; font-size: 14.5px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.anchor-phrase span { display: block; font-family: var(--font-ui); font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--ac); margin-bottom: 4px; }

/* ── Ask Better Questions: see the swap ──────────────────── */
.qs-deck { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.qs-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.qs-tag { display: block; font-family: var(--font-ui); font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 4px; }
.qs-old { color: var(--text-muted); }
.qs-old .qs-tag { color: var(--coral); }
.qs-old p { margin: 0; font-size: 14.5px; line-height: 1.45; text-decoration: line-through; text-decoration-color: rgba(250,51,87,.6); opacity: .75; }
.qs-arrow { text-align: center; color: var(--teal); font-size: 20px; font-weight: 700; line-height: 1; margin: 8px 0; }
.qs-new .qs-tag { color: var(--teal); }
.qs-new p { margin: 0; font-size: 15.5px; line-height: 1.45; font-weight: 700; color: var(--navy); }
.qs-empty { font-size: 13px; color: var(--text-muted); font-style: italic; margin: 0; }

/* ── Breathe & Reset tool ────────────────────────────────── */
.breathe-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.breathe-chip { flex: 1; min-width: 130px; display: flex; flex-direction: column; gap: 2px; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.breathe-chip strong { font-family: var(--font-display); font-size: 15px; color: var(--navy); }
.breathe-chip span { font-size: 12px; color: var(--text-muted); }
.breathe-chip.on { border-color: var(--teal); background: rgba(23,162,198,.07); }
.breathe-chip.on strong { color: var(--teal); }
.breathe-stage { display: flex; flex-direction: column; align-items: center; padding: 30px 0 6px; }
.breathe-ring { width: 260px; height: 260px; display: flex; align-items: center; justify-content: center; }
.breathe-circle { width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, var(--teal) 0%, var(--navy) 100%); box-shadow: 0 12px 40px rgba(16,63,102,.3); display: flex; align-items: center; justify-content: center; transition: transform .6s ease-in-out; will-change: transform; }
.breathe-inner { text-align: center; color: #fff; }
.breathe-phase { font-family: var(--font-display); font-size: 21px; font-weight: 700; }
.breathe-count { font-family: var(--font-ui); font-size: 15px; font-weight: 600; opacity: .8; min-height: 20px; margin-top: 2px; }
.breathe-cycle { font-family: var(--font-ui); font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--teal); min-height: 18px; margin-top: 22px; }
.breathe-btn { margin-top: 14px; font-family: var(--font-ui); font-size: 16px; font-weight: 700; color: #fff; background: var(--teal); border: none; border-radius: 12px; padding: 13px 40px; cursor: pointer; transition: transform .12s; }
.breathe-btn:hover { transform: translateY(-2px); }
.breathe-note { text-align: center; font-size: 13px; color: var(--text-muted); line-height: 1.55; max-width: 440px; margin: 18px auto 0; }

/* ── Reconnect tool ──────────────────────────────────────── */
.rc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.rc-card.rc-why { border-left: 4px solid var(--accent, #4B64AD); }
.rc-tag { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #4B64AD; margin-bottom: 6px; }
.rc-card p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text); }
.rc-list { margin: 4px 0 0; padding-left: 20px; }
.rc-list li { font-size: 14.5px; line-height: 1.5; color: var(--text); }
.rc-action .rc-help { font-size: 13px; color: var(--text-muted); margin: 0 0 10px; }
.rc-help { font-size: 13px; color: var(--text-muted); }

/* ── Drive Check-in + Process Tracker tools ──────────────── */
.drive-list { display: flex; flex-direction: column; gap: 8px; }
.drive-row { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; box-shadow: var(--shadow-sm); }
.drive-v { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-tint); color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.drive-info { flex: 1; min-width: 0; }
.drive-meta { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .3px; }
.drive-note { font-size: 14px; color: var(--text); margin-top: 2px; }

/* ── Opening splash ──────────────────────────────────────── */
.splash { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; cursor: pointer; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%); animation: splashIn .5s ease; }
.splash-inner { text-align: center; padding: 0 24px; }
.splash-logo-wrap { position: relative; display: inline-flex; }
.splash-logo-wrap::after { content: ''; position: absolute; inset: -18px; border-radius: 24px; border: 2px solid rgba(23,162,198,.4); animation: splashPulse 2s ease-out infinite; }
.splash-logo { width: 116px; height: 116px; border-radius: 20px; display: block; box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 18px 50px rgba(0,0,0,.35); animation: splashPop 1s cubic-bezier(.2,.8,.2,1) both; }
.splash-word { margin-top: 26px; font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: .3px; color: #fff; animation: splashUp .7s ease .35s both; }
.splash-tag { margin-top: 8px; font-family: var(--font-ui); font-size: 12.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--teal); animation: splashUp .7s ease .55s both; }
@keyframes splashIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes splashPop { 0% { opacity: 0; transform: scale(.72); } 100% { opacity: 1; transform: scale(1); } }
@keyframes splashUp { 0% { opacity: 0; transform: translateY(12px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes splashPulse { 0% { transform: scale(.82); opacity: .55; } 100% { transform: scale(1.45); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .splash-logo, .splash-word, .splash-tag { animation: none; } .splash-logo-wrap::after { display: none; } }

/* ── Work with a Performance Psychologist ────────────────── */
.work-card { background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%); border-radius: var(--radius); padding: 22px 24px; cursor: pointer; color: #fff; box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease; }
.work-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg, var(--shadow)); }
.work-eyebrow { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.85); }
.work-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 4px 0 6px; }
.work-card p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.9); margin: 0 0 8px; }
.work-cta { font-family: var(--font-ui); font-size: 14px; font-weight: 700; color: #fff; }
.work-list { margin: 0; padding-left: 20px; }
.work-list li { font-size: 15px; line-height: 1.7; color: var(--text); margin-bottom: 6px; }
.work-book-section .ws-btn { margin-top: 6px; }
.work-fineprint { font-size: 12.5px; color: var(--text-muted); margin: 12px 0 0; }
.ws-btn.work-book-btn { background: var(--teal); color: #fff; border-color: var(--teal); }
.ws-btn.work-book-btn:hover { background: var(--navy); border-color: var(--navy); }

/* ── Workbook summary (print-friendly) ───────────────────── */
.sum-meta { font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--text-light); margin-bottom: 16px; }
.sum-ws { margin-bottom: 16px; }
.sum-sec { margin-top: 14px; }
.sum-sec h3 { font-family: var(--font-display); font-size: 14px; color: var(--teal); margin: 0 0 6px; }
.sum-field { margin-bottom: 10px; }
.sum-label { font-size: 12.5px; font-weight: 700; color: var(--text-muted); }
.sum-val { font-size: 14.5px; line-height: 1.55; color: var(--text); }
.sum-list { margin: 4px 0 0; padding-left: 20px; }
.sum-list li { font-size: 14px; line-height: 1.5; color: var(--text); }
.sum-empty { font-size: 14px; color: var(--text-muted); font-style: italic; margin: 0; }
.sum-preview-label { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--text-light); margin: 6px 0 4px; }
/* Worksheet picker */
.share-picker-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.share-allnone { font-size: 13px; color: var(--text-muted); display: flex; gap: 8px; align-items: center; }
.share-allnone button { background: none; border: none; color: var(--teal); font-family: var(--font-ui); font-weight: 700; font-size: 13px; cursor: pointer; padding: 0; }
.share-row { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-top: 1px solid var(--border); cursor: pointer; font-size: 15px; color: var(--text); }
.share-row:first-of-type { border-top: 0; }
.share-row input { width: 20px; height: 20px; accent-color: var(--teal); flex: 0 0 auto; }
/* How-to-share steps */
.share-how .share-steps { margin: 6px 0 0; padding-left: 22px; }
.share-how .share-steps li { font-size: 14.5px; line-height: 1.65; color: var(--text); margin-bottom: 8px; }
.ws-btn.disabled, .ws-btn:disabled { opacity: .45; pointer-events: none; }

@media print {
  .summary-view .site-header, .summary-view .ws-hero, .summary-view .ws-actions,
  .summary-view .share-picker, .summary-view .share-how, .summary-view .sum-preview-label { display: none !important; }
  .summary-view .ws-page { max-width: none; padding: 0; }
  .summary-view .sum-ws { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
}
.prof-head, .prof-row { display: grid; grid-template-columns: 22px 1fr 52px 52px 30px; gap: 8px; align-items: center; }
.prof-head { padding: 0 2px 6px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text-light); }
.prof-head .prof-collabel { text-align: center; }
.prof-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.prof-num { font-family: var(--font); font-weight: 700; color: var(--text-light); text-align: center; font-size: 13px; }

/* ── Log comfort delta + insight ───────────────────────── */
.log-delta { font-family: var(--font); font-weight: 800; font-size: 12px; padding: 1px 8px; border-radius: 12px; }
.log-delta.up { background: rgba(23,162,198,.15); color: var(--teal); }
.log-delta.down { background: rgba(250,51,87,.13); color: var(--coral); }
.log-delta.flat { background: var(--bg-tint); color: var(--text-muted); }
.log-insight { background: rgba(23,162,198,.08); border: 1px solid rgba(23,162,198,.3); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px; font-size: 14px; line-height: 1.55; color: var(--text); }
.log-insight strong { color: var(--navy); font-family: var(--font); }

/* ── Rank / reorder list ───────────────────────────────── */
.rank-add { display: flex; gap: 10px; margin-bottom: 12px; }
.rank-add .ws-input { flex: 1; }
/* ── Tag list (tap-to-tag, e.g. intrinsic / extrinsic) ───── */
.tag-list { display: flex; flex-direction: column; gap: 8px; }
.tag-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--border); border-radius: var(--radius); padding: 10px 12px; box-shadow: var(--shadow-sm); }
.tag-row.tagged { border-left-color: var(--tc); }
.tag-text { flex: 1; min-width: 120px; font-size: 14.5px; color: var(--text); }
.tag-chips { display: inline-flex; gap: 6px; }
.tag-chip { font-family: var(--font-ui); font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg-tint); color: var(--text-muted); cursor: pointer; transition: all .12s; }
.tag-chip:hover { border-color: var(--tc); color: var(--tc); }
.tag-chip.on { background: var(--tc); border-color: var(--tc); color: #fff; }
.tag-x { background: none; border: none; color: var(--text-light); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; }
.tag-balance { margin-top: 14px; }
.tag-bal-bar { display: flex; height: 26px; border-radius: 6px; overflow: hidden; background: var(--bg-tint); }
.tag-bal-seg { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; min-width: 18px; transition: width .25s ease; }
.tag-bal-note { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); margin: 8px 0 0; }

/* ── Cue board (chips) ───────────────────────────────────── */
.cue-board { display: flex; flex-wrap: wrap; gap: 8px; }
.cue-card { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-tint); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px 8px 12px; font-size: 14px; color: var(--text); }
.cue-x { background: none; border: none; color: var(--text-light); font-size: 17px; line-height: 1; cursor: pointer; padding: 0; }
.cue-x:hover { color: var(--coral); }

/* ── Tap-to-place 2-axis map ─────────────────────────────── */
.axis-banner { background: rgba(23,162,198,.12); border: 1px solid rgba(23,162,198,.3); border-radius: 10px; padding: 9px 12px; font-size: 13.5px; color: var(--navy); margin-bottom: 12px; }
.axis-yhi { font-size: 11px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .4px; margin-left: 26px; margin-bottom: 4px; }
.axis-row { display: flex; align-items: stretch; gap: 6px; }
.axis-ylab { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; text-align: center; flex: 0 0 18px; }
.axis-grid { position: relative; flex: 1; aspect-ratio: 1 / 0.78; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; cursor: crosshair; background: var(--surface); }
.axis-quad { position: absolute; width: 50%; height: 50%; display: flex; align-items: center; justify-content: center; }
.axis-quad span { font-size: 11px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .3px; opacity: .8; text-align: center; padding: 4px; }
.axis-tl { top: 0; left: 0; background: rgba(250,51,87,.06); border-right: 1px dashed var(--border); border-bottom: 1px dashed var(--border); }
.axis-tr { top: 0; right: 0; background: rgba(23,162,198,.09); border-bottom: 1px dashed var(--border); }
.axis-bl { bottom: 0; left: 0; }
.axis-br { bottom: 0; right: 0; border-left: 1px dashed var(--border); border-top: 1px dashed var(--border); }
.axis-tr span { color: var(--teal); }
.axis-tl span { color: var(--coral); }
.axis-dot { position: absolute; transform: translate(-50%, 50%); display: flex; align-items: center; gap: 5px; pointer-events: none; }
.axis-dot::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 2px solid #fff; box-shadow: var(--shadow-sm); flex: 0 0 auto; }
.axis-dot.sel::before { background: var(--teal); }
.axis-dot-label { font-size: 11px; font-weight: 600; color: var(--text); background: rgba(255,255,255,.82); padding: 0 3px; border-radius: 3px; white-space: nowrap; }
.axis-xrow { display: flex; justify-content: space-between; align-items: center; margin: 6px 0 0 26px; font-size: 11px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .4px; }
.axis-xlab { color: var(--text-muted); }
.axis-list { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.axis-item { display: flex; align-items: center; gap: 8px; }
.axis-item-tap { flex: 1; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px; font-size: 14px; color: var(--text); cursor: pointer; }
.axis-item.sel .axis-item-tap { border-color: var(--teal); background: rgba(23,162,198,.06); }
.axis-unplaced { font-size: 11px; color: var(--text-light); font-style: italic; }
.axis-insight { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); margin: 12px 0 0; }

/* ── Spectrum slider (drag a marker between two poles) ───── */
.spec { margin-top: 6px; }
.spec-poles { display: flex; justify-content: space-between; font-family: var(--font-ui); font-size: 12.5px; font-weight: 700; margin-bottom: 8px; }
.spec-poles span:first-child { color: var(--coral); }
.spec-poles span:last-child { color: var(--teal); }
.spec-range { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 8px; background: linear-gradient(90deg, var(--coral) 0%, #C9A24B 50%, var(--teal) 100%); outline: none; }
.spec-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-shadow: var(--shadow); cursor: grab; }
.spec-range::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-shadow: var(--shadow); cursor: grab; }
.spec-range:active::-webkit-slider-thumb { cursor: grabbing; }
.spec-read { text-align: center; margin-top: 12px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--navy); }

/* ── Performance Log process goals (pre/post score) ───────── */
.log-goal { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.log-goal-text { flex: 1; }
.log-goal-score { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.log-goal-score label { font-family: var(--font-ui); font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }
.log-score { height: 44px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--navy); font-family: var(--font-ui); font-size: 15px; font-weight: 600; padding: 0 8px; }
.log-goal-review { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.log-goal-name { flex: 1; font-size: 15px; color: var(--text); }
.log-goal-prepost { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.log-pp { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--text-muted); min-width: 16px; text-align: center; }
.log-arrow { color: var(--text-light); }
.log-delta { flex: 0 0 auto; min-width: 38px; text-align: center; padding: 4px 8px; border-radius: 8px; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: #fff; }
.log-delta.up { background: var(--teal); }
.log-delta.down { background: var(--coral); }
.log-delta.flat { background: var(--steel); }

/* ── Your Path (season / cycle planner) ───────────────────── */
.path-form { display: flex; flex-direction: column; gap: 10px; }
.path-form-row { display: flex; gap: 10px; }
.path-form-row .ws-input { flex: 1; }
.path-form-row .log-score { flex: 0 0 auto; min-width: 140px; }
.path-dest-banner { background: var(--bg-tint); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; font-size: 14.5px; color: var(--text); margin-bottom: 14px; }
.path-count { font-family: var(--font-ui); font-size: 13px; font-weight: 700; color: var(--text-muted); }
.path-timeline { position: relative; display: flex; flex-direction: column; gap: 14px; }
.path-item, .path-finish { position: relative; display: flex; gap: 14px; align-items: flex-start; padding-left: 4px; }
.path-item:not(:last-child)::before, .path-finish::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: -14px; width: 2px; background: var(--border); }
.path-finish { margin-top: 14px; }
.path-dot { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; box-shadow: 0 0 0 4px var(--surface); z-index: 1; }
.path-body { flex: 1; min-width: 0; }
.path-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 2px; }
.path-date { font-family: var(--font-ui); font-size: 12.5px; font-weight: 700; color: var(--text-muted); }
.path-badge { font-family: var(--font-ui); font-size: 11px; font-weight: 700; color: #fff; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.path-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--navy); line-height: 1.3; }
.path-focus { font-size: 14px; line-height: 1.5; color: var(--text); margin-top: 3px; }
.path-focus span { font-weight: 700; color: var(--text-muted); }
.path-acts { display: flex; gap: 14px; margin-top: 7px; }
.path-acts button { background: none; border: 0; padding: 0; font-family: var(--font-ui); font-size: 13px; font-weight: 700; color: var(--teal); cursor: pointer; }
.path-acts .path-x { color: var(--text-light); }
.path-item.done .path-title { text-decoration: line-through; color: var(--text-muted); }
.path-item.done .path-dot { opacity: .5; }
.path-saved-wrap { display: inline; }
.path-status { font-family: var(--font-ui); font-size: 11px; font-weight: 700; color: #fff; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.path-score { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-ui); font-size: 13px; font-weight: 700; color: var(--text-muted); }
.path-score .log-score { height: 34px; padding: 0 6px; font-size: 14px; }
.path-align { display: flex; align-items: center; gap: 14px; background: var(--bg-tint); border: 1px solid var(--border); border-left: 4px solid var(--steel); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.path-align.none { display: block; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); border-left-color: var(--border); }
.path-align-score { flex: 0 0 auto; font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; }
.path-align-score span { font-size: 14px; font-weight: 700; color: var(--text-light); }
.path-align-text { font-size: 13.5px; line-height: 1.5; color: var(--text); }
.path-acts { flex-wrap: wrap; }

/* ── See It (pre-performance imagery primer) ──────────────── */
.seeit-stage { text-align: center; padding: 16px 0 6px; }
.seeit-orb-wrap { height: 150px; display: flex; align-items: center; justify-content: center; }
.seeit-orb { width: 116px; height: 116px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #6fd3e3, #1EABC7); box-shadow: 0 0 44px rgba(30, 171, 199, .45); transform: scale(.85); }
.seeit-stage.running .seeit-orb { animation: seeitPulse 4.5s ease-in-out infinite; }
@keyframes seeitPulse { 0%, 100% { transform: scale(.82); } 50% { transform: scale(1.06); } }
.seeit-label { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--navy); margin-top: 4px; }
.seeit-prompt { max-width: 460px; margin: 8px auto 0; font-size: 16px; line-height: 1.55; color: var(--text); min-height: 74px; }
.seeit-count { font-family: var(--font-ui); font-weight: 700; color: var(--text-muted); margin-top: 4px; height: 18px; }
.seeit-dots { display: flex; gap: 8px; justify-content: center; margin: 12px 0 16px; }
.seeit-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); transition: background .3s; }
.seeit-dot.on { background: #1EABC7; }

/* ── Sequence flow (ordered steps, all visible, no card) ──── */
.seq-flow { position: relative; display: flex; flex-direction: column; gap: 12px; margin-top: 6px; padding-left: 4px; }
.seq-step { position: relative; display: flex; gap: 14px; align-items: flex-start; }
.seq-step:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: -12px; width: 2px; background: var(--border); }
.seq-num { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent, #2BAE8A); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 15px; z-index: 1; }
.seq-body { flex: 1; padding-top: 2px; }
.seq-label { font-family: var(--font-ui); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 2px; }
.seq-text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text); }
.seq-text.empty { color: var(--text-light); font-style: italic; }
.seq-anchor .seq-num { background: var(--coral); }
.seq-anchor .seq-label { color: var(--coral); }

/* ── Before → after delta badge ──────────────────────────── */
.delta-box { text-align: center; }
.delta-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 56px; padding: 0 16px; border-radius: 14px; font-family: var(--font-display); font-weight: 800; font-size: 26px; color: #fff; }
.delta-badge.delta-up { background: var(--teal); }
.delta-badge.delta-down { background: var(--coral); }
.delta-badge.delta-flat { background: var(--steel); }
.delta-nums { font-family: var(--font-ui); font-size: 14px; font-weight: 700; color: var(--text-muted); margin-top: 8px; }
.delta-nums span { color: var(--text-light); margin: 0 4px; }
.delta-note { font-size: 14px; line-height: 1.5; color: var(--text); max-width: 460px; margin: 10px auto 0; }

/* ── Single-choice buttons ───────────────────────────────── */
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-btn { font-family: var(--font-ui); font-size: 14.5px; font-weight: 700; padding: 11px 20px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); cursor: pointer; transition: all .12s; }
.choice-btn:hover { border-color: var(--teal); color: var(--teal); }
.choice-btn.on { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ── Done / complete button (worksheets + tools) ─────────── */
.ws-done { margin-top: 26px; }
.ws-done-btn { width: 100%; background: var(--teal); color: #fff; border: none; font-size: 16px; font-weight: 700; padding: 15px; border-radius: 12px; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .12s ease, background .12s ease; }
.ws-done-btn:hover { transform: translateY(-2px); background: var(--navy); }

/* ── Vision draft composer ───────────────────────────────── */
.vision-use-btn { margin-top: 14px; font-family: var(--font-ui); font-size: 14px; font-weight: 700; color: var(--teal); background: rgba(23,162,198,.1); border: 1px solid rgba(23,162,198,.3); border-radius: 10px; padding: 10px 16px; cursor: pointer; transition: all .12s; }
.vision-use-btn:hover { background: var(--teal); color: #fff; }

/* ── Bar chart (Process Tracker) ─────────────────────────── */
.bars-svg { width: 100%; max-width: 360px; height: auto; display: block; margin: 0 auto; }
.bars-note { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); text-align: center; margin: 8px 0 0; }

/* ── Rating readout (Burnout risk / Audit leaks) ─────────── */
.rr-headline { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--navy); }
.rr-note { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); margin: 4px 0 12px; }
.rr-bars { display: flex; flex-direction: column; gap: 8px; }
.rr-row { display: flex; align-items: center; gap: 10px; }
.rr-label { flex: 0 0 42%; font-size: 13px; color: var(--text); }
.rr-track { flex: 1; height: 14px; background: var(--bg-tint); border-radius: 7px; overflow: hidden; }
.rr-fill { display: block; height: 100%; border-radius: 7px; transition: width .25s ease; }
.rr-val { flex: 0 0 auto; font-size: 12.5px; font-weight: 700; color: var(--text-muted); width: 20px; text-align: right; }

.rank-list { display: flex; flex-direction: column; gap: 8px; }
.rank-row { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; box-shadow: var(--shadow-sm); cursor: grab; }
.rank-row:active { cursor: grabbing; }
.rank-num { font-family: var(--font); font-weight: 800; color: var(--teal); width: 20px; text-align: center; flex-shrink: 0; }
.rank-handle { color: var(--text-light); font-size: 16px; flex-shrink: 0; }
.rank-text { flex: 1; font-size: 14px; color: var(--text); min-width: 0; }
.rank-ctrls { display: flex; gap: 4px; flex-shrink: 0; }
.rank-ctrls button { width: 28px; height: 28px; border: 1px solid var(--border); background: var(--bg); border-radius: 7px; cursor: pointer; font-size: 13px; color: var(--text-muted); transition: all .12s; }
.rank-ctrls button:hover:not(:disabled) { border-color: var(--teal); color: var(--teal); }
.rank-ctrls button:disabled { opacity: .35; cursor: default; }
.rank-x { flex-shrink: 0; width: 26px; height: 26px; border: none; background: transparent; color: var(--text-light); font-size: 18px; cursor: pointer; }
.rank-x:hover { color: var(--coral); }
