/* ===== TheKtchnParty — shared styles ===== */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --dark-green: #16301f;
  --darker-green: #0e2016;
  --lime: #ddf24f;
  --lime-soft: #eef8bd;
  --cream: #f5f1e6;
  --white: #ffffff;
  --text-dark: #16301f;
  --text-muted: #5c6b5f;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-full: 999px;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Archivo Black', 'Inter', sans-serif;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  /* Positioned (not moved — no offsets set) purely so real content always
     stacks above any decorative background art placed as a section-level
     sibling before it, regardless of DOM order. */
  position: relative;
  z-index: 1;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-lime { background: var(--lime); color: var(--dark-green); }
.btn-dark { background: var(--dark-green); color: var(--lime); }
.btn-outline-light { background: transparent; color: var(--lime); border-color: var(--lime); }
.btn-outline-dark { background: transparent; color: var(--dark-green); border-color: var(--dark-green); }

/* ---- Header ---- */
.site-header {
  background: var(--cream);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(22,48,31,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13.5px;
}
.main-nav a {
  white-space: nowrap;
  opacity: 1;
  background: var(--dark-green);
  color: var(--lime);
  padding: 9px 16px;
  border-radius: var(--radius-full);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.main-nav a:hover { opacity: 0.85; transform: translateY(-1px); }
.main-nav a.active { box-shadow: inset 0 0 0 2px var(--lime); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}
.header-cta { flex-shrink: 0; }

@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(22,48,31,0.08);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ---- Hero (dark) ---- */
.hero {
  background: var(--dark-green);
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--white);
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: var(--lime);
  color: var(--dark-green);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  color: var(--white);
}
.hero h1 .accent { color: var(--lime); }
.hero p.lede {
  margin-top: 20px;
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 46ch;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  margin-top: 40px;
  display: flex;
  gap: 40px;
}
.hero-stats .stat-value {
  font-family: 'Archivo Black', sans-serif;
  font-size: 28px;
  color: var(--lime);
}
.hero-stats .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.hero-image { position: relative; }
.hero-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.hero-image-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--white);
  color: var(--dark-green);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.hero-image-badge strong { display: block; font-size: 15px; }
@media (max-width: 480px) {
    .hero-image-badge { bottom: 12px; left: 12px; padding: 10px 16px; font-size: 12px; }
}

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
}

/* ---- Section headers ---- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-dark { background: var(--dark-green); color: var(--white); }
.eyebrow-plain {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.section-dark .eyebrow-plain { color: var(--lime); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); max-width: 16ch; }
.section-head .section-sub { max-width: 34ch; color: var(--text-muted); font-size: 16px; }
.section-dark .section-sub { color: rgba(255,255,255,0.7); }

/* ---- Format cards ---- */
.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.format-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  border: 1px solid rgba(22,48,31,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.format-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(22,48,31,0.1); }
.format-card .meta { font-size: 13px; color: var(--text-muted); font-weight: 600; margin-bottom: 12px; }
.format-card h3 { font-size: 22px; margin-bottom: 8px; }
.format-card .desc { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.format-card .details-link { font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.format-card.popular { background: var(--dark-green); color: var(--white); }
.format-card.popular .meta, .format-card.popular .desc { color: rgba(255,255,255,0.7); }
.popular-tag {
  position: absolute; top: 20px; right: 20px;
  background: var(--lime); color: var(--dark-green);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-full);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .format-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .format-grid { grid-template-columns: 1fr; }
}

/* ---- Feature strip ---- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-strip .feature h4 { color: var(--lime); font-size: 18px; margin-bottom: 10px; }
.feature-strip .feature p { color: rgba(255,255,255,0.7); font-size: 15px; }

@media (max-width: 760px) {
  .feature-strip { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- Video / media section ---- */
.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.media-split video, .media-split img {
  border-radius: var(--radius-lg);
  width: 100%;
}
@media (max-width: 860px) {
  .media-split { grid-template-columns: 1fr; }
}

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 180px;
  gap: 16px;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md);
}
.gallery-grid .big { grid-row: span 2; height: 100%; }
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .gallery-grid .big { grid-column: span 2; grid-row: span 1; height: 220px; }
}

.follow-row { margin-top: 32px; display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--text-muted); flex-wrap: wrap; }
.follow-row a { font-weight: 700; color: var(--dark-green); }

/* ---- CTA band ---- */
.cta-band {
  background: var(--lime);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(26px, 4vw, 36px); max-width: 14ch; }
.cta-band p { margin-top: 8px; color: rgba(22,48,31,0.75); max-width: 34ch; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Footer ---- */
.site-footer {
  background: var(--darker-green);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-grid h4 { color: var(--lime); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-grid h4 a:hover { text-decoration: underline; }
.footer-brand { color: var(--lime); font-size: 20px; margin-bottom: 12px; }
.footer-grid a, .footer-grid p { display: block; margin-bottom: 8px; font-size: 14px; }
.footer-grid a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 13px; color: rgba(255,255,255,0.5); }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- Lessons page ---- */
.formats-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.format-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(22,48,31,0.08);
  position: relative;
}
.format-detail-card .badges { display: flex; gap: 10px; font-size: 13px; color: var(--text-muted); font-weight: 600; margin-bottom: 14px; }
.format-detail-card h3 { font-size: 24px; margin-bottom: 10px; }
.format-detail-card .desc { color: var(--text-muted); margin-bottom: 18px; }
.format-detail-card ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.format-detail-card li { font-size: 14px; padding-left: 20px; position: relative; }
.format-detail-card li::before { content: '✓'; position: absolute; left: 0; color: var(--dark-green); font-weight: 700; }
.format-detail-card .card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid rgba(22,48,31,0.08); }
.format-detail-card .price-note { font-size: 13px; color: var(--text-muted); font-weight: 600; }

@media (max-width: 860px) {
  .formats-detail-grid { grid-template-columns: 1fr; }
}

.group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.group-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.group-card .tag {
  display: inline-block; background: var(--lime); color: var(--dark-green);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-full);
  text-transform: uppercase; margin-bottom: 16px;
}
.group-card h3 { color: var(--white); font-size: 22px; margin-bottom: 6px; }
.group-card .range { color: var(--lime); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.group-card p.desc { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 16px; }
.group-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.group-card li { font-size: 14px; color: rgba(255,255,255,0.85); padding-left: 20px; position: relative; }
.group-card li::before { content: '✓'; position: absolute; left: 0; color: var(--lime); font-weight: 700; }

@media (max-width: 860px) {
  .group-grid { grid-template-columns: 1fr; }
}

.getaway-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.getaway-panel ul { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 10px; }
.getaway-panel li { font-size: 15px; padding-left: 24px; position: relative; }
.getaway-panel li::before { content: '✓'; position: absolute; left: 0; color: var(--dark-green); font-weight: 700; }
.getaway-stats { background: var(--cream); border-radius: var(--radius-md); padding: 28px; display: grid; gap: 18px; }
.getaway-stats .stat { display: flex; justify-content: space-between; align-items: baseline; }
.getaway-stats .stat .num { font-family: 'Archivo Black', sans-serif; font-size: 22px; }
.getaway-stats .stat .label { font-size: 13px; color: var(--text-muted); }

@media (max-width: 900px) {
  .getaway-panel { grid-template-columns: 1fr; }
}

/* ---- About page ---- */
.coach-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.coach-intro img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.coach-names { display: flex; gap: 24px; margin: 24px 0; }
.coach-names .name-chip { font-size: 14px; font-weight: 700; }
.coach-names .name-chip span { display: block; font-weight: 400; font-size: 12px; color: var(--text-muted); }

@media (max-width: 860px) {
  .coach-intro { grid-template-columns: 1fr; }
}

.coach-bios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.coach-bio-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(22,48,31,0.08);
}
.coach-bio-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.coach-bio-card .content { padding: 28px; }
.coach-bio-card h3 { font-size: 22px; margin-bottom: 4px; }
.coach-bio-card .role { color: var(--text-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.coach-bio-card p.bio { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; margin-bottom: 12px; }
.coach-bio-card p.bio:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .coach-bios { grid-template-columns: 1fr; }
}

.coach-bios-closing {
  max-width: 68ch;
  margin: 32px auto 0;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.6;
}

.how-we-coach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.how-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(22,48,31,0.08);
}
.how-card .step-num {
  display: inline-block;
  background: var(--lime-soft);
  color: var(--dark-green);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.how-card h3 { font-size: 19px; margin-bottom: 10px; }
.how-card p { color: var(--text-muted); font-size: 14px; }

.video-analysis-cta { text-align: center; margin-top: 40px; }
.video-analysis-cta p {
  font-family: 'Archivo Black', sans-serif; font-size: clamp(19px, 3vw, 26px);
  max-width: 26ch; margin: 0 auto 20px;
}
/* Overrides the generic rule above for the smaller supporting line under
   the big "Stop Guessing" headline — needs a touch more specificity to
   win against `.video-analysis-cta p`. */
.video-analysis-cta p.video-analysis-cta-sub {
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 15px;
  color: var(--text-muted); margin-top: -10px;
}

/* A thin connecting line behind 01 → 02 → 03 on desktop only — just
   enough to read as one continuous process, not three unrelated cards. */
@media (min-width: 861px) {
  .how-we-coach-connected { position: relative; }
  .how-we-coach-connected::before {
    content: ''; position: absolute; top: 34px; left: 16.5%; right: 16.5%;
    height: 1.5px; background: repeating-linear-gradient(to right, rgba(22,48,31,0.18) 0 8px, transparent 8px 14px);
    z-index: 0;
  }
  .how-we-coach-connected .how-card { position: relative; z-index: 1; }
}

/* ---- Hero coaching-markup overlay (stand-in for the real looping
   coaching clip this area is built to hold) ---- */
.hero-markup { position: absolute; inset: 0; pointer-events: none; }
.hero-markup-circle {
  position: absolute; top: 38%; left: 28%; width: 76px; height: 76px;
  border: 2.5px dashed var(--lime); border-radius: 50%;
}
.hero-markup-arrow { position: absolute; top: 30%; left: 46%; width: 90px; height: auto; color: var(--lime); }
.hero-markup-target {
  position: absolute; top: 22%; right: 14%; width: 34px; height: 34px;
  border: 2px solid var(--lime); border-radius: 50%;
}
.hero-markup-target::before, .hero-markup-target::after {
  content: ''; position: absolute; background: var(--lime);
}
.hero-markup-target::before { top: 50%; left: -8px; right: -8px; height: 2px; transform: translateY(-1px); }
.hero-markup-target::after { left: 50%; top: -8px; bottom: -8px; width: 2px; transform: translateX(-1px); }
.hero-markup-cue {
  position: absolute; bottom: 14%; left: 8%;
  background: var(--dark-green); color: var(--lime);
  font-family: 'Archivo Black', sans-serif; font-size: 15px; letter-spacing: 0.02em;
  padding: 8px 16px; border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.hero-markup-cue small {
  display: block; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 10.5px;
  color: rgba(221,242,79,0.8); text-transform: none; letter-spacing: 0; margin-top: 2px;
}

/* ---- Shared one-word coaching keyword badge — the same lime-on-dark-green
   language as the Recommended Session wizard's Focus Cue (script.js /
   admin.html / dashboard.html), scaled up for marketing use so the same
   visual moment reads as "the KTCHNPARTY coaching language" everywhere
   it appears. ---- */
.coach-keyword {
  display: inline-block; background: var(--dark-green); color: var(--lime);
  font-family: 'Archivo Black', sans-serif; font-size: clamp(30px, 5vw, 44px);
  letter-spacing: 0.02em; padding: 12px 32px; border-radius: var(--radius-full);
  margin: 10px 0;
}

/* ---- From Feedback to a Plan ---- */
.feedback-flow { max-width: 560px; margin: 0 auto; text-align: center; }
.feedback-step { padding: 6px 0; }
.feedback-step-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--lime); margin-bottom: 10px;
}
.feedback-step-main { font-family: 'Archivo Black', sans-serif; font-size: clamp(18px, 3vw, 24px); color: var(--white); margin-bottom: 8px; }
.feedback-step-sub { font-size: 14px; color: rgba(255,255,255,0.65); max-width: 40ch; margin: 0 auto; }
.feedback-step-focus .feedback-step-sub { margin-top: 10px; }
.feedback-arrow { font-size: 22px; color: rgba(255,255,255,0.35); margin: 6px 0; }
.feedback-cta { text-align: center; margin-top: 40px; }

/* ---- Your Game. Your Roadmap. ---- */
.journey-chain {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px 6px;
}
.journey-step {
  background: var(--white); border: 1.5px solid rgba(22,48,31,0.12);
  border-radius: var(--radius-full); padding: 10px 20px;
  font-weight: 700; font-size: 14px; color: var(--text-dark);
}
.journey-step-repeat { background: var(--dark-green); border-color: var(--dark-green); color: var(--lime); }
.journey-arrow { color: var(--text-muted); font-size: 16px; }

/* ---- KTCHNPARTY Personality — same decorative language as
   membership.html's atmosphere layer, reused here. ---- */
#personality { position: relative; overflow: hidden; }
.deco-personality-court { top: -55px; left: -60px; width: 200px; height: 200px; opacity: 0.06; color: var(--dark-green); }
.deco-personality-ball { bottom: -80px; right: -70px; width: 230px; height: 230px; opacity: 0.06; color: var(--dark-green); }
.deco-personality-spark { top: 12%; right: 10%; width: 20px; height: 20px; opacity: 0.5; color: var(--lime); }
.deco-personality-coupe { bottom: 30px; left: 8%; width: 40px; height: auto; opacity: 0.14; color: var(--dark-green); }
.deco-personality-bubbles { bottom: 30px; left: calc(8% + 46px); width: 28px; height: 66px; overflow: visible; }
.deco-personality-bubbles circle { fill: var(--dark-green); opacity: 0; animation: deco-bubble-rise 7s ease-in-out infinite; }
.deco-personality-bubbles circle:nth-child(1) { animation-delay: 0s; }
.deco-personality-bubbles circle:nth-child(2) { animation-delay: 1.4s; }
.deco-personality-bubbles circle:nth-child(3) { animation-delay: 2.8s; }
.deco-personality-bubbles circle:nth-child(4) { animation-delay: 4.2s; }
.deco-personality-bubbles circle:nth-child(5) { animation-delay: 5.6s; }
@media (prefers-reduced-motion: reduce) {
  .deco-personality-bubbles circle { animation: none; opacity: 0.25; }
}

