/* ==========================================================
   InterAI 2026 — Conference Program
   Design system: Monochromatic intensity hierarchy
   Base hue: #2D3E50 (dark desaturated blue)
   7-step ramp:
     Step 1  100%  — #2D3E50 solid (keynote banners)
     Step 2   70%  — rgba(45,62,80,0.70) (room headers, badges)
     Step 3   35%  — rgba(45,62,80,0.35) (borders, top accents)
     Step 4   15%  — rgba(45,62,80,0.15) (dividers, dashed lines)
     Step 5   08%  — rgba(45,62,80,0.08) (date badge, evening bg)
     Step 6   04%  — rgba(45,62,80,0.04) (event card tint)
     Step 7   02%  — rgba(45,62,80,0.02) (schedule texture)
   ========================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #FAF5F2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  gap: 0;
  font-family: 'Poppins', sans-serif;
}

/* === Poster === */
.poster {
  position: relative;
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  background: #FAF5F2 url('images/background.png') no-repeat center bottom;
  background-size: 200% auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.poster::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(255, 250, 245, 0.88);
}

.content {
  position: relative;
  z-index: 2;
  padding: 0;
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ==========================================================
   HEADER — Copper wave banner
   ========================================================== */
.header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 20px;

  min-height: 60px;
  overflow: visible;
  margin-bottom: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(to right, rgba(93, 60, 40, 0.25) 0%, rgba(93, 60, 40, 0.25) 72%, transparent 72%) 1;
}

/* Main copper area — left side, S-curve edge */
.header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../cover.png') no-repeat left -10px;
  background-size: 88%;
  clip-path: path('M 0 0 L 665 0 C 615 20, 615 40, 565 60 L 0 60 Z');
  z-index: 0;
}


/* Decorative wave ribbons along S-curve edge */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(160, 130, 90, 0.45);
  clip-path: path('M 665 0 L 673 0 C 623 20, 623 40, 573 60 L 565 60 C 615 40, 615 20, 665 0 Z');
  z-index: 1;
}

.header-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.brand {
  font-size: 30.8px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
}

.header-center {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

/* H2 level — page title (on copper wave) */
.header-center-text {
  font-size: 14px;
  font-weight: 500;
  color: #1a0f0a;
  letter-spacing: 4px;
  text-transform: uppercase;
  border: none;
  line-height: 1.2;
  text-align: center;
  margin-top: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 12px rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.45);
  padding: 4px 16px;
  border-radius: 4px;
  backdrop-filter: blur(2px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.header-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Page number — on copper wave */
.page-number {
  font-family: 'Kalam', cursive;
  font-size: 11px;
  font-weight: 400;
  color: #5d4b43;
  letter-spacing: 0.5px;
  background: transparent;
  white-space: nowrap;
}

/* H1 level — Day anchor. Step 5 bg */
.date-badge {
  font-size: 8.8px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: rgba(93, 75, 67, 0.08);
  color: #5d4b43;
  padding: 3px 24px;
  display: inline-block;
  border-radius: 20px;
  border: 1.5px solid rgba(93, 75, 67, 0.2);
}

.logo {
  height: 56px;
  display: block;
}

/* ==========================================================
   SCHEDULE CONTAINER — Step 7 texture
   ========================================================== */
.schedule {
  background: transparent;
  border-radius: 0;
  padding: 10px 20px;
  flex: 1;
  overflow: hidden;
  position: relative;
  border: none;
}

.schedule::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.02;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(26, 26, 26, 0.15) 2px, rgba(26, 26, 26, 0.15) 3px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(26, 26, 26, 0.15) 2px, rgba(26, 26, 26, 0.15) 3px);
  background-size: 3px 3px;
}

/* ==========================================================
   TIMELINE
   ========================================================== */
.timeline {
  position: relative;
  padding-left: 0;
  margin-top: 8px;
}

.tl-node {
  position: relative;
  margin-bottom: 10px;
}

.tl-node:last-child {
  margin-bottom: 0;
}

.tl-num {
  display: none;
}

/* ==========================================================
   LEVEL 1 — KEYNOTE / PLENARY (full saturated banner)
   Title is 2.5x body text. Step 1 background.
   ========================================================== */
