/* Panel module
 *
 * This file owns every visual inside [data-agenda-module="panel"]. The module
 * deliberately uses no legacy .agenda-panel, .panel-copy or .panel-people
 * classes, so older breakpoint rules in agenda-design.css cannot leak in.
 */

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module[data-agenda-module="panel"] {
  --panel-origin-x: max(0px, calc(50% - 720px));
  --panel-person-fill: var(--agenda-strong);
  --panel-person-text: var(--agenda-on-strong);
  position: relative;
  isolation: isolate;
  width: 100%;
  height: min(71.111cqw, 1024px);
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: var(--agenda-brand);
  color: var(--agenda-charcoal);
}

/* Keep the panel palette tied to the panel's own event branch. This prevents
 * a previously-open Builder view from lending stale body-level tokens to a
 * freshly rendered panel, and keeps swapped panels visually branch-safe. */
#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-branch-cfo {
  --agenda-brand: #b191ff;
  --agenda-strong: #7b0aed;
  --agenda-pale: #e5ccff;
  --agenda-on-brand: #fff;
  --agenda-on-surface: #fff;
  --agenda-on-strong: #fff;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-branch-cmo {
  --agenda-brand: #66f78f;
  --agenda-strong: #58d994;
  --agenda-pale: #d4f6e4;
  --agenda-on-brand: #2d2d2f;
  --agenda-on-surface: #2d2d2f;
  --agenda-on-strong: #2d2d2f;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-branch-hr {
  --agenda-brand: #ffd24b;
  --agenda-strong: #fe7615;
  --agenda-pale: #ffd8b4;
  --agenda-on-brand: #263238;
  --agenda-on-surface: #263238;
  --agenda-on-strong: #fafafa;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-branch-legal {
  --agenda-brand: #0356fc;
  --agenda-strong: #0d7cff;
  --agenda-pale: #9eecff;
  --agenda-on-brand: #fff;
  --agenda-on-surface: #fff;
  --agenda-on-strong: #fff;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-2 {
  background: var(--agenda-pale);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3,
