.vibes-schedule__page {
  --vibes-green: #22D313;
  --vibes-green-dark: #12940A;
  --vibes-black: #050505;
  --vibes-bg: #F5F6F4;
  --vibes-card: #FFFFFF;
  --vibes-border: #E7E8E5;
  --vibes-text: #171717;
  --vibes-muted: #6D6D6D;
  --vibes-orange: #FF6B00;
  --vibes-red: #ED2F2A;
  --vibes-purple: #7A16D8;
  max-width: 1460px;
  margin: 0 auto;
  padding: 28px 28px 42px;
  color: var(--vibes-text);
  background: var(--vibes-bg);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.vibes-schedule__page *,
.vibes-schedule__page *::before,
.vibes-schedule__page *::after {
  box-sizing: border-box;
}

.vibes-schedule__page [hidden] {
  display: none !important;
}

.vibes-schedule__page a,
.vibes-schedule__page button {
  font: inherit;
}

.vibes-schedule__page :focus-visible {
  outline: 3px solid var(--vibes-green);
  outline-offset: 3px;
}

.vibes-schedule__page--embedded {
  max-width: none;
  padding: 20px;
  background: var(--vibes-card);
}

.vibes-schedule__page--embedded .vibes-schedule__content-head {
  margin-bottom: 14px;
}

.vibes-schedule__page--embedded .vibes-schedule__dates {
  margin-bottom: 12px;
}

.vibes-schedule__page--embedded .vibes-schedule__filters {
  margin-bottom: 12px;
}

.vibes-schedule__page--embedded.is-loading .vibes-schedule__list,
.vibes-schedule__page--embedded.is-loading .vibes-schedule__empty {
  opacity: .62;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.vibes-schedule__back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--vibes-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.vibes-schedule__back:hover {
  color: var(--vibes-green-dark);
}

.vibes-schedule__layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 28px;
}

.vibes-schedule__sidebar {
  overflow: hidden;
  align-self: start;
  border: 1px solid var(--vibes-border);
  border-radius: 8px;
  background: var(--vibes-card);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .035);
}

.vibes-schedule__instructor-image {
  height: 275px;
}

.vibes-schedule__instructor-image img,
.vibes-schedule__mobile-profile img,
.vibes-schedule__class-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.vibes-schedule__class-media-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.vibes-schedule__instructor-copy {
  padding: 18px;
}

.vibes-schedule__instructor-copy h1 {
  margin: 0 0 5px;
  color: var(--vibes-text);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
}

.vibes-schedule__instructor-copy p {
  margin: 0;
  color: var(--vibes-muted);
}

.vibes-schedule__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.vibes-schedule__chip {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid var(--vibes-border);
  border-radius: 999px;
  background: var(--vibes-card);
  color: var(--vibes-text);
  font-size: 11px;
  font-weight: 700;
}

.vibes-schedule__quote {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--vibes-border);
  color: #454545;
  font-size: 13px;
  line-height: 1.6;
}

.vibes-schedule__side-nav {
  padding: 8px 12px 16px;
}

.vibes-schedule__side-link {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--vibes-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.vibes-schedule__side-link[aria-current="page"] {
  color: var(--vibes-green-dark);
  background: #EAF9E4;
}

.vibes-schedule__content {
  min-width: 0;
}

.vibes-schedule__content-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.vibes-schedule__content-head h2 {
  margin: 0 0 4px;
  color: var(--vibes-text);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
}

.vibes-schedule__class-title-trigger {
  display: inline;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  cursor: pointer;
  text-decoration: none;
}

.vibes-schedule__class-title-trigger:hover,
.vibes-schedule__class-title-trigger:focus-visible {
  color: var(--vibes-green-dark);
}

.vibes-schedule__content-head p {
  margin: 0;
  color: var(--vibes-muted);
}

.vibes-schedule__outline-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid var(--vibes-border);
  border-radius: 8px;
  background: var(--vibes-card);
  color: var(--vibes-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.vibes-schedule__dates {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--vibes-border);
  border-radius: 8px;
  background: var(--vibes-card);
}

.vibes-schedule__date-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(80px, 1fr);
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.vibes-schedule__date-scroll::-webkit-scrollbar,
.vibes-schedule__filters::-webkit-scrollbar {
  display: none;
}

.vibes-schedule__date-arrow,
.vibes-schedule__date {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid var(--vibes-border);
  border-radius: 8px;
  background: var(--vibes-card);
  color: var(--vibes-text);
  text-decoration: none;
}

.vibes-schedule__date-arrow {
  font-size: 18px;
}

.vibes-schedule__date-arrow:disabled {
  color: #A0A0A0;
  cursor: not-allowed;
}

.vibes-schedule__date {
  padding: 7px 8px;
}

.vibes-schedule__date span {
  display: block;
  color: var(--vibes-muted);
  font-size: 11px;
  font-weight: 700;
}

.vibes-schedule__date strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 800;
}

