/* HENC design system — "Mile-High Summit" */
:root {
  --ink-deep: #0b1026; --ink: #14193b; --ink-soft: #1a1f4d;
  --violet: #4527a0; --electric: #7c4dff; --cyan: #00e5ff; --blue: #00b0ff;
  --text: #1d2333; --text-dim: #5b6177; --text-inverse: #eef0fb;
  --text-inverse-dim: #8a93c4; --paper: #f7f8fc; --card: #ffffff;
  --radius: 10px; --shadow: 0 8px 30px rgba(20, 25, 59, .10);
  --glow: 0 6px 24px rgba(124, 77, 255, .45);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav { display: flex; justify-content: space-between; align-items: center;
  padding: 16px 28px; background: var(--ink-deep); }
.nav-brand { color: #fff; font-weight: 800; font-size: 20px; letter-spacing: 1px;
  text-decoration: none; }
.nav-brand span { color: var(--text-inverse-dim); font-size: 11px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase; margin-left: 10px; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { color: var(--text-inverse); text-decoration: none; font-size: 14.5px; }
/* Signed-in indicator: green dot + name, plus a sign-out link. */
.nav-user {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-inverse-dim); font-size: 13px; font-weight: 600;
  max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-user::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto;
  background: #36d399; box-shadow: 0 0 7px rgba(54, 211, 153, .85);
}
.nav-signout { color: var(--text-inverse); opacity: .72; font-size: 14px; }
.nav-signout:hover { opacity: 1; }
/* Hamburger toggle — hidden on desktop, shown on narrow screens. */
.nav-toggle { display: none; flex-direction: column; gap: 4px; justify-content: center;
  width: 40px; height: 36px; padding: 7px 8px; background: none; border: 0; cursor: pointer; }
.nav-toggle-bar { display: block; width: 100%; height: 2px; border-radius: 2px;
  background: #fff; transition: transform .2s ease, opacity .2s ease; }

/* Buttons */
.btn { display: inline-block; padding: 12px 26px; border-radius: 8px; border: 0;
  font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-primary { background: linear-gradient(90deg, var(--electric), var(--blue));
  color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .35); color: var(--text-inverse);
  padding: 8px 18px; font-weight: 600; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--ink-deep) 0%, var(--ink-soft) 55%,
  var(--violet) 100%); color: var(--text-inverse); padding: 90px 24px 100px;
  text-align: center; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; top: -120px; right: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 77, 255, .35), transparent 70%); }
.hero > * { position: relative; z-index: 1; }
/* Looping hero background video + dark scrim for headline legibility. */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-scrim { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(11,16,38,.42) 0%, rgba(11,16,38,.66) 100%); }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-kicker { font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--text-inverse-dim); }
.hero h1 { font-size: clamp(42px, 7vw, 76px); font-weight: 800; line-height: 1.04;
  margin: 14px 0 8px; }
.hero h1 .accent { background: linear-gradient(90deg, var(--electric), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-meta { display: inline-block; margin-top: 14px; padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px;
  color: #cfd6ff; font-size: 14px; }
.hero .btn-primary { margin-top: 28px; font-size: 17px; padding: 15px 36px; }

/* Countdown */
.countdown { display: flex; gap: 18px; justify-content: center; margin-top: 36px; }
.countdown .unit { background: rgba(255, 255, 255, .07); border: 1px solid
  rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 14px 20px;
  min-width: 84px; }
.countdown .num { font-size: 32px; font-weight: 800; color: #fff; }
.countdown .label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-inverse-dim); }

/* Sections & cards */
.section { padding: 72px 0; }
.section h2 { font-size: 32px; margin: 0 0 8px; color: var(--ink); }
.section .lede { color: var(--text-dim); max-width: 640px; margin: 0 0 32px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px; }
.card { background: var(--card); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); }
.card h3 { margin: 0 0 6px; color: var(--ink); }
.card p { margin: 0; color: var(--text-dim); font-size: 14.5px; }

/* Forms */
.form-page { max-width: 560px; margin: 56px auto; padding: 0 24px; }
.form-card { background: var(--card); border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow); }
.form-card h1 { margin: 0 0 4px; font-size: 26px; color: var(--ink); }
.form-card .sub { color: var(--text-dim); font-size: 14px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink);
  margin-bottom: 5px; }
.field input[type=text], .field input[type=email], .field input[type=password],
.field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #d4d7e3; border-radius: 8px;
  font-size: 15px; font-family: inherit; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--electric);
  border-color: transparent; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px;
  color: var(--text-dim); }

/* Horizontal radio group (attendance mode etc.). Each option is a pill that
   highlights when its radio is checked. */
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px;
  margin: 0; padding: 9px 15px; border: 1.5px solid #d4d7e3; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--text-dim); cursor: pointer;
  user-select: none; transition: border-color .18s ease, color .18s ease,
  background .18s ease, box-shadow .18s ease; }
.radio-row input[type=radio] { accent-color: var(--electric); margin: 0; }
.radio-row label:hover { border-color: var(--electric); color: var(--ink); }
.radio-row label:has(input:checked) { border-color: var(--electric);
  color: var(--ink); background: rgba(124, 77, 255, .08);
  box-shadow: 0 0 0 1px var(--electric) inset; }
.errors { background: #fdecec; border: 1px solid #f5b5b5; color: #8a1f1f;
  border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 16px; }
.notice { background: #ecf6fd; border: 1px solid #b5d9f5; color: #1f4f8a;
  border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 16px; }

/* Footer */
.footer { background: var(--ink-deep); color: var(--text-inverse-dim);
  text-align: center; padding: 36px 24px; font-size: 13px; margin-top: 80px; }
.footer-meta { margin-top: 6px; font-size: 11.5px; opacity: .7; }

@media (max-width: 640px) {
  .countdown { flex-wrap: wrap; }
  .nav-brand span { display: none; }
}

/* Responsive titlebar: collapse the links into a hamburger dropdown. */
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; padding: 14px 16px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; order: 3; flex-basis: 100%; flex-direction: column;
    align-items: flex-start; gap: 4px; margin-top: 10px;
  }
  .nav.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 9px 2px; font-size: 16px; width: 100%; }
  .nav-links .btn { margin-top: 4px; }
  /* Hamburger → X when open. */
  .nav.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ============================================================
   Task 14 — Landing showpiece. Additive extensions only.
   Everything below is scoped to the landing page and never
   redefines a base class used by login / register / me.
   ============================================================ */

:root {
  --halo: 0 0 0 1px rgba(255, 255, 255, .08),
          0 18px 60px rgba(8, 11, 32, .55);
  --line-faint: rgba(255, 255, 255, .12);
}

/* ---- Showpiece hero: depth via stacked atmosphere ---- */
.hero-show {
  padding: clamp(36px, 5vw, 66px) 24px clamp(120px, 16vw, 200px);
  isolation: isolate;
}
/* Aurora wash drifting behind the headline (over the base gradient). */
.hero-show::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  z-index: 0;
  background:
    radial-gradient(48% 46% at 18% 12%, rgba(124, 77, 255, .55), transparent 70%),
    radial-gradient(42% 40% at 86% 8%,  rgba(0, 229, 255, .28),  transparent 72%),
    radial-gradient(60% 55% at 50% 120%, rgba(69, 39, 160, .55), transparent 70%);
  filter: blur(8px);
  animation: aurora-drift 22s ease-in-out infinite alternate;
}
/* Keep the inherited corner glow but make the content sit above it. */
.hero-show::after { z-index: 0; }
.hero-show > * { z-index: 2; }

/* Fine star/grid grain layer for texture without an image asset. */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 78%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 78%);
  opacity: .6;
}

/* Mile-high mountain range pinned to the bottom of the hero. */
.hero-range {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(120px, 20vw, 230px);
  z-index: 1;
  pointer-events: none;
}
.hero-range .ridge-back  { fill: rgba(20, 25, 59, .55); }
.hero-range .ridge-mid   { fill: rgba(11, 16, 38, .78); }
.hero-range .ridge-front { fill: var(--paper); }
.hero-range .snow        { fill: rgba(0, 229, 255, .22); }

/* Hero typography upgrades (scoped). */
.hero-show .hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-show .hero-kicker::before,
.hero-show .hero-kicker::after {
  content: ""; width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.hero-show h1 {
  font-size: clamp(46px, 8.5vw, 104px);
  letter-spacing: -.02em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .35);
}
.hero-show .hero-tagline {
  max-width: 560px; margin: 18px auto 0;
  font-size: clamp(16px, 2.1vw, 21px);
  color: var(--text-inverse); opacity: .82; font-weight: 400;
}
.hero-meta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; align-items: center; margin-top: 22px;
}
.hero-show .hero-meta {
  margin-top: 0;
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-meta .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}
.hero-meta.is-open .dot { animation: pulse-dot 2.4s ease-in-out infinite; }
.hero-meta.is-closed .dot { background: var(--text-inverse-dim); box-shadow: none; }

/* CTA cluster. */
.hero-cta { margin-top: 34px; display: flex; gap: 14px;
  justify-content: center; align-items: center; flex-wrap: wrap; }
/* Both CTA buttons share identical metrics so they read as a matched pair.
   inline-flex + center so the label is centered on both axes (the primary is
   otherwise inline-block and its text rides top-left of the fixed-height box). */
.hero-cta .btn-primary, .hero-cta .btn-line {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 0; padding: 14px 30px; font-size: 16px; line-height: 1;
  border-radius: 10px; height: 50px; box-sizing: border-box;
}
.hero-show .btn-primary { position: relative; overflow: hidden; }
.hero-show .btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%,
    rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
}
.hero-show .btn-primary:hover::after { animation: sheen 1s ease; }
.btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; color: var(--text-inverse); text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .05);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.btn-line:hover { border-color: var(--cyan);
  background: rgba(0, 229, 255, .10); transform: translateY(-1px); }
.hero-closed-note {
  margin-top: 28px; font-size: 15px; color: var(--text-inverse); opacity: .8;
}

