.auto-program-preview {
  display: grid;
  gap: 1.5rem;
}

.auto-program-preview.is-hidden {
  display: none;
}

.auto-program-document-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d9e6f2;
}

.auto-program-document-title {
  margin: 0;
  color: #103b5a;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.auto-program-document-subtitle {
  margin-top: 0.35rem;
  color: #587189;
  font-size: 0.97rem;
  line-height: 1.6;
}

.auto-program-document-meta {
  flex: 0 0 auto;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: #edf5fb;
  border: 1px solid #c9dceb;
  color: #28506d;
  font-weight: 700;
  font-size: 0.9rem;
}

.auto-program-section {
  display: grid;
  gap: 1rem;
}

.auto-program-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.auto-program-section-head.is-centered {
  justify-content: center;
  text-align: center;
}

.auto-program-section-title {
  margin: 0;
  color: #143f61;
  font-size: 1.5rem;
  font-weight: 800;
}

.auto-program-section-title.is-centered {
  font-size: 2rem;
}

.auto-program-timezone-note {
  margin-top: 0.35rem;
  color: #4a4a4a;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.auto-program-section-note {
  color: #60788f;
  font-size: 0.95rem;
  line-height: 1.55;
}

.auto-program-day {
  border: 1px solid #dbe8f4;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.auto-program-day-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
}

.auto-program-day.is-summary .auto-program-day-head {
  justify-content: center;
  text-align: center;
  background: #2d5f8a;
  border-bottom: 0;
}

.auto-program-day.is-full .auto-program-day-head {
  justify-content: center;
  text-align: center;
  background: #2d5f8a;
  border-bottom: 0;
}

.auto-program-day.is-summary .auto-program-day-title,
.auto-program-day.is-full .auto-program-day-title {
  color: #ffffff;
}

.auto-program-day-title {
  margin: 0;
  color: #143e60;
  font-size: 1.25rem;
  font-weight: 800;
}

.auto-program-day.is-full .auto-program-day-title {
  font-size: 1.35rem;
}

.auto-program-session-list,
.auto-program-full-list {
  display: grid;
}

.auto-program-summary-band {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-top: 1px solid #e6eef6;
}

.auto-program-summary-band:first-child,
.auto-program-full-item:first-child {
  border-top: 0;
}

.auto-program-summary-band.is-even {
  background: #fbfdff;
}

.auto-program-summary-band.is-odd {
  background: #f6fafd;
}

.auto-program-summary-band.is-break-row {
  /* color now handled by is-type-break below */
}

.auto-program-summary-band.is-parallel-row {
  gap: 0.95rem;
}

.auto-program-summary-group-label {
  justify-self: center;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: #e8f1fb;
  color: #31587a;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auto-program-summary-group-label.is-break {
  background: #f7ead1;
  color: #8a6208;
}

.auto-program-venue-note {
  margin-top: 0.25rem;
  color: #4a6f8a;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.auto-program-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
}

.auto-program-summary-grid.is-parallel-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.auto-program-summary-card {
  border-left: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.15rem 0;
  text-align: center;
}

.auto-program-summary-card.is-break {
  border-left-color: transparent;
}

.auto-program-summary-card.is-parallel-card {
  height: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid #dbe8f5;
  border-radius: 12px;
  background: #eff6fd;
  box-shadow: 0 8px 20px rgba(24, 62, 96, 0.05);
  text-align: center;
}

.auto-program-summary-card.is-parallel-card .auto-program-summary-line,
.auto-program-summary-card.is-parallel-card .auto-program-summary-location {
  text-align: center;
}

.auto-program-summary-grid.is-parallel-grid
  .auto-program-summary-card.is-parallel-card {
  border-color: #d8e1ea;
  background: #f7f9fb;
}

.auto-program-summary-band.is-break-row .auto-program-summary-grid {
  grid-template-columns: 1fr;
}

.auto-program-summary-band.is-break-row .auto-program-summary-card.is-break {
  padding: 0.35rem 0.1rem;
  border: 0;
  background: transparent;
}

.auto-program-summary-header-line {
  margin-bottom: 0.2rem;
}

.auto-program-summary-line {
  margin-top: 0.45rem;
  color: #3b5975;
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: left;
  font-weight: bold;
}

.auto-program-summary-location {
  color: #234a67;
  font-weight: 700;
  text-align: center;
}

