/* QUANT program — representative schedule layout */

:root {
  --program-navy: #14173a;
  --program-navy-deep: #0b1028;
  --program-blue: #00a0e9;
  --program-blue-deep: #0284c7;
  --program-cyan: #38bdf8;
  --program-gold: #e8d48b;
  --program-gold-deep: #c9a227;
  --program-surface: #eef5fb;
  --program-muted: #64748b;
  --session-color: #00a0e9;
  --program-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* —— Hero —— */
.program-hero {
  position: relative;
  overflow: hidden;
  padding: 4.75rem 1.5rem 4rem;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 160, 233, 0.42), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(232, 212, 139, 0.18), transparent 28%),
    radial-gradient(circle at 78% 88%, rgba(28, 31, 76, 0.55), transparent 36%),
    linear-gradient(145deg, #070b1c 0%, #1c1f4c 48%, #0369a1 100%);
}

.program-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.program-hero-orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 160, 233, 0.28);
  pointer-events: none;
  z-index: 0;
  animation: programOrb 14s ease-in-out infinite;
}

.program-hero-orb-a {
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  right: -120px;
  top: -140px;
}

.program-hero-orb-b {
  width: min(280px, 50vw);
  height: min(280px, 50vw);
  left: -90px;
  bottom: -100px;
  border-color: rgba(232, 212, 139, 0.22);
  animation-delay: -4s;
}

@keyframes programOrb {
  0%, 100% { transform: translate(0, 0); opacity: 0.55; }
  50% { transform: translate(-14px, 10px); opacity: 0.95; }
}

.program-hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.program-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.program-brand {
  margin: 1.1rem 0 0.35rem;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 12px 40px rgba(0, 160, 233, 0.35);
}