/* Card container */
.tl-event.tl-event-keynote,
.tl-event.tl-event-poster {
  margin-top: 5px;
}

.tl-event.tl-event-keynote {
  background: rgba(252, 249, 247, 0.7);
  border-left: none;
  border-radius: 8px;
  padding: 0;
  text-align: left;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(93, 60, 40, 0.25);
  position: relative;
  overflow: clip;
  z-index: 0;
}

.tl-event.tl-event-keynote>* {
  position: relative;
  z-index: 1;
}

.tl-event.tl-event-keynote::after {
  display: none;
}

/* Top bar: time + label */
.tl-keynote-header {
  position: relative;
  z-index: 2;
  background: #F9F1EF;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px;
  border-bottom: 1px solid rgba(139, 107, 93, 0.1);
}

.tl-event-keynote .tl-time {
  font-size: 10px;
  font-weight: 700;
  color: #5d4b43;
  margin-bottom: 0;
}

.tl-event-keynote .tl-time .material-symbols-outlined {
  display: none;
}

.tl-event-keynote .tl-label {
  color: #5d4b43;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 0;
  opacity: 0.85;
}

/* Main content: mic icon left + title/speaker right */
.tl-event-keynote .tl-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: #5d3a2e;
  padding: 6px 14px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tl-event-keynote .tl-speaker {
  font-size: 9.5px;
  font-weight: 400;
  color: #8b6b5d;
  margin-top: -2px;
  padding: 0 14px 7px;
  padding-left: 48px;
}