.auto-program-summary-line.is-secondary,
.auto-program-summary-card.is-break .auto-program-summary-line {
  color: #617a92;
}

.auto-program-full-item {
  border-top: 1px solid #e6eef6;
}

.auto-program-session {
  padding: 1.15rem 1.2rem 1.25rem;
}

.auto-program-session-body {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.auto-program-session-headline {
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  text-align: center;
  padding: 0 0 0.8rem;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid #dce8f2;
}

.auto-program-session-title {
  color: #163d31;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
}

.auto-program-session-header-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem 0.8rem;
  color: #163d31;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.auto-program-full-header-line {
  width: 100%;
  padding: 0.45rem 0.8rem;
  background: #eef6ff;
  box-sizing: border-box;
}

.auto-program-session-headline-meta,
.auto-program-session-time-inline {
  color: #163d31;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
}

.auto-program-session-headline-meta strong,
.auto-program-session-time-inline strong,
.auto-program-session-link strong,
.auto-program-session-location strong {
  color: inherit;
}

.auto-program-session-headline-meta,
.auto-program-session-time-inline,
.auto-program-session-title {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 575.98px) {
  .auto-program-summary-grid.is-parallel-grid {
    grid-template-columns: 1fr;
  }

  .auto-program-session-header-line {
    gap: 0.2rem 0.6rem;
  }
}

.auto-program-session-link,
.auto-program-session-detail,
.auto-program-session-location {
  color: #2f4c66;
  font-size: 0.95rem;
  line-height: 1.7;
}

.auto-program-session-link {
  margin-top: 0.15rem;
}

.auto-program-session-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.85rem;
  border: 1px solid #b8d8f0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f5fbff 0%, #e6f4ff 100%);
  box-shadow: 0 6px 14px rgba(15, 88, 133, 0.08);
  color: #0b5e90;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  word-break: break-word;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.auto-program-session-link.is-virtual a {
  border-color: #8bd4cb;
  background: linear-gradient(180deg, #f2fffd 0%, #daf7f2 100%);
  box-shadow: 0 6px 14px rgba(22, 123, 111, 0.12);
  color: #0d6f66;
}

.auto-program-session-link a::before {
  content: "\2197";
  font-size: 0.82rem;
  line-height: 1;
}

