.schedule-page {
  --pm-navy: #1a2744;
  --pm-gold: #d4a017;
}

.schedule-page .schedule-lead {
  max-width: 38rem;
}

.schedule-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.schedule-view-tabs {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 999px;
  background: #f1eee6;
  border: 1px solid rgba(26, 39, 68, 0.08);
}

.schedule-view-tabs .btn {
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: #5c6578;
  background: transparent;
}

.schedule-view-tabs .btn.is-active {
  background: #fff;
  color: var(--pm-navy);
  box-shadow: 0 1px 6px rgba(26, 39, 68, 0.12);
}

.schedule-share .btn {
  font-weight: 600;
}

.schedule-panel[hidden] {
  display: none !important;
}

.schedule-table-wrap {
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(26, 39, 68, 0.08);
  background: #fff;
}

.schedule-table {
  margin: 0;
  min-width: 720px;
}

.schedule-table thead th {
  background: #1a2744;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  border: 0;
}

.schedule-table tbody td {
  vertical-align: middle;
  font-size: 0.9rem;
}

.schedule-card {
  border: 1px solid rgba(26, 39, 68, 0.08);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  background: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.schedule-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26, 39, 68, 0.1);
}

.schedule-card-accent {
  height: 4px;
  background: linear-gradient(90deg, #d4a017, #1a2744);
}

.schedule-card.is-completed .schedule-card-accent {
  background: #adb5bd;
}

.schedule-card.is-ongoing .schedule-card-accent {
  background: #198754;
}

.schedule-card.is-open .schedule-card-accent {
  background: #0d6efd;
}

.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 0.75rem;
}

.schedule-legend i {
  font-size: 0.65rem;
  vertical-align: middle;
}

.schedule-legend .dot-open { color: #0d6efd; }
.schedule-legend .dot-ongoing { color: #198754; }
.schedule-legend .dot-done { color: #adb5bd; }