@media (max-width: 860px) {
  .how-we-coach { grid-template-columns: 1fr; }
  .hero-markup-cue { font-size: 13px; padding: 7px 13px; bottom: 10%; left: 6%; }
  .hero-markup-circle { width: 58px; height: 58px; }
  .hero-markup-target { width: 26px; height: 26px; }
  .coach-keyword { padding: 10px 24px; }
  .journey-step { padding: 8px 14px; font-size: 12.5px; }
  .deco-personality-court, .deco-personality-ball { width: 130px; height: 130px; }
  .deco-personality-coupe, .deco-personality-bubbles { display: none; }
}

/* ---- Newsletter bar ("The Pickle Jar") ---- */
.newsletter-bar {
  background: var(--lime);
  padding: 14px 0;
}
.newsletter-bar-inner {
  display: flex; align-items: center; justify-content: center;
  column-gap: 24px; row-gap: 10px; flex-wrap: wrap; text-align: center;
}
.newsletter-copy { font-size: 14px; font-weight: 600; color: var(--dark-green); line-height: 1.3; }
.newsletter-copy strong { font-weight: 800; }
.newsletter-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.newsletter-form input[type="email"] {
  padding: 10px 16px; border-radius: var(--radius-full);
  border: 1.5px solid rgba(22,48,31,0.25); background: var(--white);
  font-family: inherit; font-size: 13.5px; line-height: 1.2; min-width: 220px;
}
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--dark-green); }
.newsletter-form button { padding: 10px 20px; }
.newsletter-status { font-size: 13px; font-weight: 700; color: var(--dark-green); }

@media (max-width: 640px) {
  .newsletter-bar-inner { text-align: center; }
  .newsletter-form { width: 100%; justify-content: center; }
  .newsletter-form input[type="email"] { flex: 1 1 auto; min-width: 0; }
}

/* ---- Newsletter card (bigger, dedicated placements — homepage near the
   coaching content, library.html near the top of the public video
   experience) — richer version of the compact .newsletter-bar above, with
   room for a first-name field and visible consent copy. ---- */
.newsletter-card {
  background: var(--dark-green);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter-card-copy { max-width: 46ch; }
.newsletter-card-copy h2 { color: var(--lime); font-size: clamp(24px, 3.5vw, 32px); }
.newsletter-card-copy p { margin-top: 10px; color: rgba(255,255,255,0.75); }
.newsletter-card-formwrap { flex: 1 1 360px; max-width: 440px; width: 100%; }
.newsletter-form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form-row input {
  flex: 1 1 150px;
  min-width: 0;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(22,48,31,0.15);
  background: var(--white);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 14px;
}
.newsletter-form-row input::placeholder { color: rgba(22,48,31,0.45); }
.newsletter-form-row input:focus { outline: none; border-color: var(--dark-green); background: var(--white); }
.newsletter-form-row button { flex: 0 0 auto; white-space: nowrap; }
.newsletter-consent { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,0.55); }
.newsletter-card .newsletter-status { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--lime); }

@media (max-width: 760px) {
  .newsletter-card { flex-direction: column; align-items: stretch; text-align: center; padding: 32px 24px; }
  .newsletter-card-copy { max-width: none; }
  .newsletter-card-formwrap { max-width: none; }
  .newsletter-form-row { flex-direction: column; }
  .newsletter-form-row input { flex: 0 0 auto; width: 100%; }
  .newsletter-form-row button { width: 100%; }
}

/* ---- Promo banner ---- */
.promo-banner {
  background: var(--dark-green);
  color: var(--white);
  text-align: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
}
.promo-banner a {
  color: var(--lime);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 6px;
  white-space: nowrap;
}
.promo-banner .emoji { margin-right: 6px; }

/* ---- Video analysis: benefits ---- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(22,48,31,0.08);
}
.benefit-card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--dark-green); color: var(--lime);
  font-weight: 700; font-size: 14px; margin-bottom: 16px;
}
.benefit-card h3 { font-size: 19px; margin-bottom: 10px; }
.benefit-card p { color: var(--text-muted); font-size: 14.5px; }

@media (max-width: 860px) {
  .benefit-grid { grid-template-columns: 1fr; }
}

/* ---- Pricing tiers ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-tier {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1.5px solid rgba(22,48,31,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pricing-tier:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(22,48,31,0.3);
  box-shadow: 0 18px 34px -18px rgba(22,48,31,0.28);
}
.pricing-tier a.btn { transition: box-shadow 0.25s ease; }
.pricing-tier:hover a.btn { box-shadow: 0 0 0 3px rgba(221,242,79,0.4); }
.pricing-tier .tier-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 10px; }
.pricing-tier .tier-price { font-family: 'Archivo Black', sans-serif; font-size: 40px; margin-bottom: 4px; }
.pricing-tier .tier-price sup { font-size: 16px; font-family: 'Inter', sans-serif; font-weight: 600; }
.pricing-tier .tier-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.pricing-tier ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; flex-grow: 1; }
.pricing-tier li { font-size: 14px; padding-left: 22px; position: relative; }
.pricing-tier li::before { content: '✓'; position: absolute; left: 0; color: var(--dark-green); font-weight: 700; }

/* The single most important reason to upgrade — called out as its own
   bold strip above the checklist rather than buried as one bullet among
   many, so it's the first thing the eye catches on the card. */
.pricing-video-highlight {
  display: flex; align-items: center; gap: 12px;
  background: var(--lime); color: var(--dark-green);
  border-radius: 10px; padding: 12px 14px; margin-bottom: 20px;
  font-weight: 700; font-size: 13.5px; line-height: 1.35;
}
.pricing-video-highlight-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.pricing-tier.featured {
  background: var(--dark-green);
  color: var(--white);
  border-color: var(--dark-green);
  transform: translateY(-8px);
  position: relative;
  /* A little extra energy on the Most Popular card even at rest — a soft
     lime glow instead of a flat shadow. */
  box-shadow: 0 0 0 1px rgba(221,242,79,0.18), 0 22px 46px -20px rgba(221,242,79,0.35), 0 20px 40px -22px rgba(0,0,0,0.35);
}
.pricing-tier.featured:hover {
  transform: translateY(-12px) scale(1.015);
  box-shadow: 0 0 0 1px rgba(221,242,79,0.35), 0 26px 52px -18px rgba(221,242,79,0.45), 0 24px 46px -20px rgba(0,0,0,0.4);
}
.pricing-tier.featured .tier-name { color: var(--lime); }
.pricing-tier.featured .tier-sub { color: rgba(255,255,255,0.7); }
.pricing-tier.featured li::before { color: var(--lime); }
.pricing-tier.featured .best-value {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--lime); color: var(--dark-green);
  font-size: 11px; font-weight: 700; padding: 5px 14px; border-radius: var(--radius-full);
  text-transform: uppercase; white-space: nowrap;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-tier.featured { transform: none; }
  .pricing-tier.featured:hover { transform: scale(1.015); }
}

.tiers-subheadline {
  margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--text-muted);
}

/* ================= Membership page background atmosphere =================
   Premium-pickleball-club × champagne-after-the-match decorative layer.
   Every piece here is aria-hidden, pointer-events:none, low-opacity line
   art — purely ambient texture on the cream background. Nothing in this
   block should ever sit above real content (see .container's z-index:1
   above, which guarantees that regardless of DOM order) or overlap card
   copy — each piece is pinned to a section corner/edge and, where it's
   large, partially cropped off by the section's own overflow:hidden. */
#video-analysis, #tiers, #addons, #final-cta {
  position: relative;
  overflow: hidden;
}
.deco-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  color: var(--dark-green);
}
.deco-dot {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.55;
}

/* -- video-analysis section -- */
.deco-va-court { top: -55px; right: -60px; width: 200px; height: 200px; opacity: 0.07; }
.deco-va-trajectory { bottom: 6px; left: -34px; width: 190px; height: auto; opacity: 0.1; animation: deco-drift 10s ease-in-out infinite; }

/* -- tiers section (the "hero" of this page) -- */
.deco-tiers-paddle { top: -46px; right: -34px; width: 130px; height: 220px; opacity: 0.06; transform: rotate(16deg); }
.deco-tiers-ball { bottom: -85px; left: -75px; width: 240px; height: 240px; opacity: 0.06; }
.deco-dot-1 { top: 18px; right: 8%; }
.deco-dot-2 { top: 52px; right: 4%; width: 5px; height: 5px; opacity: 0.4; }
.deco-tiers-coupe { bottom: 24px; right: 26px; width: 42px; height: auto; opacity: 0.16; }
.deco-bubbles { bottom: 24px; right: 44px; width: 30px; height: 70px; overflow: visible; }
.deco-bubbles circle { fill: var(--dark-green); opacity: 0; animation: deco-bubble-rise 7s ease-in-out infinite; }
.deco-bubbles circle:nth-child(1) { animation-delay: 0s; }
.deco-bubbles circle:nth-child(2) { animation-delay: 1.4s; }
.deco-bubbles circle:nth-child(3) { animation-delay: 2.8s; }
.deco-bubbles circle:nth-child(4) { animation-delay: 4.2s; }
.deco-bubbles circle:nth-child(5) { animation-delay: 5.6s; }

/* -- addons section -- */
.deco-addons-paddle { bottom: -50px; left: -40px; width: 100px; height: 170px; opacity: 0.05; transform: rotate(-10deg); }

/* -- closing CTA section -- */
.deco-final-spark { top: 6px; left: 2%; width: 20px; height: 20px; opacity: 0.45; color: var(--lime); }

@keyframes deco-bubble-rise {
  0%   { transform: translateY(0); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 0.3; }
  100% { transform: translateY(-64px); opacity: 0; }
}
@keyframes deco-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .deco-bubbles circle, .deco-va-trajectory {
    animation: none !important;
  }
  .deco-bubbles circle { opacity: 0.25; }
}

@media (max-width: 700px) {
  /* Smaller viewports have far less negative space — scale everything
     down and pull it further off-canvas so nothing crowds the cards. */
  .deco-tiers-ball { width: 170px; height: 170px; bottom: -60px; left: -55px; }
  .deco-tiers-paddle { width: 90px; height: 155px; top: -30px; right: -24px; }
  .deco-va-court { width: 140px; height: 140px; }
  .deco-tiers-coupe, .deco-bubbles { display: none; }
}

/* ---- Auth / account pages ---- */
.auth-wrap {
  max-width: 440px;
  margin: 0 auto;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(22,48,31,0.08);
}
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 24px; background: var(--cream); border-radius: var(--radius-full); padding: 4px; }
.auth-tabs button {
  flex: 1; border: none; background: none; padding: 10px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 13px; cursor: pointer; color: var(--text-muted);
}
.auth-tabs button.active { background: var(--dark-green); color: var(--lime); }
.auth-form { display: none; }
.auth-form.active { display: block; }
.auth-msg { margin-top: 14px; font-size: 13px; font-weight: 600; display: none; }
.auth-msg.error { color: #b3261e; display: block; }
.auth-msg.success { color: #1a7a3b; display: block; } .password-field { position: relative; } .password-field input { padding-right: 44px; } .password-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 16px; padding: 6px; line-height: 1; opacity: 0.6; } .password-toggle:hover { opacity: 1; } .forgot-password-link { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--text-muted); text-decoration: underline; } .forgot-password-link:hover { color: var(--dark-green); }

/* ---- Dashboard shell ---- */
.dash-topbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.dash-topbar h1 { font-size: 28px; }
.dash-user { font-size: 14px; color: var(--text-muted); }
.dash-user button { margin-left: 12px; }

/* ---- Road to Greatness progress bar (current level -> goal level) ---- */
.rtg-card {
  background: var(--dark-green); border-radius: var(--radius-lg);
  padding: 20px 24px; margin: -16px 0 32px 0; color: var(--white);
}
@media (max-width: 700px) {
  .rtg-card { margin-top: 0; }
}
.rtg-labels {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 10px; flex-wrap: wrap;
}
.rtg-current, .rtg-goal {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--lime);
}
.rtg-pct {
  font-family: 'Archivo Black', sans-serif; font-size: 20px; color: var(--white);
}
.rtg-bar {
  height: 10px; border-radius: var(--radius-full); background: rgba(255,255,255,0.18);
  overflow: hidden;
}
.rtg-bar-fill {
  height: 100%; background: var(--lime); border-radius: var(--radius-full);
  transition: width 0.4s ease;
}
.rtg-note { font-size: 11.5px; color: rgba(255,255,255,0.65); margin-top: 10px; }

.rtg-note-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.rtg-edit-toggle {
  background: none; border: 1.5px solid rgba(255,255,255,0.35); color: var(--white);
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
  padding: 6px 14px; border-radius: var(--radius-full); cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease; white-space: nowrap;
}
.rtg-edit-toggle:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); }
.rtg-edit-form {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.18);
}
.rtg-edit-row {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 4px;
}
.rtg-edit-row .form-group { flex: 1 1 180px; margin-bottom: 12px; }
.rtg-card .form-group label { color: rgba(255,255,255,0.75); }

.dash-tabs {
  display: flex; gap: 8px; margin-bottom: 24px;
  border-bottom: 1px solid rgba(22,48,31,0.1);
}
.dash-tabs button {
  border: none; background: none; padding: 10px 4px; margin-right: 20px;
  font-weight: 700; font-size: 14px; cursor: pointer; color: var(--text-muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.dash-tabs button.active { color: var(--dark-green); border-bottom-color: var(--dark-green); }
.dash-panel { display: none; }
.dash-panel.active { display: block; }

.tier-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--dark-green); color: var(--lime);
  font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: var(--radius-full);
}
.content-category { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin: 24px 0 12px; }
.content-item {
  background: var(--white); border-radius: var(--radius-md); padding: 16px 20px;
  border: 1px solid rgba(22,48,31,0.08); margin-bottom: 10px;
}
.content-item .content-item-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.content-item .video-embed { margin: -16px -20px 14px; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.content-item .content-title { font-weight: 700; font-size: 14.5px; }
.content-item .content-desc {
  font-size: 13px; color: var(--text-muted); margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis; max-height: 2.8em;
}
.content-item .tier-tag { font-size: 10.5px; font-weight: 700; text-transform: uppercase; padding: 3px 10px; border-radius: var(--radius-full); background: var(--lime-soft); color: var(--dark-green); white-space: nowrap; }

/* ---- Responsive 16:9 YouTube embed wrapper (library.html + dashboard My Training) ---- */
.video-embed {
  position: relative; width: 100%; padding-top: 56.25%; height: 0;
  overflow: hidden; border-radius: var(--radius-md); background: #000;
  margin-bottom: 14px;
}
.video-embed iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}
.format-detail-card .video-embed { margin-top: -1px; }