#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-special {
  --panel-person-fill: var(--agenda-brand);
  --panel-person-text: var(--agenda-on-brand);
  background: var(--agenda-strong);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-blob {
  position: absolute;
  z-index: 0;
  top: min(5.625cqw, 81px);
  left: max(-.069cqw, -1px);
  width: calc(100% + min(.069cqw, 1px));
  height: min(58.056cqw, 836px);
  display: block;
  overflow: hidden;
  mix-blend-mode: overlay;
  pointer-events: none;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-blob-art {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: min(58.056cqw, 836px);
  height: calc(100cqw + min(.069cqw, 1px));
  flex: none;
  max-width: none;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(-1);
  transform-origin: center;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-2 .agenda-panel-blob {
  top: min(3.819cqw, 55px);
  left: max(-.04cqw, -.576px);
  width: calc(100% + min(.07cqw, 1.008px));
  height: min(56.111cqw, 808px);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-2 .agenda-panel-blob-art {
  width: min(56.111cqw, 808px);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3,
#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-special {
  height: min(63.333cqw, 912px);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3 .agenda-panel-blob,
#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-special .agenda-panel-blob {
  top: max(-1.108cqw, -15.96px);
  height: min(59.514cqw, 857px);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3 .agenda-panel-blob-art,
#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-special .agenda-panel-blob-art {
  width: min(59.514cqw, 857px);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-wave {
  position: absolute;
  z-index: 1;
  left: 0;
  width: 100%;
  height: min(4.722cqw, 68px);
  max-width: none;
  pointer-events: none;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-wave-top {
  top: 0;
  transform: rotate(180deg) scaleX(-1);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-wave-bottom {
  bottom: 0;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-2 .agenda-panel-wave-bottom {
  width: calc(100% + min(.488cqw, 7.03px));
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3 .agenda-panel-wave-top,
#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-special .agenda-panel-wave-top {
  height: min(4.312cqw, 62.092px);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3 .agenda-panel-wave-bottom,
#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-special .agenda-panel-wave-bottom {
  left: max(-.21cqw, -3.024px);
  width: calc(100% + min(.488cqw, 7.03px));
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-schedule {
  position: absolute;
  z-index: 4;
  top: min(19.514cqw, 281px);
  left: calc(var(--panel-origin-x) + min(5.451cqw, 78.5px));
  width: min(30.677cqw, 441.75px);
  height: min(5.694cqw, 82px);
  min-height: 0;
  padding: min(1.286cqw, 18.516px) min(3.215cqw, 46.29px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: min(2.204cqw, 31.742px);
  overflow: visible;
  border: min(.184cqw, 2.645px) solid var(--agenda-charcoal);
  border-radius: min(1.102cqw, 15.871px);
  background: var(--agenda-brand);
  color: var(--agenda-charcoal);
  box-shadow: min(.551cqw, 7.935px) min(.551cqw, 7.935px) 0 var(--agenda-charcoal);
  text-transform: uppercase;
  transform: rotate(-1.959deg);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-schedule span {
  width: min(14.695cqw, 211.613px);
  flex: none;
  overflow: hidden;
  font-size: min(1.837cqw, 26.452px);
  font-weight: 700;
  line-height: min(1.469cqw, 21.161px);
  letter-spacing: min(.22cqw, 3.174px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-schedule strong {
  width: min(7.348cqw, 105.806px);
  flex: none;
  overflow: hidden;
  font-size: min(2.572cqw, 37.032px);
  font-weight: 700;
  line-height: min(3.123cqw, 44.968px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-copy {
  position: absolute;
  z-index: 3;
  /* The Figma header component sits 60.8px inside its 314px header frame.
   * Keeping that offset prevents the title card from crowding the schedule. */
  top: min(29.118cqw, 419.3px);
  left: calc(var(--panel-origin-x) + min(7.778cqw, 112px));
  width: min(25.694cqw, 370px);
  min-height: min(21.806cqw, 314px);
  padding: min(1.607cqw, 23.145px) min(1.406cqw, 20.252px);
  display: flex;
  flex-direction: column;
  gap: min(.536cqw, 7.715px);
  overflow: visible;
  border: min(.158cqw, 2.272px) solid var(--agenda-charcoal);
  border-radius: min(1.674cqw, 24.11px);
  background: var(--agenda-strong);
  color: var(--agenda-on-strong);
  box-shadow: min(.402cqw, 5.786px) min(.402cqw, 5.786px) 0 var(--agenda-charcoal);
  transform: rotate(-1.684deg);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-copy h2 {
  width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: min(2.775cqw, 39.963px);
  font-weight: 700;
  line-height: min(3.392cqw, 48.844px);
  letter-spacing: 0;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-copy p {
  width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: min(1.079cqw, 15.541px);
  font-weight: 300;
  line-height: min(1.542cqw, 22.202px);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-people {
  position: absolute;
  z-index: 3;
  top: min(22.639cqw, 326px);
  left: calc(var(--panel-origin-x) + min(37.257cqw, 536.5px));
  width: min(56.265cqw, 810.221px);
  height: min(28.361cqw, 408.394px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: min(2.222cqw, 32px);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person {
  --panel-card-fill: var(--panel-person-fill);
  position: relative;
  width: min(10.723cqw, 154.416px);
  height: min(17.842cqw, 256.924px);
  min-width: 0;
  min-height: 0;
  flex: 0 0 min(10.723cqw, 154.416px);
  display: block;
  overflow: hidden;
  border: min(.139cqw, 2px) solid var(--agenda-charcoal);
  border-radius: min(1.25cqw, 18px);
  background: linear-gradient(var(--panel-card-fill), var(--panel-card-fill)) 0 0 / 100% min(13.506cqw, 194.486px) no-repeat, var(--agenda-paper);
  box-shadow: min(.417cqw, 6px) min(.417cqw, 6px) 0 var(--agenda-charcoal);
  container-type: inline-size;
  transform: none;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person:nth-child(1) {
  transform: rotate(1deg);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person:nth-child(3) {
  transform: rotate(-1deg);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person.is-moderator {
  --panel-card-fill: var(--agenda-brand);
  margin: 0;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-slot {
  position: relative;
  width: min(13.403cqw, 193px);
  height: min(26.208cqw, 377.394px);
  flex: 0 0 min(13.403cqw, 193px);
  overflow: visible;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-slot > .agenda-panel-person {
  position: absolute;
  top: min(6.143cqw, 88.46px);
  left: min(.764cqw, 11px);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person header {
  position: absolute;
  z-index: 3;
  top: 5.698cqi;
  left: -.266cqi;
  width: 97.986cqi;
  height: 32.576cqi;
  min-width: 0;
  padding: 0 6.648cqi;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  color: var(--panel-person-text);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person header strong,
#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person header strong > span,
#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person header > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person header strong {
  width: 76.973cqi;
  max-height: 15.956cqi;
  font-size: 6.648cqi;
  font-weight: 700;
  line-height: 7.978cqi;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person header > span {
  width: 76.973cqi;
  max-height: 13.296cqi;
  margin-top: 3.324cqi;
  font-size: 5.319cqi;
  font-weight: 300;
  line-height: 6.648cqi;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person .person-card-photo {
  position: absolute;
  z-index: 2;
  top: 40.288cqi;
  left: -1.323cqi;
  width: 100.005cqi;
  height: 89.947cqi;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10.637cqi;
  background: var(--panel-card-fill);
  color: var(--agenda-charcoal);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person .person-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person .person-card-missing {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: 25cqi;
  line-height: 1;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person .person-card-logo {
  position: absolute;
  z-index: 3;
  bottom: 4.945cqi;
  left: 4.792cqi;
  width: 93.075cqi;
  height: 26.593cqi;
  padding: 2.659cqi 6.648cqi;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0;
  background: var(--agenda-paper);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person .person-card-logo img {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 85.714%;
  height: 80%;
  max-width: none;
  max-height: none;
  transform: translate(-50%, -50%);
  object-fit: contain;
  object-position: center;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-chip {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 0;
  width: min(13.403cqw, 193px);
  height: min(3.889cqw, 56px);
  padding: 0 min(1.111cqw, 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: min(.278cqw, 4px) solid var(--agenda-charcoal);
  border-radius: min(1.944cqw, 28px);
  background: var(--agenda-brand);
  color: var(--agenda-charcoal);
  box-shadow: min(.833cqw, 12px) min(.833cqw, 12px) 0 var(--agenda-charcoal);
  box-sizing: border-box;
  font-size: min(1.528cqw, 22px);
  font-weight: 700;
  line-height: min(1.111cqw, 16px);
  letter-spacing: min(.1cqw, 1.44px);
  text-transform: uppercase;
  white-space: nowrap;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-chip::before {
  position: absolute;
  z-index: -1;
  top: max(-2.014cqw, -29px);
  left: max(-1.736cqw, -25px);
  width: min(3.264cqw, 47px);
  height: min(3.542cqw, 51px);
  content: "";
  background: url("./assets/figma-2136-32066-moderator-rays.svg") center / 100% 100% no-repeat;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta {
  position: relative;
  width: min(16.288cqw, 234.553px);
  min-width: min(16.288cqw, 234.553px);
  height: min(12.222cqw, 176px);
  padding: 0;
  display: block;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--agenda-charcoal);
  box-shadow: none;
  text-align: center;
  transform: none;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta-rays {
  position: absolute;
  width: min(2.66cqw, 38.296px);
  height: min(2.886cqw, 41.556px);
  display: block;
  max-width: none;
  pointer-events: none;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta-rays-top {
  top: 0;
  left: 0;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta-rays-bottom {
  right: 0;
  bottom: min(2.417cqw, 34.8px);
  transform: rotate(-171.71deg);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta-prefix {
  position: absolute;
  top: min(1.981cqw, 28.52px);
  left: min(1.697cqw, 24.44px);
  width: min(13.056cqw, 188px);
  height: min(3.169cqw, 45.63px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: min(1.585cqw, 22.815px);
  background: var(--agenda-charcoal);
  color: var(--agenda-paper);
  font-size: min(1.245cqw, 17.926px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: min(.081cqw, 1.173px);
  text-transform: uppercase;
  white-space: nowrap;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta > strong {
  position: absolute;
  top: min(4.715cqw, 67.9px);
  left: min(2.918cqw, 42.02px);
  width: min(11cqw, 158.373px);
  height: min(3.169cqw, 45.63px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: min(.226cqw, 3.259px) solid var(--agenda-charcoal);
  border-radius: min(1.585cqw, 22.815px);
  background: var(--agenda-brand);
  box-shadow: min(.679cqw, 9.778px) min(.679cqw, 9.778px) 0 var(--agenda-charcoal);
  box-sizing: border-box;
  font-size: min(1.245cqw, 17.926px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: min(.081cqw, 1.173px);
  text-transform: uppercase;
  transform: rotate(-2.41deg);
  white-space: nowrap;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta small {
  position: absolute;
  top: min(10.921cqw, 157.26px);
  left: min(3.225cqw, 46.44px);
  width: min(10.412cqw, 149.926px);
  font-size: min(.792cqw, 11.407px);
  font-style: italic;
  font-weight: 700;
  line-height: min(1.302cqw, 18.741px);
  letter-spacing: max(-.032cqw, -.456px);
  text-transform: uppercase;
  white-space: nowrap;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta-link:hover,
#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: .18em;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta-link img {
  width: min(1.019cqw, 14.667px);
  height: auto;
  margin-left: min(.3cqw, 4.32px);
  vertical-align: middle;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.is-moderator-missing .agenda-panel-people {
  top: min(24.271cqw, 349.5px);
  left: calc(var(--panel-origin-x) + min(35.98cqw, 518.11px));
  width: min(59.46cqw, 856.221px);
  height: min(20.267cqw, 291.859px);
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

/* Figma's missing-moderator Panel Card uses a wider 1309.221px component
 * with its header shifted independently from the speaker row. Panel 3 then
 * centres that component inside its shorter 912px section, 55px above the
 * Panel 1/2 origin. Keep these offsets desktop-only so the mobile 2 x 2 grid
 * continues to use normal flow. */
@container agenda (min-width: 901px) {
  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.is-moderator-missing .agenda-panel-schedule {
    top: min(17.083cqw, 246px);
    left: calc(var(--panel-origin-x) + min(4.124cqw, 59.39px));
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.is-moderator-missing .agenda-panel-copy {
    top: min(24.743cqw, 356.3px);
    left: calc(var(--panel-origin-x) + min(5.98cqw, 86.11px));
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3 .agenda-panel-schedule {
    top: min(15.694cqw, 226px);
    left: calc(var(--panel-origin-x) + min(6.458cqw, 93px));
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3 .agenda-panel-copy {
    top: min(25.299cqw, 364.3px);
    left: calc(var(--panel-origin-x) + min(8.785cqw, 126.5px));
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3 .agenda-panel-people {
    top: min(18.819cqw, 271px);
    left: calc(var(--panel-origin-x) + min(38.264cqw, 551px));
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3.is-moderator-missing .agenda-panel-schedule {
    top: min(13.264cqw, 191px);
    left: calc(var(--panel-origin-x) + min(5.131cqw, 73.89px));
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3.is-moderator-missing .agenda-panel-copy {
    top: min(20.924cqw, 301.3px);
    left: calc(var(--panel-origin-x) + min(6.987cqw, 100.61px));
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3.is-moderator-missing .agenda-panel-people {
    top: min(20.417cqw, 294px);
    left: calc(var(--panel-origin-x) + min(37.022cqw, 533.11px));
  }
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-hero-image {
  position: absolute;
  z-index: 3;
  top: min(15.694cqw, 226px);
  left: calc(var(--panel-origin-x) + min(39.167cqw, 564px));
  width: min(55.972cqw, 806px);
  height: min(33.403cqw, 481px);
  overflow: hidden;
  border: 0;
  border-radius: min(1.667cqw, 24px);
  background: #d9d9d9;
  box-shadow: min(.417cqw, 6px) min(.417cqw, 6px) 0 var(--agenda-charcoal);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-2 .agenda-panel-copy {
  background: var(--agenda-strong);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3 .agenda-panel-copy,
#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-special .agenda-panel-copy {
  background: var(--agenda-paper);
  color: var(--agenda-charcoal);
}

#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3 .agenda-panel-schedule,
#agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-special .agenda-panel-schedule {
  background: var(--agenda-pale);
}

@container agenda (max-width: 900px) {
  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module[data-agenda-module="panel"] {
    --panel-origin-x: 0px;
    height: auto;
    min-height: 280cqw;
    padding: 21cqw 0 25cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-wave {
    left: 0;
    width: 100cqw;
    height: 13cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-blob {
    top: 13cqw;
    left: -52cqw;
    width: 204cqw;
    height: 150cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-2 .agenda-panel-blob,
  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3 .agenda-panel-blob,
  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-special .agenda-panel-blob {
    top: 13cqw;
    left: -52cqw;
    width: 204cqw;
    height: 150cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-blob-art {
    width: 150cqw;
    height: 204cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-2 .agenda-panel-blob-art,
  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3 .agenda-panel-blob-art,
  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-special .agenda-panel-blob-art {
    width: 150cqw;
    height: 204cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-2 .agenda-panel-wave,
  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-3 .agenda-panel-wave,
  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-special .agenda-panel-wave {
    left: 0;
    width: 100cqw;
    height: 13cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-schedule {
    position: relative;
    top: auto;
    left: auto;
    width: 88cqw;
    height: 14cqw;
    padding: 3cqw 6cqw;
    gap: 5cqw;
    border-width: .497cqw;
    border-radius: 2.7cqw;
    box-shadow: 1.7cqw 1.7cqw 0 var(--agenda-charcoal);
    margin-left: 6cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-schedule span {
    width: 48cqw;
    font-size: 5.1cqw;
    line-height: 1;
    letter-spacing: .55cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-schedule strong {
    width: 23cqw;
    font-size: 6.6cqw;
    line-height: 1;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 84cqw;
    min-height: 52cqw;
    padding: 5cqw;
    gap: 2.6cqw;
    border-width: .55cqw;
    border-radius: 4.5cqw;
    box-shadow: 1.7cqw 1.7cqw 0 var(--agenda-charcoal);
    margin: 10cqw auto 0;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-copy h2 {
    font-size: 8.7cqw;
    line-height: 1.1;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-copy p {
    font-size: 3.35cqw;
    line-height: 1.42;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-people {
    position: relative;
    top: auto;
    left: auto;
    width: 86cqw;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 38.412cqw);
    gap: 16cqw 8cqw;
    align-items: start;
    margin: 20cqw auto 0;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person {
    width: 38.412cqw;
    height: 63.912cqw;
    flex-basis: auto;
    border-width: .55cqw;
    border-radius: 4.478cqw;
    background-size: 100% 48.379cqw;
    box-shadow: 1.493cqw 1.493cqw 0 var(--agenda-charcoal);
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-person.is-moderator {
    margin: 0;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-slot {
    width: 38.412cqw;
    height: 63.912cqw;
    flex: none;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-slot > .agenda-panel-person {
    top: 0;
    left: 0;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-chip {
    top: -13cqw;
    left: -1.5cqw;
    width: 42cqw;
    height: 11cqw;
    padding: 0 3cqw;
    border-width: .78cqw;
    border-radius: 5.5cqw;
    box-shadow: 2.35cqw 2.35cqw 0 var(--agenda-charcoal);
    font-size: 4.5cqw;
    line-height: 1;
    letter-spacing: .28cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-chip::before {
    top: -6.4cqw;
    left: -5.2cqw;
    width: 10.4cqw;
    height: 11.3cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta {
    width: 39cqw;
    min-width: 0;
    height: 29.25cqw;
    padding: 0;
    align-self: center;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta-rays {
    width: 6.37cqw;
    height: 6.91cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta-rays-bottom {
    bottom: 5.78cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta-prefix {
    top: 4.74cqw;
    left: 4.07cqw;
    width: 31.33cqw;
    height: 7.6cqw;
    border-radius: 3.8cqw;
    font-size: 3cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta > strong {
    top: 11.28cqw;
    left: 7cqw;
    width: 26.4cqw;
    height: 7.6cqw;
    border-width: .55cqw;
    border-radius: 3.8cqw;
    box-shadow: 1.63cqw 1.63cqw 0 var(--agenda-charcoal);
    font-size: 3cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta small {
    top: 26.13cqw;
    left: 7.74cqw;
    width: 25cqw;
    font-size: 1.9cqw;
    line-height: 3.12cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-moderator-cta-link img {
    width: 2.44cqw;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.is-moderator-missing .agenda-panel-people {
    position: relative;
    top: auto;
    left: auto;
    width: 86cqw;
    height: auto;
    align-items: start;
    gap: 16cqw 8cqw;
    margin: 20cqw auto 0;
  }

  #agendaPreview .agenda.agenda-v5.agenda-redesign [data-agenda-module="panel"] .agenda-panel-hero-image {
    position: relative;
    top: auto;
    left: auto;
    width: 86cqw;
    height: 51.35cqw;
    border-radius: 4.68cqw;
    box-shadow: 1.56cqw 1.56cqw 0 var(--agenda-charcoal);
    margin: 14cqw auto 0;
  }
}

/* The mobile introduction already supplies the branch-coloured wave into the
   first panel. Keep the panel's own top wave for desktop and for later panels,
   but do not stack a second wave at this one narrow transition. */
@container agenda (max-width: 750px) {
  #agendaPreview .agenda.agenda-v5.agenda-redesign > .agenda-panel-module.agenda-panel-variant-normal-1 .agenda-panel-wave-top {
    display: none;
  }
}
