/* theme-light.css — flips the shared app chrome (topbar, panels, lists, forms,
 * pricing, team) to the same white/blue look as the Public Lessons page.
 * Loaded AFTER styles.css so it overrides the dark defaults. */
:root {
  --bg: #ffffff; --bg-2: #f3f7ff;
  --panel: #ffffff; --panel-strong: #f3f7ff;
  --text: #0f1e35; --muted: #5a6b85; --line: #dce6f5;
  --brand: #2563ff; --brand-2: #12b5a6; --accent: #ffb020; --danger: #d64545;
  --shadow: 0 18px 44px rgba(15,30,53,0.10);
}

body {
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(37,99,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  color: var(--text);
}

/* Top bar / nav */
.topbar { background: #ffffff !important; border-bottom: 1px solid var(--line); }
.nav-links a { color: var(--muted); }
.nav-links a.active { color: var(--brand); }
.user-chip { color: var(--muted); }
.brand, .brand > span:last-child { color: var(--text) !important; }

/* Cards / panels */
.panel, .library-panel, .status-card, .upgrade-card, .promo-card, .admin-section {
  background: #ffffff !important; border: 1px solid var(--line) !important;
  box-shadow: var(--shadow);
}
.set-item, .lib-item {
  background: #ffffff !important; border: 1px solid var(--line) !important;
}
.set-item:hover, .lib-item:hover { border-color: rgba(37,99,255,0.4) !important; }
.set-meta { color: var(--muted); }

/* Forms */
input, select, textarea,
.library-filters input, .library-filters select,
.board-meta-row select, .board-meta-row input,
.board-name-label input, .board-public-row {
  background: #f3f7ff !important; border: 1px solid var(--line) !important; color: var(--text) !important;
}
input::placeholder, textarea::placeholder { color: #93a4bf; }
input:focus, select:focus, textarea:focus {
  border-color: var(--brand) !important; box-shadow: 0 0 0 3px rgba(37,99,255,0.14) !important;
}

/* Segmented toggle (Yours / Shared / Bookmarked) */
.seg-toggle { background: #eef2fa !important; border: 1px solid var(--line) !important; }
.seg-btn { color: var(--muted); }
.seg-btn.active { background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important; color: #fff !important; }

/* Buttons — keep primary blue, soft/ghost readable on light */
.btn.soft { background: #eef2fa !important; color: var(--text) !important; border: 1px solid var(--line) !important; }
.btn.ghost { background: transparent !important; color: var(--text) !important; border: 1px solid var(--line) !important; }
.btn.primary { color: #fff !important; }

/* Modals */
.modal-card, dialog.modal .modal-card, .template-card, .study-card {
  background: #ffffff !important; color: var(--text) !important; border: 1px solid var(--line) !important;
}
dialog.modal::backdrop { background: rgba(15,30,53,0.45); }

/* Pricing plan cards + feature matrix (were dark rgba) */
.plan-card { background: #ffffff !important; border: 1px solid var(--line) !important; }
.plan-card.founding { border-color: rgba(255,176,32,0.6) !important; }
.plan-card p, .plan-lead, .plan-note { color: var(--muted) !important; }
.plan-price { color: var(--text) !important; }
.plan-price small { color: var(--muted) !important; }
.feature-matrix > * { border-color: var(--line) !important; }
.feature-row, .feature-matrix .row, .feature-matrix > div {
  background: #f7faff; border-bottom: 1px solid var(--line);
}

/* Toast stays dark for contrast */
.toast { background: #0f1e35 !important; color: #fff !important; }

/* Kickers / section labels */
.section-kicker { color: var(--brand); }

/* Badges already defined for light in styles.css additions; ensure readable */
.subj-badge.math { background: rgba(37,99,255,0.12); color: #2563ff; }
.subj-badge.science { background: rgba(18,181,166,0.14); color: #0f9c8f; }
.type-badge.board { background: rgba(37,99,255,0.12); color: #2563ff; }
.type-badge.lesson { background: rgba(147,112,255,0.14); color: #6d4fd6; }
.pub-pill { background: #eef2fa; color: var(--muted); }
.pub-pill.public { background: rgba(18,181,166,0.14); color: #0f9c8f; }

/* Library: scope tabs on one row, filters on a single line (like Public Lessons) */
.library-scope { margin: 4px 0 14px; }
.library-filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.library-filter-row input[type="search"] { flex: 1; min-width: 220px; }
.library-filter-row input, .library-filter-row select {
  padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: #f3f7ff; color: var(--text); font: inherit;
}
@media (max-width: 640px) { .library-filter-row { flex-direction: column; } }

/* ===== Public lesson viewer (app study UI at /l/:id, no login) ===== */
body.public-lesson #creatorPanel { display: none !important; }
body.public-lesson .app-grid { grid-template-columns: 1fr !important; }
body.public-lesson .nav-links, body.public-lesson .auth-area { display: none !important; }
body.public-lesson .usage-pill { display: none !important; }
.public-lesson-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  max-width: 1100px; margin: 14px auto 40px; padding: 0 20px;
}
.public-lesson-bar .pl-bar-rate { margin-right: auto; display: inline-flex; align-items: center; gap: 6px; }
.public-lesson-bar .pl-rate-label { color: var(--muted, #5a6b85); font-weight: 600; font-size: 0.9rem; }
.public-lesson-bar .pl-star { border: 0; background: none; cursor: pointer; font-size: 1.4rem; color: #d7deea; padding: 0 1px; }
.public-lesson-bar .pl-star.on { color: #ffb020; }
.public-lesson-bar .pl-star:hover { color: #ffcf6b; }
.public-lesson-bar .pl-rating-count { color: var(--muted, #5a6b85); font-size: 0.82rem; margin-left: 6px; }

/* ===== Live lesson session chrome ===== */
.live-strip { max-width: 1100px; margin: 10px auto 0; padding: 0 20px; }
.live-head { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink, #0f1e35); }
.live-dot { color: #e23b3b; font-weight: 800; animation: livePulse 1.4s infinite; }
@keyframes livePulse { 50% { opacity: 0.45; } }
.live-body { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; padding: 10px 14px; border: 1px solid var(--line, #dce6f5); border-radius: 12px; background: #fff; }
.live-agg { font-weight: 600; color: #0f9c8f; }
.live-agg.muted { color: var(--muted, #5a6b85); font-weight: 500; }
.live-react { display: inline-flex; gap: 6px; }
.react-btn { border: 1px solid var(--line, #dce6f5); background: #f7faff; border-radius: 10px; font-size: 1.1rem; cursor: pointer; padding: 3px 8px; }
.react-btn:hover { border-color: var(--brand, #2563ff); }
.live-qtitle { font-weight: 700; font-size: 0.85rem; color: var(--muted, #5a6b85); margin-top: 4px; }
.live-qs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 160px; overflow: auto; }
.live-qs li { font-size: 0.9rem; display: flex; gap: 8px; align-items: baseline; }
.q-clear { margin-left: auto; border: 0; background: none; color: #0f9c8f; cursor: pointer; }
.live-qs-empty { color: var(--muted, #5a6b85); font-size: 0.85rem; }
.live-ask { display: flex; gap: 8px; }
.live-ask input { flex: 1; padding: 8px 12px; border: 1px solid var(--line, #dce6f5); border-radius: 10px; background: #f7faff; }
.live-emoji { position: absolute; bottom: 60px; font-size: 2rem; animation: floatUp 2.2s ease-out forwards; pointer-events: none; z-index: 50; }
@keyframes floatUp { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-180px); opacity: 0; } }
/* Students in a live room don't drive the deck. */
body.live-student #prevCard, body.live-student #nextCard, body.live-student #flipCard, body.live-student #shuffleCards { display: none !important; }

/* Lesson share dialog (reuses study-modal shell) */
.share-card .share-sub { color: var(--muted, #5a6b85); font-size: 0.9rem; }
.share-linkrow { display: flex; gap: 8px; margin: 14px 0; }
.share-linkrow input { flex: 1; padding: 10px 12px; border: 1px solid var(--line,#dce6f5); border-radius: 8px; background: #f3f7ff; }
.share-qr { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 8px 0 16px; }
.share-qr img { border: 1px solid var(--line,#dce6f5); border-radius: 12px; }
.share-qr span { color: var(--muted,#5a6b85); font-size: 0.82rem; }
.share-email { display: grid; gap: 10px; border-top: 1px solid var(--line,#dce6f5); padding-top: 14px; }
.share-email label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.85rem; color: var(--muted,#5a6b85); }
.share-email textarea, .share-email input { font: inherit; padding: 10px 12px; border: 1px solid var(--line,#dce6f5); border-radius: 8px; background: #f3f7ff; min-height: 44px; }
.share-email textarea { min-height: 68px; resize: vertical; }

/* ===== Optional live audio controls ===== */
.audio-opt { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--ink,#0f1e35); font-weight: 600; margin: 0 6px; }
.audio-opt input { width: auto; }
.audio-live { color: #0f9c8f; font-weight: 700; font-size: 0.82rem; }
.live-audio { border-top: 1px solid var(--line,#dce6f5); padding-top: 8px; margin-top: 4px; display: flex; flex-direction: column; gap: 6px; }
.live-audio-note { color: var(--muted,#5a6b85); font-size: 0.85rem; padding: 6px 0; }
.live-speakers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 140px; overflow: auto; }
.live-speakers li { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.88rem; }
.live-speakers li.muted { color: var(--muted,#5a6b85); }

/* ===== Modal shell for the lesson share dialog (app page) ===== */
.study-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(15,30,53,0.45); padding: 20px; }
.study-modal.open { display: flex; }
.study-modal .study-card { position: relative; background: #fff; color: var(--ink,#0f1e35); border: 1px solid var(--line,#dce6f5); border-radius: 16px; padding: 24px; max-width: 460px; width: 100%; max-height: 90vh; overflow: auto; box-shadow: 0 30px 70px rgba(15,30,53,0.3); }
.study-modal .study-card h3 { margin: 0 0 8px; }
.study-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted,#5a6b85); }

/* ===== Create / Study view tabs (teacher builder page) ===== */
/* Only on the authoring app page — the public lesson viewer stays single-pane. */
.app-viewtabs { display: none; }
body[data-page="app"]:not(.public-lesson) .app-viewtabs {
  display: flex; gap: 10px; margin: 0 0 22px; max-width: 520px;
}
body[data-page="app"]:not(.public-lesson) .app-viewtabs .view-tab {
  flex: 1; padding: 13px 20px; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--line, #dce6f5); background: #eef2fa; color: var(--muted, #5a6b85);
  font: inherit; font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
body[data-page="app"]:not(.public-lesson) .app-viewtabs .view-tab:hover { transform: translateY(-1px); }
body[data-page="app"]:not(.public-lesson) .app-viewtabs .view-tab.active {
  background: linear-gradient(135deg, var(--brand, #2563ff), var(--brand-2, #12b5a6));
  color: #fff; border-color: transparent; box-shadow: 0 10px 26px rgba(37,99,255,0.22);
}
/* One panel at a time, full width — no more cramped side-by-side. */
body[data-page="app"]:not(.public-lesson) .app-grid { grid-template-columns: 1fr !important; }
body[data-page="app"]:not(.public-lesson) .app-grid[data-view="create"] .study-panel { display: none; }
body[data-page="app"]:not(.public-lesson) .app-grid[data-view="study"]  .creator-panel { display: none; }
body[data-page="app"]:not(.public-lesson) .study-panel { position: static; top: auto; }
/* Tabs replace the per-panel maximize button here. */
body[data-page="app"]:not(.public-lesson) .max-btn { display: none; }

/* ===== More refined study + live controls (less "toy", better spacing) ===== */
body[data-page="app"] .study-actions { gap: 14px; margin: 20px 0 8px; }
body[data-page="app"] .study-actions .btn { border-radius: 14px; padding: 12px 18px; font-weight: 700; }
body[data-page="app"] .live-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line, #dce6f5);
}
body[data-page="app"] .live-strip .btn { border-radius: 12px; }
body[data-page="app"] .audio-opt {
  background: #eef2fa; border: 1px solid var(--line, #dce6f5); border-radius: 12px;
  padding: 9px 14px; margin: 0; cursor: pointer; white-space: nowrap;
}
body[data-page="app"] .live-audio { gap: 10px; }
body[data-page="app"] .live-audio .btn { align-self: flex-start; }

/* ===== Live session (non-presenting fallback kept minimal) ===== */
body[data-page="app"].live-on:not(.presenting) .app-grid[data-view="study"] { padding-bottom: 8px; }

/* ================= Full-screen presentation mode =================
   The moment a lesson is live, teacher, students, and webinar attendees all
   drop into the same clean, full-screen stage: the slide/card centred, the
   annotation toolbar docked bottom-centre, the attendee/questions rail on the
   right, and the join QR bottom-left. No scrolling, no builder chrome. */
body.presenting { overflow: hidden; }
body.presenting .topbar,
body.presenting .app-viewtabs,
body.presenting .creator-panel,
body.presenting .study-panel .panel-header,
body.presenting #cardList,
body.presenting .sat-stage-bar,
body.presenting .sat-results,
body.presenting #exportPdfBtn,
body.presenting .public-lesson-bar,
body.presenting .usage-pill,
body.presenting .max-btn { display: none !important; }

body.presenting .shell,
body.presenting .app-page,
body.presenting .app-grid { display: block !important; padding: 0 !important; margin: 0 !important; max-width: none !important; width: auto !important; }

body.presenting .study-panel {
  position: fixed !important; inset: 0 !important; top: 0 !important; margin: 0 !important;
  width: 100vw !important; height: 100vh; height: 100dvh; max-width: none !important;
  z-index: 1000; border-radius: 0;
  background: radial-gradient(130% 120% at 50% -10%, #17253f 0%, #0b1424 70%) !important;
  display: flex; flex-direction: column; padding: 0; overflow: hidden;
}

/* Top bar: lesson title + fullscreen + exit/leave. */
.present-topbar {
  display: flex; align-items: center; gap: 12px; order: -1; flex: 0 0 auto;
  padding: 12px 18px; color: #eaf1ff;
  background: rgba(9,17,31,0.55); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
body:not(.presenting) .present-topbar { display: none; }
.present-title { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.present-spacer { flex: 1; }
.present-btn {
  border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.06); color: #eaf1ff;
  border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 700; font-size: 0.85rem; cursor: pointer; white-space: nowrap;
}
.present-btn:hover { background: rgba(255,255,255,0.14); }
.present-btn.danger { border-color: rgba(226,59,59,0.5); color: #ff9ea4; }
.present-btn.danger:hover { background: rgba(226,59,59,0.18); }

/* Central stage: the slide/card owns the whole screen. The participants panel
   floats over it (Zoom/Teams style) rather than reserving a column. */
body.presenting .lesson-stage {
  flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 2.5vw, 40px); position: relative;
}
body.presenting .flashcard { height: min(80vh, 900px); width: min(1500px, 94vw); max-width: 1500px; margin: 0; }
body.presenting .flashcard.has-passage { height: min(86vh, 980px); }
body.presenting .slide-view { display: flex; flex-direction: column; width: min(1600px, 95vw); }
body.presenting .slide-stage { min-height: min(78vh, 860px); }
body.presenting .slide-content { padding: clamp(32px, 4vw, 72px); }
body.presenting .slide-content h2 { font-size: clamp(2.2rem, 4.4vw, 4.4rem); }
body.presenting .slide-bullets li { font-size: clamp(1.2rem, 2.2vw, 1.7rem); }
body.presenting .slide-footer { color: rgba(234,241,255,0.6); }
body.presenting .card-face p { font-size: clamp(1.3rem, 2.1vw, 2rem); }
/* The slide/flashcard cards normally use translucent-white backgrounds that
   only read as light because they sit on a white page. On the dark stage they
   would go dark and their dark text would vanish — so give them an opaque
   light base here. The coloured accent overlays still tint them. */
body.presenting .slide-stage {
  background: linear-gradient(150deg, #f1ecff, #ffffff) !important;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45) !important;
}
body.presenting .card-face {
  background:
    radial-gradient(circle at top right, rgba(20,217,196,0.16), transparent 18rem),
    linear-gradient(145deg, #ffffff, #f5f8ff) !important;
}
body.presenting .card-back {
  background:
    radial-gradient(circle at top left, rgba(255,204,102,0.16), transparent 18rem),
    linear-gradient(145deg, #ffffff, #fff8ec) !important;
}
/* Card text stays on its normal dark ink against the now-light card. */
body.presenting .card-face, body.presenting .card-face p, body.presenting .slide-content { color: var(--text, #0f1e35); }
body.presenting .card-face small { color: var(--muted, #5a6b85); }

/* Annotation toolbar sits at the bottom-centre of the stage. */
body.presenting .lesson-annobar { bottom: 18px; }

/* ---- Floating participants panel (minimizable, like Zoom/Teams) ---- */
body.presenting .live-strip {
  position: fixed !important; top: 104px; right: 16px; width: 300px;
  max-height: min(60vh, 540px); overflow: auto;
  margin: 0 !important; padding: 16px !important; z-index: 1002;
  background: rgba(11,20,36,0.86); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 16px !important; box-shadow: 0 20px 50px rgba(0,0,0,0.4) !important;
  color: #eaf1ff; display: flex; flex-direction: column; gap: 12px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
body.presenting .live-strip .live-head { color: #eaf1ff; }
body.presenting .live-strip .live-body { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.10); }
body.presenting .live-strip .live-qtitle { color: rgba(234,241,255,0.7); }
body.presenting .live-strip .react-btn { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); }
body.presenting .live-strip .live-ask input { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); color: #eaf1ff; }
body.presenting .live-strip .live-agg { color: #6fe3d4; }
/* Ghost/outline buttons in the panel (End live, roster mic toggles) are dark
   text by default — invisible on the dark panel. Make them light. */
body.presenting .live-strip .btn.ghost {
  color: #eaf1ff; border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.06);
}
body.presenting .live-strip .btn.ghost:hover { background: rgba(255,255,255,0.15); }
/* End live is the one destructive control — solid red, white text, so it can
   never blend into the dark panel no matter what the base .btn styling is. */
body.presenting .live-strip #endLiveBtn,
body.presenting .live-strip #endLiveBtn2,
body.presenting .live-strip .live-head .btn.ghost {
  color: #ffffff !important; background: #e2483b !important; border: 1px solid #e2483b !important;
}
body.presenting .live-strip #endLiveBtn:hover,
body.presenting .live-strip #endLiveBtn2:hover,
body.presenting .live-strip .live-head .btn.ghost:hover { background: #c73a2e !important; border-color: #c73a2e !important; }
/* Collapsed: hide the panel, leave only the launcher chip. */
body.presenting.rail-min .live-strip { opacity: 0; pointer-events: none; transform: translateY(-6px); }

/* Launcher chip — always visible top-right below the bar; toggles the panel. */
.present-panel-toggle {
  position: fixed; top: 60px; right: 16px; z-index: 1004;
  display: none; align-items: center; gap: 8px;
  padding: 8px 13px; border-radius: 999px; cursor: pointer;
  background: rgba(11,20,36,0.86); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.16); color: #eaf1ff;
  font: inherit; font-weight: 700; font-size: 0.82rem; box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
body.presenting .present-panel-toggle { display: inline-flex; }
.present-panel-toggle:hover { background: rgba(23,37,63,0.95); }
.present-panel-toggle .ppt-dot { color: #ff5a5a; font-size: 0.7rem; }
.present-panel-toggle .ppt-chev { opacity: 0.7; font-size: 0.7rem; }

/* Deck controls (Prev/Next) float at the bottom centre for the teacher. */
body.presenting .study-actions {
  position: fixed; left: 50%; bottom: 86px; transform: translateX(-50%);
  margin: 0; z-index: 1001; display: flex; gap: 10px;
  background: rgba(9,17,31,0.6); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 8px; backdrop-filter: blur(6px);
}
body.presenting .study-actions .btn { background: rgba(255,255,255,0.08); color: #eaf1ff; border-color: rgba(255,255,255,0.14); }
body.presenting.live-student .study-actions { display: none; }
body.presenting.live-student #flipCard, body.presenting.live-student #shuffleCards { display: none !important; }

/* Join QR sits above the stage, bottom-left. */
body.presenting .session-qr, body.presenting .session-qr-reopen { z-index: 1003; }

/* Narrow screens: panel becomes a bottom sheet, launcher stays top-right. */
@media (max-width: 720px) {
  body.presenting .live-strip {
    top: auto; left: 12px; right: 12px; bottom: 12px; width: auto; max-height: 44vh;
    border-radius: 16px !important;
  }
  body.presenting .study-actions { bottom: 12px; }
  body.presenting .lesson-annobar { bottom: 76px; }
  body.presenting .session-qr { display: none; }
}

/* ===== Webinars page ===== */
.panel-sub { margin: 6px 0 0; color: var(--muted, #5a6b85); font-size: 0.92rem; max-width: 60ch; }
.info-empty { color: var(--muted, #5a6b85); font-size: 0.92rem; line-height: 1.55; padding: 8px 0; }
.info-empty a { color: var(--brand, #2563ff); }
.webinar-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.webinar-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px; border: 1px solid var(--line, #dce6f5); border-radius: 14px; background: #fff;
}
.webinar-row .web-title { font-weight: 700; font-size: 1rem; }
.webinar-row .web-meta { color: var(--muted, #5a6b85); font-size: 0.86rem; margin-top: 3px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.webinar-row .web-join { margin-top: 8px; font-size: 0.84rem; color: var(--muted, #5a6b85); word-break: break-all; }
.webinar-row .web-join a { color: var(--brand, #2563ff); }
.webinar-row .web-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.web-missing { color: #c2410c; font-weight: 600; font-size: 0.82rem; }
.web-pill { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.03em; padding: 3px 9px; border-radius: 999px; background: #eef2fa; color: #5a6b85; }
.web-pill.live { background: rgba(18,181,166,0.16); color: #0e8f83; }
.web-pill.due { background: rgba(37,99,255,0.14); color: #2563ff; }
.web-pill.full { background: rgba(214,69,69,0.14); color: #c2410c; }
.web-pill.pubtag { background: rgba(37,99,255,0.12); color: #2563ff; }
.web-seats { font-size: 0.8rem; color: var(--muted, #5a6b85); font-weight: 600; }
.web-full-txt { color: #c2410c; font-weight: 700; }
.btn.xs { padding: 3px 8px; font-size: 0.72rem; }