.order-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--white); border-radius: var(--radius-md); padding: 16px 20px;
  border: 1px solid rgba(22,48,31,0.08); margin-bottom: 12px; flex-wrap: wrap;
}
.order-row .order-main { display: flex; flex-direction: column; gap: 2px; }
.order-row .order-tier { font-weight: 700; font-size: 14.5px; }
.order-row .order-date { font-size: 12.5px; color: var(--text-muted); }
.order-row .order-right { display: flex; align-items: center; gap: 14px; }
.order-row .order-amount { font-weight: 700; font-size: 15px; }

.status-pill {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 4px 12px; border-radius: var(--radius-full);
}
.status-pill.submitted { background: #fff2cc; color: #8a6d00; }
.status-pill.reviewed, .status-pill.paid { background: var(--lime-soft); color: var(--dark-green); } .status-pill.refunded { background: #fde2e1; color: #a11d1d; }

.submission-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid rgba(22,48,31,0.08); margin-bottom: 20px;
}

/* ---- On Our Radar: coach to-do list (players available, nothing
   scheduled yet). Kept as a tight, scannable list rather than the
   bigger padded cards elsewhere — this tab is meant to be cleared fast. ---- */
.radar-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--white); border: 1px solid rgba(22,48,31,0.08); border-left: 3px solid #4ea34e;
  border-radius: var(--radius-md); padding: 14px 18px; margin-bottom: 8px;
}
.radar-info { display: flex; flex-direction: column; gap: 2px; }
.radar-player { font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.radar-count-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px;
  padding: 0 6px; border-radius: var(--radius-full); background: #c98a1f; color: var(--white);
  font-size: 11.5px; font-weight: 700;
}
.radar-item:not(.radar-item-purchase) .radar-count-badge { background: #4ea34e; }
.radar-date { font-size: 12.5px; color: var(--text-muted); }
.radar-schedule-btn { padding: 9px 20px; white-space: nowrap; flex-shrink: 0; }

/* Two-column radar board: My Plan (availability) + Purchased Items
   (video reviews / calls) side by side, so every kind of coach to-do
   lives in one clean, scannable view instead of scattered tabs. */
.radar-board { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .radar-board { grid-template-columns: 1fr; } }
.radar-column { background: var(--cream); border-radius: var(--radius-lg); padding: 18px; }
.radar-column-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.radar-column-head h3 { font-size: 15px; margin: 0; }
.radar-count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px;
  padding: 0 7px; border-radius: var(--radius-full); background: var(--dark-green); color: var(--white);
  font-size: 12px; font-weight: 700;
}
.radar-column-sub { font-size: 12.5px; color: var(--text-muted); margin: 4px 0 14px; }
.radar-item-purchase { border-left-color: #c98a1f; }
.library-remove-btn { padding: 9px 20px; white-space: nowrap; flex-shrink: 0; }
.radar-item-purchase .radar-review-btn { padding: 9px 20px; white-space: nowrap; flex-shrink: 0; }
.radar-column .empty-state { background: transparent; border: 1px dashed rgba(22,48,31,0.15); padding: 20px; text-align: center; }
.radar-column .empty-state p { margin: 0; font-size: 13px; color: var(--text-muted); }

/* Brief highlight when a Purchased Items "Review" click lands on the
   matching Submissions card, so the jump is obvious. */
.submission-card.radar-highlight { box-shadow: 0 0 0 3px var(--dark-green); transition: box-shadow 0.2s ease; }
.submission-card .top-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.submission-card .tier-label { font-weight: 700; font-size: 16px; }
.submission-card .date { font-size: 13px; color: var(--text-muted); }
.submission-card video { width: 100%; border-radius: var(--radius-md); margin: 14px 0; background: #000; }
.submission-card .block-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin: 16px 0 6px; }
.submission-card .block-text { font-size: 14.5px; line-height: 1.6; white-space: pre-wrap; }
.submission-card textarea { width: 100%; min-height: 100px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid rgba(22,48,31,0.15); background: var(--cream); font-family: inherit; font-size: 14px; margin-bottom: 10px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state .btn { margin-top: 16px; }

.upload-drop {
  border: 2px dashed rgba(22,48,31,0.2); border-radius: var(--radius-lg);
  padding: 40px; text-align: center; background: var(--white); margin-bottom: 20px;
}
.upload-drop input[type="file"] { margin-top: 14px; }
.progress-bar { height: 8px; background: var(--cream); border-radius: var(--radius-full); overflow: hidden; margin-top: 16px; display: none; }
.progress-bar-fill { height: 100%; background: var(--dark-green); width: 0%; transition: width 0.2s; }

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-methods { display: grid; gap: 14px; margin: 28px 0; }
.contact-method {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border-radius: var(--radius-md);
  padding: 18px 20px; border: 1px solid rgba(22,48,31,0.08);
}
.contact-method .icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark-green); color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-method .label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; font-weight: 700; letter-spacing: 0.04em; }
.contact-method .value { font-weight: 700; font-size: 16px; }
.contact-extra { margin-top: 28px; font-size: 14px; color: var(--text-muted); }
.contact-extra strong { display: block; color: var(--text-dark); margin-bottom: 4px; }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(22,48,31,0.08);
}
.contact-form-card h2 { font-size: 24px; margin-bottom: 6px; }
.contact-form-card .form-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(22,48,31,0.15);
  background: var(--cream);
  font-family: inherit;
  font-size: 15px;
  color: var(--text-dark);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--dark-green);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-submit { width: 100%; margin-top: 8px; }
.form-status { margin-top: 16px; font-size: 14px; font-weight: 600; display: none; }
.form-status.success { color: #1a7a3b; display: block; }
.form-status.error { color: #b3261e; display: block; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---- Coach Dashboard player-selection system (Filter Players, Search /
   Select Player, Player Summary Card, Coaching Access) — sits above the
   Drill Calendar below, styled to match the same card/pill language used
   everywhere else in the dashboard (tier-pill, avail-pill, submission-card)
   rather than inventing a new visual system. ---- */
.cal-selector { margin-bottom: 24px; }

.cal-filter-bar { margin-bottom: 18px; }
.cal-filter-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted); margin-bottom: 10px;
}
.cal-filter-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.cal-filter-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: var(--radius-full);
  border: 1.5px solid rgba(22,48,31,0.15); background: var(--white);
  color: var(--text-dark); font-weight: 700; font-size: 12.5px; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.cal-filter-btn:hover { border-color: rgba(22,48,31,0.3); }
.cal-filter-btn.active { background: var(--dark-green); border-color: var(--dark-green); color: var(--lime); }
.cal-filter-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--radius-full);
  background: rgba(22,48,31,0.08); color: inherit; font-size: 11px; font-weight: 700;
}
.cal-filter-btn.active .cal-filter-count { background: rgba(221,242,79,0.25); }

.cal-search-block label {
  display: block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 8px;
}
.cal-search-block input[type="text"] {
  width: 100%; max-width: 420px; padding: 11px 16px; border-radius: 10px;
  border: 1.5px solid rgba(22,48,31,0.15); background: var(--white);
  font-family: inherit; font-size: 14px; color: var(--text-dark); margin-bottom: 12px;
}
.cal-player-results {
  max-height: 280px; overflow-y: auto; border: 1px solid rgba(22,48,31,0.1);
  border-radius: var(--radius-md); background: var(--cream);
}
.cal-results-group-head {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted); padding: 10px 14px 4px;
}
.cal-result-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  width: 100%; padding: 10px 14px; border: none; background: transparent;
  cursor: pointer; text-align: left; font-family: inherit;
  border-bottom: 1px solid rgba(22,48,31,0.06);
  transition: background 0.15s ease;
}
.cal-result-row:hover { background: var(--white); }
.cal-result-row.active { background: var(--lime-soft); }
.cal-result-name { font-size: 13.5px; font-weight: 600; }
.cal-result-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cal-results-empty { padding: 18px 14px; font-size: 13px; color: var(--text-muted); }

.cal-player-summary {
  background: var(--white); border-radius: var(--radius-lg); padding: 20px 22px;
  border: 1px solid rgba(22,48,31,0.08); margin-top: 18px;
}
.cal-summary-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.cal-summary-name { font-family: 'Archivo Black', sans-serif; font-size: 19px; margin-bottom: 8px; }
.cal-summary-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cal-summary-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cal-summary-actions .btn { padding: 8px 16px; font-size: 11.5px; }
.cal-summary-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(22,48,31,0.12);
}
.cal-stat { display: flex; flex-direction: column; gap: 3px; }
.cal-stat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.cal-stat-value { font-size: 15px; font-weight: 700; color: var(--text-dark); }

.cal-access-pill {
  display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700;
  padding: 5px 12px; border-radius: var(--radius-full);
}
.cal-access-pill-active { background: #dcf3d6; color: #266b1c; }
.cal-access-pill-inactive { background: rgba(22,48,31,0.08); color: var(--text-muted); }

.cal-access-block { margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(22,48,31,0.12); }
.cal-access-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cal-history-toggle {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: inherit; font-size: 12.5px; font-weight: 700; color: var(--dark-green);
  text-decoration: underline;
}
.cal-history-list { margin-top: 12px; display: grid; gap: 8px; }
.cal-history-row {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  background: var(--cream); border-radius: 10px; padding: 10px 14px; font-size: 12.5px;
}
.cal-history-dates { font-weight: 700; }
.cal-history-type { color: var(--dark-green); font-weight: 600; }
.cal-history-by, .cal-history-note { color: var(--text-muted); }
.cal-history-note { flex-basis: 100%; }

.cal-grant-panel {
  margin-top: 14px; padding: 16px 18px; background: var(--cream); border-radius: var(--radius-md);
}
.cal-grant-panel select, .cal-grant-panel textarea, .cal-grant-panel input[type="date"] {
  width: 100%; max-width: 320px; padding: 9px 12px; border-radius: 8px;
  border: 1.5px solid rgba(22,48,31,0.15); background: var(--white);
  font-family: inherit; font-size: 13px; color: var(--text-dark);
}
.cal-grant-panel textarea { max-width: 100%; min-height: 60px; }
.cal-grant-panel .cal-history-toggle { margin-left: 12px; }

@media (max-width: 640px) {
  .cal-summary-top { flex-direction: column; }
  .cal-summary-actions { width: 100%; }
  .cal-summary-actions .btn { flex: 1; }
}

/* ---- Drill calendar ---- */
.calendar-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .calendar-wrap { grid-template-columns: 1fr; }
}
.calendar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(22,48,31,0.08);
}
.calendar-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.calendar-nav .month-label { font-family: 'Archivo Black', sans-serif; font-size: 18px; }
.calendar-nav button {
  border: 1.5px solid rgba(22,48,31,0.15); background: var(--white);
  border-radius: var(--radius-full); width: 32px; height: 32px;
  font-weight: 700; cursor: pointer; font-size: 15px; color: var(--dark-green);
}
.calendar-nav button:hover { background: var(--cream); }
.calendar-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--text-muted); text-align: center;
  margin-bottom: 6px;
}
.calendar-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.calendar-day {
  aspect-ratio: 1; border-radius: 10px; border: 1.5px solid transparent;
  background: var(--cream); display: flex; flex-direction: column;
  align-items: center; justify-content: center; cursor: pointer;
  font-size: 13px; font-weight: 600; position: relative; gap: 3px;
  transition: border-color 0.12s ease;
}
.calendar-day:hover { border-color: rgba(22,48,31,0.2); }
.calendar-day.other-month { opacity: 0.35; cursor: default; }
.calendar-day.other-month:hover { border-color: transparent; }
.calendar-day.avail-yes { background: #dcf3d6; }
.calendar-day.avail-no { background: #f5e3e3; }
.calendar-day.today { box-shadow: inset 0 0 0 1.5px var(--dark-green); }
.calendar-day.selected { background: var(--dark-green); color: var(--lime); }
.calendar-day .dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--dark-green);
}
.calendar-day.selected .dot { background: var(--lime); }
.calendar-day.has-session:not(.selected) .dot { background: var(--dark-green); }

.calendar-detail {
  background: var(--white); border-radius: var(--radius-lg); padding: 24px;
  border: 1px solid rgba(22,48,31,0.08);
}
.calendar-detail h3 { font-size: 17px; margin-bottom: 4px; }
.calendar-detail .sub { font-size: 12.5px; color: var(--text-muted); margin-bottom: 18px; }
.avail-summary { display: flex; gap: 8px; flex-wrap: wrap; margin: -8px 0 16px; }
.avail-summary:empty { margin: 0; }
.avail-pill {
  display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700;
  padding: 5px 12px; border-radius: var(--radius-full);
}
.avail-pill-yes { background: #dcf3d6; color: #266b1c; }
.avail-pill-no { background: #f5e3e3; color: #8a2e2e; }
.avail-pill-rating { background: var(--lime-soft); color: var(--dark-green); }
.drill-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.drill-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--cream); border-radius: 10px; padding: 10px 14px; font-size: 14px;
}
.drill-list li .drill-name { font-weight: 600; }
.drill-list li .drill-minutes { font-size: 12.5px; color: var(--text-muted); white-space: nowrap; }
.drill-editor-row {
  display: grid; grid-template-columns: 1fr 90px auto; gap: 8px; margin-bottom: 8px;
}
.drill-editor-row input {
  padding: 10px 12px; border-radius: 8px; border: 1.5px solid rgba(22,48,31,0.15);
  background: var(--cream); font-family: inherit; font-size: 13.5px;
}
.drill-editor-row button {
  border: none; background: rgba(179,38,30,0.1); color: #b3261e;
  border-radius: 8px; font-weight: 700; cursor: pointer; font-size: 13px; padding: 0 10px;
}
.calendar-empty { font-size: 13.5px; color: var(--text-muted); padding: 20px 0; text-align: center; }

