/* Step By Step Class Timetable - all rules scoped to .sbs-tt */
.sbs-tt {
  --sbs-tt-pink: #e92e72;
  --sbs-tt-pink-soft: #ff6b9d;
  --sbs-tt-card: #141416;
  --sbs-tt-line: rgba(233, 46, 114, 0.35);
  --sbs-tt-rule: rgba(255, 255, 255, 0.08);
  --sbs-tt-muted: #b9b9c0;
  --sbs-tt-head: Nunito, system-ui, sans-serif;
  --sbs-tt-accent: "Segoe UI", "Open Sans", system-ui, sans-serif;
  box-sizing: border-box;
  padding: 36px 0;
  color: #fff;
  font-family: inherit;
}

.sbs-tt *,
.sbs-tt *::before,
.sbs-tt *::after { box-sizing: border-box; }

.sbs-tt [hidden] { display: none !important; }

.sbs-tt .sbs-tt__sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sbs-tt__wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Heading ---------------------------------------------------------------- */
.sbs-tt__intro { margin: 0 0 28px; text-align: center; }

.sbs-tt .sbs-tt__title {
  margin: 0;
  font-family: var(--sbs-tt-head);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}

.sbs-tt__sparkle {
  display: block;
  width: 64px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--sbs-tt-pink), var(--sbs-tt-pink-soft));
}

.sbs-tt .sbs-tt__lead {
  margin: 16px auto 0;
  max-width: 60ch;
  color: var(--sbs-tt-muted);
  font-size: 17px;
  line-height: 1.55;
}

/* Filters ---------------------------------------------------------------- */
.sbs-tt__controls {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 20px 22px;
  background: var(--sbs-tt-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.sbs-tt__filter {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.sbs-tt__filter-label {
  font-family: var(--sbs-tt-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sbs-tt-muted);
}

.sbs-tt__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sbs-tt .sbs-tt__chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28);
  color: #fff;
  font-family: var(--sbs-tt-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.sbs-tt .sbs-tt__chip:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6);
  color: #fff;
}

.sbs-tt .sbs-tt__chip[aria-pressed="true"] {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #fff;
  color: #0a0a0b;
}

.sbs-tt .sbs-tt__chip:focus-visible,
.sbs-tt .sbs-tt__reset:focus-visible,
.sbs-tt .sbs-tt__btn:focus-visible {
  outline: 2px solid var(--sbs-tt-pink-soft);
  outline-offset: 3px;
}

.sbs-tt__short { display: none; }

.sbs-tt .sbs-tt__status {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--sbs-tt-muted);
}

/* Day cards -------------------------------------------------------------- */
.sbs-tt__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.sbs-tt__grid.is-single { grid-template-columns: minmax(0, 1fr); }

.sbs-tt__day {
  background: var(--sbs-tt-card);
  border: 1px solid var(--sbs-tt-line);
  border-radius: 24px;
  padding: 26px 28px 28px;
}

.sbs-tt__day.is-today { border-color: rgba(233, 46, 114, 0.6); }

