/* live-classes.css — Pass-2 page styles (generated by tools/pass2-css.mjs) */

/* ===== folded external sheet: live-classes.css ===== */
/* ============================================================================
   live-classes.css — shared styles for live-classes.html + my-live-classes.html
   ----------------------------------------------------------------------------
   Structure (PHP-conversion friendly):
     1. Design tokens (:root)               — shared CodeCampus palette
     2. Base elements
     3. Global header  (.gh)                — reusable across pages
     4. Global footer  (.gf)                — reusable across pages
     5. Page shell + hero  (.lc-*)
     6. Filter tabs  (.lc-filters)
     7. Schedule layout + class cards  (.lc-card)
     8. Badges (type / status / level) + action buttons
     9. Info sidebar  (.lc-aside)
    10. "My classes" cards + past history + empty state
    11. Responsive overrides
   ============================================================================ */

/* ── 1. Design tokens ─────────────────────────────────────────────────────── */
:root {
  --bg: #fbfaf7;
  --bg-elev: #ffffff;
  --bg-sunk: #f3f1ec;
  --ink: #1a1a1a;
  --ink-2: #4a4a4a;
  --ink-3: #8a8780;
  --ink-4: #c4c1b8;
  --line: rgba(20,18,12,0.08);
  --line-2: rgba(20,18,12,0.04);
  --accent: #4f5eed;
  --accent-2: #6b7afa;
  --accent-soft: rgba(79,94,237,0.10);
  --accent-ink: #2b3aa8;
  --ok: #1f8a5a;
  --ok-soft: rgba(31,138,90,0.10);
  --warn: #c97a2b;
  --warn-soft: rgba(201,122,43,0.12);
  --err: #c4502f;
  --err-soft: rgba(196,80,47,0.10);
  --gold: #d6a017;

  /* Live-class type accents */
  --t-practice: #4f5eed;  --t-practice-soft: rgba(79,94,237,0.10);
  --t-qna:      #1f7a8a;  --t-qna-soft:      rgba(31,122,138,0.10);
  --t-webinar:  #8a5af0;  --t-webinar-soft:  rgba(138,90,240,0.10);
  --t-workshop: #c75a3a;  --t-workshop-soft: rgba(199,90,58,0.10);
  --t-support:  #b8862b;  --t-support-soft:  rgba(184,134,43,0.12);

  --shadow-card: 0 1px 0 rgba(255,255,255,0.7) inset, 0 1px 2px rgba(20,18,12,0.04), 0 8px 20px rgba(20,18,12,0.05);
  --shadow-card-lg: 0 1px 0 rgba(255,255,255,0.7) inset, 0 1px 3px rgba(20,18,12,0.04), 0 20px 50px rgba(20,18,12,0.06);
  --font-display: 'Heebo', system-ui, sans-serif;
  --font-body: 'Heebo', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ── 2. Base ──────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 100% -10%, rgba(79,94,237,0.06), transparent 60%),
    radial-gradient(1000px 500px at -10% 110%, rgba(184,134,43,0.05), transparent 60%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ── 3. Global header (.gh) ───────────────────────────────────────────────
   Header markup + CSS now live in the reusable <cc-header> component
   (cc-header.js), which injects its own styles. Kept out of here so the
   header is single-sourced across pages. */

/* ── 5. Page shell + hero ─────────────────────────────────────────────────── */
.page { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

.lc-hero {
  padding: 56px 0 20px;   /* match the catalog pages' top gap below the header (courses/tracks) */
  border-bottom: 0.5px solid var(--line);
  margin-bottom: 18px;
  position: relative;
}
.lc-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  padding: 5px 12px 5px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 0.5px solid color-mix(in oklab, var(--accent) 18%, transparent);
}
.lc-hero-eyebrow svg { width: 13px; height: 13px; }
.lc-hero-eyebrow .live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--err);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--err) 50%, transparent);
  animation: lcPulse 1.8s ease-in-out infinite;
}
@keyframes lcPulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--err) 45%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in oklab, var(--err) 0%, transparent); }
}
.lc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px); line-height: 1.05; font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  max-width: 20ch;
  text-wrap: balance;
}
.lc-hero-sub {
  font-size: 16.5px; color: var(--ink-2);
  margin: 0;
  max-width: 60ch; line-height: 1.5;
  text-wrap: pretty;
  direction: rtl;
}
.lc-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.lc-cta-primary {
  appearance: none; border: 0; cursor: pointer;
  background: var(--ink); color: var(--bg-elev);
  padding: 13px 24px; border-radius: 999px;
  font: inherit; font-size: 14.5px; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 12px 28px color-mix(in oklab, var(--ink) 24%, transparent);
  transition: transform .15s ease, background .15s ease;
}
.lc-cta-primary:hover { transform: translateY(-2px); background: color-mix(in oklab, var(--ink) 88%, var(--accent)); text-decoration: none; }
.lc-cta-primary svg { width: 15px; height: 15px; }
.lc-cta-ghost {
  appearance: none; border: 0.5px solid var(--line); cursor: pointer;
  background: var(--bg-elev); color: var(--ink);
  padding: 12px 20px; border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
  transition: background .15s ease;
}
.lc-cta-ghost:hover { background: var(--bg-sunk); text-decoration: none; }
.lc-cta-ghost svg { width: 15px; height: 15px; color: var(--accent); }