/* ---- Drill Sequences: click-or-type auto-fill (names + times) ---- */
/* Unified "{Name}'s Drill Session" block — one category grouping the
   smart search bar (type a drill or a sequence, one Add button resolves
   which) and, on the coach calendar, a browsable sequence dropdown below
   it for seeing the whole list without typing anything. */
.drill-session-block {
  margin: 4px 0 16px; padding-top: 14px; border-top: 1px dashed rgba(22,48,31,0.15);
}
.drill-session-block .label {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-muted); margin-bottom: 8px;
}
.drill-session-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.drill-session-row input, .drill-session-row select {
  padding: 10px 12px; border-radius: 8px; border: 1.5px solid rgba(22,48,31,0.15);
  background: var(--cream); font-family: inherit; font-size: 13.5px; color: var(--text-dark);
  width: 100%;
}
.drill-session-row button { padding: 0 16px; white-space: nowrap; }
.sequence-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ---- Coach calendar: color-coded player tier badge under the player
   dropdown, so it's obvious at a glance who's Free/Plus/Elite while
   scheduling. ---- */
.tier-pill {
  display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em; padding: 5px 14px;
  border-radius: var(--radius-full);
}
.tier-pill-free { background: #e9ece5; color: var(--text-muted); }
.tier-pill-plus { background: #dbeafe; color: #1e40af; }
.tier-pill-elite { background: var(--dark-green); color: var(--lime); }

/* ---- Player "My Training" split view (content left, calendar right) ---- */
.training-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.training-col-head {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 14px;
}
/* The calendar was designed for a full-width panel; inside this half-width
   column always stack it (calendar on top, drill list below) instead of
   relying on the viewport-width media query, since the column itself is
   the constraint here, not the browser window. */
.training-col .calendar-wrap { grid-template-columns: 1fr; }

@media (max-width: 1000px) {
  .training-split { grid-template-columns: 1fr; }
}

/* ---- My Plan: rolling 14-day outlook (today = day 1), sourced from drill_calendar ---- */
.plan-outlook-nav {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;
}
.plan-outlook-nav button {
  border: 1.5px solid rgba(22,48,31,0.15); background: var(--white);
  border-radius: var(--radius-full); width: 28px; height: 28px;
  font-weight: 700; cursor: pointer; font-size: 14px; color: var(--dark-green);
}
.plan-outlook-nav button:hover { background: var(--cream); }
.week-outlook {
  display: flex;
  gap: 10px;
  margin: 12px 0 28px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.week-day-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(22,48,31,0.08);
  padding: 14px 12px;
  min-width: 128px;
  flex: 1 1 128px;
}
.week-day-card.today { box-shadow: inset 0 0 0 1.5px var(--dark-green); }
.week-day-card .day-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--text-muted);
}
.week-day-card .day-date {
  font-family: 'Archivo Black', sans-serif; font-size: 17px; margin: 2px 0 10px;
}
.week-day-card .drill-mini {
  font-size: 12px; line-height: 1.4; margin-bottom: 6px;
  display: flex; flex-direction: column;
}
.week-day-card .drill-mini .name { font-weight: 600; }
.week-day-card .drill-mini .mins { color: var(--text-muted); font-size: 11px; }
.week-day-card .empty { font-size: 12px; color: var(--text-muted); }
.week-day-card.match-day { box-shadow: inset 0 0 0 1.5px #f0d47a; }
.week-day-card.match-day.today { box-shadow: inset 0 0 0 1.5px var(--dark-green), inset 0 0 0 3px #f0d47a; }
.week-day-card .match-badge {
  display: inline-block; background: #fff2cc; color: #8a6d00;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
  border-radius: var(--radius-full); padding: 3px 8px; margin-bottom: 8px;
}
.week-day-card .avail-badge {
  display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; border-radius: var(--radius-full); padding: 3px 8px; margin-bottom: 8px;
}
.week-day-card .avail-badge-yes { background: #dcf3d6; color: #266b1c; }
.week-day-card .avail-badge-no { background: #f5e3e3; color: #8a2e2e; }
.week-day-card .rating-badge {
  display: inline-block; margin-top: 6px; font-size: 10.5px; font-weight: 700;
  color: var(--dark-green);
}

/* ---- Player calendar: rolling 14-day day-picker strip (dashboard.html only —
   admin.html keeps the full month grid for coaches planning across players) ---- */
.dcal-strip {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px;
}
.dcal-day-card {
  flex: 0 0 54px; text-align: center; padding: 10px 4px; border-radius: 10px;
  background: var(--cream); border: 1.5px solid transparent; cursor: pointer;
}
.dcal-day-card.avail-yes { background: #dcf3d6; }
.dcal-day-card.avail-no { background: #f5e3e3; }
.dcal-day-card:hover { border-color: rgba(22,48,31,0.2); }
.dcal-day-card.today { box-shadow: inset 0 0 0 1.5px var(--dark-green); }
.dcal-day-card.selected { background: var(--dark-green); color: var(--lime); }
.dcal-day-card .day-label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--text-muted);
}
.dcal-day-card.selected .day-label { color: var(--lime); opacity: 0.8; }
.dcal-day-card .day-date {
  font-family: 'Archivo Black', sans-serif; font-size: 16px; margin: 2px 0 5px;
}
.dcal-day-card .dot {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--dark-green); margin: 0 1px;
}
.dcal-day-card.selected .dot { background: var(--lime); }
.dcal-day-card .dot.match { background: #8a6d00; }
.dcal-day-card.selected .dot.match { background: #ffd85c; }

/* ---- "What you're working on" pop-up shown after Save Day ---- */
.dcal-modal-overlay {
  position: fixed; inset: 0; background: rgba(22,48,31,0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 999; padding: 20px;
}
.dcal-modal {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  max-width: 440px; width: 100%; max-height: 88vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.dcal-modal .sub { color: var(--text-muted); font-size: 12.5px; margin-bottom: 18px; }
.dcal-modal h3 { font-size: 17px; margin-bottom: 4px; }

/* ---- Match Day toggle + type picker (drill calendar day editor) ---- */
.match-day-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(22,48,31,0.1);
}
.match-day-toggle {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: 13.5px; font-weight: 700; color: var(--text-dark);
}
.match-day-toggle input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--dark-green); cursor: pointer; }
#dcal-match-type {
  padding: 8px 12px; border-radius: 8px; border: 1.5px solid rgba(22,48,31,0.15);
  background: var(--cream); font-family: inherit; font-size: 13px; color: var(--text-dark);
}

/* ---- Player availability toggle (14-day schedule) ---- */
.avail-block {
  margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(22,48,31,0.1);
}
.avail-block .label {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-muted); margin-bottom: 8px;
}
.avail-toggle-group { display: flex; gap: 8px; }
.avail-btn {
  flex: 1; padding: 10px 14px; border-radius: 8px; border: 1.5px solid rgba(22,48,31,0.15);
  background: var(--cream); color: var(--text-dark); font-weight: 700; font-size: 13px;
  cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.avail-btn:hover { border-color: rgba(22,48,31,0.3); }
.avail-btn.active[data-value="available"] {
  background: var(--dark-green); border-color: var(--dark-green); color: var(--lime);
}
.avail-btn.active[data-value="not_available"] {
  background: #f5e3e3; border-color: #c95c5c; color: #8a2e2e;
}
.avail-minutes-row { margin-top: 10px; }
.avail-minutes-row label {
  display: block; font-size: 12.5px; color: var(--text-muted); margin-bottom: 8px;
}
.avail-minutes-slider-row { display: flex; align-items: center; gap: 12px; }
.avail-minutes-slider-row input[type="range"] { flex: 1; accent-color: var(--dark-green); }
.avail-minutes-slider-row span {
  font-family: 'Archivo Black', sans-serif; font-size: 14px; min-width: 56px; text-align: right;
}
.avail-upsell {
  font-size: 12.5px; color: var(--text-muted); background: var(--cream);
  border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; line-height: 1.5;
}
.avail-upsell strong { color: var(--text-dark); }
.avail-upsell a { color: var(--dark-green); font-weight: 700; text-decoration: underline; }

/* ---- Shared topic-pill language — used by the Recommended Session
   wizard's Focus/Method/Time buttons on both the player and coach
   calendars. ---- */
.topic-pill-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
@media (max-width: 480px) { .topic-pill-grid { grid-template-columns: repeat(2, 1fr); } }
.topic-pill {
  padding: 9px 10px; border-radius: 8px; border: 1.5px solid rgba(22,48,31,0.15);
  background: var(--cream); color: var(--text-dark); font-weight: 700; font-size: 12.5px;
  cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  line-height: 1.3;
}
.topic-pill:hover { border-color: rgba(22,48,31,0.3); }
.topic-pill.active {
  background: var(--dark-green); border-color: var(--dark-green); color: var(--lime);
}

/* Topic chips shown read-only to coaches — on a player's day summary and
   on the "My Plan" radar column, using the same pill language as
   avail-pill so it reads as part of the same family. */
.avail-pill-topic { background: var(--lime-soft); color: var(--dark-green); }
.radar-topics { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }

/* ---- Recommended Session wizard (Coaching Topic Engine) — Focus + Time +
   Method + optional Level -> a real session pulled from the 400-topic
   curriculum. Reuses .topic-pill for every step's buttons so it feels like
   one consistent picker language across the whole calendar UI. ---- */
.topic-wizard-block {
  background: var(--cream); border-radius: var(--radius-lg); padding: 16px 18px;
  margin-bottom: 18px;
}
.topic-wizard-block > .label {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-muted); margin-bottom: 10px;
}
.wizard-step { margin-bottom: 14px; }
.wizard-step:last-of-type { margin-bottom: 12px; }
.wizard-step-label {
  font-size: 12px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px;
}
.wizard-optional { font-weight: 600; color: var(--text-muted); text-transform: none; }
.wizard-category-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 480px) { .wizard-category-grid { grid-template-columns: repeat(2, 1fr); } }
.wizard-inline-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.wizard-inline-pills .topic-pill { flex: 0 0 auto; padding: 9px 16px; }
#dcal-wizard-level, #cal-wizard-level {
  padding: 9px 12px; border-radius: 8px; border: 1.5px solid rgba(22,48,31,0.15);
  background: var(--white); font-family: inherit; font-size: 13px; color: var(--text-dark);
  width: 100%; max-width: 220px;
}
.wizard-status { font-size: 12.5px; color: var(--text-muted); margin-top: 10px; min-height: 16px; }
.wizard-result {
  background: var(--white); border-radius: 10px; padding: 14px 16px; margin-top: 12px;
  border-left: 3px solid var(--dark-green);
}
.wizard-result-title { font-family: 'Archivo Black', sans-serif; font-size: 14.5px; margin-bottom: 10px; }

/* Focus Cue — the one coaching takeaway for the drill, made to be the
   first thing a player's eye lands on after the title: a bold pill in
   the same lime-on-dark-green language as the app's primary buttons, so
   it reads as the signature "this is the one thing to remember" moment. */
.wizard-focus-cue-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-muted); margin-bottom: 6px;
}
.wizard-focus-cue-badge {
  display: inline-block; background: var(--dark-green); color: var(--lime);
  font-family: 'Archivo Black', sans-serif; font-size: 20px; letter-spacing: 0.02em;
  padding: 8px 20px; border-radius: var(--radius-full); margin-bottom: 14px;
}
.wizard-result-cue { font-size: 13.5px; font-weight: 600; line-height: 1.5; color: var(--text-dark); margin-bottom: 8px; }
.wizard-result-method { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); margin-bottom: 8px; }
.wizard-result-next {
  padding-top: 10px; margin-top: 4px;
  border-top: 1px dashed rgba(22,48,31,0.15);
}
.wizard-result-next-label {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-muted); margin-bottom: 3px;
}
.wizard-result-next-value { font-size: 13.5px; font-weight: 700; color: var(--dark-green); }

/* ---- Rate This Day (0-10, shown once there's something to rate) ---- */
.rating-block {
  margin: 4px 0 16px; padding-top: 14px; border-top: 1px dashed rgba(22,48,31,0.15);
}
.rating-block .label {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-muted); margin-bottom: 8px;
}
.rating-sub { text-transform: none; font-weight: 600; letter-spacing: normal; color: var(--text-muted); }
.rating-row { display: flex; align-items: center; gap: 12px; }
.rating-row input[type="range"] { flex: 1; accent-color: var(--dark-green); }
.rating-row span {
  font-family: 'Archivo Black', sans-serif; font-size: 15px; min-width: 20px; text-align: right;
}
.dcal-modal-drill {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--cream); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; font-size: 14px;
}
.dcal-modal-drill .name { font-weight: 700; }
.dcal-modal-drill .mins { color: var(--text-muted); font-size: 12.5px; white-space: nowrap; }

/* ============================================================
   TRAINING PLAN PREVIEW — public homepage demo of the real
   member dashboard (Road to Greatness + My Plan weekly calendar).
   Deliberately reuses .rtg-card / .week-day-card / .avail-badge /
   .match-badge / .wizard-focus-cue-badge look-and-feel so this
   preview reads as the real product, not an invented mockup.
   All data behind it is 100% fictional and rendered client-side
   only (see the inline script near the end of index.html).
   ============================================================ */
.plan-preview-grid {
  display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start;
}
@media (max-width: 900px) {
  .plan-preview-grid { grid-template-columns: 1fr; }
}
.plan-preview-col .rtg-card { margin: 0 0 20px; }
.plan-preview-connector {
  background: var(--white); border-radius: var(--radius-lg); padding: 18px 20px;
  border: 1px solid rgba(22,48,31,0.08);
}
.plan-preview-connector-name {
  font-family: 'Archivo Black', sans-serif; font-size: 16px; margin-bottom: 10px;
}
.plan-preview-connector .demo-drill-cue { margin: 0 0 12px; }
.plan-preview-connector-added {
  font-size: 12.5px; font-weight: 700; color: #266b1c; margin: 0;
}