.sbs-tt .sbs-tt__day-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-family: var(--sbs-tt-head);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.sbs-tt__today {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(233, 46, 114, 0.16);
  color: var(--sbs-tt-pink-soft);
  font-family: var(--sbs-tt-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sbs-tt__track { margin-top: 16px; }
.sbs-tt__track + .sbs-tt__track { padding-top: 16px; border-top: 1px solid var(--sbs-tt-rule); }

.sbs-tt .sbs-tt__venue {
  margin: 0 0 8px;
  font-family: var(--sbs-tt-accent);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--sbs-tt-pink);
}

.sbs-tt .sbs-tt__address {
  margin: -4px 0 8px;
  font-size: 14px;
  color: var(--sbs-tt-muted);
}

.sbs-tt .sbs-tt__slots {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sbs-tt .sbs-tt__slot {
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  margin: 0;
  padding: 11px 0;
  border-top: 1px solid var(--sbs-tt-rule);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: #fff;
}

.sbs-tt .sbs-tt__slot:first-child { border-top: 0; }

.sbs-tt__when {
  font-family: var(--sbs-tt-accent);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sbs-tt__what { display: grid; gap: 2px; }

.sbs-tt__note {
  font-size: 14px;
  font-weight: 400;
  color: var(--sbs-tt-muted);
}

/* Empty / reset ---------------------------------------------------------- */
.sbs-tt__none,
.sbs-tt__empty {
  padding: 28px;
  border-radius: 24px;
  background: var(--sbs-tt-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: center;
}

.sbs-tt__none p { margin: 0 0 14px; }

.sbs-tt .sbs-tt__reset {
  appearance: none;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
  color: #fff;
  font-family: var(--sbs-tt-head);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

.sbs-tt .sbs-tt__reset:hover { background: #fff; color: var(--sbs-tt-pink); }

/* Buttons ---------------------------------------------------------------- */
.sbs-tt__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.sbs-tt .sbs-tt__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--sbs-tt-pink);
  color: #fff;
  font-family: var(--sbs-tt-head);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sbs-tt .sbs-tt__btn:hover { background: #c81f5d; color: #fff; }

.sbs-tt .sbs-tt__btn--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}

.sbs-tt .sbs-tt__btn--ghost:hover { background: #fff; color: var(--sbs-tt-pink); }

/* Shared pills & icons ---------------------------------------------------- */
.sbs-tt .sbs-tt__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sbs-tt .sbs-tt__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #232327;
  color: #ececf0;
  font-family: var(--sbs-tt-accent);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.sbs-tt__icon { flex: 0 0 auto; color: var(--sbs-tt-muted); }

/* Design: Class cards ----------------------------------------------------- */
.sbs-tt__cday + .sbs-tt__cday { margin-top: 40px; }

.sbs-tt .sbs-tt__cday-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  font-family: var(--sbs-tt-head);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.sbs-tt .sbs-tt__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sbs-tt .sbs-tt__card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 18px 20px 20px;
  background: var(--sbs-tt-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  color: #fff;
}

.sbs-tt__badge {
  position: absolute;
  top: -16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 66px;
  min-height: 70px;
  padding: 8px 4px;
  border-radius: 16px;
  background: #fff;
  color: #0a0a0b;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.sbs-tt__badge-day {
  font-family: var(--sbs-tt-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sbs-tt-pink);
}

.sbs-tt__badge-time {
  font-family: var(--sbs-tt-head);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.sbs-tt__badge-ampm {
  font-family: var(--sbs-tt-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #55555c;
}

.sbs-tt .sbs-tt__card-label {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin: 0 0 22px 74px;
  font-family: var(--sbs-tt-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sbs-tt-muted);
}

.sbs-tt .sbs-tt__card-title {
  margin: 0 0 14px;
  font-family: var(--sbs-tt-head);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
}

.sbs-tt__card-foot { margin-top: auto; padding-top: 18px; }

.sbs-tt .sbs-tt__card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
  color: #fff;
  font-family: var(--sbs-tt-head);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sbs-tt .sbs-tt__card-btn:hover { background: #fff; color: var(--sbs-tt-pink); }
.sbs-tt .sbs-tt__card-btn:focus-visible { outline: 2px solid var(--sbs-tt-pink-soft); outline-offset: 3px; }

.sbs-tt .sbs-tt__card-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--sbs-tt-muted);
}

/* Design: Weekly grid ----------------------------------------------------- */
.sbs-tt__week {
  --sbs-tt-cols: 4;
  display: grid;
  grid-template-columns: repeat(var(--sbs-tt-cols), minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.sbs-tt__col {
  padding: 16px;
  background: var(--sbs-tt-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
}

.sbs-tt__col.is-today { border-color: var(--sbs-tt-line); }

.sbs-tt .sbs-tt__col-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 2px 4px 12px;
  border-bottom: 1px solid var(--sbs-tt-rule);
  font-family: var(--sbs-tt-head);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.2;
  color: #fff;
}

.sbs-tt .sbs-tt__blocks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sbs-tt .sbs-tt__block {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #1e1e22;
  box-shadow: inset 3px 0 0 rgba(233, 46, 114, 0.7);
}

.sbs-tt__block-time {
  font-family: var(--sbs-tt-accent);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.sbs-tt__block-title { font-size: 15px; font-weight: 700; line-height: 1.35; color: #fff; }
.sbs-tt__block-venue { font-size: 13px; line-height: 1.35; color: var(--sbs-tt-muted); }

/* Design: Agenda list ----------------------------------------------------- */
.sbs-tt__agenda { display: grid; gap: 16px; }

.sbs-tt__aday {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 20px 24px 20px 20px;
  background: var(--sbs-tt-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
}

.sbs-tt__aday.is-today { border-color: var(--sbs-tt-line); }

.sbs-tt__aday-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 8px 12px;
  border-radius: 16px;
  background: var(--sbs-tt-pink);
  color: #fff;
  text-align: center;
}

.sbs-tt__aday-abbr {
  font-family: var(--sbs-tt-head);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.sbs-tt .sbs-tt__aday-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-family: var(--sbs-tt-accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #fff;
}

.sbs-tt__aday-name .sbs-tt__today { background: rgba(0, 0, 0, 0.28); color: #fff; }

.sbs-tt .sbs-tt__rows { margin: 0; padding: 0; list-style: none; }

.sbs-tt .sbs-tt__row {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--sbs-tt-rule);
}

.sbs-tt .sbs-tt__row:first-child { border-top: 0; padding-top: 4px; }

.sbs-tt__row-time {
  font-family: var(--sbs-tt-accent);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sbs-tt__row-main { display: grid; gap: 2px; }
.sbs-tt__row-title { font-size: 16px; font-weight: 700; line-height: 1.35; color: #fff; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
  .sbs-tt .sbs-tt__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .sbs-tt__grid { grid-template-columns: minmax(0, 1fr); }
  .sbs-tt .sbs-tt__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sbs-tt__week { grid-template-columns: minmax(0, 1fr); }
  .sbs-tt .sbs-tt__blocks { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

@media (max-width: 760px) {
  .sbs-tt__aday { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px; }
  .sbs-tt__aday-badge { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 14px; }
  .sbs-tt__aday-abbr { display: none; }
  .sbs-tt .sbs-tt__aday-name { flex-direction: row; font-family: var(--sbs-tt-head); font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
  .sbs-tt .sbs-tt__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .sbs-tt__row-venue { justify-self: start; }
}

@media (max-width: 560px) {
  .sbs-tt .sbs-tt__cards { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 640px) {
  .sbs-tt__controls { padding: 16px; gap: 12px; }
  .sbs-tt__filter { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sbs-tt .sbs-tt__chip { min-height: 40px; padding: 8px 14px; font-size: 14px; }
  .sbs-tt__long { display: none; }
  .sbs-tt__short { display: inline; }
  .sbs-tt__day { padding: 22px 20px 22px; border-radius: 20px; }
  .sbs-tt .sbs-tt__slot { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .sbs-tt__actions .sbs-tt__btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .sbs-tt .sbs-tt__chip,
  .sbs-tt .sbs-tt__btn,
  .sbs-tt .sbs-tt__card-btn { transition: none; }
}