.vibes-schedule__date[aria-pressed="true"] {
  border-color: var(--vibes-green);
  background: #F4FFF1;
  color: var(--vibes-green-dark);
}

.vibes-schedule__date[aria-pressed="true"] span {
  color: var(--vibes-green-dark);
}

.vibes-schedule__filters {
  display: flex;
  gap: 10px;
  margin: 0 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.vibes-schedule__filter {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--vibes-border);
  border-radius: 8px;
  background: var(--vibes-card);
  color: var(--vibes-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.vibes-schedule__filter[aria-pressed="true"] {
  border-color: var(--vibes-black);
  background: var(--vibes-black);
  color: #FFFFFF;
}

.vibes-schedule__live {
  width: 1px;
  height: 1px;
  overflow: hidden;
  position: absolute;
}

.vibes-schedule__list {
  overflow: hidden;
  border: 1px solid var(--vibes-border);
  border-radius: 8px;
  background: var(--vibes-card);
}

.vibes-schedule__class {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 168px;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--vibes-border);
}

.vibes-schedule__class:last-child {
  border-bottom: 0;
}

.vibes-schedule__class-media {
  height: 116px;
  overflow: hidden;
  border-radius: 8px;
}

.vibes-schedule__class-type {
  margin: 0 0 5px;
  color: var(--vibes-green-dark);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.vibes-schedule__class-info h3 {
  margin: 0 0 7px;
  color: var(--vibes-text);
  font-size: 21px;
  font-weight: 800;
}

.vibes-schedule__class-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #424242;
  font-size: 12px;
  font-weight: 700;
}

.vibes-schedule__class-description {
  max-width: 520px;
  margin: 9px 0 0;
  color: #4D4D4D;
  font-size: 13px;
  line-height: 1.55;
}

.vibes-schedule__class-actions {
  display: grid;
  gap: 9px;
}

.vibes-schedule__availability {
  margin: 0;
  color: var(--vibes-green-dark);
  font-size: 11px;
  font-weight: 800;
}

.vibes-schedule__availability--limited,
.vibes-schedule__availability--waiting-list {
  color: var(--vibes-orange);
}

.vibes-schedule__availability--full,
.vibes-schedule__availability--reserved,
.vibes-schedule__availability--on-waiting-list {
  color: var(--vibes-muted);
}

.vibes-schedule__button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.vibes-schedule__button--primary {
  color: var(--vibes-black);
  background: var(--vibes-green);
}

.vibes-schedule__button--secondary {
  border-color: #AEB3AC;
  color: var(--vibes-text);
  background: #FFFFFF;
}

.vibes-schedule__button--disabled {
  color: #555;
  background: #ECEDEA;
  cursor: not-allowed;
}

.vibes-schedule__action-form,
.vibes-schedule__mobile-form {
  margin: 0;
}

.vibes-schedule__mobile-action,
.vibes-schedule__mobile-form {
  display: none;
}

.vibes-schedule__empty {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 24px;
  border: 1px solid var(--vibes-border);
  border-radius: 8px;
  background: var(--vibes-card);
}

.vibes-schedule__empty h3 {
  margin: 0;
  color: var(--vibes-text);
  font-size: 22px;
  font-weight: 800;
}

.vibes-schedule__empty p,
.vibes-schedule__notice {
  margin: 0;
  color: var(--vibes-muted);
  font-size: 13px;
}

.vibes-schedule__notice {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: #F0F1EF;
  text-align: center;
}

.vibes-schedule__mobile-profile,
.vibes-schedule__mobile-tabs {
  display: none;
}

.vibes-schedule__page.is-loading .vibes-schedule__content {
  opacity: .62;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .vibes-schedule__layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .vibes-schedule__class {
    grid-template-columns: 135px minmax(0, 1fr) 150px;
  }
}

@media (max-width: 860px) {
  .vibes-schedule__page {
    padding: 0 12px calc(108px + env(safe-area-inset-bottom));
    background: var(--vibes-card);
  }

  .vibes-schedule__back,
  .vibes-schedule__sidebar,
  .vibes-schedule__content-head {
    display: none;
  }

  .vibes-schedule__layout {
    display: block;
  }

  .vibes-schedule__mobile-profile {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 14px;
    align-items: center;
    margin: 0 -12px;
    padding: 14px 16px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #111, #1C1C1C);
  }

  .vibes-schedule__mobile-profile img {
    width: 74px;
    height: 74px;
    border: 2px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
  }

  .vibes-schedule__mobile-profile h1 {
    margin: 0 0 3px;
    color: #FFFFFF;
    font-size: 21px;
    font-weight: 800;
  }

  .vibes-schedule__mobile-profile p {
    margin: 0;
    color: #E1E1E1;
    font-size: 13px;
  }

  .vibes-schedule__mobile-profile .vibes-schedule__chips {
    margin-top: 9px;
  }

  .vibes-schedule__mobile-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 -12px 16px;
    border-bottom: 1px solid var(--vibes-border);
    background: var(--vibes-card);
  }

  .vibes-schedule__mobile-tab {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 70px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--vibes-text);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
  }

  .vibes-schedule__mobile-tab[aria-current="page"] {
    color: var(--vibes-green-dark);
  }

  .vibes-schedule__mobile-tab[aria-current="page"]::after {
    content: "";
    position: absolute;
    right: 18%;
    bottom: 0;
    left: 18%;
    height: 3px;
    background: var(--vibes-green);
  }

  .vibes-schedule__dates {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 7px;
    margin-bottom: 10px;
    padding: 10px 0;
    border: 0;
    border-radius: 0;
  }

  .vibes-schedule__date-arrow,
  .vibes-schedule__date {
    min-height: 52px;
  }

  .vibes-schedule__date-scroll {
    grid-auto-columns: 66px;
  }

  .vibes-schedule__date {
    padding: 6px;
  }

  .vibes-schedule__filters {
    margin-bottom: 12px;
  }

  .vibes-schedule__filter {
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }

  .vibes-schedule__list {
    border-radius: 8px;
  }

  .vibes-schedule__class {
    grid-template-columns: 84px minmax(0, 1fr) 44px;
    gap: 11px;
    padding: 11px;
  }

  .vibes-schedule__class-media {
    height: 92px;
  }

  .vibes-schedule__class-info h3 {
    margin-bottom: 5px;
    font-size: 17px;
  }

  .vibes-schedule__class-description {
    display: none;
  }

  .vibes-schedule__class-meta {
    gap: 5px 8px;
    font-size: 11px;
  }

  .vibes-schedule__class-actions {
    grid-column: 2;
    display: block;
    margin-top: -4px;
  }

  .vibes-schedule__class-actions .vibes-schedule__button {
    display: none;
  }

  .vibes-schedule__availability {
    margin-top: 5px;
  }

  .vibes-schedule__mobile-action,
  .vibes-schedule__mobile-form {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    display: grid;
  }

  .vibes-schedule__mobile-action {
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--vibes-green);
    border-radius: 8px;
    color: var(--vibes-green-dark);
    background: var(--vibes-card);
    text-decoration: none;
    font-size: 18px;
  }

  .vibes-schedule__mobile-action--limited,
  .vibes-schedule__mobile-action--waiting-list {
    border-color: var(--vibes-orange);
    color: var(--vibes-orange);
  }

  .vibes-schedule__mobile-action--full,
  .vibes-schedule__mobile-action--reserved,
  .vibes-schedule__mobile-action--on-waiting-list {
    border-color: var(--vibes-purple);
    color: var(--vibes-purple);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vibes-schedule__page *,
  .vibes-schedule__page *::before,
  .vibes-schedule__page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