/* ---- Demo week strip: same card as the real My Plan outlook, plus a
   clickable/selected state and a small coaching-keyword line that the
   real card doesn't need (a member sees the keyword inside the day
   popup instead). Additive only — .week-day-card itself is untouched. */
.demo-week-outlook { scroll-snap-type: x proximity; }
.demo-day-card {
  cursor: pointer; text-align: left; font-family: inherit; scroll-snap-align: start;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.demo-day-card:hover { transform: translateY(-2px); }
.demo-day-card.selected {
  box-shadow: inset 0 0 0 1.5px var(--dark-green), 0 6px 18px rgba(22,48,31,0.12);
}
.demo-day-card.match-day.selected {
  box-shadow: inset 0 0 0 1.5px var(--dark-green), inset 0 0 0 3px #f0d47a, 0 6px 18px rgba(22,48,31,0.12);
}
.demo-focus-mini {
  display: block; margin-top: 2px; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.03em; color: var(--dark-green);
}

.demo-session-panel {
  background: var(--white); border-radius: var(--radius-lg); padding: 22px 24px;
  border: 1px solid rgba(22,48,31,0.08); margin-top: 16px;
}
.demo-session-head { margin-bottom: 16px; }
.demo-drill-list { display: grid; gap: 12px; }
.demo-drill-step {
  display: flex; gap: 14px; background: var(--cream); border-radius: var(--radius-md); padding: 14px 16px;
}
.demo-drill-num {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--dark-green); color: var(--lime); font-family: 'Archivo Black', sans-serif;
  font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.demo-drill-body { flex: 1; min-width: 0; }
.demo-drill-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.demo-drill-name { font-weight: 700; font-size: 14.5px; }
.demo-drill-mins { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.demo-drill-badge {
  font-size: 14px; padding: 5px 14px; margin-bottom: 8px;
}
.demo-drill-cue { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.demo-rest-note { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* ---- Coaching loop trailer line ---- */
.journey-note { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 16px; }

/* ---- See the Difference: two vertical step-chains, kept compact and
   calm rather than a large feature comparison table. ---- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-col {
  background: var(--white); border-radius: var(--radius-lg); padding: 24px;
  border: 1px solid rgba(22,48,31,0.08);
}
.compare-label {
  font-family: 'Archivo Black', sans-serif; font-size: 15px; margin-bottom: 14px;
}
.compare-col-without .compare-label { color: var(--text-muted); }
.compare-col-with .compare-label { color: var(--dark-green); }
.compare-chain { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.compare-step { font-size: 13.5px; padding: 4px 0; }
.compare-col-without .compare-step { color: var(--text-muted); }
.compare-col-with .compare-step { color: var(--text-dark); font-weight: 600; }
.compare-chain-arrow { font-size: 13px; color: rgba(22,48,31,0.25); line-height: 1; padding-left: 1px; }

/* ---- Mobile: show ~3 demo days at once with horizontal swipe, keep
   progress bar full width and session drills stacked (default block
   layout already does this — no extra rules needed there). ---- */
@media (max-width: 640px) {
  .demo-week-outlook .week-day-card { min-width: 108px; flex: 0 0 108px; padding: 12px 10px; }
}

/* ============================================================
   MEMBER DAY MODAL — View Day / Edit Day. The default "here's what
   you're working on" card reuses the .demo-* classes from the public
   Training Plan Preview (same numbered-drill-card, Focus Cue badge, and
   session-head language) so a real member's day looks like exactly what
   the marketing homepage showed them. Only additive to the modal's
   existing CSS above.
   ============================================================ */
.session-source-badge {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 5px 12px; border-radius: var(--radius-full);
}
.session-source-coach { background: var(--dark-green); color: var(--lime); }
.session-source-wizard { background: var(--lime-soft); color: var(--dark-green); }
.session-source-manual { background: #e9ece5; color: var(--text-muted); }

/* Reuse the homepage's session-head/name styling, but left-aligned and
   sized for the narrower modal instead of the wide marketing card. */
#dcal-view-mode .demo-session-head { margin: 10px 0 14px; }
#dcal-view-mode .plan-preview-connector-name { font-size: 17px; }
#dcal-view-mode .demo-drill-list { margin-bottom: 4px; }

.dcal-view-summary {
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed rgba(22,48,31,0.15);
}
.dcal-view-summary-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

/* ============================================================
   VIDEO REVIEWS — hero "watch a real review" overlay, hero trust
   line, the addons/Video Reviews section tagline + Most Popular
   badge, the review-intake.html coaching-intake page, the upload.html
   intake recap + post-upload membership upsell, and the Coach
   Dashboard's intake display on submission cards.
   ============================================================ */

/* Hero — the existing hero image becomes a clickable "watch a real
   review" preview. Overlay sits above the existing .hero-markup demo
   annotations without disturbing them. */
.hero-watch-link { display: block; position: relative; }
.hero-watch-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background: rgba(22,48,31,0.32); border-radius: var(--radius-lg);
  opacity: 0; transition: opacity 0.2s ease; z-index: 2;
}
.hero-watch-link:hover .hero-watch-overlay, .hero-watch-link:focus-visible .hero-watch-overlay { opacity: 1; }
.hero-watch-play {
  width: 56px; height: 56px; border-radius: 50%; background: var(--lime);
  color: var(--dark-green); display: flex; align-items: center; justify-content: center;
  font-size: 20px; padding-left: 3px; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.hero-watch-label {
  color: var(--white); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
}
@media (max-width: 860px) {
  .hero-watch-overlay { opacity: 1; background: rgba(22,48,31,0.22); }
}

.hero-trust-line {
  color: rgba(255,255,255,0.65); font-size: 13px; font-weight: 600; margin-top: 14px;
}

/* Video Reviews section (index.html + membership.html #addons) */
.addons-tagline {
  font-size: 13px; font-weight: 700; color: var(--dark-green); text-transform: uppercase;
  letter-spacing: 0.05em; margin-top: 10px;
}
.section-dark .addons-tagline { color: var(--lime); }

.format-detail-card.popular {
  border: 1.5px solid var(--lime); box-shadow: 0 10px 30px rgba(22,48,31,0.1);
}
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--lime); color: var(--dark-green); font-size: 11px; font-weight: 700;
  padding: 5px 14px; border-radius: var(--radius-full); text-transform: uppercase;
  letter-spacing: 0.04em; white-space: nowrap;
}
.popular-note {
  background: var(--lime-soft); color: var(--dark-green); font-size: 13px; font-weight: 600;
  border-radius: var(--radius-md); padding: 10px 14px; margin: -6px 0 18px;
}

/* review-intake.html — upload-first review flow (upload video, optional
   focus pills + note, then Pay/Submit) */
.intake-container { max-width: 680px; }
.intake-product-banner {
  background: var(--dark-green); color: var(--white); border-radius: var(--radius-lg);
  padding: 18px 22px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 28px;
}
.intake-product-name { font-weight: 700; font-size: 17px; }
.intake-product-price { font-weight: 700; font-size: 17px; color: var(--lime); }
.intake-product-note { flex-basis: 100%; font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; }
.intake-step { margin-bottom: 28px; }
.intake-question-label { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.intake-question-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.intake-focus-grid { margin-top: 12px; }
.intake-goal-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px;
}
@media (max-width: 640px) { .intake-goal-grid { grid-template-columns: 1fr; } }
.intake-goal-card {
  text-align: left; background: var(--white); border: 1.5px solid rgba(22,48,31,0.12);
  border-radius: var(--radius-md); padding: 16px 18px; cursor: pointer; transition: all 0.15s ease;
  display: flex; flex-direction: column; gap: 4px;
}
.intake-goal-card:hover { border-color: rgba(22,48,31,0.3); }
.intake-goal-card.active { background: var(--dark-green); border-color: var(--dark-green); }
.intake-goal-label { font-weight: 700; font-size: 15px; }
.intake-goal-card.active .intake-goal-label { color: var(--lime); }
.intake-goal-desc { font-size: 13px; color: var(--text-muted); }
.intake-goal-card.active .intake-goal-desc { color: rgba(255,255,255,0.7); }
.intake-textarea {
  width: 100%; min-height: 90px; margin-top: 12px; padding: 14px 16px; font-family: inherit;
  font-size: 14px; border: 1.5px solid rgba(22,48,31,0.15); border-radius: var(--radius-md); resize: vertical;
}
.intake-textarea:focus { outline: none; border-color: var(--dark-green); }
.intake-examples { font-size: 12.5px; color: var(--text-muted); margin-top: 8px; }
.intake-summary {
  background: var(--cream); border-radius: var(--radius-lg); padding: 20px 22px; margin-bottom: 20px;
}
.intake-summary-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 10px; }
.intake-summary-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.intake-summary-product { font-weight: 700; font-size: 16px; }
.intake-summary-price { font-weight: 700; font-size: 16px; color: var(--dark-green); }
.intake-summary-detail { font-size: 13.5px; color: var(--text-muted); margin-top: 4px; }
.intake-continue-btn { width: 100%; }
.intake-status { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 12px; min-height: 1em; }

/* review-intake.html — large upload-first drop zone, the visual focus of
   the simplified review flow. Reuses .upload-drop's border/spacing, just
   bigger and with drag/hover/uploaded states. */
.review-upload-drop {
  padding: 48px 24px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.review-upload-drop:hover, .review-upload-drop:focus-visible { border-color: rgba(22,48,31,0.4); outline: none; }
.review-upload-drop.dragover { border-color: var(--dark-green); background: var(--lime-soft); }
.review-upload-drop.uploading { border-color: rgba(22,48,31,0.3); }
.review-upload-drop.has-file { border-style: solid; border-color: var(--dark-green); background: var(--lime-soft); }
.upload-drop-icon { font-size: 34px; margin-bottom: 10px; }
.upload-drop-main { font-weight: 800; font-size: 20px; margin-bottom: 6px; }
.upload-drop-sub { font-size: 13px; color: var(--text-muted); }
.review-upload-drop.has-file .upload-drop-main { color: var(--dark-green); }

/* review-intake.html — optional multi-select "what to focus on" pills,
   same toggle language as .topic-pill elsewhere in the app. */
.review-focus-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.review-focus-pills .topic-pill { flex: 0 0 auto; padding: 9px 16px; }

/* review-intake.html — compact order summary right above the Pay/Submit
   button, so price/product is the last thing confirmed before paying. */
.review-order-summary {
  background: var(--cream); border-radius: var(--radius-md);
  padding: 16px 18px; margin: 24px 0 14px;
}
.review-order-summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.review-order-summary-name { font-weight: 700; font-size: 15px; }
.review-order-summary-price { font-weight: 800; font-size: 17px; color: var(--dark-green); }

/* upload.html — intake recap (replaces the generic notes field when a
   coaching-intake answer already exists for this order) */
.intake-recap-box {
  background: var(--lime-soft); border-radius: var(--radius-md); padding: 16px 18px; margin-bottom: 20px;
}
.intake-recap-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--dark-green); margin-bottom: 8px; }
.intake-recap-row { font-size: 13.5px; color: var(--dark-green); margin-top: 4px; }

/* upload.html — post-upload membership upsell */
.upsell-panel { background: var(--white); border-radius: var(--radius-lg); padding: 40px 32px; }
.upsell-check { font-size: 22px; margin-bottom: 6px; }
.upsell-divider { height: 1px; background: rgba(22,48,31,0.1); margin: 28px 0; }
.upsell-headline { font-size: 19px; margin-bottom: 6px; }
.upsell-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.upsell-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* review-intake.html / upload.html — guest (no-account) name+email
   capture, shown only to a checked-out-as-guest visitor. Same visual
   language as .intake-step above. */
.guest-contact-row { display: flex; gap: 12px; }
.guest-contact-row input {
  flex: 1; min-width: 0; padding: 14px 16px; font-family: inherit; font-size: 14px;
  border: 1.5px solid rgba(22,48,31,0.15); border-radius: var(--radius-md);
}
.guest-contact-row input:focus { outline: none; border-color: var(--dark-green); }
@media (max-width: 560px) { .guest-contact-row { flex-direction: column; } }

/* upload.html / review-intake.html — post-purchase "create your free
   account" panel for a guest, in place of the member upsell above.
   Rendered by tkpRenderGuestAccountUpsell() in script.js. */
.guest-upsell-panel { text-align: left; max-width: 420px; margin: 0 auto; }
.guest-upsell-headline { font-size: 19px; text-align: center; margin-bottom: 16px; }
.guest-upsell-benefits { list-style: none; padding: 0; margin: 0 0 20px; }
.guest-upsell-benefits li {
  font-size: 13.5px; color: var(--text-dark); padding: 6px 0 6px 26px; position: relative;
}
.guest-upsell-benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--dark-green); font-weight: 700; }
.guest-upsell-form { display: flex; flex-direction: column; gap: 10px; }
.guest-upsell-form input {
  padding: 14px 16px; font-family: inherit; font-size: 14px;
  border: 1.5px solid rgba(22,48,31,0.15); border-radius: var(--radius-md);
}
.guest-upsell-form input:focus { outline: none; border-color: var(--dark-green); }
.guest-upsell-status { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 10px; min-height: 1em; }
.guest-upsell-status.error { color: #a33; }
.guest-upsell-status.success { color: var(--dark-green); font-weight: 700; }
.guest-upsell-dismiss {
  display: block; margin: 14px auto 0; background: none; border: none; cursor: pointer;
  font-size: 12.5px; color: var(--text-muted); text-decoration: underline;
}

/* admin.html — GUEST badge next to a submission's player name, for a
   purchase made without creating an account (see admin_list_guest_user_ids). */
.guest-badge {
  display: inline-block; background: var(--lime-soft); color: var(--dark-green);
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.03em; padding: 2px 8px;
  border-radius: var(--radius-full); vertical-align: middle; margin-left: 6px;
}

/* admin.html — coaching intake shown directly on the submission card */
.intake-block {
  background: var(--lime-soft); border-radius: var(--radius-md); padding: 14px 16px; margin: 14px 0;
}
.intake-block-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.intake-mini-pill {
  background: var(--dark-green); color: var(--lime); font-size: 11.5px; font-weight: 700;
  padding: 4px 10px; border-radius: var(--radius-full);
}
.intake-block-row { font-size: 13.5px; color: var(--dark-green); margin-top: 6px; }

/* ============================================================
   LANGUAGE FLAGS (Google Translate) — Spanish 🇪🇸 and Mandarin 🇨🇳,
   small flag buttons next to the hamburger icon in every page's header.
   Also hides Google's default translate banner/toolbar/highlighting so
   the page still looks like our own site once translated, instead of
   showing Google's chrome.
   ============================================================ */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.lang-flag-btn {
  background: transparent;
  border: 1.5px solid transparent;
  font-size: 17px;
  line-height: 1;
  padding: 5px 6px;
  border-radius: var(--radius-full);
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.lang-flag-btn:hover { opacity: 1; }
.lang-flag-btn.active { opacity: 1; border-color: var(--dark-green); background: var(--cream); }
.section-dark .lang-flag-btn.active, .site-header.transparent .lang-flag-btn.active { border-color: var(--lime); background: rgba(255,255,255,0.1); } @media (max-width: 860px) { .lang-switch.lang-switch-open { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; position: absolute; top: calc(100% + 10px); right: 0; background: var(--white); padding: 8px; border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(22,48,31,0.18); z-index: 60; } .lang-switch.lang-switch-open .lang-flag-btn:not(.active) { display: inline-flex; } .lang-switch.lang-switch-open::after { display: none; } }

body { top: 0 !important; }
.goog-te-banner-frame.skiptranslate { display: none !important; }
.goog-te-gadget-icon { display: none !important; }
/* Google's widget can fail to fully initialize (and silently never
   translate anything) if its container is display:none at load time —
   it needs to actually lay itself out once. Push it off-screen instead
   so it still renders normally, just somewhere the visitor never sees. */
#google_translate_element {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ============================================================
   DISCLOSURES & COMPLIANCE — video upload disclosure + usage
   permission, recurring-subscription disclosure, one-time payment
   labels, Manage Subscription box, and Terms/Privacy links. Kept
   small and quiet on purpose — same fonts/colors as the rest of the
   site, no boxed warnings — so they read as a natural part of the
   page rather than a legal insert.
   ============================================================ */

/* upload.html — small print above the optional usage-permission
   checkbox, right before the submit button. */
.upload-disclosure-text {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 4px 0 12px;
}
.permission-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 20px;
  cursor: pointer;
}
.permission-checkbox-row input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--dark-green);
  cursor: pointer;
}

