.agenda-header-info {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
}

.agenda-meta {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

.agenda-location {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

.agenda-location strong {
  color: #222;
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
}

.agenda-description {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.6;
}

.time-filter {
  display: flex;
  gap: 0.4rem;
  margin: 1.2rem 0;
  padding: 0.4rem;
  background: white;
  border-radius: 6px;
  border: 1px solid #e8e8e8;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
}

.time-filter-btn {
  padding: 0.35rem 0.7rem;
  background-color: #fff;
  border: solid #222 2px;
  border-radius: 5px;
  font-size: 0.75rem;
  line-height: 1.3;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.time-filter-btn:hover {
  background-color: #eaeaea;
  text-decoration: none;
}

.time-filter-btn.active {
  background-color: #222;
  color: #fff;
  border-color: #222;
}

.agenda-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  margin-top: 0.8rem;
}

.agenda-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.agenda-table tr:last-child {
  border-bottom: none;
}

.agenda-table td {
  padding: 0.8rem 1rem;
  vertical-align: top;
}

.time-cell {
  width: 75px;
  font-weight: 700;
  color: #4c6ef5;
  font-size: 0.85rem;
  white-space: nowrap;
  padding-right: 1rem;
}

.time-cell .session-tags {
  margin-top: 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: flex-start;
}

.content-cell {
  padding-left: 1rem;
}

.session-title {
  font-weight: 700;
  color: #222;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  line-height: 1.3;
}

.session-speaker {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.3rem;
  font-weight: 500;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.speaker-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.speaker-image {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  background-color: #f0f0f0;
  display: block;
}

.speaker-name {
  font-size: 0.8rem;
}

.session-description {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.5;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.breakout-session-description {
  font-size: 0.75rem;
  color: #555;
  line-height: 1.4;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.session-tags {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.session-tag {
  padding: 2px 3px;
  border-radius: 0;
  font-size: 0.6rem;
  font-weight: 600;
  background: #f0f0f0;
  color: #666;
}

.session-tag.web {
  background: #e8f5e9;
  color: #2e7d32;
}

.session-tag.ai {
  background: #fff3e0;
  color: #e65100;
}

.session-tag.cloud {
  background: #e3f2fd;
  color: #1565c0;
}

.session-tag.product {
  background: #f3e5f5;
  color: #7b1fa2;
}

.session-buttons {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.small-btn {
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  margin: 0;
}

.breakout-sessions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.7rem;
  margin-top: 0.6rem;
}

.breakout-session {
  padding: 0.7rem;
  background: #fafafa;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.breakout-session-title {
  font-weight: 700;
  color: #222;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  line-height: 1.3;
}

.breakout-session-speaker {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 0.3rem;
  font-weight: 500;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.type-badge {
  display: inline-block;
  padding: 2px 3px;
  border-radius: 0;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: lowercase;
  margin-top: 0.4rem;
  letter-spacing: 0.3px;
}

.type-badge.general {
  background: #d2e3fc;
  color: #4c6ef5;
}

.type-badge.breakout {
  background: #e0f2f1;
  color: #00796b;
}

.type-badge.break {
  background: #ffe0b2;
  color: #ef6c00;
}

/* Dialog */
dialog {
  max-width: 650px;
  width: 90%;
  padding: 0;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e8eaed;
}

.dialog-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  margin: 0;
  flex: 1;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.dialog-close {
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #666;
  padding: 0;
  margin-left: 0.75rem;
  line-height: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.dialog-close:hover {
  background: #e0e0e0;
  color: #222;
}

.dialog-close:active {
  transform: scale(0.95);
}

.dialog-time {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
}

#dialogContent {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dialog-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  margin: 0 0 1.5rem 0;
  text-align: left;
  width: 100%;
  max-width: 100%;
}

.dialog-speakers {
  margin: 1rem 0;
  font-size: 0.9rem;
  color: #666;
  width: 100%;
  max-width: 100%;
}

.dialog-speakers strong {
  color: #222;
  display: block;
  margin-bottom: 0.8rem;
}

.dialog-speaker-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: #f9f9f9;
  border-radius: 6px;
  margin-bottom: 0.6rem;
  width: 100%;
}

.dialog-speaker-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

.dialog-speaker-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.dialog-speaker-name {
  font-weight: 600;
  color: #222;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.dialog-speaker-title {
  font-size: 0.8rem;
  color: #666;
}

.dialog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

/* Speaker Dialog Styles */
#speakerDialogContent {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.speaker-dialog-image-container {
  margin-bottom: 1.5rem;
}

.speaker-dialog-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 2px solid #e8e8e8;
}

.speaker-dialog-title {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  max-width: 500px;
}

.speaker-dialog-bio {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.5rem;
  text-align: left;
  max-width: 500px;
  width: 100%;
}

.speaker-dialog-social {
  width: auto;
  min-width: 120px;
  margin-top: 0;
}

@media (max-width: 968px) {
  .agenda-meta {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  /* Header */
  .agenda-header-info {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  /* Time Filter */
  .time-filter {
    padding: 0.3rem;
    gap: 0.3rem;
    justify-content: flex-start;
    margin: 1rem 0;
  }

  .time-filter-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.65rem;
    border-width: 1.5px;
  }

  /* Table/Card Layout */
  .agenda-table {
    display: block;
    border-radius: 6px;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .agenda-table tr {
    display: block;
    margin-bottom: 0.8rem;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  }

  .agenda-table td {
    display: block;
  }

  /* Time Cell */
  .time-cell {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    padding: 0.7rem 0.8rem;
    margin-bottom: 0;
    font-size: 0.8rem;
    background: #fafafa;
    border-radius: 8px 8px 0 0;
  }

  .time-cell .session-tags {
    display: inline-flex;
    flex-direction: row;
    margin-top: 0.3rem;
    margin-left: 0.5rem;
  }

  /* Content Cell */
  .content-cell {
    padding: 0.8rem;
  }

  /* Session Elements */
  .session-title {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }

  .session-speaker {
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
  }

  .speaker-image {
    width: 20px;
    height: 20px;
  }

  .session-description {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .breakout-session-description {
    font-size: 0.7rem;
  }

  /* Session Tags */
  .session-tag {
    font-size: 0.55rem;
    padding: 2px 4px;
  }

  /* Breakout Sessions */
  .breakout-sessions {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-top: 0.5rem;
  }

  .breakout-session {
    padding: 0.6rem;
  }

  .breakout-session-title {
    font-size: 0.8rem;
  }

  .breakout-session-speaker {
    font-size: 0.7rem;
  }

  /* Buttons */
  .session-buttons {
    flex-direction: row;
    gap: 0.3rem;
    margin-top: 0.6rem;
  }

  .small-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
    flex: 1;
  }

  /* Dialogs */
  dialog {
    width: 95%;
    max-width: 95%;
    border-radius: 8px;
  }

  .dialog-header {
    padding: 0.6rem 0.8rem;
  }

  .dialog-title {
    font-size: 0.9rem;
  }

  .dialog-time {
    font-size: 0.75rem;
  }

  .dialog-close {
    width: 26px;
    height: 26px;
  }

  #dialogContent {
    padding: 1rem;
  }

  #speakerDialogContent {
    padding: 1rem;
  }

  .dialog-description {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .dialog-speakers {
    font-size: 0.8rem;
  }

  .dialog-speaker-item {
    padding: 0.6rem;
  }

  .dialog-speaker-image {
    width: 40px;
    height: 40px;
  }

  .dialog-speaker-name {
    font-size: 0.85rem;
  }

  .dialog-speaker-title {
    font-size: 0.75rem;
  }

  .speaker-dialog-image {
    width: 90px;
    height: 90px;
  }

  .speaker-dialog-title {
    font-size: 0.8rem;
    max-width: 100%;
  }

  .speaker-dialog-bio {
    font-size: 0.85rem;
    max-width: 100%;
  }

  .speaker-dialog-social {
    width: 100%;
    font-size: 0.75rem;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .agenda-header-info {
    font-size: 1.2rem;
  }

  .time-filter-btn {
    font-size: 0.6rem;
    padding: 0.35rem 0.5rem;
  }

  .session-title {
    font-size: 0.85rem;
  }

  .small-btn {
    font-size: 0.65rem;
    padding: 0.35rem 0.5rem;
  }
}