.auto-program-session-link a:hover,
.auto-program-session-link a:focus {
  border-color: #8fc4ea;
  background: linear-gradient(180deg, #ffffff 0%, #dff0ff 100%);
  box-shadow: 0 10px 18px rgba(15, 88, 133, 0.12);
  text-decoration: none;
  transform: translateY(-1px);
}

.auto-program-session-link.is-virtual a:hover,
.auto-program-session-link.is-virtual a:focus {
  border-color: #5fbfaf;
  background: linear-gradient(180deg, #ffffff 0%, #cff2eb 100%);
  box-shadow: 0 10px 18px rgba(22, 123, 111, 0.16);
}

.auto-program-session-link a:focus {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(11, 94, 144, 0.15),
    0 10px 18px rgba(15, 88, 133, 0.12);
}

.auto-program-session-link.is-virtual a:focus {
  box-shadow:
    0 0 0 3px rgba(13, 111, 102, 0.16),
    0 10px 18px rgba(22, 123, 111, 0.16);
}

.auto-program-session-detail {
  color: #234a67;
  font-weight: 700;
}

.auto-program-session-detail.is-secondary {
  color: #496680;
  font-weight: 600;
}

.auto-program-session-detail.is-tertiary {
  color: #2c5874;
  font-weight: 700;
}

.auto-program-session-abstract {
  color: #425d75;
  text-align: justify;
}

.auto-program-session-abstract-label {
  color: #153f61;
  font-size: 1.02rem;
  font-weight: 800;
  margin-right: 0.35rem;
}

.auto-program-featured-speaker {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.auto-program-featured-speaker-photo {
  display: block;
  width: 72px;
  height: 72px;
  border: 1px solid #cadbe8;
  border-radius: 14px;
  background: #eaf2f8;
  object-fit: cover;
}

.auto-program-featured-speaker-content {
  min-width: 0;
}

.auto-program-featured-speaker-name {
  color: #234a67;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
}

.auto-program-featured-speaker-affiliation {
  color: #496680;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
}

.auto-program-panel-roster {
  margin: 0.85rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.auto-program-panel-title {
  color: #173e60;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.45;
}

.auto-program-panel-abstract {
  color: #425d75;
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: justify;
}

.auto-program-panel-role {
  margin-top: 0.1rem;
  color: #294765;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auto-program-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1rem;
}

.auto-program-featured-speaker.is-panel {
  margin: 0;
  padding: 0.65rem;
  border: 1px solid #d8e1ea;
  border-radius: 10px;
  background: #fbfdff;
}

.auto-program-speaker-bio {
  color: #425d75;
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: justify;
}

.auto-program-speaker-bio-label {
  color: #153f61;
  font-size: 1.02rem;
  font-weight: 800;
  margin-right: 0.35rem;
}

.auto-program-speaker-bio-paragraph {
  margin: 0.35rem 0 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.auto-program-mode-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #f5f8fb;
  border: 1px solid #d8e3ec;
  color: #295272;
  font-size: 0.8rem;
  font-weight: 700;
}

.auto-program-mode-badge.is-onsite {
  background: #f5f8fb;
  border-color: #d8e3ec;
  color: #295272;
}

.auto-program-mode-badge.is-online {
  background: #f5f8fb;
  border-color: #d8e3ec;
  color: #295272;
}

.auto-program-mode-badge.is-hybrid {
  background: #f5f8fb;
  border-color: #d8e3ec;
  color: #295272;
}

.auto-program-agenda {
  display: grid;
  gap: 0.7rem;
}

.auto-program-agenda-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
  padding: 0.75rem 0;
  border-top: 1px solid #e0ebf4;
  border-radius: 0;
  background: transparent;
}

.auto-program-agenda-time {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  color: #153f61;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
}

.auto-program-agenda-paper-id {
  color: #49667e;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.auto-program-agenda-title {
  color: #173e60;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.5;
}

.auto-program-agenda-authors,
.auto-program-agenda-mode,
.auto-program-agenda-meta {
  margin-top: 0.22rem;
  color: #61798f;
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 767.98px) {
  .auto-program-document-head,
  .auto-program-day-head,
  .auto-program-section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .auto-program-summary-grid {
    grid-template-columns: 1fr;
  }

  .auto-program-agenda-item {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .auto-program-agenda-time {
    justify-content: flex-start;
    text-align: left;
  }

  .auto-program-featured-speaker {
    grid-template-columns: 72px minmax(0, 1fr);
    justify-content: flex-start;
  }

  .auto-program-panel-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Professional neutral program palette ───────────────────────────────── */

.auto-program-day.is-summary .auto-program-day-head,
.auto-program-day.is-full .auto-program-day-head {
  border-bottom-width: 0;
}

.auto-program-day.is-day-1 .auto-program-day-head,
.auto-program-day.is-day-2 .auto-program-day-head,
.auto-program-day.is-day-3 .auto-program-day-head,
.auto-program-day.is-day-4 .auto-program-day-head,
.auto-program-day.is-day-5 .auto-program-day-head,
.auto-program-day.is-day-6 .auto-program-day-head {
  background: #1f3f5b;
}

.auto-program-day.is-day-1 .auto-program-day-title,
.auto-program-day.is-day-2 .auto-program-day-title,
.auto-program-day.is-day-3 .auto-program-day-title,
.auto-program-day.is-day-4 .auto-program-day-title,
.auto-program-day.is-day-5 .auto-program-day-title,
.auto-program-day.is-day-6 .auto-program-day-title {
  color: #ffffff;
}

/* ─── Session type — Summary band solid backgrounds ──────────────────────── */
/* Override even/odd alternating rows for typed sessions                      */

.auto-program-summary-band.is-type-keynote {
  background: #fbfdff;
  border-left: 4px solid #5f7890;
}
.auto-program-summary-band.is-type-keynote .auto-program-summary-group-label {
  background: #1f3f5b;
  color: #ffffff;
}
.auto-program-summary-band.is-type-keynote .auto-program-session-title,
.auto-program-summary-band.is-type-keynote .auto-program-session-headline-meta {
  color: #1f2933;
}

.auto-program-summary-band.is-type-technical {
  background: #f7f9fb;
  border-left: 4px solid #d8e1ea;
}
.auto-program-summary-band.is-type-technical .auto-program-summary-group-label {
  background: #1f3f5b;
  color: #ffffff;
}
.auto-program-summary-band.is-type-technical .auto-program-session-title,
.auto-program-summary-band.is-type-technical
  .auto-program-session-headline-meta {
  color: #1f2933;
}

.auto-program-summary-band.is-type-panel {
  background: #fbfdff;
  border-left: 4px solid #8ca0b3;
}
.auto-program-summary-band.is-type-panel .auto-program-summary-group-label {
  background: #1f3f5b;
  color: #ffffff;
}
.auto-program-summary-band.is-type-panel .auto-program-session-title,
.auto-program-summary-band.is-type-panel .auto-program-session-headline-meta {
  color: #1f2933;
}

.auto-program-summary-band.is-type-break,
.auto-program-summary-band.is-break-row {
  background: #eef3f7;
  border-left: 4px solid #5f7890;
}
.auto-program-summary-band.is-type-break .auto-program-summary-group-label,
.auto-program-summary-band.is-break-row .auto-program-summary-group-label {
  background: #5f7890;
  color: #ffffff;
}
.auto-program-summary-band.is-type-break .auto-program-session-title,
.auto-program-summary-band.is-type-break .auto-program-session-headline-meta,
.auto-program-summary-band.is-break-row .auto-program-session-title,
.auto-program-summary-band.is-break-row .auto-program-session-headline-meta {
  color: #1f2933;
}

/* ─── Join Session link — top right, before speaker info ────────────────── */

.auto-program-join-link-top {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
  margin-bottom: 0.35rem;
}

/* ─── Session type — Full program item solid backgrounds ─────────────────── */

/* White text for all meta spans (Time, Location) inside colored header bars */
.auto-program-full-item.is-type-keynote
  .auto-program-full-header-line
  .auto-program-session-time-inline,
.auto-program-full-item.is-type-keynote
  .auto-program-full-header-line
  .auto-program-session-headline-meta,
.auto-program-full-item.is-type-technical
  .auto-program-full-header-line
  .auto-program-session-time-inline,
.auto-program-full-item.is-type-technical
  .auto-program-full-header-line
  .auto-program-session-headline-meta,
.auto-program-full-item.is-type-panel
  .auto-program-full-header-line
  .auto-program-session-time-inline,
.auto-program-full-item.is-type-panel
  .auto-program-full-header-line
  .auto-program-session-headline-meta,
.auto-program-full-item.is-type-break
  .auto-program-full-header-line
  .auto-program-session-time-inline,
.auto-program-full-item.is-type-break
  .auto-program-full-header-line
  .auto-program-session-headline-meta {
  color: #ffffff;
}

.auto-program-full-item.is-type-keynote {
  background: #ffffff;
  border-top: 3px solid #5f7890;
}
.auto-program-full-item.is-type-keynote .auto-program-full-header-line {
  background: #1f3f5b;
}
.auto-program-full-item.is-type-keynote .auto-program-session-title,
.auto-program-full-item.is-type-keynote .auto-program-session-header-line {
  color: #ffffff;
}

.auto-program-full-item.is-type-technical {
  background: #ffffff;
  border-top: 3px solid #d8e1ea;
}
.auto-program-full-item.is-type-technical .auto-program-full-header-line {
  background: #1f3f5b;
}
.auto-program-full-item.is-type-technical .auto-program-session-title,
.auto-program-full-item.is-type-technical .auto-program-session-header-line {
  color: #ffffff;
}

.auto-program-full-item.is-type-panel {
  background: #ffffff;
  border-top: 3px solid #8ca0b3;
}
.auto-program-full-item.is-type-panel .auto-program-full-header-line {
  background: #1f3f5b;
}
.auto-program-full-item.is-type-panel .auto-program-session-title,
.auto-program-full-item.is-type-panel .auto-program-session-header-line {
  color: #ffffff;
}

.auto-program-full-item.is-type-break {
  background: #f7f9fb;
  border-top: 3px solid #5f7890;
}
.auto-program-full-item.is-type-break .auto-program-full-header-line {
  background: #5f7890;
}
.auto-program-full-item.is-type-break .auto-program-session-title,
.auto-program-full-item.is-type-break .auto-program-session-header-line {
  color: #ffffff;
}