/* submit.html — "One-Time Payment" clarity note above the review grid. */
.payment-type-note {
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: -8px 0 20px;
}

/* membership.html — "Recurring Subscription" badge on paid tier cards,
   and the subscription-terms line under each Subscribe button. */
.recurring-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.pricing-tier.featured .recurring-badge { color: rgba(255,255,255,0.6); }
.subscription-disclosure {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 12px;
}
.pricing-tier.featured .subscription-disclosure { color: rgba(255,255,255,0.55); }

/* dashboard.html — Manage Subscription box under the tier badge. */
.subscription-box {
  margin-top: 14px;
}
.subscription-status-note {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 46ch;
  margin-bottom: 2px;
}

/* Shared subtle Terms of Service / Privacy Policy links, placed near
   checkout and account actions. */
.legal-links {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
}
.legal-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-links a:hover { color: var(--dark-green); }

/* terms.html / privacy.html — plain prose legal pages, styled like the
   rest of the site rather than a dense legal document. */
.legal-content {
  max-width: 720px;
}
.legal-content h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 6px; }
.legal-updated { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; }
.legal-content h3 { font-size: 18px; margin: 28px 0 10px; }
.legal-content h3:first-of-type { margin-top: 0; }
.legal-content p { font-size: 15px; color: var(--text-dark); line-height: 1.7; margin-bottom: 4px; }
.legal-content a { text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }

/* admin.html — small marketing-use flag on submission cards, reflecting
   the player's optional video_usage_permission choice at upload. */
.usage-permission-flag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.usage-permission-flag.granted { background: var(--lime-soft); color: var(--dark-green); }
.usage-permission-flag.not-granted { background: rgba(22,48,31,0.06); color: var(--text-muted); }

/* admin.html — Refund button + "already refunded" badge on submission
   cards. Deliberately understated (outline button, not a bold red CTA)
   since this is a rare, deliberate action a coach takes on their own,
   never something to draw the eye toward accidentally clicking. */
.refund-status { margin-bottom: 10px; }
.refund-status .refund-btn { font-size: 12.5px; padding: 6px 14px; }
.refund-status.refunded {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(178,34,34,0.08);
  color: #b22222;
}

/* ============================================================
   OFFERS & PROMOTIONS (admin.html) — table, status pills, and the
   create/edit modal. Same card/button/form language as the rest of
   admin.html, just a wider modal to fit the offer form.
   ============================================================ */
.offers-panel-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 20px;
}
.offers-table { background: var(--white); border-radius: var(--radius-lg); border: 1px solid rgba(22,48,31,0.08); overflow: hidden; overflow-x: auto; }
.offers-table-head, .offers-table-row {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1.2fr 1.1fr 0.9fr 1fr 0.8fr 1.6fr;
  gap: 10px; align-items: center; padding: 14px 18px; min-width: 900px;
}
.offers-table-head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); border-bottom: 1px solid rgba(22,48,31,0.08); }
.offers-table-row { font-size: 13px; border-bottom: 1px solid rgba(22,48,31,0.06); }
.offers-table-row:last-child { border-bottom: none; }
.offers-cell-name { font-weight: 700; display: flex; flex-direction: column; gap: 4px; }
.offers-code-chip {
  display: inline-block; align-self: flex-start; background: var(--cream); color: var(--dark-green);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.03em; padding: 2px 8px; border-radius: var(--radius-full);
  border: 1px solid rgba(22,48,31,0.12);
}
.offers-row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.offers-row-actions button {
  background: none; border: 1.5px solid rgba(22,48,31,0.15); border-radius: var(--radius-full);
  padding: 5px 11px; font-size: 11.5px; font-weight: 700; color: var(--text-dark); cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.offers-row-actions button:hover { border-color: var(--dark-green); background: var(--cream); }
.offer-status-active { background: var(--lime-soft); color: var(--dark-green); }
.offer-status-paused { background: #fff2cc; color: #8a6d00; }
.offer-status-scheduled { background: #e3ecff; color: #2a4d9c; }
.offer-status-expired { background: rgba(22,48,31,0.08); color: var(--text-muted); }

.offer-modal-overlay {
  position: fixed; inset: 0; background: rgba(22,48,31,0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 999; padding: 20px;
}
.offer-modal {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  max-width: 640px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.offer-modal h3 { font-size: 19px; margin-bottom: 4px; }
.offer-modal .sub { color: var(--text-muted); font-size: 12.5px; margin-bottom: 22px; }
.offer-field-group {
  background: var(--cream); border-radius: var(--radius-md); padding: 18px 20px;
  margin: 6px 0 20px;
}
.offer-group-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted); margin-bottom: 12px;
}
.offer-checkbox-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 16px;
}

@media (max-width: 760px) {
  .offers-table-head, .offers-table-row { min-width: 760px; }
}

/* ============================================================
   CHECKOUT.HTML / CHECKOUT-SUCCESS.HTML — the simplified membership
   checkout page and the post-payment welcome screen. Same card/button
   language as auth-card, sized for a small, fast, single-purpose flow.
   ============================================================ */
.checkout-wrap { max-width: 460px; margin: 0 auto; }
.checkout-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px;
  border: 1px solid rgba(22,48,31,0.08);
}
.checkout-plan-name { font-size: 26px; margin-bottom: 10px; }
.checkout-price-display { margin-bottom: 20px; }
.checkout-price-main {
  font-family: 'Archivo Black', sans-serif; font-size: 34px; color: var(--dark-green);
}
.checkout-price-main span { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; color: var(--text-muted); margin-left: 2px; }
.checkout-price-strike { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 18px; color: var(--text-muted); text-decoration: line-through; margin-right: 6px; }
.checkout-price-sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.checkout-highlights { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 8px; }
.checkout-highlights li { font-size: 14px; padding-left: 22px; position: relative; }
.checkout-highlights li::before { content: '✓'; position: absolute; left: 0; color: var(--dark-green); font-weight: 700; }

.checkout-promo-row { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(22,48,31,0.08); }
.checkout-promo-row label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.checkout-promo-input-row { display: flex; gap: 8px; }
.checkout-promo-input-row input {
  flex: 1; padding: 10px 14px; border-radius: 10px; border: 1.5px solid rgba(22,48,31,0.15);
  background: var(--cream); font-family: inherit; font-size: 13.5px;
}
.checkout-promo-input-row input:focus { outline: none; border-color: var(--dark-green); }
.checkout-promo-status { font-size: 12.5px; color: var(--text-muted); margin-top: 8px; min-height: 16px; }
.checkout-promo-status.checkout-promo-ok { color: #1a7a3b; font-weight: 700; }
.checkout-card-note { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin: 4px 0 4px; }

.checkout-success-wrap { max-width: 480px; margin: 0 auto; text-align: center; padding: 40px 0; }
.checkout-success-badge { font-size: 48px; margin-bottom: 10px; }
.checkout-success-wrap h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 10px; }
.checkout-success-sub { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; }
.checkout-success-actions { display: flex; flex-direction: column; gap: 12px; }
.checkout-success-note { font-size: 13px; color: var(--text-muted); margin-top: 24px; }
.checkout-success-note a { text-decoration: underline; font-weight: 700; }

/* dashboard.html — canceled-membership state gets a slightly different
   treatment (lime Reactivate button) than the normal active state. */
.subscription-box-canceled { padding: 14px 16px; background: var(--cream); border-radius: var(--radius-md); }
.subscription-box-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }

/* ============================================================
   INSTAGRAM BOT (admin.html) — sub-tab nav within the Instagram Bot
   top-level tab, reusing .offers-table/.offer-modal-overlay/.offer-modal
   from the Offers & Promotions module above for identical table/modal
   styling, with small overrides for this module's different column
   counts.
   ============================================================ */
.igbot-subtabs {
  display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap;
  background: var(--cream); border-radius: var(--radius-full); padding: 4px; width: fit-content;
}
.igbot-subtabs button {
  border: none; background: none; padding: 9px 18px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 13px; cursor: pointer; color: var(--text-muted);
}
.igbot-subtabs button.active { background: var(--dark-green); color: var(--lime); }
.igbot-subpanel { display: none; }
.igbot-subpanel.active { display: block; }

.igoffers-table .offers-table-head, .igoffers-table .offers-table-row {
  grid-template-columns: 1.6fr 1fr 0.8fr 0.9fr 1fr 1.4fr;
  min-width: 700px;
}
.igbanks-table .offers-table-head, .igbanks-table .offers-table-row {
  grid-template-columns: 2fr 1fr 1.2fr 0.6fr 0.9fr 1.6fr;
  min-width: 760px;
}
.ig-alias-note { font-size: 11px; color: var(--text-muted); font-weight: 600; margin-top: 2px; }

.igbot-settings-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid rgba(22,48,31,0.08); max-width: 620px;
}

.igbank-sim-result {
  margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-md);
  background: var(--cream); font-size: 13px; line-height: 1.6;
}

/* ============================================================
   NEWSLETTER (admin.html) — "The Pickle Jar" campaign builder, reusing
   .offers-table/.offer-modal-overlay/.offer-modal/.offer-field-group/
   .igbot-subtabs/.topic-pill from the Offers & Promotions / Instagram Bot
   modules above, with its own column widths, status banner, block-editor
   rows, and email preview frame.
   ============================================================ */
.nl-banner {
  border-radius: var(--radius-md); padding: 14px 18px; margin-bottom: 18px;
  font-size: 13.5px; font-weight: 600; line-height: 1.5;
}
.nl-banner-error { background: #fde8e6; color: #8a271f; border: 1.5px solid #f2b8b2; }
.nl-banner-ok { background: var(--lime-soft); color: var(--dark-green); border: 1.5px solid rgba(22,48,31,0.1); }

.nl-campaigns-table .offers-table-head, .nl-campaigns-table .offers-table-row {
  grid-template-columns: 1.5fr 1.6fr 0.8fr 1.2fr 1fr 0.9fr 1.2fr;
  min-width: 920px;
}
.nl-subscribers-table .offers-table-head, .nl-subscribers-table .offers-table-row {
  grid-template-columns: 1.6fr 1.1fr 0.8fr 0.9fr 1.3fr 0.9fr;
  min-width: 820px;
}
.nl-segments-table .offers-table-head, .nl-segments-table .offers-table-row {
  grid-template-columns: 2fr 1fr;
  min-width: 0;
}

.nl-campaign-modal { max-width: 920px; }

.nl-block-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.nl-block-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--white); border: 1.5px solid rgba(22,48,31,0.1); border-radius: var(--radius-md);
  padding: 10px 14px; font-size: 13px;
}
.nl-block-summary { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nl-block-actions { display: flex; gap: 4px; flex-shrink: 0; }
.nl-block-actions button {
  background: none; border: 1.5px solid rgba(22,48,31,0.15); border-radius: var(--radius-full);
  padding: 4px 10px; font-size: 11.5px; font-weight: 700; color: var(--text-dark); cursor: pointer;
}
.nl-block-actions button:hover:not(:disabled) { border-color: var(--dark-green); background: var(--cream); }
.nl-block-actions button:disabled { opacity: 0.35; cursor: default; }

.nl-preview-frame-wrap {
  background: var(--cream); border-radius: var(--radius-md); padding: 20px;
  overflow-x: auto; display: flex; justify-content: center;
}
.nl-preview-frame {
  width: 600px; max-width: 100%; background: var(--white); border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: width 0.2s ease;
}
.nl-preview-inner { padding: 28px; max-height: 480px; overflow-y: auto; }

.nl-analytics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.nl-analytics-card {
  background: var(--white); border: 1px solid rgba(22,48,31,0.08); border-radius: var(--radius-md);
  padding: 18px; text-align: center;
}
.nl-analytics-num { font-family: 'Archivo Black', sans-serif; font-size: 28px; color: var(--dark-green); }
.nl-analytics-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-top: 4px; }