.program-brand span {
  background: linear-gradient(120deg, #fff 10%, var(--program-gold) 55%, #fff 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.program-hero h1 {
  margin: 0.35rem 0 0.85rem;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.program-hero .program-lead {
  max-width: 680px;
  margin: 0 auto;
  color: #f0f7ff;
  font-size: 1.1rem;
  line-height: 1.75;
  font-weight: 500;
}

.program-fact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.95rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.program-stat {
  padding: 0.95rem 0.55rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.program-stat span {
  display: block;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.room-guide-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: #fff;
  border: 1.5px solid #b8cce3;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.room-guide-item strong {
  display: block;
  color: #0b1028;
  font-size: 1rem;
  font-weight: 850;
}

.room-guide-item span {
  display: block;
  margin-top: 0.2rem;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 600;
}

.program-intro h2 {
  margin: 0 0 0.35rem;
  color: #0b1028;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 850;
}

.program-intro p {
  margin: 0;
  color: #334155;
  max-width: 36rem;
  font-size: 1rem;
  font-weight: 550;
}

.program-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.program-fact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 650;
  backdrop-filter: blur(6px);
}

.program-fact i { color: var(--program-gold); }

.program-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 640px;
  margin: 1.5rem auto 0;
}

.program-stat {
  padding: 0.85rem 0.55rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.program-stat strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.program-stat span {
  display: block;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.program-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.program-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s var(--program-ease), box-shadow 0.2s;
}

.program-hero-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.program-hero-btn.is-solid {
  background: #fff;
  color: var(--program-navy) !important;
  border-color: #fff;
}

.program-hero-btn.is-solid:hover {
  color: var(--program-blue-deep) !important;
}

/* —— Section shell —— */
.program-section {
  padding: 3.25rem 1.5rem 4.5rem;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(0, 160, 233, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 10%, rgba(28, 31, 76, 0.06), transparent 50%),
    var(--program-surface);
}

.program-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.program-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.program-intro h2 {
  margin: 0 0 0.35rem;
  color: var(--program-navy);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800;
}

.program-intro p {
  margin: 0;
  color: var(--program-muted);
}

.program-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.program-legend span {
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dde5f1;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.program-legend .legend-keynote {
  color: #9f1239;
  background: #fff1f2;
  border-color: #fecdd3;
}

.program-legend .legend-tech {
  color: #0369a1;
  background: #e0f2fe;
  border-color: #bae6fd;
}

.program-legend .legend-break {
  color: #92400e;
  background: #fffbeb;
  border-color: #fde68a;
}

.program-room-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.room-guide-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #dce4f0;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.room-guide-swatch {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.room-guide-keynote { background: linear-gradient(180deg, #9f1239, #c9a227); }
.room-guide-tech { background: #00a0e9; }
.room-guide-break { background: #f59e0b; }

.room-guide-item strong {
  display: block;
  color: var(--program-navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.room-guide-item span {
  display: block;
  margin-top: 0.15rem;
  color: var(--program-muted);
  font-size: 0.78rem;
}

.program-data-stamp {
  margin: 0 0 1rem;
  color: #94a3b8;
  font-size: 0.78rem;
}

/* —— Day tabs —— */
.program-tabs-sticky {
  position: sticky;
  top: 72px;
  z-index: 30;
  padding: 0.35rem 0 0.85rem;
  margin-bottom: 0.35rem;
  background: linear-gradient(180deg, rgba(238, 245, 251, 0.97) 55%, rgba(238, 245, 251, 0));
}

.program-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  padding: 0.45rem;
  margin-bottom: 0;
  border: 2px solid #b8cce3;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
}

.program-tab {
  border: 0;
  border-radius: 0.75rem;
  padding: 0.95rem 0.75rem;
  background: #f4f8fc;
  color: #1e293b;
  cursor: pointer;
  text-align: center;
  transition: 0.2s ease;
  font-size: 0.95rem;
}

.program-tab:hover {
  background: #dff1fb;
  color: #0369a1;
}

.program-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #14173a, #0284c7);
  box-shadow: 0 10px 22px rgba(0, 160, 233, 0.35);
}

.program-tab-day {
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.program-tab-date {
  display: block;
  margin-top: 0.2rem;
  font-weight: 800;
  font-size: 0.92rem;
}

.program-tabs[data-days="1"] { grid-template-columns: 1fr; }
.program-tabs[data-days="2"] { grid-template-columns: repeat(2, 1fr); }
.program-tabs[data-days="4"] { grid-template-columns: repeat(4, 1fr); }

.program-panel[hidden] { display: none !important; }

.program-panel:not([hidden]) {
  animation: programPanelIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes programPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.day-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.15rem;
  border-radius: 1rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(20, 23, 58, 0.2);
  background: linear-gradient(125deg, #0f1230 0%, #1c1f4c 40%, #0369a1 78%, #00a0e9 100%);
}

.day-summary-1 {
  background: linear-gradient(125deg, #0f1230 0%, #1c1f4c 40%, #0369a1 78%, #00a0e9 100%);
}

.day-summary-2 {
  background: linear-gradient(125deg, #1c1f4c 0%, #0e4d75 45%, #0284c7 75%, #c9a227 120%);
}

.day-summary-3 {
  background: linear-gradient(125deg, #14173a 0%, #1c1f4c 35%, #0f766e 75%, #00a0e9 100%);
}

.day-summary-badge {
  display: inline-flex;
  margin-bottom: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.day-summary h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 800;
}

.day-summary-meta {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  text-align: left;
}

.day-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.day-summary .session-badge.zoom-link {
  background: #fff;
  color: #0b1028;
  border: 0;
  font-size: 0.84rem;
  font-weight: 850;
  padding: 0.5rem 0.85rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.day-summary .session-badge.zoom-link:hover,
.day-summary .session-badge.zoom-keynote:hover {
  background: #e8d48b;
  color: #0b1028;
}

.day-summary .session-badge.zoom-keynote {
  background: #fff1f2;
  color: #9f1239;
  border: 0;
}

/* —— Schedule timeline —— */
.schedule-list { position: relative; }

.schedule-list-rail::before {
  content: "";
  position: absolute;
  left: 120px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  background: linear-gradient(180deg, rgba(0, 160, 233, 0.55), rgba(28, 31, 76, 0.12), transparent);
  border-radius: 2px;
  pointer-events: none;
}

.schedule-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.1rem;
  position: relative;
}

.schedule-time {
  padding-top: 1.15rem;
  text-align: right;
  color: #0b1028;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.schedule-time span {
  display: block;
  margin-top: 0.15rem;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 750;
}

.schedule-card {
  position: relative;
  overflow: hidden;
  border: 1.5px solid #c5d4e8;
  border-radius: 1.05rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (hover: hover) {
  .schedule-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 160, 233, 0.45);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  }
}

.schedule-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--session-color, #00a0e9);
}

.schedule-card-body {
  padding: 1.25rem 1.3rem 1.2rem 1.5rem;
}

.session-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.session-heading { min-width: 0; }

.session-number-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.6rem;
  padding: 0.48rem 0.9rem;
  border: 2px solid #e8d48b;
  border-radius: 0.55rem;
  color: #fff;
  background: linear-gradient(135deg, #14173a, #0284c7);
  box-shadow: 0 6px 16px rgba(0, 160, 233, 0.3);
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.session-title {
  margin: 0;
  color: #0b1028;
  font-size: clamp(1.08rem, 2.2vw, 1.22rem);
  line-height: 1.4;
  font-weight: 850;
}

.session-subtitle {
  margin: 0.4rem 0 0;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 650;
}

.session-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-shrink: 0;
}

.session-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: #eef2f7;
  color: #0f172a;
  border: 1px solid #d0dae8;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: capitalize;
  text-decoration: none;
}

.session-badge.online {
  color: #1e3a8a;
  background: #dbeafe;
  border-color: #93c5fd;
}

.session-badge.onsite {
  color: #14532d;
  background: #dcfce7;
  border-color: #86efac;
}

.session-badge.zoom-link {
  color: #fff;
  background: linear-gradient(135deg, #0369a1, #00a0e9);
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(0, 160, 233, 0.28);
}

.session-badge.zoom-link:hover {
  color: #fff;
  background: linear-gradient(135deg, #0c4a6e, #0284c7);
  filter: brightness(1.05);
}

.session-badge.zoom-keynote {
  color: #fff;
  background: linear-gradient(135deg, #9f1239, #be123c);
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(159, 18, 57, 0.28);
}

.session-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin-top: 0.75rem;
  color: #1e293b;
  font-size: 0.9rem;
  font-weight: 650;
}

.session-details span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.session-details i {
  color: #0284c7;
}

.paper-list {
  margin: 1.05rem 0 0;
  padding: 1rem 0 0;
  border-top: 2px solid #d7e3f2;
  list-style: none;
  counter-reset: papers;
}

.paper-list li {
  position: relative;
  padding: 0.2rem 0 0.95rem 2.35rem;
  margin: 0;
  counter-increment: papers;
}

.paper-list li:last-child { padding-bottom: 0; }

.paper-list li::before {
  content: counter(papers);
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--session-color, #0284c7);
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.28);
}

.paper-title {
  display: block;
  color: #0b1028;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.5;
}

.paper-authors {
  display: block;
  margin-top: 0.25rem;
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.5;
  font-weight: 550;
}

.paper-id {
  color: #0369a1;
  font-weight: 850;
  white-space: nowrap;
}

.break-card {
  background: #fff8e8;
  border-color: #f0c96a;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.12);
}

.break-card::before { background: #f59e0b; width: 7px; }

.break-card.is-keynote {
  background: #fff;
  border-color: #e7b4c0;
  box-shadow: 0 12px 30px rgba(159, 18, 57, 0.12);
}

.break-card.is-keynote::before {
  background: linear-gradient(180deg, #9f1239, #c9a227);
  width: 7px;
}

.break-card h4 {
  margin: 0;
  color: #78350f;
  font-size: 1.02rem;
  font-weight: 850;
  text-transform: none;
}

.break-card .keynote-title {
  color: #0b1028;
  font-size: 1.12rem;
  line-height: 1.4;
  text-transform: none;
  font-weight: 850;
}

.keynote-label {
  display: inline-block;
  margin-bottom: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: #9f1239;
  background: #ffe4e6;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.keynote-speaker {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.4rem 0 0;
  color: #1e293b;
  font-size: 0.9rem;
  font-weight: 750;
}

.break-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0.7rem;
  color: #92400e;
  background: #fde68a;
  font-size: 1.15rem;
}

.break-card.is-lunch {
  background: #fff7ed;
  border-color: #fdba74;
}

.break-card.is-lunch::before { background: #ea580c; width: 7px; }

.break-card.is-registration {
  background: #f0fdfa;
  border-color: #5eead4;
}

.break-card.is-registration::before { background: #0f766e; width: 7px; }

.break-card .schedule-card-body {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.break-card.is-keynote .break-icon {
  color: #9f1239;
  background: #fecdd3;
}

.break-card.is-lunch .break-icon {
  color: #c2410c;
  background: #fed7aa;
}

.break-card.is-registration .break-icon {
  color: #0f766e;
  background: #99f6e4;
}

.break-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.break-content .session-badges { margin-left: auto; }

.event-heading { min-width: 0; }

.program-note {
  margin: 1.5rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 0.8rem;
  color: #475569;
  background: #e8f4fc;
  font-size: 0.86rem;
  line-height: 1.6;
}

.program-note a {
  color: var(--program-blue-deep);
  font-weight: 700;
}

.program-note ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

@media (prefers-reduced-motion: reduce) {
  .program-hero-orb,
  .program-panel:not([hidden]),
  .schedule-card {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 991.98px) {
  .program-tabs[data-days="3"],
  .program-tabs[data-days="4"] {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-room-guide {
    grid-template-columns: 1fr;
  }

  .schedule-list-rail::before {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .program-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .program-intro { display: block; }
  .program-legend { margin-top: 1rem; }

  .program-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .schedule-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .schedule-time {
    padding: 0 0.2rem;
    text-align: left;
  }

  .schedule-time span {
    display: inline;
    margin-left: 0.2rem;
  }

  .session-topline { display: block; }

  .session-badges {
    justify-content: flex-start;
    margin-top: 0.7rem;
  }

  .break-content { display: block; }
  .break-content .session-badges { margin-left: 0; margin-top: 0.65rem; }

  .day-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .day-summary-meta,
  .day-summary-actions {
    text-align: left;
    justify-content: flex-start;
  }

  .program-stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-room-guide {
    grid-template-columns: 1fr;
  }

  .schedule-list-rail::before {
    display: none;
  }

  .program-tabs-sticky {
    top: 64px;
  }

  .program-hero-actions .program-hero-btn {
    width: 100%;
    justify-content: center;
  }
}

/* —— High-visibility polish (final overrides) —— */
.program-intro h2 { color: #0b1028; font-weight: 850; }
.program-intro p { color: #334155; font-size: 1.02rem; }
.program-legend span {
  border-width: 1.5px;
  font-size: 0.82rem;
  padding: 0.42rem 0.78rem;
}
.day-summary h3 { font-size: clamp(1.2rem, 2.5vw, 1.4rem); }
.day-summary-meta { color: #fff; font-weight: 650; }
.schedule-time { color: #0b1028; }
.session-title,
.break-card .keynote-title,
.paper-title { color: #0b1028; }
.program-note {
  border: 1.5px solid #9ecae8;
  background: #e8f4fc;
  color: #0f172a;
  font-size: 0.92rem;
}

.day-format-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.45rem 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.day-format-onsite {
  color: #14532d;
  background: #dcfce7;
  border: 1px solid #86efac;
}

.day-summary .day-format-onsite {
  color: #052e16;
  background: rgba(220, 252, 231, 0.95);
  border-color: rgba(134, 239, 172, 0.9);
}