/* ---- Countdown glow cards (extends base .countdown) ---- */
.countdown { margin-top: 44px; gap: 14px; }
.countdown.is-static { gap: 18px; }
.countdown .unit {
  position: relative;
  background: rgba(255, 255, 255, .06);
  border-color: var(--line-faint);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  padding: 18px 22px; min-width: 96px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.countdown .unit::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px; background: linear-gradient(150deg,
    rgba(124, 77, 255, .8), rgba(0, 229, 255, .4) 60%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .55;
}
.countdown .unit:hover { transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(124, 77, 255, .25); }
.countdown .num {
  font-size: clamp(34px, 5vw, 46px); line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  text-shadow: 0 0 24px rgba(0, 229, 255, .35);
}
.countdown .label { margin-top: 8px; }
.countdown .sep {
  align-self: center; font-size: 30px; font-weight: 700;
  color: var(--text-inverse-dim); opacity: .5; padding: 0 2px;
}

/* ---- Section header treatment (landing only) ---- */
.section-eyebrow {
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--electric); font-weight: 700; margin-bottom: 10px;
}
.section-head { max-width: 680px; }
.section .lede { font-size: 17px; }

/* ---- "What is HENC" explainer cards ---- */
.explainer { background: var(--card); }
.explainer .card-grid { gap: 24px; }
.feature-card {
  position: relative; overflow: hidden;
  border: 1px solid #eceef6;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease,
    border-color .28s ease;
}
.feature-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--electric), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(20, 25, 59, .14);
  border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-num {
  font-size: 13px; font-weight: 800; letter-spacing: 2px;
  color: var(--electric); margin-bottom: 14px; display: block;
}
.feature-card h3 { font-size: 20px; }
.feature-card p { margin-top: 8px; line-height: 1.65; }

/* ---- Venue block ---- */
.venue {
  background: linear-gradient(135deg, var(--ink-deep), var(--ink-soft) 70%,
    var(--violet));
  color: var(--text-inverse); position: relative; overflow: hidden;
}
.venue::after {
  content: ""; position: absolute; bottom: -160px; left: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, .18), transparent 70%);
}
.venue-card {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-faint);
  border-radius: 16px; padding: clamp(24px, 4vw, 40px);
  backdrop-filter: blur(8px); box-shadow: var(--halo);
}
.venue-pin {
  width: 64px; height: 64px; border-radius: 18px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--electric), var(--blue));
  box-shadow: var(--glow);
}
.venue-pin svg { width: 30px; height: 30px; fill: #fff; }
.venue-card h2 { color: #fff; margin: 0 0 6px; font-size: 26px; }
.venue-card p { color: var(--text-inverse); opacity: .85; margin: 0; }
.venue-card .venue-sub { margin-top: 8px; font-size: 14px; opacity: .7; }
.venue-badge {
  display: inline-block; margin-bottom: 12px; padding: 5px 14px;
  border-radius: 999px; font-size: 11.5px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 700;
  color: var(--cyan); border: 1px solid rgba(0, 229, 255, .35);
  background: rgba(0, 229, 255, .06);
}

/* ---- Final CTA band ---- */
.cta-band {
  text-align: center;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(124, 77, 255, .25), transparent 70%),
    var(--ink-deep);
  color: var(--text-inverse); padding: clamp(72px, 10vw, 110px) 24px;
}
.cta-band h2 { color: #fff; font-size: clamp(30px, 5vw, 46px);
  margin: 0 0 12px; letter-spacing: -.01em; }
.cta-band p { color: var(--text-inverse); opacity: .8; max-width: 540px;
  margin: 0 auto 30px; font-size: 17px; }
.cta-band .btn-primary { font-size: 18px; padding: 17px 44px; }
.cta-band .cta-fine { margin-top: 18px; font-size: 13px; opacity: .6; }

/* ---- Scroll reveal (gated by JS adding .reveal-ready to <html>) ---- */
.reveal-ready .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1),
              transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal-ready .reveal.in { opacity: 1; transform: none; }

/* ---- Keyframes ---- */
@keyframes aurora-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(0, -3%, 0) scale(1.08); }
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, .5); }
  50%      { box-shadow: 0 0 0 6px rgba(0, 229, 255, 0); }
}
@keyframes sheen { to { transform: translateX(120%); } }
@keyframes count-pop {
  0%   { transform: scale(.85); opacity: .4; }
  60%  { transform: scale(1.06); }
  100% { transform: scale(1); opacity: 1; }
}
.countdown.is-live .num.pop { animation: count-pop .5s cubic-bezier(.2,.8,.2,1); }

@media (max-width: 720px) {
  .venue-card { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .venue-pin { margin: 0 auto; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary, .hero-cta .btn-line { justify-content: center; }
}

/* ---- Respect reduced motion: kill all landing motion ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-show::before { animation: none; }
  .hero-meta.is-open .dot { animation: none; }
  .hero-show .btn-primary:hover::after { animation: none; }
  .countdown.is-live .num.pop { animation: none; }
  .reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
  .feature-card, .feature-card::before, .countdown .unit, .btn-line { transition: none; }
}

/* ============================================================
   Task 16 — Schedule program + organizer console polish.
   Additive only. Styles the classes introduced in Tasks 5–15:
   .chip/.chip-on, .sched-* , .kind-break/.kind-meal,
   .console-bar/.console-table, .row-line, .link-danger,
   .btn-add, .stat, plus a shared .btn-ghost-violet token.
   The public schedule reads as a premium conference program;
   the console reads calmer than the public site.
   ============================================================ */

:root {
  --console-bg: #f1f2f9;       /* calmer paper for the console chrome   */
  --console-line: #e3e5f0;     /* hairlines in tables / row lists       */
  --console-line-soft: #eef0f7;
  --chip-bg: #eef0fa;          /* default chip fill (track tint added)  */
  --danger: #c0392b;
  --rail: rgba(69, 39, 160, .16);  /* schedule time-rail spine          */
}

/* ---- Chips: the shared track/status atom ---- */
/* Track-colored chips set border-color inline; we tint the fill from it
   via color-mix so each chip glows in its track hue without extra markup. */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  border: 1.5px solid var(--console-line);
  background: var(--chip-bg);
  color: var(--ink); font-size: 12px; font-weight: 700;
  letter-spacing: .02em; line-height: 1.5; text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease,
              box-shadow .2s ease, transform .2s ease;
}
/* When a track color is supplied inline (border-color), wash the fill
   from that same hue so the pill reads as the track's color. */
.chip[style*="border-color"] {
  background: color-mix(in srgb, currentColor 12%, var(--chip-bg));
  color: var(--ink);
}
a.chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 25, 59, .10);
}
/* Track-colored filter chip: on hover, flood with its own border hue. */
a.chip[style*="border-color"]:hover {
  background: color-mix(in srgb, var(--electric) 12%, #fff);
}
.chip-on {
  background: linear-gradient(90deg, var(--electric), var(--blue));
  border-color: transparent; color: #fff;
  box-shadow: var(--glow);
}
a.chip-on:hover { color: #fff; filter: brightness(1.06); }

/* ---- Schedule filter bar ---- */
.sched-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 0 0 30px; padding-bottom: 22px;
  border-bottom: 1px solid var(--console-line);
}

/* ---- The program: a time rail with track-colored cards ---- */
/* Each slot is a two-column row: a sticky time label spine on the left,
   the session cards flowing on the right against a vertical rail line. */
.sched-slot {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 26px;
  position: relative;
  padding: 8px 0 30px;
}
/* The continuous rail line behind the time column. */
.sched-slot::before {
  content: ""; position: absolute;
  left: 107px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--rail), var(--rail));
}
.sched-slot:first-of-type::before { top: 14px; }
.sched-slot:last-of-type::before { bottom: auto; height: 18px; }

.sched-time {
  position: sticky; top: 16px; align-self: start;
  text-align: right; padding-right: 4px;
  font-size: 15px; font-weight: 800; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
/* A node marker where each time meets the rail. */
.sched-time::after {
  content: ""; position: absolute; right: -16px; top: 6px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 4px var(--paper), 0 0 12px rgba(124, 77, 255, .5);
}

.sched-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* Session card: white card with a track-colored left spine. */
.sched-card {
  position: relative; overflow: hidden;
  display: block; text-decoration: none;
  background: var(--card); border-radius: var(--radius);
  border: 1px solid #eceef6; border-left: 4px solid var(--electric);
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(20, 25, 59, .06);
  transition: transform .26s cubic-bezier(.2,.7,.2,1),
              box-shadow .26s ease, border-color .26s ease;
}
.sched-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(20, 25, 59, .14);
}
.sched-card .chip { margin-bottom: 10px; }
.sched-card h3 {
  margin: 0 0 6px; font-size: 17px; line-height: 1.3; color: var(--ink);
}
.sched-card .sched-meta {
  font-size: 13px; color: var(--text-dim); line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

/* Breaks & meals: quiet interstitials, not full program cards. */
.sched-card.kind-break,
.sched-card.kind-meal {
  border-left-color: transparent;
  border-style: dashed; border-color: var(--console-line);
  background: transparent; box-shadow: none;
}
.sched-card.kind-break h3,
.sched-card.kind-meal h3 {
  font-size: 14.5px; font-weight: 700; color: var(--text-dim);
  display: flex; align-items: center; gap: 8px;
}
.sched-card.kind-break h3::before { content: "\2615"; }   /* coffee */
.sched-card.kind-meal  h3::before { content: "\1F374"; }  /* fork+knife */
.sched-card.kind-break:hover,
.sched-card.kind-meal:hover {
  transform: none; border-color: var(--electric);
  box-shadow: none;
}
.sched-card.kind-plenary { border-left-color: var(--cyan); }

/* My-agenda cards reuse .card + .sched-card; keep a tidy left spine. */
.card.sched-card { border-left: 4px solid var(--electric); }
.card.sched-card h3 { color: var(--ink); }

/* ---- Shared violet ghost button token (replaces inline styles) ---- */
.btn-ghost-violet {
  background: transparent; border: 1px solid var(--violet);
  color: var(--violet); padding: 8px 18px; font-weight: 600;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-ghost-violet:hover {
  background: var(--violet); color: #fff; border-color: var(--violet);
}

/* ============================================================
   Organizer console — calmer, lighter chrome than the public site.
   ============================================================ */

/* Console sub-nav: a clean light bar, not the dark hero gradient. */
.console-bar {
  background: var(--card);
  border-bottom: 1px solid var(--console-line);
  box-shadow: 0 1px 0 rgba(20, 25, 59, .03);
  padding: 0;
}
.console-bar .container {
  height: 56px; padding-top: 0; padding-bottom: 0;
}
.console-bar strong {
  font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--electric); margin-right: 6px;
}
.console-bar a {
  position: relative; color: var(--text-dim);
  text-decoration: none; font-size: 14.5px; font-weight: 600;
  padding: 18px 2px;
  transition: color .18s ease;
}
.console-bar a:hover { color: var(--ink); }
.console-bar a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--electric);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.console-bar a:hover::after { transform: scaleX(1); }