@media (max-width: 760px) {
  .nl-campaigns-table .offers-table-head, .nl-campaigns-table .offers-table-row { min-width: 820px; }
  .nl-subscribers-table .offers-table-head, .nl-subscribers-table .offers-table-row { min-width: 700px; }
  .nl-preview-frame { width: 100% !important; }
}

/* ============================================================
   VIDEO LIBRARY MANAGER (admin.html) — reuses .offers-table/
   .offer-modal-overlay/.offer-modal/.offer-checkbox-grid from the
   Offers & Promotions module above (same pattern as the Instagram Bot
   module), with its own column widths (extra thumbnail column) and a
   few video-specific components: search/filter row, thumbnail preview
   in the modal, and the coaching-topic chip picker.
   ============================================================ */
.videolib-table .offers-table-head, .videolib-table .offers-table-row {
  grid-template-columns: 0.5fr 1.8fr 1.3fr 0.8fr 0.9fr 1fr 0.8fr 1.6fr;
  min-width: 980px;
}
.videolib-thumb-cell { width: 56px; height: 32px; object-fit: cover; border-radius: 6px; display: block; }

.videolib-search-row { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; min-width: 260px; }
.videolib-search-row input[type="text"] {
  flex: 1; min-width: 200px; padding: 10px 14px; border-radius: 10px;
  border: 1.5px solid rgba(22,48,31,0.15); background: var(--white);
  font-family: inherit; font-size: 13.5px; color: var(--text-dark);
}
.videolib-search-row select {
  padding: 10px 12px; border-radius: 10px; border: 1.5px solid rgba(22,48,31,0.15);
  background: var(--white); font-family: inherit; font-size: 13px; color: var(--text-dark);
}

.videolib-thumb-preview { margin: -6px 0 16px; }
.videolib-thumb-preview img {
  width: 100%; max-width: 280px; aspect-ratio: 16/9; object-fit: cover;
  border-radius: var(--radius-md); display: block;
}

.videolib-topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.topic-chip {
  display: inline-flex; align-items: center; gap: 6px; background: var(--lime-soft); color: var(--dark-green);
  font-size: 12.5px; font-weight: 700; padding: 6px 8px 6px 12px; border-radius: var(--radius-full);
}
.topic-chip-remove {
  background: none; border: none; color: inherit; font-size: 15px; line-height: 1;
  cursor: pointer; padding: 0 2px; font-family: inherit;
}
.topic-chip-remove:hover { opacity: 0.6; }

@media (max-width: 760px) {
  .videolib-table .offers-table-head, .videolib-table .offers-table-row { min-width: 860px; }
}

/* ============================================================
   VIDEO LIBRARY (library.html) — the member-facing video library:
   search/filter toolbar, horizontally-scrolling category pills, a
   Coach Picks row, the lightweight thumbnail-based card grid (never
   embeds an iframe until a video is actually opened), and the video
   detail modal (embed + coaching notes + Keep Working related row).
   ============================================================ */
.vlib-toolbar {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 16px;
}
.vlib-toolbar input[type="text"] {
  flex: 1; min-width: 220px; padding: 12px 18px; border-radius: var(--radius-full);
  border: 1.5px solid rgba(22,48,31,0.15); background: var(--white);
  font-family: inherit; font-size: 14px; color: var(--text-dark);
}
.vlib-toolbar input[type="text"]:focus { outline: none; border-color: var(--dark-green); }
.vlib-toolbar-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.vlib-toolbar-filters select {
  padding: 11px 14px; border-radius: var(--radius-full); border: 1.5px solid rgba(22,48,31,0.15);
  background: var(--white); font-family: inherit; font-size: 13.5px; color: var(--text-dark);
}

.vlib-category-nav {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 14px; margin-bottom: 4px;
  scrollbar-width: thin;
}
.vlib-cat-pill {
  flex: 0 0 auto; border: 1.5px solid rgba(22,48,31,0.15); background: var(--white);
  color: var(--text-dark); font-weight: 700; font-size: 12.5px; letter-spacing: 0.02em;
  padding: 9px 18px; border-radius: var(--radius-full); cursor: pointer; white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.vlib-cat-pill:hover { border-color: var(--dark-green); }
.vlib-cat-pill.active { background: var(--dark-green); border-color: var(--dark-green); color: var(--lime); }

.vlib-section-title { font-size: 18px; margin-bottom: 14px; }

.vlib-featured-row, .vlib-related-grid {
  display: flex; gap: 18px; overflow-x: auto; padding-bottom: 10px;
}
.vlib-featured-row .vlib-card, .vlib-related-grid .vlib-card { flex: 0 0 260px; }

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

.vlib-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(22,48,31,0.08); display: flex; flex-direction: column;
}
.vlib-card-thumb { position: relative; aspect-ratio: 16/9; background: #000; }
.vlib-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vlib-card-thumb-empty { width: 100%; height: 100%; background: var(--cream); }
.vlib-card-duration {
  position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,0.75); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px;
}
.vlib-card-lock {
  position: absolute; inset: 0; background: rgba(22,48,31,0.55);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.vlib-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.vlib-card-category {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted);
}
.vlib-card-body h3 { font-size: 16.5px; line-height: 1.3; margin: 0; }
.vlib-card-focus {
  align-self: flex-start; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--dark-green); background: var(--lime-soft);
  padding: 3px 10px; border-radius: var(--radius-full);
}
.vlib-card-cue { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.4; }
.vlib-card-footer {
  margin-top: auto; padding-top: 12px; display: flex; align-items: center;
  justify-content: space-between; gap: 10px;
}
.vlib-card-level { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.vlib-card-cta { padding: 9px 16px; font-size: 12.5px; white-space: nowrap; }
.vlib-card-locked .vlib-card-body h3, .vlib-card-locked .vlib-card-cue { opacity: 0.7; }
@media (max-width: 640px) {
    .vlib-card-footer { flex-direction: column; align-items: stretch; gap: 8px; }
    .vlib-card-cta { width: 100%; white-space: normal; text-align: center; }
}

.vlib-modal-overlay {
  position: fixed; inset: 0; background: rgba(22,48,31,0.65);
  display: flex; align-items: center; justify-content: center;
  z-index: 999; padding: 20px; overflow-y: auto;
}
.vlib-modal {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  max-width: 700px; width: 100%; max-height: 92vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3); position: relative;
}
.vlib-modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px;
  border-radius: var(--radius-full); border: none; background: rgba(0,0,0,0.55); color: var(--white);
  font-size: 20px; line-height: 1; cursor: pointer;
}
.vlib-modal #vlib-modal-embed .video-embed { border-radius: 0; margin: 0; }
.vlib-modal-body { padding: 24px 26px 30px; }
.vlib-modal-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.vlib-badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--text-muted); background: var(--cream); padding: 4px 10px; border-radius: var(--radius-full);
}
.vlib-modal-body h2 { font-size: 24px; margin-bottom: 10px; }
.vlib-modal-focus {
  display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--dark-green); background: var(--lime-soft);
  padding: 5px 14px; border-radius: var(--radius-full); margin-bottom: 10px;
}
.vlib-modal-cue { font-size: 15px; color: var(--text-dark); margin: 0 0 16px; font-weight: 600; }
.vlib-modal-takeaways { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.vlib-modal-takeaways li { font-size: 14px; padding-left: 22px; position: relative; }
.vlib-modal-takeaways li::before { content: '✓'; position: absolute; left: 0; color: var(--dark-green); font-weight: 700; }
.vlib-modal-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--lime-soft); border-radius: var(--radius-md); padding: 16px 18px; margin: 0 0 4px;
}
.vlib-modal-cta-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vlib-modal-cta-text strong { font-size: 15px; color: var(--dark-green); }
.vlib-modal-cta-text span { font-size: 13px; color: var(--text-muted); }
.vlib-modal-cta .btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 480px) {
  .vlib-modal-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .vlib-modal-cta .btn { width: 100%; text-align: center; }
}
.vlib-keepworking { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(22,48,31,0.08); }
.vlib-keepworking h3 { font-size: 15px; margin-bottom: 12px; }
.vlib-keepworking .vlib-card-body { padding: 12px 14px 14px; }
.vlib-keepworking .vlib-card-body h3 { font-size: 14px; }

@media (max-width: 640px) {
  .vlib-toolbar { flex-direction: column; align-items: stretch; }
  .vlib-toolbar-filters { justify-content: stretch; }
  .vlib-toolbar-filters select { flex: 1; }
  .vlib-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .vlib-modal-body { padding: 18px 18px 24px; }
}
@media (max-width: 420px) {
  .vlib-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   YOUTUBE PLAYLIST IMPORT (admin.html) — the Import Playlist panel,
   preview rows, Sync review panel, and the Quick Edit banner inside the
   existing Add/Edit Video modal. Reuses .offer-modal-overlay/.offer-modal
   for both new panels (same pattern as every other admin module).
   ============================================================ */
.videolib-header-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.videolib-quickedit-banner {
  background: var(--lime-soft); color: var(--dark-green); font-size: 13px; font-weight: 700;
  padding: 10px 16px; border-radius: var(--radius-md); margin-top: 18px;
}

.videolib-needsdetails-chip { background: #fff2cc; color: #8a6d00; border-color: transparent; }

.videolib-import-modal { max-width: 760px; }

.videolib-import-defaults {
  background: var(--cream); border-radius: var(--radius-md); padding: 16px 18px; margin: 4px 0 18px;
}
.videolib-import-defaults-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted); margin-bottom: 12px;
}

.videolib-import-select-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.videolib-import-select-summary { font-size: 12.5px; color: var(--text-muted); }

.videolib-import-preview-list {
  max-height: 360px; overflow-y: auto; border: 1px solid rgba(22,48,31,0.08);
  border-radius: var(--radius-md); background: var(--white);
}
.videolib-import-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-bottom: 1px solid rgba(22,48,31,0.06);
}
.videolib-import-row:last-child { border-bottom: none; }
.videolib-import-row-thumb {
  width: 72px; height: 40px; object-fit: cover; border-radius: 6px; background: var(--cream); flex: 0 0 auto;
}
.videolib-import-row-body { flex: 1; min-width: 0; }
.videolib-import-row-title { font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.videolib-import-row-meta { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }

.videolib-import-progress {
  background: var(--cream); border-radius: var(--radius-md); padding: 14px 16px;
  font-size: 13.5px; font-weight: 700; text-align: center; margin: 12px 0;
}
.videolib-import-complete {
  background: var(--lime-soft); border-radius: var(--radius-md); padding: 18px 20px; margin: 12px 0; text-align: center;
}
.videolib-import-complete h4 { margin-bottom: 8px; }
.videolib-import-complete p { font-size: 13.5px; line-height: 1.6; margin-bottom: 14px; }
.videolib-import-errors { color: #a33; font-size: 12px; text-align: left; }

.videolib-playlists-list {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid rgba(22,48,31,0.08);
  padding: 4px 0; margin-bottom: 18px;
}
.videolib-playlists-label-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 18px 6px;
}
.videolib-playlists-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-muted);
}
.videolib-playlists-add-btn {
  background: none; border: 1.5px solid rgba(22,48,31,0.15); border-radius: var(--radius-full);
  padding: 5px 14px; font-size: 11.5px; font-weight: 700; color: var(--dark-green); cursor: pointer;
}
.videolib-playlists-add-btn:hover { border-color: var(--dark-green); background: var(--cream); }
.videolib-playlist-row {
  display: flex; align-items: center; gap: 14px; padding: 10px 18px;
  border-top: 1px solid rgba(22,48,31,0.06);
}
.videolib-playlist-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.videolib-playlist-title { font-weight: 700; font-size: 13.5px; }
.videolib-playlist-meta { font-size: 12px; color: var(--text-muted); }
.videolib-playlist-sync-btn {
  background: none; border: 1.5px solid rgba(22,48,31,0.15); border-radius: var(--radius-full);
  padding: 5px 14px; font-size: 11.5px; font-weight: 700; color: var(--text-dark); cursor: pointer;
  flex-shrink: 0;
}
.videolib-playlist-sync-btn:hover { border-color: var(--dark-green); background: var(--cream); }

.videolib-playlists-empty {
  background: var(--white); border-radius: var(--radius-lg); border: 1px dashed rgba(22,48,31,0.18);
  padding: 20px 18px; margin-bottom: 18px; text-align: center;
}
.videolib-playlists-empty p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 12px; max-width: 52ch; margin-left: auto; margin-right: auto; }

.videolib-sync-group { margin-bottom: 16px; }
.videolib-sync-group-label { font-size: 12.5px; font-weight: 700; color: var(--dark-green); margin-bottom: 6px; }
.videolib-sync-item { font-size: 13px; padding: 6px 0; border-bottom: 1px solid rgba(22,48,31,0.06); }
.videolib-sync-item:last-child { border-bottom: none; }
.videolib-sync-item-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.videolib-sync-row-check { flex-shrink: 0; width: 16px; height: 16px; }

@media (max-width: 760px) {
  .videolib-import-row { flex-wrap: wrap; }
  .videolib-import-row-thumb { width: 100%; height: 120px; }
}

/* ============================================================
   VIDEO ACCESS CONTROL (admin.html + library.html) — the 4-level
   access selector in the Add/Edit Video modal and Import defaults,
   the Access column pill in the admin table, the bulk-action bar,
   and the member-facing library's access badges, YOUR ACCESS
   summary, locked-card treatment, and access/upsell modal.
   ============================================================ */

