/* First class invitation; independent of the existing classroom directory. */
.live-shell .first-class {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.85fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  margin: 0 0 28px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #b9a6ce;
  border-top: 4px solid #7544a4;
  border-radius: 14px;
  background: #fffefa;
  color: #24202c;
  box-shadow: 0 12px 36px rgba(49, 25, 80, .09);
  font-family: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
}
.live-shell .first-class[hidden] { display: none; }
.live-shell .first-class-eyebrow {
  margin: 0 0 12px;
  color: #61368e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.live-shell .first-class h2 {
  margin: 0;
  color: #24172e;
  font-size: clamp(1.7rem, 3.1vw, 2.5rem);
  line-height: 1.12;
}
.live-shell .first-class-instructor {
  margin: 12px 0 0;
  color: #51495b;
  font-size: .9rem;
  line-height: 1.5;
}
.live-shell .first-class-topic {
  margin: 10px 0 22px;
  color: #5c486a;
  font-size: 1.1rem;
  font-weight: 600;
}
.live-shell .first-class-learning-label { margin: 18px 0 6px; color: #24172e; font-size: .95rem; font-weight: 700; }
.live-shell .first-class-learning {
  display: grid;
  gap: 6px;
  margin: 0 0 22px;
  padding-left: 1.25rem;
  color: #51495b;
  font-size: .95rem;
  line-height: 1.45;
}
.live-shell .first-class-time {
  display: grid;
  gap: 5px;
  margin: 0;
  color: #24172e;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.45;
}
.live-shell .first-class-local { color: #4d4260; font-size: .9rem; font-weight: 500; }
.live-shell .first-class-detail { margin: 14px 0 0; color: #51495b; font-size: .9rem; line-height: 1.5; }
.live-shell .first-class-actions { min-width: 0; }
.live-shell .first-class-button {
  width: 100%;
  min-height: 52px;
  padding: 10px 18px;
  border: 1px solid #5c2b90;
  border-radius: 9px;
  background: #5c2b90;
  color: #fff;
  cursor: pointer;
  font: 700 1rem 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
}
.live-shell .first-class-button:hover { background: #43206b; }
.live-shell .first-class-button:disabled { cursor: wait; opacity: .72; }
.live-shell .first-class-status { margin: 12px 0 0; color: #7b2c40; font-size: .9rem; line-height: 1.5; }
.live-shell .first-class-status:empty { display: none; }
.live-shell .first-class-confirmation,
.live-shell .first-class-after { margin-top: 14px; font-size: .9rem; line-height: 1.5; }
.live-shell .first-class-confirmation p,
.live-shell .first-class-after p { margin: 0 0 10px; }
.live-shell .first-class :is(.first-class-calendar, .first-class-join, .first-class-recording, .first-class-after a) {
  display: inline-block;
  margin: 4px 12px 4px 0;
  color: #562687;
  font-weight: 700;
  text-underline-offset: 3px;
}
.live-shell .first-class [hidden] { display: none !important; }
@media (max-width: 660px) {
  .live-shell .first-class { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 24px 20px; }
}
@media (prefers-color-scheme: dark) {
  body:not([data-bw-scheme="light"]) .live-shell .first-class { background: #171220; border-color: #684a89; border-top-color: #b486e6; color: #f4eff9; box-shadow: none; }
  body:not([data-bw-scheme="light"]) .live-shell .first-class-eyebrow { color: #d7b5fb; }
  body:not([data-bw-scheme="light"]) .live-shell .first-class h2,
  body:not([data-bw-scheme="light"]) .live-shell .first-class-time { color: #f4eff9; }
  body:not([data-bw-scheme="light"]) .live-shell .first-class-topic,
  body:not([data-bw-scheme="light"]) .live-shell .first-class-local,
  body:not([data-bw-scheme="light"]) .live-shell .first-class-instructor,
  body:not([data-bw-scheme="light"]) .live-shell .first-class-detail { color: #cfc0dd; }
  body:not([data-bw-scheme="light"]) .live-shell .first-class-learning-label { color: #f4eff9; }
  body:not([data-bw-scheme="light"]) .live-shell .first-class-learning { color: #cfc0dd; }
  body:not([data-bw-scheme="light"]) .live-shell .first-class-status { color: #ffb9bf; }
  body:not([data-bw-scheme="light"]) .live-shell .first-class :is(.first-class-calendar, .first-class-join, .first-class-recording, .first-class-after a) { color: #d8b5ff; }
}
body[data-bw-scheme="dark"] .live-shell .first-class { background: #171220; border-color: #684a89; border-top-color: #b486e6; color: #f4eff9; box-shadow: none; }
body[data-bw-scheme="dark"] .live-shell .first-class-eyebrow { color: #d7b5fb; }
body[data-bw-scheme="dark"] .live-shell .first-class h2,
body[data-bw-scheme="dark"] .live-shell .first-class-time { color: #f4eff9; }
body[data-bw-scheme="dark"] .live-shell .first-class-topic,
body[data-bw-scheme="dark"] .live-shell .first-class-local,
body[data-bw-scheme="dark"] .live-shell .first-class-instructor,
body[data-bw-scheme="dark"] .live-shell .first-class-detail { color: #cfc0dd; }
body[data-bw-scheme="dark"] .live-shell .first-class-learning-label { color: #f4eff9; }
body[data-bw-scheme="dark"] .live-shell .first-class-learning { color: #cfc0dd; }
body[data-bw-scheme="dark"] .live-shell .first-class-status { color: #ffb9bf; }
body[data-bw-scheme="dark"] .live-shell .first-class :is(.first-class-calendar, .first-class-join, .first-class-recording, .first-class-after a) { color: #d8b5ff; }

/* Guest RSVP: email plus consent, no account. */
.live-shell .first-class-form { display: grid; gap: 10px; margin: 0; }
.live-shell .first-class-form h3 { margin: 0; color: #24172e; font-size: 1.15rem; line-height: 1.25; }
.live-shell .first-class-form-note { margin: -4px 0 2px; color: #51495b; font-size: .9rem; line-height: 1.45; }
.live-shell .first-class-form label { color: #24172e; font-size: .9rem; font-weight: 700; }
.live-shell .first-class-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #8f7aa8;
  border-radius: 9px;
  background: #fff;
  color: #24202c;
  font: 500 1rem 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  box-sizing: border-box;
}
.live-shell .first-class-form input[type="email"]:focus-visible,
.live-shell .first-class-form input[type="checkbox"]:focus-visible,
.live-shell .first-class-link:focus-visible { outline: 3px solid #7544a4; outline-offset: 2px; }
.live-shell .first-class-consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 500 !important; line-height: 1.45; }
.live-shell .first-class-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #5c2b90; }
.live-shell .first-class-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.live-shell .first-class-signin { margin: 4px 0 0; color: #51495b; font-size: .9rem; }
.live-shell .first-class-link {
  padding: 0;
  border: 0;
  background: none;
  color: #562687;
  cursor: pointer;
  font: 700 .9rem 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.live-shell .first-class-confirmation:focus { outline: none; }
.live-shell .first-class-confirmation strong { overflow-wrap: anywhere; }
@media (prefers-color-scheme: dark) {
  body:not([data-bw-scheme="light"]) .live-shell .first-class-form :is(h3, label) { color: #f4eff9; }
  body:not([data-bw-scheme="light"]) .live-shell .first-class-form-note,
  body:not([data-bw-scheme="light"]) .live-shell .first-class-signin { color: #cfc0dd; }
  body:not([data-bw-scheme="light"]) .live-shell .first-class-form input[type="email"] { background: #0f0b16; border-color: #8a6bab; color: #f4eff9; }
  body:not([data-bw-scheme="light"]) .live-shell .first-class-link { color: #d8b5ff; }
}
body[data-bw-scheme="dark"] .live-shell .first-class-form :is(h3, label) { color: #f4eff9; }
body[data-bw-scheme="dark"] .live-shell .first-class-form-note,
body[data-bw-scheme="dark"] .live-shell .first-class-signin { color: #cfc0dd; }
body[data-bw-scheme="dark"] .live-shell .first-class-form input[type="email"] { background: #0f0b16; border-color: #8a6bab; color: #f4eff9; }
body[data-bw-scheme="dark"] .live-shell .first-class-link { color: #d8b5ff; }