.lc-hero-stats { display: flex; gap: 28px; margin-top: 24px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.lc-hero-stat b { color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-inline-end: 8px; font-variant-numeric: tabular-nums; }

/* ── 6. Filter tabs ───────────────────────────────────────────────────────── */
.lc-filters {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  position: sticky; top: 60px; z-index: 20;
  padding: 14px 0;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 0.5px solid var(--line-2);
}
.lc-filter {
  appearance: none; cursor: pointer;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-elev);
  border: 0.5px solid var(--line);
  font: inherit; font-size: 13px; font-weight: 500;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.lc-filter:hover { background: var(--bg-sunk); color: var(--ink); border-color: color-mix(in oklab, var(--accent) 20%, var(--line)); }
.lc-filter.active { background: var(--ink); color: var(--bg-elev); border-color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.lc-filter svg { width: 13px; height: 13px; }
.lc-filter .pip {
  padding: 1px 7px; border-radius: 999px;
  background: var(--bg-sunk); font-size: 10.5px; font-weight: 700;
  color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.lc-filter.active .pip { background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.9); }
.lc-filter .pro-star { color: var(--gold); }

/* ── 7. Schedule layout + class cards ─────────────────────────────────────── */
.lc-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
  margin-bottom: 56px;
}
.lc-section-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.lc-section-title { font-family: var(--font-display); font-size: 21px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.lc-section-sub { font-size: 13.5px; color: var(--ink-3); }
.lc-section-head .spacer { flex: 1; }

.lc-schedule { min-width: 0; }

.lc-list { display: flex; flex-direction: column; gap: 14px; }

/* ── Class group (כיתה) — sessions are grouped under their parent class ────── */
.lc-classgroup {
  margin-bottom: 26px;
  padding: 0 0 4px;
}
.lc-cg-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 18px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, var(--accent-soft, color-mix(in oklab, var(--accent) 8%, var(--bg-elev))) 0%, var(--bg-elev) 100%);
  border: 0.5px solid var(--line);
  border-radius: 16px;
}
.lc-cg-titles { flex: 1 1 320px; min-width: 0; }
.lc-cg-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 6px 0 0; letter-spacing: -0.01em; }
.lc-cg-title a { color: var(--ink); text-decoration: none; }
.lc-cg-title a:hover { color: var(--accent); }
.lc-cg-teaser { font-size: 13px; color: var(--ink-2); margin: 6px 0 0; line-height: 1.5; }
.lc-cg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lc-cg-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  font-size: 12px; font-weight: 600;
  color: var(--ink-2);
  background: var(--bg-elev);
  border: 0.5px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}
.lc-cg-chip .ccsvg svg { width: 14px; height: 14px; }
.lc-cg-chip.link { color: var(--accent); }
.lc-cg-chip.link:hover { border-color: color-mix(in oklab, var(--accent) 36%, var(--line)); }

/* Day divider between cards */
.lc-day {
  display: flex; align-items: center; gap: 12px;
  margin: 10px 2px 2px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--ink-2);
}
.lc-day::after { content: ""; flex: 1; height: 0.5px; background: var(--line); }
.lc-day:first-child { margin-top: 0; }