/* -- Admin: Access selector + tier picker (video modal + import defaults) -- */
.videolib-access-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* -- Admin: Access pill shown in the video table -- */
.videolib-access-pill {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; padding: 4px 10px; border-radius: var(--radius-full); white-space: nowrap;
}
.videolib-access-public { background: var(--lime-soft); color: var(--dark-green); }
.videolib-access-all_members { background: #e6f0ff; color: #1a4d8f; }
.videolib-access-paid_members { background: #fdeccf; color: #8a5a00; }
.videolib-access-specific_tier { background: #f1e4ff; color: #5c2d91; }

/* -- Admin: video table gains a checkbox column for bulk selection -- */
.videolib-table-bulk .offers-table-head, .videolib-table-bulk .offers-table-row {
  grid-template-columns: 0.3fr 0.5fr 1.6fr 1.2fr 0.7fr 0.8fr 0.9fr 0.7fr 1.5fr;
  min-width: 1040px;
}
@media (max-width: 760px) {
  .videolib-table-bulk .offers-table-head, .videolib-table-bulk .offers-table-row { min-width: 1040px; }
}

/* -- Admin: bulk action bar -- */
.videolib-bulk-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--dark-green); color: var(--lime); border-radius: var(--radius-md);
  padding: 12px 16px; margin-bottom: 14px;
}
.videolib-bulk-bar .btn { padding: 8px 14px; font-size: 12.5px; }
.videolib-bulk-count { font-size: 13px; font-weight: 700; }
.videolib-bulk-divider { width: 1px; align-self: stretch; background: rgba(238,248,189,0.25); }
.videolib-bulk-setaccess { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; }
.videolib-bulk-setaccess select {
  padding: 7px 10px; border-radius: 8px; border: 1.5px solid rgba(238,248,189,0.3);
  background: var(--dark-green); color: var(--lime); font-family: inherit; font-size: 12.5px;
}
.videolib-bulk-setaccess .offer-checkbox-grid { color: var(--white); min-width: 200px; }
.videolib-bulk-status { font-size: 12px; color: var(--lime); }

/* -- Library: subtle access badge on each card thumbnail -- */
.vlib-card-access-badge {
  position: absolute; left: 8px; top: 8px; font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; padding: 3px 9px; border-radius: var(--radius-full); color: var(--white);
  background: rgba(22,48,31,0.7);
}
.vlib-card-access-badge.vlib-access-public { background: rgba(22,48,31,0.55); }

/* -- Library: "YOUR ACCESS" summary for signed-in members -- */
.vlib-your-access {
  background: var(--lime-soft); color: var(--dark-green); font-size: 13.5px; font-weight: 600;
  padding: 12px 18px; border-radius: var(--radius-md); margin-bottom: 16px;
}
.vlib-your-access-label { font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 12px; margin-right: 4px; }

/* -- Library: locked-card supporting copy (kept low-key, not sales-heavy) -- */
.vlib-card-locked-info { display: flex; flex-direction: column; gap: 2px; }
.vlib-card-locked-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--text-muted); }
.vlib-card-locked-req { font-size: 11.5px; color: var(--text-muted); }

/* -- Library: access/upsell modal shown instead of the player for locked videos -- */
.vlib-access-modal-overlay {
  position: fixed; inset: 0; background: rgba(22,48,31,0.65);
  display: flex; align-items: center; justify-content: center;
  z-index: 999; padding: 20px;
}
.vlib-access-modal {
  background: var(--white); border-radius: var(--radius-lg); max-width: 420px; width: 100%;
  padding: 32px 28px; position: relative; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.vlib-access-modal h2 { font-size: 19px; margin-bottom: 10px; }
.vlib-access-modal p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 22px; }
.vlib-access-modal-actions { display: flex; flex-direction: column; gap: 10px; }

/* ---- Celebration banner (100% / level-up pickleball rain) ---- */
.celebration-banner {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--dark-green); color: var(--lime);
  font-family: 'Archivo Black', sans-serif; font-size: clamp(20px, 4vw, 30px);
  padding: 18px 32px; border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  text-align: center; white-space: nowrap; z-index: 10000;
}
@media (max-width: 500px) {
  .celebration-banner { white-space: normal; padding: 16px 22px; }
}

/* ============================================================
   /* Grid items default to min-width:auto, which lets .plan-preview-col-wide grow to fit its content instead of respecting the grid track, so the demo/preview area's own inner strip can genuinely overflow -- min-width:0 fix. */ .plan-preview-col-wide { min-width: 0; } /* Grid items default to min-width:auto (content-based), so a long video title/description here can force this column wider than its grid track, pushing the whole card (including the 100%-width video embed) past the viewport on phones -- same fix pattern as .plan-preview-col-wide. */ .training-col { min-width: 0; } /* ===== Scroll-triggered discount popup (sitewide, admin-editable via admin.html Popup tab) ===== */ .tkp-popup-overlay { position: fixed; inset: 0; background: rgba(14,32,22,0.55); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; } .tkp-popup-overlay.tkp-popup-visible { opacity: 1; pointer-events: auto; } .tkp-popup-card { position: relative; background: var(--white); border-radius: var(--radius-lg); max-width: 400px; width: 100%; padding: 32px 28px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.3); transform: translateY(12px) scale(0.97); transition: transform 0.25s ease; } .tkp-popup-overlay.tkp-popup-visible .tkp-popup-card { transform: translateY(0) scale(1); } .tkp-popup-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 24px; line-height: 1; color: var(--text-muted); cursor: pointer; padding: 4px; } .tkp-popup-close:hover { color: var(--text-dark); } .tkp-popup-headline { font-family: 'Archivo Black', sans-serif; font-size: 22px; color: var(--dark-green); margin-bottom: 10px; line-height: 1.2; } .tkp-popup-subtext { font-size: 14.5px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; } .tkp-popup-code-row { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--cream); border: 1.5px dashed var(--lime); border-radius: var(--radius-md); padding: 10px 16px; margin-bottom: 20px; } .tkp-popup-code { font-weight: 700; letter-spacing: 0.06em; color: var(--dark-green); font-size: 16px; } .tkp-popup-copy-btn { background: var(--dark-green); color: var(--white); border: none; border-radius: var(--radius-full); padding: 5px 12px; font-size: 12px; font-weight: 700; cursor: pointer; } .tkp-popup-copy-btn:hover { opacity: 0.85; } .tkp-popup-cta { display: inline-block; width: 100%; text-align: center; padding: 14px 20px; font-size: 15px; } @media (max-width: 480px) { .tkp-popup-card { padding: 26px 20px; } .tkp-popup-headline { font-size: 19px; } } MOBILE APP-LIKE POLISH — GLOBAL (sitewide responsive pass)
   Applies on top of every module's own responsive rules above —
   this section never overrides desktop (≥861px) behavior, it only
   adds/adjusts mobile-and-tablet treatment (tap targets, overflow
   safety, bottom-sheet modals, the new bottom nav, and a handful
   of small stacking/prominence fixes). Every existing @media rule
   elsewhere in this file is untouched.
   ============================================================ */

/* Safety net — a single element overflowing its container anywhere
   on the site (a wide table, a long unbroken string, a stray fixed
   width) can force the whole page to scroll sideways. This has no
   effect on anything that already fits, and doesn't clip any
   intentionally-scrollable inner containers (those use overflow-x
   on their own element, e.g. .vlib-category-nav, .dcal-strip,
   .offers-table), only the outer <html>/<body>. */
html, body { max-width: 100%; overflow-x: hidden; }

/* Tap targets — comfortably tappable on a touchscreen, per Apple/
   Google's ~44px guidance. Desktop hover/click sizing is untouched
   above 760px. */
@media (max-width: 760px) {
  .btn { min-height: 48px; }
  .nav-toggle { min-width: 44px; min-height: 44px; font-size: 26px; }
  .vlib-modal-close { width: 40px; height: 40px; top: 14px; right: 14px; font-size: 22px; }
  .videolib-playlist-sync-btn, .topic-chip-remove, .lang-flag-btn { min-height: 36px; }
  input[type="checkbox"], input[type="radio"] { min-width: 20px; min-height: 20px; }
  .permission-checkbox-row input[type="checkbox"] { min-width: 22px; min-height: 22px; margin-top: 2px; }
  .offers-row-actions button, .videolib-search-row select, .cal-filter-btn { min-height: 40px; }
}

/* Scrollable tab bars — .dash-tabs is shared by both the member
   dashboard (My Training/Submissions/Orders/My Plan) and the coach
   dashboard (9 tabs: Radar/Submissions/Plans/Calendar/Progress/
   Library/Video Library/Offers/Instagram Bot). At phone widths a
   fixed-width flex row of that many tabs would either wrap messily
   or force the whole page to scroll sideways — this turns the tab
   bar itself into a contained horizontal scroller instead, which is
   both the fix and a more native, app-like tab-bar feel. */
@media (max-width: 760px) {
  .dash-tabs {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 12px; margin-bottom: 20px;
  }
  .dash-tabs::-webkit-scrollbar { display: none; }
  .dash-tabs button { flex: 0 0 auto; padding: 10px 6px; margin-right: 22px; font-size: 13.5px; }
  .igbot-subtabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Bottom-sheet modals — every content modal on the site shares one
   of these overlay/panel class pairs (.offer-modal-overlay is reused
   by every admin.html panel: video edit, playlist import, sync
   review, grant-access, offers, Instagram automations — plus
   library.html's video detail/access modals and dashboard.html's
   day-detail modal). On a phone, a small centered card reads as "a
   desktop dialog that got shrunk" — sliding a near-full-width sheet
   up from the bottom, with the safe-area-aware bottom padding below,
   reads as native mobile UI instead. Desktop (≥641px) keeps the
   existing centered-card treatment untouched. */
@media (max-width: 640px) {
  .offer-modal-overlay, .vlib-modal-overlay, .vlib-access-modal-overlay,
  .dcal-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .offer-modal, .vlib-modal, .vlib-access-modal, .dcal-modal {
    max-width: 100%;
    width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  .vlib-modal-close, #vlib-access-modal-close { top: 12px; right: 12px; }
}

/* My Plan day-picker strip — larger day cards on phones (spec calls
   for roughly 2-3 visible at a time with a comfortable swipe, rather
   than the denser desktop strip) plus a bit more breathing room
   between them for an easier thumb-swipe. */
@media (max-width: 640px) {
  .dcal-strip { gap: 10px; }
  .dcal-day-card { flex: 0 0 72px; padding: 12px 6px; }
  .dcal-day-card .day-date { font-size: 18px; }
}

/* Membership page — the recommended plan reads first on a stacked
   mobile layout, same as it visually leads on desktop (elevated +
   glowing card). Pure visual reorder — DOM order, pricing, and copy
   are unchanged. */
@media (max-width: 900px) {
  .pricing-tier.featured { order: -1; }
}

/* Video Review picker (submit.html) — price + full-width "Pay &
   Continue"/"Continue" button stacked instead of squeezed side by
   side, so the primary action is unmistakably the biggest tap target
   on the card. */
@media (max-width: 640px) {
  .format-detail-card .card-footer { flex-direction: column; align-items: stretch; gap: 12px; }
  .format-detail-card .price-note { font-size: 15px; text-align: center; }
  .format-detail-card .card-footer .btn { width: 100%; }
}

/* Tighter section rhythm on phones — the desktop 88px/56px section
   padding reads as generous breathing room on a large screen, but as
   sluggish over-scrolling on a phone between short marketing blocks.
   Trims it down without touching tablet/desktop (≥641px unchanged). */
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .section-tight { padding: 36px 0; }
  .cta-band { padding: 32px 24px; }
  .cta-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-actions .btn { width: 100%; }
}

/* Homepage hero — keeps the primary CTA ("Get a Video Review") the
   obvious, full-width, one-thumb-reachable action on narrow phones;
   the secondary CTA stays visible right below it instead of
   competing for the same row. ≥481px keeps the existing side-by-side
   button row untouched. */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* Instagram Bot — Automations list becomes stacked cards on phones
   instead of a horizontally-scrolled table, per the data-label
   attributes added to each cell in admin.html's
   renderIgAutomationsTable(). Every other admin table (Offers &
   Promotions, Video Library Manager, Approved Offers) keeps the
   existing horizontal-scroll pattern already used sitewide for
   dense admin-only data — Automations gets the card treatment
   because it's the one coaches are most likely to check quickly
   from a phone (pause/resume a live automation). */
@media (max-width: 640px) {
  .igauto-table .offers-table-head { display: none; }
  .igauto-table .offers-table-row {
    display: flex; flex-direction: column; gap: 8px; padding: 16px 18px;
  }
  .igauto-table .offers-table-row > span { display: block; }
  .igauto-table .offers-table-row > span[data-label]::before {
    content: attr(data-label); display: block; font-size: 10.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 2px;
  }
  .igauto-table .offers-row-actions { flex-wrap: wrap; gap: 8px; margin-top: 4px; }
  .igauto-table .offers-row-actions button { flex: 1 1 auto; min-width: 84px; }
}

/* ---- Bottom nav — app-like primary navigation for the member-
   facing surfaces (dashboard, video library, upload, account). Not
   a second router: every item is a normal link to an existing page,
   nothing here duplicates or conflicts with .main-nav — the two are
   simply never both visible at the same time (bottom nav is mobile-
   only; .main-nav's hamburger menu keeps working exactly as before
   at every width). Coach/admin pages (admin.html) intentionally do
   NOT get this — they keep the existing compact hamburger menu only,
   per the "desktop remains the primary coach experience" scope. ---- */
.mobile-bottom-nav { display: none; }
@media (max-width: 760px) {
  body.has-bottom-nav { padding-bottom: calc(68px + env(safe-area-inset-bottom)); } body.has-bottom-nav .header-cta { display: none; }
  .mobile-bottom-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--white); border-top: 1px solid rgba(22,48,31,0.1);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(22,48,31,0.06);
  }
  .mobile-bottom-nav a {
    flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 6px 2px; border-radius: 12px; color: var(--text-muted);
    font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
  }
  .mobile-bottom-nav a .mbn-icon { font-size: 19px; line-height: 1; }
  .mobile-bottom-nav a.active { color: var(--dark-green); }
  .mobile-bottom-nav a.active .mbn-icon { transform: translateY(-1px); }
}

/* ---- Landscape phones — a light touch only (per scope: not heavily
   optimized, just no broken layouts). Shrinks the tallest sections so
   primary content and CTAs aren't pushed fully off a ~375-branch-tall
   landscape viewport. ---- */
@media (max-height: 480px) and (orientation: landscape) and (max-width: 900px) {
  .hero { padding: 28px 0 36px; }
  .section { padding: 40px 0; }
  .section-tight { padding: 28px 0; }
  .mobile-bottom-nav { display: none; }
  body.has-bottom-nav { padding-bottom: 0; }
}
