<style>
  html {
    scroll-behavior: smooth;
  }

  .master-tab-content [id] {
    scroll-margin-top: 110px;
  }

  .active-tab {
    border-color: #1e40af !important;
    color: #1e40af !important;
    background-color: rgba(30, 64, 175, 0.05);
  }

  .master-tab-btn:hover:not(.active-tab) {
    color: #1e40af;
    background-color: #f9fafb;
    border-color: #d1d5db;
  }

  .program-paper-link:hover {
    color: #1e40af;
    text-decoration: underline;
  }

  .event-pdf-link {
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
  }

  @keyframes shimmer-ray {
    0% {
      left: -100%;
      opacity: 0;
    }
    10% {
      opacity: 0.8;
    }
    50% {
      opacity: 1;
    }
    90% {
      opacity: 0.8;
    }
    100% {
      left: 150%;
      opacity: 0;
    }
  }

  .event-pdf-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 80px;
    height: 200%;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.15) 15%,
      rgba(255, 255, 255, 0.85) 40%,
      rgba(255, 255, 255, 0.95) 50%,
      rgba(255, 255, 255, 0.85) 60%,
      rgba(255, 255, 255, 0.15) 85%,
      transparent 100%
    );
    transform: skewX(-20deg);
    animation: shimmer-ray 3.5s infinite;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
  }

  .event-pdf-link:hover::before {
    animation: shimmer-ray 1.2s infinite;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
  }

  .event-pdf-link:hover .overview-event {
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
    transform: translateY(-2px);
    border-color: #1e40af !important;
  }

  .event-pdf-link:hover .event-title {
    color: #1e40af;
    text-decoration: underline;
  }

  .program-section-header {
    background: linear-gradient(135deg, #efe0a0 0%, #f7edc7 100%);
  }

  .program-discussion {
    background-color: #fee2e2;
  }

  .program-break {
    background-color: #dbe4f0;
  }

  .program-poster {
    background-color: #fff59d;
  }

  .program-banquet {
    background-color: #d8efd3;
  }

  .poster-expand-btn {
    width: 30px;
    height: 30px;
    border-radius: 9999px;
    background: #1e40af;
    color: white;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(30, 64, 175, 0.2);
  }

  .poster-subpanel {
    background: #fffef2;
    border-top: 1px solid #e5e7eb;
  }

  .poster-day-chip {
    display: inline-block;
    background: #f3f4f6;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
  }

  .overview-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .overview-event {
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid transparent;
  }

  .event-blue {
    background: #eff6ff;
    border-color: #bfdbfe;
  }

  .event-gold {
    background: #fffbeb;
    border-color: #fde68a;
  }

  .event-soft {
    background: #f8fafc;
    border-color: #e5e7eb;
  }

  .event-break {
    background: #eef2ff;
    border-color: #c7d2fe;
  }

  .event-poster {
    background: #fffbcc;
    border-color: #facc15;
  }

  .event-banquet {
    background: #ecfdf5;
    border-color: #86efac;
  }

  .event-neutral {
    background: #f9fafb;
    border-color: #e5e7eb;
  }

  .event-time {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1e40af;
    margin-bottom: 4px;
  }

  .event-title {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    line-height: 1.35;
  }

  .event-meta {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    font-weight: 600;
  }

.day-anchor-wrap {
  position: relative;
  z-index: 1;
  background: rgba(249, 250, 251, 0.96);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 14px;
  margin-top: 16px;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.master-tab-content {
  overflow: visible !important;
}

.day-page-layout {
  overflow: visible !important;
}

.day-page-title {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

  .day-anchor-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 10px;
  }

  .day-anchor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .day-anchor-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 9999px;
    background: white;
    border: 1px solid #dbeafe;
    color: #1e40af;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.18s ease;
  }

  .day-anchor-chip:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    transform: translateY(-1px);
  }

  .day-anchor-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #f59e0b;
    display: inline-block;
  }

  .session-shell {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: white;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  }

  .session-header {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-bottom: 1px solid #e5e7eb;
  }

  @media (min-width: 900px) {
    .session-header {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
  }

  .session-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .session-kicker {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    color: #6b7280;
  }

  .session-title-main {
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
  }

  .chair-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(30,64,175,0.14);
    border-radius: 18px;
    padding: 12px 14px;
    box-shadow: 0 10px 18px rgba(30, 64, 175, 0.08);
  }

  .chair-badge {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #1e40af;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .chair-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    color: #6b7280;
  }

  .chair-name {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    line-height: 1.3;
  }

  .table-head-enhanced th {
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .program-time {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    line-height: 1.3;
  }

  .program-paper-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 6px 10px;
    border-radius: 9999px;
    background: #f3f4f6;
    color: #374151;
    font-weight: 800;
    font-size: 13px;
  }

  .program-title {
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    line-height: 1.38;
  }

  .program-authors {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    margin-top: 6px;
    font-style: italic;
  }

  .day-page-title {
    margin-bottom: 12px;
  }

  .day-page-title h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
  }

  .day-page-title p {
    font-size: 1rem;
    color: #6b7280;
    margin-top: 4px;
  }
</style>