.lc-card {
  background: var(--bg-elev);
  border: 0.5px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: 92px 1fr;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.lc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-lg); border-color: color-mix(in oklab, var(--accent) 20%, var(--line)); }
.lc-card.is-registered { border-color: color-mix(in oklab, var(--ok) 36%, var(--line)); }
.lc-card.is-full { opacity: 0.92; }

/* Left date rail */
.lc-card-date {
  background: var(--bg);
  border-inline-end: 0.5px solid var(--line-2);
  padding: 16px 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 2px;
}
.lc-card-dow { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.lc-card-day { font-family: var(--font-display); font-size: 28px; font-weight: 800; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.lc-card-mon { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.lc-card-time {
  margin-top: 8px; padding-top: 8px; border-top: 0.5px solid var(--line-2);
  font-size: 11.5px; font-weight: 700; color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}

.lc-card-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lc-card-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lc-card-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin: 0; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.lc-card-title a { color: inherit; text-decoration: none; }
.lc-card-title a:hover { color: var(--accent); }
.lc-card-desc { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.55; text-wrap: pretty; }

.lc-card-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.lc-card-meta .item { display: inline-flex; align-items: center; gap: 5px; }
.lc-card-meta .item svg { width: 13px; height: 13px; opacity: 0.75; }
.lc-card-meta .item b { color: var(--ink); font-weight: 600; }

.lc-card-mentor { display: inline-flex; align-items: center; gap: 7px; }
.lc-card-mentor-pic {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #4f5eed, #1f8a5a);
  color: #fff; font-size: 10.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lc-card-mentor span { font-size: 12.5px; color: var(--ink-2); }
.lc-card-mentor b { color: var(--ink); font-weight: 600; }

.lc-card-foot {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding-top: 12px; margin-top: 2px;
  border-top: 0.5px solid var(--line-2);
}
.lc-card-spots { font-size: 12.5px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
.lc-card-spots b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.lc-card-spots.low b { color: var(--warn); }
.lc-spots-bar { width: 64px; height: 5px; border-radius: 999px; background: var(--bg-sunk); overflow: hidden; }
.lc-spots-bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--ok), #2c8c5f); }
.lc-spots-bar.low > i { background: linear-gradient(90deg, var(--warn), var(--gold)); }
.lc-card-foot .spacer { flex: 1; }

/* ── 8. Badges + action buttons ───────────────────────────────────────────── */
.lc-type {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.01em;
}
.lc-type .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lc-type.practice { background: var(--t-practice-soft); color: var(--t-practice); }
.lc-type.qna      { background: var(--t-qna-soft);      color: var(--t-qna); }
.lc-type.webinar  { background: var(--t-webinar-soft);  color: var(--t-webinar); }
.lc-type.workshop { background: var(--t-workshop-soft);  color: var(--t-workshop); }
.lc-type.support  { background: var(--t-support-soft);  color: #8a6512; }

.lc-status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
}
.lc-status svg { width: 11px; height: 11px; }
.lc-status.open       { background: var(--ok-soft);   color: var(--ok); }
.lc-status.soon       { background: var(--warn-soft); color: #9a5a18; }
.lc-status.full       { background: var(--err-soft);  color: var(--err); }
.lc-status.registered { background: var(--accent); color: #fff; }

.lc-level { padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 600; }
.lc-level.beginner     { background: rgba(31,138,90,0.12); color: var(--ok); }
.lc-level.intermediate { background: rgba(184,134,43,0.14); color: #8a6800; }
.lc-level.advanced     { background: rgba(199,90,58,0.14); color: var(--err); }
.lc-level.all          { background: var(--bg-sunk); color: var(--ink-2); }

/* Action buttons */
.lc-btn {
  appearance: none; border: 0; cursor: pointer;
  padding: 10px 20px; border-radius: 999px;
  font: inherit; font-size: 13px; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.lc-btn svg { width: 14px; height: 14px; }
.lc-btn.primary { background: var(--ink); color: var(--bg-elev); box-shadow: 0 6px 16px color-mix(in oklab, var(--ink) 18%, transparent); }
.lc-btn.primary:hover { background: color-mix(in oklab, var(--ink) 86%, var(--accent)); transform: translateY(-1px); text-decoration: none; }
.lc-btn.pro { background: var(--accent); color: #fff; box-shadow: 0 6px 16px color-mix(in oklab, var(--accent) 26%, transparent); }
.lc-btn.pro:hover { background: var(--accent-2); transform: translateY(-1px); text-decoration: none; }
.lc-btn.ghost { background: var(--bg-elev); color: var(--ink); border: 0.5px solid var(--line); }
.lc-btn.ghost:hover { background: var(--bg-sunk); text-decoration: none; }
.lc-btn.danger { background: var(--bg-elev); color: var(--err); border: 0.5px solid color-mix(in oklab, var(--err) 32%, var(--line)); }
.lc-btn.danger:hover { background: var(--err-soft); text-decoration: none; }
.lc-btn.success { background: var(--ok-soft); color: var(--ok); border: 0.5px solid color-mix(in oklab, var(--ok) 32%, var(--line)); cursor: default; }
.lc-btn.waitlist { background: var(--warn-soft); color: #9a5a18; border: 0.5px solid color-mix(in oklab, var(--warn) 30%, var(--line)); }
.lc-btn.waitlist:hover { background: color-mix(in oklab, var(--warn) 20%, var(--bg-elev)); text-decoration: none; }

/* ── 9. Info sidebar ──────────────────────────────────────────────────────── */
.lc-aside { position: sticky; top: 132px; display: flex; flex-direction: column; gap: 16px; }
.lc-aside-card {
  background: var(--bg-elev);
  border: 0.5px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.lc-aside-card.accent {
  background:
    radial-gradient(380px 180px at 100% 0%, var(--accent-soft), transparent 60%),
    linear-gradient(160deg, var(--bg-elev), color-mix(in oklab, var(--accent-soft) 40%, var(--bg-elev)));
  border-color: color-mix(in oklab, var(--accent) 22%, var(--line));
}
.lc-aside-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.lc-aside-title svg { width: 16px; height: 16px; color: var(--accent); }
.lc-aside-lead { font-size: 13px; color: var(--ink-2); margin: 0 0 14px; line-height: 1.55; }
.lc-aside-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.lc-aside-list li { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.lc-aside-list li b { color: var(--ink); font-weight: 600; }
.lc-aside-ic {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.lc-aside-ic svg { width: 14px; height: 14px; }
.lc-aside-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; margin-top: 4px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--ink); color: var(--bg-elev);
  font-size: 13.5px; font-weight: 700; text-decoration: none;
  transition: background .15s ease;
}
.lc-aside-cta:hover { background: color-mix(in oklab, var(--ink) 86%, var(--accent)); text-decoration: none; }
.lc-aside-cta svg { width: 14px; height: 14px; }
/* Upsell card: tailored per viewer — never shown to active Pro members */
.lc-aside-card.upsell { display: none; }
html[data-viewer="guest"] .lc-aside-card.upsell.for-guest { display: block; }
html[data-viewer="free"] .lc-aside-card.upsell.for-free { display: block; }

/* ── 10. "My classes" cards + past history + empty state ──────────────────── */
.lc-mine { margin-bottom: 56px; }
.lc-mine-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.lc-mine-card {
  background: var(--bg-elev);
  border: 0.5px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  min-width: 0;  /* grid item: allow shrink so the nowrap Zoom URL ellipsizes instead of forcing the column wider */
}
.lc-mine-card.next { border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); }
.lc-mine-top { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.lc-mine-top .spacer { flex: 1; }
.lc-mine-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin: 0; line-height: 1.3; letter-spacing: -0.01em; }
.lc-mine-when {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-2);
  padding: 10px 14px; border-radius: 12px; background: var(--bg-sunk);
}
.lc-mine-when .item { display: inline-flex; align-items: center; gap: 6px; }
.lc-mine-when .item svg { width: 14px; height: 14px; color: var(--accent); }
.lc-mine-when .item b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }

.lc-zoom {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  background: var(--bg); border: 0.5px dashed var(--line);
  font-size: 12.5px; color: var(--ink-3);
}
.lc-zoom-ic {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: color-mix(in oklab, #2D8CFF 16%, var(--bg-elev)); color: #2D8CFF;
  display: inline-flex; align-items: center; justify-content: center;
}
.lc-zoom-ic svg { width: 16px; height: 16px; }
.lc-zoom-text { flex: 1; min-width: 0; }
.lc-zoom-text b { display: block; color: var(--ink); font-weight: 600; font-size: 12.5px; }
.lc-zoom-link { display: block; max-width: 100%; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); direction: ltr; text-align: start;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-zoom.locked .lc-zoom-link { font-family: var(--font-body); direction: rtl;
  white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.45; }

.lc-mine-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.lc-mine-actions .lc-btn { padding: 9px 16px; font-size: 12.5px; }
.lc-mine-actions .grow { flex: 1; justify-content: center; }

/* Past classes */
.lc-past { display: flex; flex-direction: column; gap: 8px; }
.lc-past-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-elev);
  border: 0.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
}
.lc-past-row .lc-type { flex-shrink: 0; }
.lc-past-info { flex: 1; min-width: 0; }
.lc-past-title { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-past-when { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.lc-past-attended { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--ok); flex-shrink: 0; }
.lc-past-attended.missed { color: var(--ink-4); }
.lc-past-attended svg { width: 14px; height: 14px; }
.lc-past-link { font-size: 12.5px; font-weight: 600; color: var(--accent); flex-shrink: 0; }

/* Empty state */
.lc-empty {
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: color-mix(in oklab, var(--bg-elev) 60%, transparent);
  color: var(--ink-3);
}
.lc-empty-ic {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.lc-empty-ic svg { width: 28px; height: 28px; }
.lc-empty h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 0 0 6px; color: var(--ink); }
.lc-empty p { font-size: 14px; margin: 0 0 20px; line-height: 1.55; max-width: 42ch; margin-inline: auto; }

/* Guest notice banner (instead of register actions) */
.lc-guest-note {
  display: none;
  align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 14px;
  background: color-mix(in oklab, var(--accent) 8%, var(--bg-elev));
  border: 0.5px solid color-mix(in oklab, var(--accent) 22%, var(--line));
  font-size: 13.5px; color: var(--ink-2);
  margin-bottom: 24px;
}
html[data-viewer="guest"] .lc-guest-note { display: flex; }
.lc-guest-note svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.lc-guest-note .spacer { flex: 1; }
.lc-guest-note b { color: var(--ink); font-weight: 600; }
.lc-guest-note a { font-weight: 700; }

/* ── 4. Global footer ─────────────────────────────────────────────────────── */
.gf { margin-top: 64px; background: var(--bg-elev); border-top: 0.5px solid var(--line); }
.gf-inner { max-width: 1280px; margin: 0 auto; padding: 48px 32px 32px; }
.gf-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; margin-bottom: 36px; }
.gf-brand p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; margin: 12px 0 0; max-width: 34ch; }
.gf-col h4 { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.gf-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gf-col a { font-size: 13.5px; color: var(--ink-2); }
.gf-col a:hover { color: var(--ink); text-decoration: none; }
.gf-bottom { border-top: 0.5px solid var(--line-2); padding-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }
.gf-bottom .spacer { flex: 1; }

/* ============================================================================
   12. View toggle + personal ("My classes") view inside live-classes.html
   ============================================================================ */
/* Primary segmented control: כל המפגשים / המפגשים שלי */
.lc-viewtabs {
  display: inline-flex; gap: 4px;
  padding: 4px; margin-bottom: 28px;
  background: var(--bg-sunk);
  border: 0.5px solid var(--line);
  border-radius: 999px;
}
.lc-vtab {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border-radius: 999px;
  background: transparent; color: var(--ink-2);
  font: inherit; font-size: 14px; font-weight: 600;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.lc-vtab svg { width: 15px; height: 15px; }
.lc-vtab:hover { color: var(--ink); }
.lc-vtab.active { background: var(--bg-elev); color: var(--ink); box-shadow: var(--shadow-card); }
.lc-vtab .pip { padding: 1px 8px; border-radius: 999px; background: var(--bg-sunk); font-size: 11px; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lc-vtab.active .pip { background: var(--accent-soft); color: var(--accent-ink); }
@media (max-width: 560px) { .lc-viewtabs { display: flex; } .lc-vtab { flex: 1; justify-content: center; padding: 10px 12px; } }

/* Quick-stat tiles for the "my classes" view (matches dashboard db-qs) */
.lcp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.lcp-stat {
  background: var(--bg-elev); border: 0.5px solid var(--line); border-radius: 16px;
  padding: 16px 18px; box-shadow: var(--shadow-card);
}
.lcp-stat-ic { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.lcp-stat-ic svg { width: 14px; height: 14px; }
.lcp-stat-ic.accent { background: var(--accent-soft); color: var(--accent); }
.lcp-stat-ic.ok { background: var(--ok-soft); color: var(--ok); }
.lcp-stat-ic.gold { background: rgba(245,185,30,0.16); color: #8a6800; }
.lcp-stat-ic.violet { background: var(--t-webinar-soft); color: var(--t-webinar); }
.lcp-stat-num { font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -0.014em; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.lcp-stat-lbl { font-size: 12px; color: var(--ink-3); }
@media (max-width: 720px) { .lcp-stats { grid-template-columns: 1fr 1fr; } }

.lc-mine + .lc-mine { margin-top: 8px; }

/* ── 10b. Types intro (3 headline formats) ───────────────────────────────── */
.lc-types-intro { margin: 8px 0 28px; }
.lc-types-intro-head { margin-bottom: 16px; }
.lc-types-intro-head h2 { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
.lc-types-intro-head p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin: 0; max-width: 64ch; text-wrap: pretty; }
.lc-types-intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lc-intro-card {
  --c: var(--accent); --c-soft: var(--accent-soft);
  position: relative; background: var(--bg-elev);
  border: 0.5px solid var(--line); border-radius: 16px;
  padding: 20px 20px 18px; box-shadow: var(--shadow-card);
  overflow: hidden;
}
.lc-intro-card::before { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--c); }
.lc-intro-card.workshop { --c: var(--t-workshop); --c-soft: var(--t-workshop-soft); }
.lc-intro-card.practice { --c: var(--t-practice); --c-soft: var(--t-practice-soft); }
.lc-intro-card.webinar  { --c: var(--t-webinar);  --c-soft: var(--t-webinar-soft); }
.lc-intro-ic {
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px;
  background: var(--c-soft); color: var(--c);
  display: inline-flex; align-items: center; justify-content: center;
}
.lc-intro-ic svg { width: 21px; height: 21px; }
.lc-intro-top { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.lc-intro-top h3 { font-family: var(--font-display); font-size: 18px; font-weight: 800; margin: 0; letter-spacing: -0.01em; }
.lc-intro-tag {
  font-size: 11px; font-weight: 700; color: var(--c);
  background: var(--c-soft); padding: 3px 9px; border-radius: 999px;
}
.lc-intro-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin: 0; text-wrap: pretty; }

/* ── 10c. General notify banner (reuses .mt-notify from meeting-types.css) ── */
.lc-notify { margin: 36px 0 8px; }
/* meeting-types.css hides .mt-notify-form for guests (it had a login gate there).
   The catalog notify banner is a PUBLIC subscribe form — keep it visible to all. */
html[data-viewer="guest"] .lc-notify .mt-notify-form { display: block; }
.lc-notify.is-done .mt-notify-form { display: none !important; }

/* ── 11. Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .lc-types-intro-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .lc-layout { grid-template-columns: 1fr; }
  .lc-aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .lc-aside-card { flex: 1; min-width: 260px; }
}
@media (max-width: 880px) {
  .lc-mine-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page { padding: 0 18px; }
  .gh-inner { padding: 0 18px; }
  .gf-inner { padding: 40px 18px 28px; }
  .gf-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .gf-brand { grid-column: span 2; }
  /* Filters become a horizontal scroll strip */
  .lc-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-inline: -18px; padding-inline: 18px;
    top: 56px;
  }
  .lc-filters::-webkit-scrollbar { display: none; }
  .lc-filter { flex-shrink: 0; }
  .lc-aside { flex-direction: column; }
  .lc-aside-card { min-width: 0; }
}
@media (max-width: 560px) {
  .lc-card { grid-template-columns: 1fr; }
  .lc-card-date {
    flex-direction: row; gap: 8px; align-items: baseline; justify-content: flex-start;
    border-inline-end: 0; border-bottom: 0.5px solid var(--line-2);
    padding: 12px 16px;
  }
  .lc-card-day { font-size: 20px; }
  .lc-card-time { margin-top: 0; padding-top: 0; border-top: 0; margin-inline-start: auto; }
  .lc-card-foot .lc-btn { flex: 1; justify-content: center; }
}
