.schedule-wrapper {
  overflow-x: auto;
  scrollbar-width: auto;
  scrollbar-color: #1a1a2e #f0f0f0;
}

/* ── Header ── */
.cell-header {
  background: #fff;
  border-right: 1px solid #dee2e6;
  border-bottom: 2px solid #dee2e6;
  padding: .75rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #6c757d;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
}

.room-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.room-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.room-name {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.room-desc {
  font-size: 0.7rem;
  color: #6c757d;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Time ── */
.cell-time {
  background: #fff;
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  padding: .75rem .5rem;
  font-size: .7rem;
  font-weight: 600;
  color: #6c757d;
  text-align: center;
  position: sticky;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* ── Activity ── */
.cell-activity {
  background: #fff;
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  padding: .85rem 1rem;
  align-self: stretch;
}

.cell-activity.empty {
  background: #f8f9fa;
}

.act-bar {
  height: 3px;
  border-radius: 2px;
  margin-bottom: .5rem;
}

.act-type {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: .2rem;
}

.act-title {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: .35rem;
  color: #1a1a2e;
}

.act-desc {
  font-size: .85rem;
  color: #48494a;
  line-height: 1.5;
}

.act-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: .6rem;
  font-weight: 600;
  text-transform: uppercase;
}

.act-duration {
  font-size: .72rem;
  color: #5c5d5f;
  margin-bottom: .4rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Break ── */
.cell-break {
  grid-column: 1 / -1;
  background: #fffbeb;
  border-bottom: 1px solid #dee2e6;
  padding: .5rem 1rem;
  font-size: .75rem;
  font-weight: 600;
  color: #856404;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Sub-activities ── */
.sub-list {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px dashed #e9ecef;
}

.sub-item {
  margin-bottom: 0.8rem;
}

.sub-time {
  font-size: 0.65rem;
  font-weight: 800;
  color: #495057;
  padding: 1px 5px;
  border-radius: 4px;
  margin-right: 5px;
}

.sub-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #212529;
  display: block;
  margin-bottom: 5px;
}

.speaker-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 5px;
}

.speaker-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.speaker-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
  border: 1px solid #dee2e6;
}

.speaker-info {
  display: flex;
  flex-direction: column;
}

.speaker-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #333;
  line-height: 1.1;
}

.speaker-topic {
  font-size: 0.7rem;
  color: #505051;
}

/* ── Nav ── */
.date-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 10px !important;
  margin-bottom: 2rem !important;
  overflow-x: auto !important;
  padding-bottom: 10px !important;
  width: 100%;
}

.date-item.active {
    background: #1a1a2e !important;
    color: #ffffff !important;
    border-color: #1a1a2e !important;
    box-shadow: 0 4px 10px rgba(26, 26, 46, 0.3) !important;
}

.date-nav form {
  display: flex !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.date-item {
  height: 100% !important;
  min-width: 120px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;

  padding: 10px 20px !important;
  border-radius: 8px !important;
  background: #f8f9fa !important;
  border: 1px solid #dee2e6 !important;
  color: #6c757d !important;
  white-space: nowrap !important;
  transition: all 0.2s !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}