/* Stage 6: schedule semantics, readable metadata and presentation navigation. */

.calendar-legend {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
  min-width: 760px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
}

.calendar-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.calendar-legend-swatch {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 12px;
  border: 1px solid rgba(19, 33, 39, 0.28);
  border-radius: 3px;
  color: #ffffff;
  font-size: 9px;
  font-style: normal;
  line-height: 1;
}

.calendar-legend-swatch.promotion {
  background: #245d83;
}

.calendar-bar.event-category-seasonal,
.calendar-legend-swatch.seasonal {
  background: #5a46a8;
}

.calendar-bar.event-category-thematic,
.calendar-legend-swatch.thematic {
  background: #0e6b61;
}

.calendar-bar.event-category-recurring,
.calendar-legend-swatch.recurring {
  background: #3f6175;
}

.calendar-bar.event-category-launch {
  background: #7a3d70;
}

.calendar-bar.event-category-flex {
  background: #42609c;
}

.calendar-bar.event-category-other,
.calendar-legend-swatch.other {
  background: #4b5960;
}

.calendar-bar.risk-bar,
.calendar-legend-swatch.risk {
  background: #9b2c2c;
}

.calendar-bar.event-bar {
  border: 2px dashed rgba(255, 255, 255, 0.82);
  filter: none;
}

.calendar-bar small {
  font-size: 11px;
  line-height: 1.2;
  opacity: 1;
}

.lane-label span,
.lane-label small,
.calendar-scale,
.section-meta .muted,
.platform-summary small {
  color: var(--muted-strong);
  font-size: 12px;
  line-height: 1.4;
}

.pill,
.status-pill {
  font-size: 12px;
}

@media (max-width: 760px) {
  body.presentation-mode .topbar h1 {
    font-size: 16px;
  }

  .presentation-exit-button {
    width: 44px;
    min-width: 44px;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .presentation-exit-button::before {
    content: "×";
    font-size: 24px;
    line-height: 1;
  }
}