.tl-event-keynote .tl-speaker strong {
  font-weight: 600;
  color: #5d4b43;
}
/* Moderator line */
.tl-moderator {
  font-family: 'Poppins', sans-serif;
  font-size: 7.5px;
  font-weight: 400;
  color: #8b6b5d;
  padding: 0 14px 5px;
  padding-left: 48px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tl-moderator .material-symbols-outlined { font-size: 9px; color: #8b6b5d; }
.tl-moderator strong { font-weight: 600; color: #5d4b43; }
.tl-room > .tl-moderator {
  padding-left: 0;
  font-size: 7.5px;
  margin-top: 1px;
  margin-bottom: 3px;
}


.tl-title-fr {
  font-size: 9px;
  font-style: italic;
  color: #8b6b5d;
  line-height: 1.3;
  padding: 0 14px;
  margin-top: -2px;
}

/* Room tag — ribbon at top-right */
.tl-event-keynote .tl-room-header {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(120, 140, 90, 0.35);
  border: none;
  color: #5d3a2e;
  padding: 3px 10px 3px 14px;
  border-radius: 0 0 0 14px;
  box-shadow: -2px 2px 6px rgba(0, 0, 0, 0.08);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: none;
}

/* Mic icon — font icon (keynotes) */
.mic-icon-keynote {
  font-size: 26px;
  color: #5d3a2e;
  opacity: 0.5;
  flex-shrink: 0;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 8.5px;
  font-weight: 600;
  color: #5d3a2e;
  background: rgba(120, 140, 90, 0.35);
  padding: 3px 9px;
  border-radius: 3px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  vertical-align: baseline;
  position: relative;
  top: -1px;
}

.location-badge .material-symbols-outlined {
  font-size: 8px;
}

.mic-icon-opening {
  color: #E8943A;
  opacity: 0.7;
  font-size: 18px;
}


/* Poster session card */
.tl-event.tl-event-poster {
  background: #FAF5F3;
  border-left: none;
  border: 1px solid rgba(93, 60, 40, 0.25);
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.tl-poster-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
}

.tl-event-poster .tl-room-header {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 8px 0 14px;
}

.tl-event-poster .tl-time {
  font-size: 10px;
  font-weight: 700;
  color: #5d4b43;
  margin-bottom: 0;
}

.tl-event-poster .tl-time .material-symbols-outlined {
  display: none;
}

.tl-event-poster .tl-label {
  font-size: 9px;
  font-weight: 700;
  color: #5d4b43;
  margin-bottom: 0;
  letter-spacing: 1.2px;
}

.poster-icon {
  font-size: 20px;
  color: #B4937F;
  opacity: 0.7;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  padding: 6px 14px 8px;
}

.poster-item {
  aspect-ratio: 1;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease;
}

/*.poster-item:hover { transform: translateY(-2px); }*/

/* Abstract Decorative Circle */
.poster-item::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: currentColor;
  border-radius: 50%;
  top: -60%;
  left: -60%;
  opacity: 0.15;
  z-index: 0;
}

/* Another small circle for balance */
.poster-item::after {
  content: '';
  position: absolute;
  width: 40%;
  height: 40%;
  border: 1px solid currentColor;
  border-radius: 50%;
  bottom: -10%;
  right: -10%;
  opacity: 0.2;
  z-index: 0;
}

/* Colors via 'color' property inherited by pseudo-elements + Backgrounds */
.poster-item:nth-child(1) {
  color: #d4a574;
  background-color: rgba(212, 165, 116, 0.4);
}

.poster-item:nth-child(2) {
  color: #b4937f;
  background-color: rgba(180, 147, 127, 0.4);
}

.poster-item:nth-child(3) {
  color: #8b6b5d;
  background-color: rgba(139, 107, 93, 0.4);
}

.poster-item:nth-child(4) {
  color: #c49a6c;
  background-color: rgba(196, 154, 108, 0.4);
}

.poster-item:nth-child(5) {
  color: #a0785e;
  background-color: rgba(160, 120, 94, 0.4);
}

.poster-item:nth-child(6) {
  color: #d4a574;
  background-color: rgba(212, 165, 116, 0.4);
}

.poster-item:nth-child(7) {
  color: #c78a4e;
  background-color: rgba(199, 138, 78, 0.4);
}

.poster-item:nth-child(8) {
  color: #b4937f;
  background-color: rgba(180, 147, 127, 0.4);
}

/* Title text */
.poster-item span {
  font-family: 'Poppins', sans-serif;
  font-size: 8px;
  font-weight: 700;
  color: #3d2b1f;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Session content inside poster-style box */
.tl-session-content {
  padding: 6px 14px 8px;
}

.tl-session-content .tl-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: #5d3a2e;
}

.tl-session-content .tl-speaker {
  font-size: 9.5px;
  font-weight: 400;
  color: #8b6b5d;
  margin-top: 2px;
}

.tl-session-content .tl-speaker strong {
  font-weight: 600;
  color: #5d4b43;
}

/* ==========================================================
   LEVEL 2 — PARALLEL SESSIONS (medium: white + border accent)
   Session label is H3. Room cards have Step 3 top border.
   ========================================================== */
.tl-parallel {
  margin-top: 4px;
}

.tl-parallel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tl-parallel-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

/* Room card */
.tl-room {
  background: #FAF5F3;
  border-radius: 8px;
  padding: 4px 7px 8px;
  border: 1px solid rgba(93, 60, 40, 0.25);
  box-shadow: -3px 1px 6px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Room header badge — copper pill */
.tl-room-header {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 8.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #5d3a2e;
  background: rgba(120, 140, 90, 0.35);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 5px;
}

.tl-room>.tl-room-header {
  margin-top: 2px;
}

.tl-room-header .material-symbols-outlined {
  font-size: 11px;
}

/* ==========================================================
   LEVEL 3 — REGULAR EVENTS (light tint + left border)
   Step 6 background, Step 3 left border.
   ========================================================== */
.tl-event {
  background: rgba(45, 62, 80, 0.04);
  border-radius: 8px;
  padding: 7px 10px;
  border-left: 3px solid rgba(45, 62, 80, 0.25);
  position: relative;
}

.tl-event-opening {
  border-left: 3px solid rgba(45, 62, 80, 0.25);
}

.tl-event-opening .tl-title {
  padding-bottom: 8px;
}

/* ==========================================================
   LEVEL 4 — BREAKS (dashed, almost transparent)
   Step 4 dashed borders. Text at Step 3/Step 4 opacity.
   ========================================================== */
.tl-break {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 6px 0 8px;
  padding: 2px 0;
  border-top: 1px dashed rgba(45, 62, 80, 0.12);
  border-bottom: 1px dashed rgba(45, 62, 80, 0.12);
  background: none;
}

.tl-break-lunch {
  background: radial-gradient(ellipse at center, rgba(180, 147, 127, 0.15) 0%, transparent 70%);
  padding: 6px 0;
}

.tl-break-time {
  font-size: 10px;
  font-weight: 600;
  color: #634036;
}

/* ==========================================================
   TYPOGRAPHY — Consistent hierarchy
   H1: date-badge 11px bold
   H2: header-center-text 13px semibold
   H3: tl-label 7.5px bold uppercase (session headers)
   H3-keynote: tl-label 9px (inside keynote)
   Title-keynote: 14px semibold (2.5x body)
   Title-regular: 10px regular
   Body: talk-speaker/tl-speaker 7.5px
   Caption: break text 8px
   ========================================================== */

/* Time — H4 level */
.tl-time {
  font-size: 10.5px;
  font-weight: 700;
  color: #5d4b43;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 2px;
  vertical-align: middle;
}

.tl-time .material-symbols-outlined {
  font-size: 11px;
  color: #5d4b43;
}

/* Session label — H3 level */
.tl-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #5d4b43;
  vertical-align: middle;
  margin-bottom: 3px;
}

/* Regular event title */
.tl-title {
  font-size: 10px;
  font-weight: 400;
  color: rgba(45, 62, 80, 0.85);
  line-height: 1.3;
}

/* Speaker — body text */
.tl-speaker {
  font-size: 7.5px;
  font-weight: 400;
  color: rgba(45, 62, 80, 0.5);
  margin-top: 2px;
}

/* Opening bullet list */
.tl-items {
  list-style: none;
  padding: 0;
  margin: 3px 0 0;
}

.tl-items li {
  font-size: 9px;
  color: rgba(45, 62, 80, 0.7);
  padding: 2px 0;
  padding-left: 12px;
  position: relative;
  line-height: 1.4;
}

.tl-items li::before {
  content: '\2022';
  position: absolute;
  left: 3px;
  color: rgba(45, 62, 80, 0.35);
  font-weight: 700;
}

/* ==========================================================
   TALKS — Level 3 (text only, no background)
   Clear separation via whitespace, not decoration.
   ========================================================== */
.talk {
  margin-bottom: 8px;
  padding-bottom: 0;
  border-bottom: none;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.talk:last-child {
  margin-bottom: 2px;
}

.talk .mic-icon {
  font-size: 15px;
  color: #3d2b1f;
  opacity: 0.5;
  flex-shrink: 0;
  margin-top: 1px;
}

.talk-content {
  flex: 1;
  min-width: 0;
}

.talk-title {
  font-size: 10.5px;
  color: #8b6b5d;
  line-height: 1.35;
  font-style: normal;
  font-weight: 600;
}

.talk-title-fr {
  font-size: 8.5px;
  font-style: italic;
  color: #8b6b5d;
  line-height: 1.3;
  margin-top: 1px;
}

.talk-speaker {
  font-size: 9.5px;
  font-weight: 400;
  font-style: normal;
  color: #5d4b43;
  margin-top: 2px;
}

.talk-speaker strong {
  font-weight: 600;
  color: #5d4b43;
}

.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 7px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #5d8a6b;
  background: rgba(93, 138, 107, 0.1);
  border: 1px solid rgba(93, 138, 107, 0.25);
  border-radius: 10px;
  padding: 1px 6px;
  margin-left: 4px;
  vertical-align: baseline;
  white-space: nowrap;
}

.online-badge .material-symbols-outlined {
  font-size: 9px;
}

/* ==========================================================
   ICONS — Step 2 opacity
   ========================================================== */
.mic-icon {
  font-size: 13px;
  color: #5d3a2e;
  vertical-align: middle;
  margin-right: 3px;
}

.location-icon {
  font-size: 9px;
  vertical-align: middle;
  margin-right: 1px;
}

/* ==========================================================
   BREAKS — Kalam accent font (casual handwritten feel)
   ========================================================== */
.break-text {
  font-family: 'Kalam', cursive;
  font-size: 13px;
  font-weight: 600;
  color: #634036;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.break-icon {
  font-size: 16px;
  color: #634036;
  font-style: normal;
}

.break-sub {
  font-family: 'Caveat', cursive;
  font-size: 15px;
  font-weight: 500;
  color: #634036;
  font-style: normal;
  letter-spacing: 0.3px;
}

/* ==========================================================
   LABELS (side events heading)
   ========================================================== */
.side-events-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.side-events-header::before,
.side-events-header::after {
  content: '';
  flex: 1;
  height: 1px;
  border-top: 1px dashed rgba(93, 75, 67, 0.25);
}

.side-events-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #8b6b5d;
}

/* ==========================================================
   DIVIDER — Step 4
   ========================================================== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 62, 80, 0.12), rgba(45, 62, 80, 0.12), transparent);
  margin: 10px 0;
}

/* ==========================================================
   EVENING / SIDE EVENTS — Step 5 background
   Lower visual priority than main schedule.
   ========================================================== */
.evening-footer {
  background: transparent;
  margin: 24px -14px -10px;
  padding: 18px 14px 10px;
  border-top: 1px solid rgba(93, 75, 67, 0.12);
  border-radius: 0;
  position: relative;
}

.event {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
  align-items: baseline;
}

.event-evening {
  margin-bottom: 10px;
  padding: 6px 10px;
  background: rgba(247, 239, 235, 0.7);
  border-radius: 6px;
  border: 1px solid rgba(93, 75, 67, 0.15);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.event-body {
  flex: 1;
  min-width: 0;
}

.time-badge {
  min-width: 0;
  padding: 0;
  background: transparent;
  color: #5d4b43;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.time-icon {
  font-size: 10px;
  color: #5d4b43;
  width: 10px;
  height: 10px;
  overflow: hidden;
  margin-right: 3px;
}

.evening-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.evening-title {
  font-size: 11px;
  font-weight: 600;
  color: #5d3a2e;
  line-height: 1.3;
}

.evening-location {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 8.5px;
  font-weight: 600;
  color: #5d3a2e;
  letter-spacing: 1px;
  background: rgba(120, 140, 90, 0.35);
  padding: 3px 9px;
  border-radius: 3px;
  white-space: nowrap;
  text-transform: uppercase;
}

.evening-location .material-symbols-outlined {
  font-size: 8px;
}

.evening-details {
  font-size: 9.5px;
  color: #8b6b5d;
  line-height: 1.45;
}

.evening-details strong {
  font-weight: 600;
  color: #5d4b43;
}

/* ==========================================================
   CLOSING BADGE — Step 1
   ========================================================== */
.closing-section {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.closing-divider {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.closing-divider::before,
.closing-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(93, 75, 67, 0.2), rgba(93, 75, 67, 0.2), transparent);
}

.closing-divider::before {
  background: linear-gradient(90deg, transparent, rgba(93, 75, 67, 0.2));
}

.closing-divider::after {
  background: linear-gradient(90deg, rgba(93, 75, 67, 0.2), transparent);
}

.closing-text {
  font-size: 8.5px;
  font-weight: 600;
  color: #5d4b43;
  background: #EFE7E2;
  border: 1px solid rgba(93, 75, 67, 0.3);
  padding: 4px 20px;
  border-radius: 12px;
  white-space: nowrap;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  margin: 0 12px;
}

.page-break {
  margin-top: 20px;
}

/* ==========================================================
   EXTRACTED INLINE STYLES
   ========================================================== */

/* Teams icon link inside room headers */
.teams-link {
  color: #5d3a2e;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85em;
  text-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Teams icon image sizing */
.teams-icon {
  height: 1.4em;
  vertical-align: middle;
}

/* VR headset icon */
.icon-vr {
  width: 13px;
  height: 13px;
  vertical-align: middle;
  opacity: 0.6;
  flex-shrink: 0;
}

/* Country flag wrapper */
.country-flag {
  font-size: 1em;
  margin-left: 4px;
  white-space: nowrap;
}

/* University name — no line break within */
.university {
  white-space: nowrap;
}

/* Flag emoji display */
.flag-emoji {
  display: inline-block;
}

/* Day header (wrapping date-badge) */
.day-header {
  text-align: center;
  margin-bottom: 8px;
}

/* Language indicator */
.lang-indicator {
  font-weight: 400;
  font-size: 9px;
  opacity: 0.7;
}

/* Language indicator italic variant */
.lang-indicator-italic {
  font-size: 7px;
  opacity: 0.6;
  font-style: italic;
}

/* Talk title bold subtitle */
.talk-subtitle {
  font-weight: 600;
  margin-top: 4px;
}

/* Speaker margin-top */
.speaker-mt {
  margin-top: 2px;
}

/* Round table icon */
.icon-roundtable {
  font-size: 26px;
}

/* Closing icon */
.icon-closing {
  font-size: 20px;
  margin-right: 6px;
  vertical-align: middle;
}

/* Country flag with display inline-block variant */
.country-flag-inline {
  font-size: 1em;
  margin-left: 4px;
  display: inline-block;
}

/* Restaurant icon */
.icon-restaurant {
  font-size: 14px;
  color: #8b6b5d;
}

/* Cover page poster */
.poster-cover {
  background: none;
  min-height: 1123px;
  position: relative;
}

.poster-cover::after {
  display: none;
}

/* Cover image */
.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* Cover notice box */
.cover-notice {
  position: absolute;
  bottom: 317px;
  left: 10px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 16px;
  border-radius: 6px;
  max-width: 370px;
  z-index: 10;
  text-align: center;
}

/* Cover notice main text */
.cover-notice-text {
  font-family: Poppins, sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.3;
  margin: 0;
  opacity: 0.9;
}

/* Cover notice secondary text */
.cover-notice-sub {
  font-family: Poppins, sans-serif;
  font-size: 8.5px;
  font-weight: 400;
  color: #b8b8b8;
  line-height: 1.3;
  margin: 3px 0 0 0;
  opacity: 0.9;
}

/* Poster section description */
.poster-description {
  margin: 0;
  padding: 0 14px 8px 14px;
  font-size: 9.5px;
  font-weight: 400;
  color: #5d4b43;
  line-height: 1.6;
  text-align: center;
}

/* Evening location override */
.location-plain {
  background: none;
  padding: 0;
  color: inherit;
  text-transform: none;
  letter-spacing: normal;
  font-size: 10.5px;
  font-weight: 400;
}

/* Map wrapper */
.map-wrapper {
  margin-top: 4px;
  margin-left: -44px;
  margin-right: -10px;
  border-radius: 8px;
  overflow: hidden;
  page-break-inside: avoid;
}

/* Map embed */
.map-embed {
  width: calc(100% - 19px);
  height: 330px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(45, 62, 80, 0.3);
}

/* Poster item category backgrounds */
.poster-item-ethics { background: rgba(212, 165, 116, 0.4); }
.poster-item-nlp { background: rgba(180, 147, 127, 0.4); }
.poster-item-creativity { background: rgba(139, 107, 93, 0.4); }
.poster-item-bias { background: rgba(196, 154, 108, 0.4); }
.poster-item-pedagogy { background: rgba(160, 120, 94, 0.4); }
.poster-item-culture { background: rgba(199, 138, 78, 0.4); }

/* ==========================================================
   PRINT — @media print
   - page-break-inside:avoid on cards and rooms
   - force print colors on all styled elements
   ========================================================== */
@media print {
  body {
    background: none;
    padding: 0;
    margin: 0;
  }

  .poster {
    width: 210mm;
    min-height: 297mm;
    aspect-ratio: auto;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .poster,
  .poster::after,
  .schedule,
  .schedule::before,
  .tl-event,
  .tl-event-keynote,
  .tl-event-opening,
  .tl-room-header,
  .tl-room,
  .tl-break,
  .evening-footer,
  .evening-location,
  .mic-icon,
  .date-badge,
  .closing-text,
  .page-number,
  .tl-event-keynote .tl-room-header,
  .tl-event-keynote .mic-icon {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Prevent splitting across pages */
  .tl-event,
  .tl-event-keynote,
  .tl-room,
  .tl-node,
  .evening-footer,
  .talk {
    page-break-inside: avoid;
  }

  .page-break {
    page-break-before: always;
    margin-top: 0;
  }

  @page {
    margin: 0;
    size: A4 portrait;
  }
}