/* Dashboard big numbers. (.card p.stat to beat the base `.card p` rule) */
.stat, .card p.stat {
  font-size: clamp(38px, 5vw, 52px); font-weight: 800; line-height: 1;
  letter-spacing: -.02em; margin: 6px 0 4px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--violet), var(--electric) 55%, var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card .sub { color: var(--text-dim); font-size: 13px; margin: 0; }

/* Console tables: clean, readable, horizontally scrollable on mobile. */
.console-table {
  width: 100%; border-collapse: collapse;
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); margin-top: 14px; font-size: 14.5px;
}
.console-table th {
  text-align: left; padding: 12px 16px;
  background: var(--console-bg); color: var(--text-dim);
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--console-line);
}
.console-table td {
  padding: 13px 16px; border-bottom: 1px solid var(--console-line-soft);
  color: var(--text); vertical-align: middle;
}
.console-table tr:last-child td { border-bottom: 0; }
.console-table tbody tr:hover td,
.console-table tr:hover td { background: #fafbff; }
.console-table a { color: var(--violet); font-weight: 600; text-decoration: none; }
.console-table a:hover { text-decoration: underline; }

/* Row list (tracks/rooms/speakers in the program editor cards). */
.row-line {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--console-line-soft);
  font-size: 14.5px; color: var(--text);
}
.row-line:last-of-type { border-bottom: 0; }
.row-line form { margin: 0; line-height: 0; }

/* Quiet inline danger link/button (remove / withdraw). */
.link-danger {
  background: none; border: 0; padding: 2px 4px; cursor: pointer;
  color: var(--danger); font-size: 13px; font-weight: 600;
  font-family: inherit; border-radius: 6px;
  transition: background .15s ease;
}
.link-danger:hover { background: rgba(192, 57, 43, .08); text-decoration: underline; }

/* "Add X" submit buttons inside editor cards: calm, full-width, light. */
.btn-add {
  margin-top: 14px; width: 100%;
  border: 1px solid var(--console-line);
  color: var(--violet); background: var(--console-bg);
  font-weight: 700; padding: 10px 18px;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn-add:hover {
  background: #fff; border-color: var(--electric); color: var(--electric);
}

/* ---- Schedule program responsive: stack the rail on small screens ---- */
@media (max-width: 720px) {
  .sched-slot { grid-template-columns: 1fr; gap: 10px; padding-bottom: 22px; }
  .sched-slot::before { display: none; }
  .sched-time {
    position: static; text-align: left; padding: 0 0 2px;
    color: var(--electric); font-size: 13px; letter-spacing: 1px;
    text-transform: uppercase;
  }
  .sched-time::after { display: none; }
  .sched-cards { grid-template-columns: 1fr; }
}

/* Horizontal scroll for wide console tables on narrow screens. */
@media (max-width: 760px) {
  .console-table { display: block; overflow-x: auto; white-space: nowrap;
    -webkit-overflow-scrolling: touch; }
  .console-bar .container { gap: 14px !important; overflow-x: auto; }
}

/* ---- Reduced motion for the new transitions ---- */
@media (prefers-reduced-motion: reduce) {
  .chip, a.chip, .sched-card, .btn-ghost-violet, .console-bar a,
  .console-bar a::after, .btn-add, .link-danger { transition: none; }
  .sched-card:hover, a.chip:hover { transform: none; }
}

/* ============================================================
   "Meet your organizers" — public landing section
   ============================================================ */
.organizers-section { background: var(--paper); }
.organizers-section .section-head { margin-bottom: 36px; }

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

.organizer-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid #eceef6;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease,
              border-color .28s ease;
}
.organizer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(20, 25, 59, .13);
  border-color: transparent;
}

/* Circular photo / initial avatar */
.organizer-photo-wrap { margin-bottom: 18px; }
.organizer-photo {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--electric);
  display: block;
}
/* Gradient initial fallback — same element as .organizer-photo */
.organizer-initial {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--ink-soft), var(--violet));
  color: #fff;
  font-size: 38px; font-weight: 800;
  /* inherit circular ring from .organizer-photo */
}

.organizer-name {
  margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--ink);
}
.organizer-role {
  margin: 0 0 10px;
  font-size: 13.5px; font-weight: 600; color: var(--violet);
  line-height: 1.4;
}
.organizer-bio {
  margin: 0; font-size: 14px; color: var(--text-dim); line-height: 1.65;
}

/* Console thumbnail (table rows) */
.organizer-thumb {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; display: block;
  box-shadow: 0 0 0 2px var(--console-line);
}
.organizer-initial-sm {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--ink-soft), var(--violet));
  color: #fff; font-size: 16px; font-weight: 800;
}

/* Shared text-dim utility used in organizer console */
.text-dim { color: var(--text-dim); }

/* Small ghost button variant for console table actions */
.btn-sm { padding: 5px 12px; font-size: 13px; }

@media (max-width: 720px) {
  .organizer-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .organizer-card { transition: none; }
  .organizer-card:hover { transform: none; }
}

/* ============================================================
   Brand badge (main logo) — nav mark + hero crest
   ============================================================ */
.nav-brand { display: inline-flex; align-items: center; gap: 10px; }
.nav-brand img { display: block; border-radius: 8px; }

.hero-badge {
  display: block;
  margin: 0 auto 6px;
  width: clamp(140px, 22vw, 210px);
  height: auto;
  border-radius: 18px;
  /* halo ring makes the badge tile read as a deliberate app-icon panel */
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16);
  filter: drop-shadow(0 10px 34px rgba(124, 77, 255, .45));
}
@media (max-width: 640px) {
  .hero-badge { margin-bottom: 14px; }
}

/* ============================================================
   Speaker photos — session detail cards + schedule avatars
   ============================================================ */
.speaker-card { display: flex; gap: 18px; align-items: flex-start; }
.speaker-photo {
  flex: 0 0 84px; width: 84px; height: 84px;
  border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--electric);
}
.speaker-initial {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--ink-soft), var(--violet));
  color: #fff; font-size: 34px; font-weight: 800;
}
.speaker-info h3 { margin-top: 2px; }
.speaker-info .speaker-inst {
  color: var(--violet); font-weight: 600; font-size: 13.5px; margin: 0 0 6px;
}
.avatar-row { display: flex; margin-top: 10px; }
.avatar-xs {
  width: 26px; height: 26px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; margin-right: -8px;
  box-shadow: 0 1px 4px rgba(20, 25, 59, .25);
}
@media (max-width: 640px) {
  .speaker-card { gap: 14px; }
  .speaker-photo { flex-basis: 64px; width: 64px; height: 64px; }
  .speaker-initial { font-size: 26px; }
}

/* ============================================================
   Sponsor band (interim — Plan 3 brings the tiered system)
   ============================================================ */
.sponsor-band { padding: 56px 0; text-align: center; }
.sponsor-band .section-eyebrow { margin-bottom: 22px; }
.sponsor-logo { display: inline-block; padding: 10px 14px; border-radius: 10px;
  transition: transform .25s ease, box-shadow .25s ease; }
.sponsor-logo img { display: block; max-width: min(360px, 82vw); height: auto; }
.sponsor-logo:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) {
  .sponsor-logo { transition: none; }
  .sponsor-logo:hover { transform: none; }
}

/* ============================================================
   Hybrid (in-person + online) highlight chip
   ============================================================ */
.hero-meta.is-hybrid {
  border-color: rgba(0, 229, 255, .45);
  color: #aef4ff;
  background: rgba(0, 229, 255, .07);
}

/* ============================================================
   Trademark lockup: Higher Education / NETCOMM {year} / Workshop
   ============================================================ */
.hero-h1-sub {
  display: block;
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: var(--text-inverse-dim);
  margin-top: 6px;
  -webkit-text-fill-color: var(--text-inverse-dim); /* escape h1 gradient clip */
}
.hero-show .hero-kicker { margin-top: 14px; }

/* ============================================================
   PLAN 5 — Live day-of page (G5 visual polish)
   ------------------------------------------------------------
   All rules are `live-*` scoped. The live-state page opts into a
   DARK variant via `body.live-dark` (set in live.html only for
   state == "live"). The no-event / teaser states stay LIGHT and
   are styled by the generic .live-generic / .live-teaser blocks.
   Motion is gated behind prefers-reduced-motion at the bottom.
   ============================================================ */

/* ---- Light states: teaser + no-event (centered, on paper) ---- */
.live-generic,
.live-teaser {
  text-align: center;
  padding: clamp(64px, 12vw, 140px) 24px;
}
.live-generic .live-heading,
.live-teaser .live-heading {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  color: var(--ink);
  margin: 18px 0 10px;
}
.live-sub { color: var(--text-dim); max-width: 520px; margin: 0 auto 18px; }
.live-date { color: var(--ink); font-weight: 700; font-size: 18px; margin-bottom: 22px; }
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.live-badge--soon {
  background: rgba(124, 77, 255, .10); color: var(--electric);
  border: 1px solid rgba(124, 77, 255, .30);
}

/* ============================================================
   DARK live-state — Option C broadcast layout
   ------------------------------------------------------------
   Hero Zoom stage + floating Slack chat are the two stars;
   everything else lays in dynamically: a one-line ticker up
   top, an event-driven poll card over the hero, and Q&A /
   Feedback as collapsible edge drawers. Midnight atmosphere
   on the whole body. Motion gated behind prefers-reduced-motion.
   ============================================================ */
body.live-dark {
  --live-bg: #070b1f;
  --live-card: rgba(255, 255, 255, .045);
  --live-card-hover: rgba(255, 255, 255, .075);
  --live-border: rgba(255, 255, 255, .10);
  --live-border-bright: rgba(0, 229, 255, .35);
  --live-ink: #eef1ff;
  --live-dim: #97a0cf;
  --live-faint: #6b74a6;
  background:
    radial-gradient(60% 50% at 12% -5%, rgba(124, 77, 255, .28), transparent 70%),
    radial-gradient(55% 45% at 92% 0%, rgba(0, 229, 255, .14), transparent 72%),
    radial-gradient(70% 60% at 50% 120%, rgba(69, 39, 160, .30), transparent 70%),
    var(--live-bg);
  background-attachment: fixed;
  color: var(--live-ink);
}

/* ---- Broadcast shell ---- */
.live-broadcast {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(14px, 2.4vw, 26px) clamp(12px, 2.6vw, 30px) 64px;
}

/* ---- Pulsing LIVE dot (shared) ---- */
.live-pulse-dot {
  position: relative;
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 8px rgba(0, 229, 255, .9);
  flex: 0 0 auto;
}
.live-pulse-dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #00e5ff;
  animation: live-pulse 1.8s ease-out infinite;
}
@keyframes live-pulse {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { transform: scale(3.2); opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* ============================================================
   TOP TICKER — single horizontal line
   ============================================================ */
.live-ticker {
  display: flex; align-items: center; gap: 14px;
  padding: 9px 16px;
  border-radius: 12px;
  background: rgba(8, 12, 32, .62);
  border: 1px solid var(--live-border);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  margin-bottom: clamp(12px, 1.6vw, 18px);
  overflow: hidden;
}
.live-ticker-flag {
  display: inline-flex; align-items: center; gap: 8px;
  flex: 0 0 auto;
  font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: #d8fbff;
  padding: 4px 12px 4px 10px; border-radius: 999px;
  background: rgba(0, 229, 255, .10);
  border: 1px solid rgba(0, 229, 255, .40);
}
.live-ticker-track {
  display: flex; align-items: center; gap: 10px;
  flex: 1 1 auto; min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  font-size: 13.5px;
}
.live-ticker-track::-webkit-scrollbar { display: none; }
.live-ticker-now-label {
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--live-faint); flex: 0 0 auto;
}
.live-ticker-now {
  display: inline-flex; align-items: baseline; gap: 7px;
  flex: 0 0 auto;
  background: transparent; border: 0; cursor: pointer;
  font: inherit; color: var(--live-ink);
  padding: 4px 10px; border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.live-ticker-now:hover { background: rgba(0, 229, 255, .10); color: #fff; }
.live-ticker-now.is-staged {
  background: rgba(0, 229, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(0, 229, 255, .45);
  color: #fff;
}
.live-ticker-now-title { font-weight: 700; }
.live-ticker-room { color: var(--cyan); font-weight: 700; }
.live-ticker-sep { color: var(--live-faint); }
.live-ticker-dot { color: var(--live-faint); flex: 0 0 auto; }
.live-ticker-next {
  display: inline-flex; align-items: baseline; gap: 7px; flex: 0 0 auto;
  color: var(--live-dim);
}
.live-ticker-time {
  font-variant-numeric: tabular-nums; font-weight: 800; color: var(--cyan);
}
.live-ticker-next-title { color: var(--live-dim); }
.live-ticker-idle { color: var(--live-faint); font-style: italic; }

/* ============================================================
   STAGE — hero Zoom (dominant) + floating Slack chat dock
   ============================================================ */
.live-stage-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(12px, 1.6vw, 20px);
  align-items: stretch;
}
.live-stage { min-width: 0; }

/* ---- Hero ---- */
.live-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: clamp(380px, 52vh, 620px);
  display: flex; flex-direction: column;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(124, 77, 255, .35), transparent 60%),
    radial-gradient(120% 120% at 100% 100%, rgba(0, 229, 255, .16), transparent 60%),
    linear-gradient(160deg, #14143a 0%, #0b0d28 60%, #090a1e 100%);
  border: 1px solid var(--live-border);
  box-shadow: 0 30px 80px rgba(3, 6, 22, .6), inset 0 0 0 1px rgba(255, 255, 255, .03);
}
.live-hero-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(5, 8, 24, .55), transparent);
}
.live-hero-flag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: #d8fbff;
}
.live-hero-room {
  font-size: 11.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--live-dim);
}


/* Poster (default / non-participant / no-zoom) */
.live-hero-poster {
  position: relative; z-index: 1;
  margin: auto;
  text-align: center;
  padding: 40px 28px;
  max-width: 640px;
}
.live-hero-poster--idle { color: var(--live-dim); }
.live-hero-title {
  font-size: clamp(26px, 3.6vw, 46px);
  font-weight: 800; line-height: 1.08; letter-spacing: -.5px;
  color: #fff; margin: 0 0 12px;
}
.live-hero-speakers {
  color: var(--live-dim); font-size: 15px; margin: 0 0 24px;
}
.live-hero-join { font-size: 15px; padding: 12px 26px; }
.live-hero-note {
  color: var(--live-dim); font-size: 14px; margin: 16px 0 6px;
  min-height: 1em;
}
.live-hero-popout {
  display: inline-block; margin-top: 4px;
  font-size: 12.5px; color: var(--cyan); text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, .35);
}
.live-hero-popout:hover { color: #fff; }

/* ============================================================
   FLOATING SLACK CHAT DOCK
   ============================================================ */
.live-chat-dock { min-width: 0; }
.live-chat {
  display: flex; flex-direction: column;
  height: 100%;
  min-height: clamp(380px, 52vh, 620px);
  max-height: clamp(420px, 80vh, 960px);   /* taller panel = more Slack history visible */
  border-radius: 16px;
  background: rgba(10, 14, 34, .72);
  border: 1px solid var(--live-border);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(3, 6, 22, .5);
  overflow: hidden;
}
.live-chat-head {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--live-border);
  flex: 0 0 auto;
}
.live-chat-badge {
  font-size: 11px; font-weight: 800; letter-spacing: .3px;
  color: #fff;
  background: linear-gradient(135deg, #611f69 0%, #4a154b 100%);
  padding: 3px 9px; border-radius: 6px;
}
.live-chat-title { font-size: 14px; font-weight: 700; color: #fff; }
.live-chat-body {
  flex: 1 1 auto; min-height: 0;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 14px;
}
.live-chat-body::-webkit-scrollbar { width: 8px; }
.live-chat-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .12); border-radius: 999px;
}

/* Chat message rows */
.live-feed-item { position: relative; }
.live-feed-item--pinned {
  padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(0, 229, 255, .35);
  background: rgba(0, 229, 255, .06);
}
.live-feed-meta { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.live-feed-badge {
  font-size: 10px; font-weight: 800; letter-spacing: .5px;
  padding: 2px 7px; border-radius: 999px;
}
.live-feed-badge--organizer {
  color: #d7c9ff; background: rgba(124, 77, 255, .20);
  border: 1px solid rgba(124, 77, 255, .45);
  text-transform: uppercase; letter-spacing: 1px;
}
.live-feed-badge--slack {
  color: #cfe0ff; background: transparent; border: 0;
  font-weight: 700; font-size: 13px; padding: 0;
}
.live-feed-badge--pinned {
  color: #d8fbff; background: rgba(0, 229, 255, .14);
  border: 1px solid rgba(0, 229, 255, .45);
  text-transform: uppercase; letter-spacing: 1px;
}
body.live-dark .live-feed-time { font-size: 11px; color: var(--live-faint); margin-left: auto; }
body.live-dark .live-feed-text { color: var(--live-ink); font-size: 14px; line-height: 1.5; }

/* Pinned post box at the bottom */
.live-post-form {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--live-border);
  background: rgba(6, 9, 26, .6);
}
body.live-dark .live-post-input {
  flex: 1 1 auto;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--live-border);
  border-radius: 10px; padding: 10px 13px;
  color: var(--live-ink); font-family: inherit; font-size: 14px;
}
body.live-dark .live-post-input::placeholder { color: var(--live-faint); }
body.live-dark .live-post-input:focus {
  outline: none; border-color: var(--live-border-bright);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, .14);
}
.live-post-btn {
  flex: 0 0 auto; cursor: pointer;
  width: 38px; height: 38px; border-radius: 10px; border: 0;
  font-size: 16px; font-weight: 800; color: #061018;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 6px 18px rgba(0, 176, 255, .35);
  transition: transform .12s ease;
}
.live-post-btn:hover { transform: translateY(-1px); }
.live-post-btn:active { transform: translateY(1px) scale(.97); }

/* ============================================================
   EVENT-DRIVEN SECONDARY CONTENT (over the hero)
   ============================================================ */
.live-secondary { display: contents; }

/* ---- Poll card: slides in bottom-left over the hero ---- */
.live-poll-card {
  position: absolute; z-index: 4;
  left: 18px; bottom: 18px;
  width: min(340px, calc(100% - 36px));
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(9, 12, 30, .86);
  border: 1px solid rgba(0, 229, 255, .30);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(3, 6, 22, .6), 0 0 0 1px rgba(0, 229, 255, .12);
  animation: live-card-in .45s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes live-card-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.live-poll-card-flag {
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 8px;
  display: inline-flex; align-items: center; gap: 7px;
}
.live-poll-card-flag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px rgba(0, 229, 255, .9);
}
body.live-dark .live-poll-question { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 12px; line-height: 1.3; }
.live-poll-options { display: grid; gap: 7px; margin-bottom: 12px; }
body.live-dark .live-poll-option {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: 9px; cursor: pointer;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--live-border);
  transition: border-color .15s ease, background .15s ease;
}
body.live-dark .live-poll-option:hover { border-color: var(--live-border-bright); }
body.live-dark .live-poll-option--voted {
  border-color: rgba(0, 229, 255, .5); background: rgba(0, 229, 255, .08);
}
body.live-dark .live-poll-option-text { color: var(--live-ink); font-size: 14px; }
body.live-dark .live-poll-option input[type=radio] { accent-color: var(--cyan); }
.live-poll-submit { justify-self: start; }

.live-poll-results { display: grid; gap: 8px; margin-top: 4px; }
.live-poll-result-row {
  display: grid;
  grid-template-columns: minmax(74px, 1fr) minmax(0, 1.4fr) auto;
  align-items: center; gap: 10px;
}
body.live-dark .live-poll-result-label { font-size: 12.5px; color: var(--live-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-poll-bar-wrap {
  height: 9px; border-radius: 999px; overflow: hidden;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--live-border);
}
.live-poll-bar {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--electric), var(--blue));
  animation: live-bar-grow .7s cubic-bezier(.22, 1, .36, 1) both;
}
.live-poll-bar--voted {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 0 14px rgba(0, 229, 255, .4);
}
@keyframes live-bar-grow {
  from { width: 0 !important; }
  to   { width: var(--bar-pct, 0); }
}
body.live-dark .live-poll-result-count {
  font-variant-numeric: tabular-nums; font-size: 12px; color: var(--live-faint); white-space: nowrap;
}

/* ============================================================
   EDGE DRAWERS — Q&A + Feedback (right edge of the hero)
   ============================================================ */
.live-drawers {
  position: absolute; z-index: 5;
  top: 64px; right: 0;
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-end;
}
.live-drawer { position: relative; }
.live-drawer-tab {
  list-style: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 12px 9px;
  border-radius: 10px 0 0 10px;
  background: rgba(124, 77, 255, .16);
  border: 1px solid rgba(124, 77, 255, .40);
  border-right: 0;
  color: #e7deff;
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  writing-mode: vertical-rl;
  transition: background .15s ease, color .15s ease;
}
.live-drawer-tab::-webkit-details-marker { display: none; }
.live-drawer--qa > .live-drawer-tab {
  background: rgba(0, 229, 255, .14);
  border-color: rgba(0, 229, 255, .40);
  color: #d8fbff;
}
.live-drawer-tab:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.live-drawer-tab-label { writing-mode: vertical-rl; }
.live-drawer-count {
  writing-mode: horizontal-tb;
  font-size: 10px; font-weight: 800;
  background: rgba(255, 255, 255, .14); color: #fff;
  border-radius: 999px; padding: 1px 6px;
}
.live-drawer[open] > .live-drawer-tab {
  background: rgba(255, 255, 255, .14); color: #fff;
}
.live-drawer-body {
  position: absolute; top: 0; right: 0;
  width: min(360px, 78vw);
  max-height: clamp(300px, 44vh, 520px);
  overflow-y: auto;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(9, 12, 30, .94);
  border: 1px solid var(--live-border);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(3, 6, 22, .7);
  animation: live-drawer-in .28s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes live-drawer-in {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.live-drawer-heading {
  font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--live-dim); margin: 0 0 14px;
}

/* ---- Q&A forms + list (inside drawers) ---- */
.live-ask-form { display: grid; gap: 9px; margin-bottom: 16px; }
body.live-dark .live-ask-input,
body.live-dark .live-feedback-comment {
  width: 100%; resize: vertical;
  background: rgba(8, 12, 32, .55);
  border: 1px solid var(--live-border);
  border-radius: 10px; padding: 10px 12px;
  color: var(--live-ink); font-family: inherit; font-size: 14px;
}
body.live-dark .live-ask-input::placeholder,
body.live-dark .live-feedback-comment::placeholder { color: var(--live-faint); }
body.live-dark .live-ask-input:focus,
body.live-dark .live-feedback-comment:focus {
  outline: none; border-color: var(--live-border-bright);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, .14);
}
.live-ask-btn, .live-feedback-submit { justify-self: start; }

.live-questions { display: grid; gap: 9px; }
body.live-dark .live-question {
  display: flex; align-items: flex-start; gap: 12px; justify-content: space-between;
  padding: 11px 13px; border-radius: 11px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--live-border);
}
body.live-dark .live-question--answered {
  border-color: rgba(124, 77, 255, .4); background: rgba(124, 77, 255, .08);
}
body.live-dark .live-question-text { color: var(--live-ink); font-size: 14px; line-height: 1.45; }
.live-question-meta { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.live-answered-chip {
  font-size: 9.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: #d7c9ff; background: rgba(124, 77, 255, .22);
  border: 1px solid rgba(124, 77, 255, .45);
  padding: 2px 8px; border-radius: 999px;
}
body.live-dark .live-vote-count {
  font-variant-numeric: tabular-nums; font-weight: 800; color: var(--cyan); font-size: 14px;
}
body.live-dark .live-vote-btn {
  cursor: pointer; font-weight: 700; font-size: 12.5px;
  color: var(--live-dim);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--live-border);
  border-radius: 8px; padding: 6px 10px;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
body.live-dark .live-vote-btn:hover {
  color: #fff; border-color: var(--live-border-bright);
  background: rgba(0, 229, 255, .10); transform: translateY(-1px);
}
body.live-dark .live-vote-btn:active { transform: translateY(1px) scale(.97); }
body.live-dark .live-vote-btn--active {
  color: #061018; border-color: transparent;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 6px 18px rgba(0, 176, 255, .35);
}

/* ---- Feedback stars (inside drawer) ---- */
.live-rating-group { margin-bottom: 12px; }
body.live-dark .live-feedback-label { font-size: 12.5px; color: var(--live-dim); display: block; margin-bottom: 6px; }
.live-star-row { display: inline-flex; gap: 4px; }
body.live-dark .live-star-label {
  cursor: pointer; font-size: 24px; line-height: 1; color: rgba(255, 255, 255, .22);
  transition: transform .12s ease, color .12s ease;
}
body.live-dark .live-star-label:hover { transform: scale(1.18); color: #ffd86b; }
body.live-dark .live-star-label input { position: absolute; opacity: 0; width: 0; height: 0; }
body.live-dark .live-star-label:has(input:checked) { color: #ffce4a; text-shadow: 0 0 12px rgba(255, 206, 74, .5); }

/* ---- Misc ---- */
body.live-dark .live-empty { color: var(--live-faint); font-size: 13.5px; font-style: italic; }
body.live-dark .live-loading { color: var(--live-dim); font-size: 13.5px; padding: 18px 2px; }
body.live-dark .live-cap-message {
  color: #ffd2b0; font-size: 13px;
  background: rgba(255, 138, 76, .10); border: 1px solid rgba(255, 138, 76, .35);
  border-radius: 9px; padding: 10px 12px;
}
.live-foot-note {
  text-align: center; margin: clamp(18px, 2.6vw, 30px) auto 0;
  max-width: 760px;
  color: var(--live-faint); font-size: 12.5px; line-height: 1.6;
}
.live-foot-note strong { color: var(--live-dim); font-weight: 800; }

/* ============================================================
   RESPONSIVE — stack chat under hero on narrow screens
   ============================================================ */
@media (max-width: 980px) {
  .live-stage-wrap { grid-template-columns: 1fr; }
  .live-chat { min-height: 360px; max-height: 460px; }
  .live-drawer-body { width: min(320px, 86vw); }
}
@media (max-width: 560px) {
  .live-poll-card { left: 12px; right: 12px; width: auto; }
  .live-drawers { top: 56px; }
}

/* ============================================================
   REDUCED MOTION — kill pulses + animated reveals
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .live-pulse-dot::after { animation: none; }
  .live-poll-bar { animation: none; }
  .live-poll-card { animation: none; }
  .live-drawer-body { animation: none; }
  body.live-dark .live-vote-btn,
  body.live-dark .live-star-label,
  body.live-dark .live-poll-option,
  .live-ticker-now,
  .live-post-btn { transition: none; }
  body.live-dark .live-vote-btn:hover,
  body.live-dark .live-star-label:hover,
  .live-post-btn:hover { transform: none; }
}

/* ============================================================
   Institutions-represented section (landing) — colorful pill cloud
   ============================================================ */
.section.institutions {
  background: linear-gradient(180deg, rgba(124,77,255,.05), rgba(0,229,255,.05));
}
/* scoped under .institutions to out-specify `.section h2` (color + size) */
.institutions .inst-count {
  font-size: clamp(64px, 13vw, 132px); font-weight: 800; line-height: 1;
  margin: 6px 0 4px;
  background: linear-gradient(90deg, var(--electric), var(--blue), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.inst-cloud {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 920px; margin: 0 auto;
}
.inst-pill {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .2px;
  box-shadow: 0 4px 14px rgba(20, 25, 59, .14);
  transition: transform .18s ease, box-shadow .18s ease;
}
.inst-pill:hover { transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 22px rgba(20, 25, 59, .22); }
/* cycle a fun, on-brand palette so the cloud reads as a celebration */
.inst-pill:nth-child(7n+1) { background: linear-gradient(135deg, #7c4dff, #5b2be0); }
.inst-pill:nth-child(7n+2) { background: linear-gradient(135deg, #00b0ff, #0077d6); }
.inst-pill:nth-child(7n+3) { background: linear-gradient(135deg, #11a8b8, #0b7e96); }
.inst-pill:nth-child(7n+4) { background: linear-gradient(135deg, #4527a0, #2e1a72); }
.inst-pill:nth-child(7n+5) { background: linear-gradient(135deg, #c84dff, #9b2bd6); }
.inst-pill:nth-child(7n+6) { background: linear-gradient(135deg, #1f9d72, #14785a); }
.inst-pill:nth-child(7n+7) { background: linear-gradient(135deg, #ff7a59, #e0529c); }
@media (prefers-reduced-motion: reduce) {
  .inst-pill { transition: none; }
  .inst-pill:hover { transform: none; }
}

/* ============================================================
   LIVE — single-track broadcast: full-bleed stage + floating overlays
   (overrides the earlier multi-track layout via source order)
   ============================================================ */

/* Lock horizontal scroll site-wide — prevents scrolling sideways into
   whitespace on mobile (iOS Safari ignores overflow-x:hidden on html/body in
   many cases; overflow-x:clip is reliable and, unlike hidden, doesn't break
   sticky headers or vertical momentum scroll). hidden is the pre-clip fallback.
   A descendant with its own overflow-x:auto (e.g. a wide table) still scrolls. */
html, body { overflow-x: hidden; max-width: 100%; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
body.live-page .live-stage, body.live-page .live-help { max-width: 100%; }

/* "Having trouble?" help bar — thin strip above the stage. */
.live-help {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap;
  padding: 8px 14px; margin: 0 0 10px;
  font-size: 13px; color: var(--live-dim);
  background: rgba(10, 14, 34, .55);
  border: 1px solid var(--live-border); border-radius: 10px;
}
.live-help-label { font-weight: 700; color: #fff; }
/* Direct-access pills (Zoom / Slack escape hatch). */
.live-help-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 800; letter-spacing: .2px;
  text-decoration: none; color: #fff; line-height: 1;
  transition: filter .15s ease, transform .15s ease;
}
.live-help-pill:hover { filter: brightness(1.12); transform: translateY(-1px); }
.live-help-pill--zoom { background: #2d8cff; }     /* Zoom blue */
.live-help-pill--slack { background: #4a154b; }    /* Slack aubergine */
.live-help-link { color: var(--cyan); text-decoration: none; }
.live-help-sep { opacity: .5; }

/* Full-bleed stage (override old .live-stage / .live-stage-wrap).
   16:9 so the Zoom video fills it without letterbox dead-space, capped to the
   viewport height. */
.live-stage {
  position: relative; min-width: 0;
  height: 82vh; min-height: 420px;
  border-radius: 16px;
  /* Must NOT clip — Zoom's control bar renders just below the video canvas and
     overflow:hidden here (or on the zoom root) hides it. The site-wide
     overflow-x:clip handles horizontal scroll separately. */
  overflow: visible;
  /* Radio-production backdrop: the studio scene under a scrim (top/bottom darker
     so the overlays + poster stay legible), over a dark gradient fallback. */
  background:
    linear-gradient(180deg, rgba(9,10,30,.64) 0%, rgba(9,10,30,.30) 42%, rgba(9,10,30,.46) 100%),
    url("../img/henc-live-studio.jpg") center/cover no-repeat,
    linear-gradient(160deg, #14143a 0%, #0b0d28 60%, #090a1e 100%);
  border: 1px solid var(--live-border);
  box-shadow: 0 30px 80px rgba(3,6,22,.6), inset 0 0 0 1px rgba(255,255,255,.03);
}
/* The live meeting is now a dedicated full-page Client View (live/zoom_join.html,
   route live_zoom_join). This /live overlay page only shows the poster + the
   Slack/poll/announcement overlays, so there is no embedded Zoom here to style. */

/* Center poster cluster (join / register / starting soon). */
.live-hero-center {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 24px;
}
.live-hero-center--idle .live-hero-note { color: var(--live-faint); }

/* Top-left broadcast "bug": logo + LIVE + now-playing. */
/* Logo + LIVE bar — sized/positioned to match the meeting overlay exactly. */
.live-bug-logo {
  position: absolute; top: 14px; left: 16px; z-index: 5;
  height: 126px; width: auto; display: block;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.6));
}
.live-bug {
  position: absolute; top: 58px; left: 148px; z-index: 5;
  display: flex; flex-direction: column; gap: 3px; max-width: min(56%, 460px);
}
.live-bug-top { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; }
.live-bug-flag {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px; font-weight: 800; letter-spacing: 2.5px; color: #ff5663;
  padding: 3px 9px; border-radius: 5px;
  border: 1px solid rgba(255,70,82,.55); background: rgba(255,30,40,.14);
  text-shadow: 0 0 9px rgba(255,70,82,.9);
  animation: onair-pulse 2.6s ease-in-out infinite;
}
.live-bug-flag .onair-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #ff3b46;
  box-shadow: 0 0 8px #ff3b46;
}
@keyframes onair-pulse {
  0%, 100% { box-shadow: 0 0 9px rgba(255,40,50,.35), inset 0 0 6px rgba(255,40,50,.14); }
  50%      { box-shadow: 0 0 19px rgba(255,40,50,.72), inset 0 0 11px rgba(255,40,50,.30); }
}
@media (prefers-reduced-motion: reduce) { .live-bug-flag { animation: none; } }

/* VU meter on the now-playing bar — bouncing amber level bars. */
.vu { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; flex: 0 0 auto; }
.vu i { width: 3px; height: 30%; border-radius: 1px; background: linear-gradient(#22e06a, #ffce4a 65%, #ff5663); animation: vu-bounce .85s ease-in-out infinite; }
.vu i:nth-child(1) { animation-duration: .7s; animation-delay: -.20s; }
.vu i:nth-child(2) { animation-duration: 1.1s; animation-delay: -.55s; }
.vu i:nth-child(3) { animation-duration: .8s; animation-delay: -.05s; }
.vu i:nth-child(4) { animation-duration: 1.0s; animation-delay: -.35s; }
.vu i:nth-child(5) { animation-duration: .62s; animation-delay: -.15s; }
@keyframes vu-bounce { 0%, 100% { height: 22%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .vu i { animation: none; height: 55%; } }

/* Broadcast-graphics trim — a warm amber accent line across the top of the live cards
   (.live-poll-overlay + .live-chat are already position:absolute, so ::after anchors to them). */
.live-poll-overlay::after, .live-chat::after {
  content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 2px; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(255,176,71,.95), transparent);
  box-shadow: 0 0 8px rgba(255,176,71,.5);
}
.live-bug-now {
  font-size: 13px; font-weight: 700; color: #fff; text-shadow: 0 1px 5px rgba(0,0,0,.8);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.live-bug-next { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; text-shadow: 0 1px 5px rgba(0,0,0,.85); }
.live-bug-next[hidden] { display: none; }
.live-bug-next .live-cd-label { font-size: 9.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--cyan); white-space: nowrap; }
.live-bug-next .live-cd-title { font-size: 12px; font-weight: 700; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.live-bug-next .live-cd-time { font-size: 12.5px; font-weight: 800; color: var(--cyan); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 760px) { .live-bug-logo { height: 84px; } .live-bug { top: 36px; left: 94px; max-width: calc(100% - 106px); } }

/* Announcement overlay — top center. */
.live-ann-wrap {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 5; width: min(520px, 66%);
}
.live-ann {
  padding: 10px 14px; border-radius: 12px; text-align: center;
  background: rgba(124,77,255,.22);
  border: 1px solid rgba(124,77,255,.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(3,6,22,.5);
}
.live-ann-flag {
  display: block; font-size: 10px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: #d9c9ff; margin-bottom: 3px;
}
.live-ann-text { font-size: 13.5px; color: #fff; line-height: 1.4; }

/* Feedback collector on the /live stage (non-video) — centered card, mirrors the meeting. */
.live-feedback-overlay {
  position: absolute; left: 50%; top: 28%; transform: translateX(-50%);
  z-index: 7; width: min(420px, calc(100% - 32px));
  padding: 20px 22px; border-radius: 16px;
  background: rgba(12,16,38,.93); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px rgba(3,6,22,.6);
}
.live-feedback-overlay--empty { display: none !important; }
.live-feedback-card { padding: 0; border: 0; background: none; }
.live-feedback-flag { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.live-feedback-prompt { font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 14px; }
.live-feedback-note, .live-feedback-thanks { font-size: 14px; color: var(--live-dim, #aab8e0); margin: 0 0 12px; }
.live-feedback-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-bottom: 14px; }
.live-feedback-star input { position: absolute; width: 0; height: 0; opacity: 0; }
.live-feedback-star span { font-size: 30px; line-height: 1; color: rgba(255,255,255,.26); cursor: pointer; transition: color .12s; }
.live-feedback-star:hover span,
.live-feedback-star:hover ~ .live-feedback-star span,
.live-feedback-star:has(input:checked) span,
.live-feedback-star:has(input:checked) ~ .live-feedback-star span { color: #ffce4a; }
.live-feedback-submit { background: linear-gradient(90deg, var(--violet), var(--cyan)); color: #fff; border: 0; border-radius: 9px; padding: 9px 18px; font-weight: 700; font-size: 14px; cursor: pointer; }

/* Chat overlay — right, open by default, collapsible. */
/* Producer turned chat off — hide the panel without removing it (it keeps polling,
   so flipping chat back on re-shows it live). display:none, not a re-render = no flicker. */
.live-chat.live-chat--off { display: none !important; }
.live-chat {
  position: absolute; top: 150px; right: 16px; bottom: 110px; z-index: 6;
  width: 330px; max-width: calc(100% - 32px);
  height: auto; min-height: 0;
}
.live-chat[data-open="0"] { bottom: auto; max-height: none; height: auto; }
.live-chat[data-open="0"] .live-chat-body { display: none; }
.live-chat-head { position: relative; }
.live-chat-toggle {
  margin-left: auto; background: none; border: none; cursor: pointer;
  color: var(--live-dim); font-size: 20px; line-height: 1; padding: 0 4px;
}
.live-chat-toggle:hover { color: #fff; }
.live-chat-unread {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px rgba(0,229,255,.9);
}
.live-chat-unread[hidden] { display: none; }
.live-chat-msgs { display: flex; flex-direction: column; gap: 14px; }

/* Poll overlay — left, closeable. */
.live-poll-overlay {
  position: absolute; left: 16px; top: 150px; z-index: 6;
  width: min(320px, calc(100% - 32px));
  /* Card chrome lives on the PERSISTENT overlay (not the htmx-swapped inner card)
     so the backdrop-filter + entry animation don't re-run every 8s — no flicker. */
  padding: 16px 18px; border-radius: 14px;
  background: rgba(9, 12, 30, .86); border: 1px solid rgba(0, 229, 255, .30);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(3, 6, 22, .6), 0 0 0 1px rgba(0, 229, 255, .12);
}
.live-poll-overlay[data-open="0"],
.live-poll-overlay--empty { display: none; }
.live-poll-overlay .live-poll-card {
  position: static; left: auto; bottom: auto; width: 100%;
  /* Bare swapped card — chrome + animation moved to the overlay above. */
  padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; animation: none;
}
.live-poll-overlay .live-poll-bar { animation: none; }
.live-poll-close {
  position: absolute; top: 6px; right: 8px; z-index: 2;
  background: none; border: none; color: var(--live-dim);
  font-size: 18px; line-height: 1; cursor: pointer;
}
.live-poll-close:hover { color: #fff; }
.live-poll-reopen {
  position: absolute; left: 16px; top: 150px; z-index: 6;
  padding: 8px 14px; border-radius: 10px; cursor: pointer;
  font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--cyan); background: rgba(9,12,30,.86);
  border: 1px solid rgba(0,229,255,.30);
}
.live-poll-reopen[hidden] { display: none; }

/* Narrow screens: overlays become bottom-anchored, full width. */
@media (max-width: 700px) {
  .live-chat { top: auto; bottom: 12px; right: 12px; left: 12px; width: auto; max-height: 45%; }
  .live-poll-overlay { left: 12px; right: 12px; width: auto; bottom: auto; top: 92px; }
  .live-poll-reopen { left: 12px; bottom: auto; top: 92px; }
  .live-ann-wrap { width: calc(100% - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .live-poll-overlay .live-poll-card { animation: none; }
}

/* ============================================================
   CONSOLE (organizer admin) — sidebar shell + shared components.
   Scoped to .console-* / .console-main so the public site's
   .card/.field/.btn styles are untouched.
   ============================================================ */
/* Sticky footer on console pages so the sidebar runs all the way down to it. */
body.console-body { min-height: 100vh; display: flex; flex-direction: column; }
body.console-body main { flex: 1 0 auto; display: flex; flex-direction: column; }
/* The footer's public-page top margin would eat main's grow space here (leaving a
   gap between the sidebar and footer), so flush it in the console. */
body.console-body footer { margin-top: 0; }
.console-shell { display: flex; align-items: stretch; flex: 1 0 auto; min-height: 70vh; background: var(--paper); }
.console-sidebar {
  flex: 0 0 218px; background: linear-gradient(180deg, #0b1026, #1a1f4d);
  padding: 20px 0 40px;
}
.console-brand {
  display: flex; align-items: center; gap: 9px; padding: 2px 22px 18px;
  color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .5px; text-transform: uppercase;
}
.console-brand img { width: 26px; height: 26px; }
.console-nav { display: flex; flex-direction: column; }
.console-nav a {
  display: flex; align-items: center; gap: 9px; padding: 10px 22px;
  color: #aab2da; font-size: 14px; font-weight: 600; text-decoration: none;
  border-left: 3px solid transparent;
}
.console-nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.console-nav a.active { color: #fff; background: rgba(124, 77, 255, .20); border-left-color: var(--cyan); }
.console-nav .live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #ff4d6d;
  box-shadow: 0 0 7px #ff4d6d; margin-left: auto;
}
.console-main { flex: 1 1 auto; min-width: 0; padding: 28px 34px 60px; }
.console-main > h2:first-child { margin-top: 0; }
.console-main h2 { font-size: 23px; color: var(--ink); font-weight: 800; margin: 0 0 20px; }
.console-main h3 { font-size: 15px; color: var(--ink); font-weight: 800; margin: 0 0 14px; }

/* Cards + grids */
.console-main .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.console-main .card { background: #fff; border: 1px solid #e7e9f3; border-radius: 14px; padding: 20px 22px; box-shadow: 0 1px 3px rgba(11, 16, 38, .05); }
.console-main .card h3 { margin-top: 0; }

/* Form fields + inputs */
.console-main .field { margin-bottom: 13px; }
.console-main .field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.console-main input[type=text], .console-main input[type=email], .console-main input[type=url],
.console-main input[type=number], .console-main input[type=password], .console-main input[type=date],
.console-main input[type=datetime-local], .console-main input[type=time], .console-main input:not([type]),
.console-main select, .console-main textarea {
  width: 100%; box-sizing: border-box; padding: 9px 12px; font-size: 14px; font-family: inherit;
  border: 1px solid #d4d8ea; border-radius: 9px; background: #fff; color: var(--ink);
}
.console-main input:focus, .console-main select:focus, .console-main textarea:focus {
  outline: none; border-color: var(--electric); box-shadow: 0 0 0 3px rgba(124, 77, 255, .15);
}
.console-main textarea { resize: vertical; min-height: 84px; }
.console-main input[type=checkbox], .console-main input[type=radio] { width: auto; accent-color: var(--electric); }
.console-main input[type=file] { width: auto; font-size: 13px; }

/* Buttons + inline actions */
.console-main .btn-add { width: 100%; justify-content: center; text-align: center; margin-top: 6px; }
.console-main .link-danger, .console-main button.link-danger {
  background: none; border: 0; color: #c0392b; font-size: 13px; font-weight: 600; cursor: pointer; padding: 0;
}
.console-main .link-danger:hover { text-decoration: underline; }

/* Inline list rows (item + remove) */
.console-main .row-line {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid #f0f2f9; font-size: 14px; color: var(--ink);
}

/* Tables */
.console-main .console-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e7e9f3; border-radius: 12px; overflow: hidden; }
.console-main .console-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-dim); padding: 11px 14px; background: #f7f8fc; border-bottom: 1px solid #eceef6; }
.console-main .console-table td { padding: 12px 14px; border-bottom: 1px solid #f2f4fb; font-size: 14px; color: var(--ink); }
.console-main .console-table tr:last-child td { border-bottom: none; }
.console-main .console-table tr:hover td { background: #fafbff; }
.console-main .console-table a { color: var(--violet); font-weight: 600; }

/* Chips / status pills */
.console-main .chip { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #eef0fa; color: var(--ink); border: 1px solid #e0e3f2; }
.console-main .chip-on { background: rgba(0, 176, 255, .12); border-color: rgba(0, 176, 255, .30); color: #0061a8; }
.console-main .chip-off { background: #f1f2f7; border-color: #e3e5ef; color: #8a90ad; }

/* Page-level helpers */
.console-main .con-pagehead { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 22px; }
.console-main .con-pagehead h2 { margin: 0; }

/* Live switchboard — a list of on/off rows */
.console-main .switchboard {
  background: linear-gradient(180deg, rgba(255,255,255,.05), transparent 16%),
              linear-gradient(180deg, #1b1f38 0%, #14172c 100%);
  border: 1px solid #2a2f4d; border-radius: 14px; overflow: hidden; max-width: 800px;
  box-shadow: 0 16px 44px rgba(3,6,22,.45), inset 0 1px 0 rgba(255,255,255,.06);
}
.console-main .sw-row { display: flex; align-items: center; gap: 16px; margin: 0; padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.06); position: relative; }
.console-main .sw-row:last-child { border-bottom: none; }
.console-main .sw-row.on { background: linear-gradient(90deg, rgba(0,229,255,.07), transparent); }
.console-main .sw-row.on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #22e06a; box-shadow: 0 0 10px #22e06a; }
.console-main .sw-name { flex: 0 0 130px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #eaf0ff; font-size: 12.5px; }
.console-main .sw-name small { display: block; font-family: system-ui, -apple-system, sans-serif; font-weight: 500; letter-spacing: 0; text-transform: none; color: #9aa3c8; font-size: 11.5px; margin-top: 3px; }
.console-main .sw-control { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; }
.console-main .sw-control select, .console-main .sw-control input[type=text] { margin: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #eaf0ff; border-radius: 8px; }
.console-main .sw-control input[type=text]::placeholder { color: #8089ad; }
.console-main .sw-state { color: #9aa3c8; font-size: 13px; }
.console-main .sw-link { font-size: 12.5px; color: var(--cyan); font-weight: 600; text-decoration: none; white-space: nowrap; }
.console-main .sw-link:hover { text-decoration: underline; }
.console-main .sw-save { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 7px 13px; font-size: 12.5px; font-weight: 700; color: #eaf0ff; cursor: pointer; white-space: nowrap; }
.console-main .sw-save:hover { border-color: var(--cyan); color: var(--cyan); }
.console-main .sw { position: relative; display: inline-block; width: 46px; height: 26px; flex: 0 0 auto; }
.console-main .sw input { position: absolute; opacity: 0; width: 0; height: 0; }
.console-main .sw .slider { position: absolute; inset: 0; cursor: pointer; background: #3a4065; border-radius: 26px; transition: background .18s; box-shadow: inset 0 1px 3px rgba(0,0,0,.4); }
.console-main .sw .slider::before { content: ""; position: absolute; height: 20px; width: 20px; left: 3px; top: 3px; background: #d8dcf0; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.5); transition: transform .18s; }
.console-main .sw input:checked + .slider { background: linear-gradient(90deg, #16c95f, #22e06a); box-shadow: inset 0 0 8px rgba(34,224,106,.5), 0 0 10px rgba(34,224,106,.35); }
.console-main .sw input:checked + .slider::before { transform: translateX(20px); background: #fff; }
.console-main .onair { display: inline-flex; align-items: center; gap: 7px; font-family: ui-monospace, "SF Mono", Menlo, monospace; background: rgba(255,30,40,.16); border: 1px solid rgba(255,70,82,.6); color: #ff5663; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; padding: 3px 12px; border-radius: 6px; vertical-align: middle; text-shadow: 0 0 8px rgba(255,70,82,.8); animation: onair-pulse 2.6s ease-in-out infinite; }
.console-main .onair::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3b46; box-shadow: 0 0 9px #ff3b46; }

/* List + separated "Add a…" form inside a card (Program, etc.) */
.console-main .con-list { display: flex; flex-direction: column; gap: 1px; }
.console-main .con-list .row-line:first-child { padding-top: 2px; }
.console-main .con-list .row-line:last-child { border-bottom: none; }
.console-main .con-addform { margin: 16px 0 0; padding-top: 16px; border-top: 1px dashed #e1e4f1; }
.console-main .con-addform-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--text-dim); margin-bottom: 12px; }
.console-main .con-empty { color: #9aa0bd; font-size: 13px; font-style: italic; margin: 0; padding: 4px 0; }
.console-main .con-muted { color: var(--text-dim); font-weight: 500; }
.console-main td .con-empty, .console-main .con-empty.center { text-align: center; padding: 18px 0; }

/* .btn-ghost is white-on-dark (public nav); on the light console it'd be invisible,
   so restyle it dark-on-light here. */
.console-main .btn-ghost { background: #fff; border: 1px solid #d4d8ea; color: var(--ink); }
.console-main .btn-ghost:hover { background: #fff; border-color: var(--electric); color: var(--electric); }

/* Console flash messages (rendered once, inside the content area) */
.console-main .con-messages { margin: 0 0 18px; display: grid; gap: 8px; }
.console-main .con-messages .notice { background: rgba(0,176,255,.10); border: 1px solid rgba(0,176,255,.30); color: #0061a8; padding: 11px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; }
.console-main .con-messages .notice-error { background: #fdecec; border-color: #f5c2c2; color: #b3261e; }

/* ============================================================
   /live TEASER — marketing the interactive Live room
   ============================================================ */
.live-promo-hero {
  background: linear-gradient(135deg, var(--ink-deep) 0%, var(--ink-soft) 55%, var(--violet) 120%);
  color: var(--text-inverse); text-align: center; padding: 80px 24px 70px;
}
.live-promo-hero .live-badge--soon {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,229,255,.12); border: 1px solid rgba(0,229,255,.40); color: var(--cyan);
  font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.live-promo-hero .live-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.live-promo-title { font-size: clamp(32px, 6vw, 52px); font-weight: 800; margin: 20px 0 8px; line-height: 1.05; }
.live-promo-tagline { font-size: 18px; color: #c8cffa; max-width: 620px; margin: 0 auto 6px; }
.live-promo-meta { font-size: 15px; color: var(--text-inverse-dim); margin: 0 0 28px; }
.live-countdown { display: inline-flex; gap: 14px; margin: 0 0 30px; }
.live-cd-unit { min-width: 84px; padding: 14px 10px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.live-cd-num { display: block; font-size: 34px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.live-cd-lbl { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-inverse-dim); margin-top: 6px; }
.live-promo-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: center; }
.live-promo-reg { color: var(--cyan); font-weight: 700; font-size: 15px; }
.live-promo-expect { padding: 64px 24px 80px; text-align: center; }
.live-promo-h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; color: var(--ink); margin: 0 0 10px; }
.live-promo-lede { font-size: 17px; color: var(--text-dim); max-width: 660px; margin: 0 auto 40px; line-height: 1.5; }
.live-promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.live-promo-card { background: #fff; border: 1px solid #e7e9f3; border-radius: 16px; padding: 26px 22px; text-align: left; box-shadow: 0 1px 3px rgba(11,16,38,.05); }
.live-promo-card h3 { margin: 14px 0 6px; font-size: 17px; color: var(--ink); }
.live-promo-card p { margin: 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.5; }
.live-promo-ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; font-size: 22px; background: linear-gradient(135deg, rgba(124,77,255,.14), rgba(0,229,255,.14)); }
@media (max-width: 600px) { .live-countdown { gap: 8px; } .live-cd-unit { min-width: 70px; } }

/* "On the day" Live callout on the My Workshop / confirmation page */
.me-live-callout {
  margin: 18px 0 6px; padding: 22px 24px; border-radius: 16px; text-align: left;
  background: linear-gradient(135deg, var(--ink-deep), var(--ink-soft) 70%, var(--violet));
  color: var(--text-inverse); border: 1px solid rgba(124,77,255,.40);
}
.me-live-callout h3 { margin: 0 0 8px; font-size: 19px; color: #fff; }
.me-live-callout h3 em { color: var(--cyan); font-style: normal; }
.me-live-callout p { margin: 0 0 16px; color: #c8cffa; font-size: 15px; line-height: 1.55; }
.me-live-callout strong { color: #fff; }

/* ── Sneak-peek mockup of the Live room (teaser): fake video + sample overlays ── */
.live-promo-peek { padding: 8px 24px 84px; text-align: center; }
/* .mockup wraps the stage + the overlay cards; cards are absolute over the stage on
   desktop (the wrapper is exactly the stage's size since they're absolute), and stack
   below it on phones. */
.mockup { position: relative; max-width: 1000px; margin: 26px auto 0; text-align: left; color: #fff; font-size: clamp(9px, 1.35vw, 13px); }
.mockup-stage {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: 16px; overflow: hidden; background: #0b1026;
  box-shadow: 0 30px 80px rgba(11,16,38,.45); border: 1px solid rgba(124,77,255,.25);
}
.mockup-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mock-logo { position: absolute; top: 2.4%; left: 2%; height: 17%; filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); }
.mock-live { position: absolute; top: 8.5%; left: 15%; max-width: 52%; text-shadow: 0 1px 5px rgba(0,0,0,.85); }
.mock-live-top { display: flex; align-items: center; gap: .6em; }
.mock-flag { color: #ff4d6d; font-weight: 800; letter-spacing: 1px; font-size: .92em; white-space: nowrap; }
.mock-now { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-next { margin-top: .3em; font-size: .9em; color: #d4dbff; }
.mock-next-label, .mock-next-time { color: var(--cyan); font-weight: 800; }
.mock-next-label { text-transform: uppercase; font-size: .82em; letter-spacing: .5px; margin-right: .3em; }
.mock-ann {
  position: absolute; top: 3.2%; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; max-width: 40%;
  background: rgba(124,77,255,.30); border: 1px solid rgba(124,77,255,.5); padding: .5em .9em; border-radius: 10px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.mock-ann-flag { font-size: .72em; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #d9c9ff; }
.mock-poll {
  position: absolute; left: 2%; top: 31%; width: 28%;
  background: rgba(9,12,30,.86); border: 1px solid rgba(0,229,255,.3); border-radius: 12px; padding: .9em 1em;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.mock-poll-flag { color: var(--cyan); font-weight: 800; font-size: .72em; text-transform: uppercase; letter-spacing: 1px; }
.mock-poll-q { font-weight: 700; margin: .35em 0 .7em; }
.mock-bar { position: relative; background: rgba(255,255,255,.08); border-radius: 6px; height: 1.9em; margin-bottom: .4em; overflow: hidden; }
.mock-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--violet), var(--cyan)); border-radius: 6px; }
.mock-bar label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 .6em; font-size: .82em; }
.mock-chat {
  position: absolute; right: 2%; top: 14%; bottom: 8%; width: 30%; display: flex; flex-direction: column; overflow: hidden;
  background: rgba(10,14,34,.8); border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.mock-chat-head { padding: .6em .8em; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.1); }
.mock-chat-badge { background: #4a154b; color: #fff; font-size: .7em; font-weight: 800; padding: .15em .5em; border-radius: 5px; margin-right: .5em; }
.mock-chat-body { flex: 1; padding: .7em .8em; display: flex; flex-direction: column; gap: .55em; overflow: hidden; }
.mock-msg { line-height: 1.35; color: #e8ecff; }
.mock-msg b { color: var(--cyan); font-weight: 700; margin-right: .35em; }
.mock-chat-input { margin: .5em .7em; padding: .5em .7em; border-radius: 8px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.45); }
@media (max-width: 680px) {
  .mock-next { display: none; }
  .mock-live { max-width: 70%; }
  /* On phones the floated cards would overlap the small video, so stack them as
     full-width cards BELOW the stage (still part of the same sneak peek). */
  .mockup { font-size: 13.5px; }
  .mock-poll, .mock-chat {
    position: static; width: auto; left: auto; right: auto; top: auto; bottom: auto;
    height: auto; max-height: none; margin: 12px 0 0;
  }
}

/* ── "Nothing to juggle" — everything-built-in section (teaser) ── */
.live-promo-nojuggle { padding: 8px 24px 24px; text-align: center; }
.nojuggle-list { list-style: none; padding: 0; margin: 24px auto 0; max-width: 720px; display: grid; gap: 12px; text-align: left; }
.nojuggle-list li { display: flex; align-items: flex-start; gap: 13px; background: #fff; border: 1px solid #e7e9f3; border-radius: 12px; padding: 16px 18px; box-shadow: 0 1px 3px rgba(11,16,38,.05); color: var(--text-dim); font-size: 15.5px; line-height: 1.5; }
.nojuggle-list strong { color: var(--ink); }
.nojuggle-list em { color: var(--electric); font-style: normal; font-weight: 700; }
.nojuggle-x { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fdecec; color: #d6453d; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; margin-top: 1px; }
.nojuggle-tag { margin: 22px 0 0; font-size: 19px; font-weight: 800; background: linear-gradient(90deg, var(--violet), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 860px) {
  .console-shell { display: block; }
  .console-sidebar { padding: 12px 0; }
  .console-brand { padding-bottom: 12px; }
  .console-nav { flex-direction: row; flex-wrap: wrap; gap: 4px; padding: 0 12px; }
  .console-nav a { border-left: 0; border-radius: 8px; padding: 8px 12px; }
  .console-nav a.active { border-left: 0; }
  .console-nav .live-dot { margin-left: 6px; }
  .console-main { padding: 20px 16px 50px; }
}

/* ── Sign-in page: tabbed link / password forms ────────────────────────── */
.login-tabs { display: flex; gap: 4px; border-bottom: 1px solid #d4d7e3; margin: 4px 0 20px; }
.login-tab { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent;
  padding: 10px 14px; font: inherit; font-size: 14px; font-weight: 600; color: var(--text-dim);
  cursor: pointer; margin-bottom: -1px; }
.login-tab:hover { color: var(--ink); }
.login-tab.is-active { color: var(--electric); border-bottom-color: var(--electric); }
.login-pane[hidden] { display: none; }

.me-security { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); }
.me-security h2 { font-size: 19px; margin: 0 0 6px; }
