:root {
  --schedule-bg: #050505;
  --schedule-surface: #141414;
  --schedule-surface-raised: #191919;
  --schedule-ink: #f7f2ee;
  --schedule-muted: #b8aea9;
  --schedule-line: rgba(255, 255, 255, 0.12);
  --schedule-accent: #60a5fa;
  --schedule-accent-strong: #1d4ed8;
}

.schedule-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.82);
}
.schedule-modal.is-open {
  display: flex;
}
.schedule-modal[hidden] {
  display: none !important;
}
.schedule-dialog {
  width: min(920px, 100%);
  max-height: min(90vh, 860px);
  display: flex;
  flex-direction: column;
  background: var(--schedule-surface);
  color: var(--schedule-ink);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  color-scheme: dark;
}
.schedule-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 18px;
  background: var(--schedule-bg);
  color-scheme: dark;
}
.schedule-page-card {
  width: min(960px, 100%);
  background: var(--schedule-surface);
  color: var(--schedule-ink);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.55);
}
.schedule-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 40px 20px;
}
.schedule-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--schedule-ink);
  font-size: 17px;
  font-weight: 700;
}
.schedule-brand-mark {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--schedule-accent-strong);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}
.schedule-title {
  margin: 0;
  max-width: 650px;
  color: var(--schedule-ink);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 800;
}
.schedule-subtitle {
  margin: 12px 0 0;
  max-width: 600px;
  color: var(--schedule-muted);
  font-size: 15px;
  line-height: 1.55;
}
.schedule-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e7d8d1;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.schedule-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.schedule-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  padding: 0 40px 22px;
  color: #f3eee9;
  font-size: 14px;
  font-weight: 650;
}
.schedule-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.schedule-meta svg {
  width: 17px;
  height: 17px;
  color: var(--schedule-muted);
}
.schedule-frame-wrap {
  position: relative;
  min-height: 620px;
  border-top: 1px solid var(--schedule-line);
  background: var(--schedule-surface);
}
.schedule-frame {
  display: block;
  width: 100%;
  height: min(74vh, 720px);
  min-height: 620px;
  border: 0;
  background: var(--schedule-surface);
}
.schedule-cal-inline {
  width: 100%;
  height: min(74vh, 720px);
  min-height: 620px;
  overflow: scroll;
  background: var(--schedule-surface);
  color-scheme: dark;
}
.schedule-cal-inline iframe {
  background: var(--schedule-surface);
  border-radius: 0;
}
.schedule-unavailable {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 44px 32px;
  text-align: center;
  color: var(--schedule-ink);
}
.schedule-unavailable strong {
  font-size: 20px;
  letter-spacing: 0;
}
.schedule-unavailable p {
  max-width: 560px;
  margin: 0;
  color: var(--schedule-muted);
  font-size: 15px;
  line-height: 1.6;
}
.schedule-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 40px 20px;
  border-top: 1px solid var(--schedule-line);
  color: var(--schedule-muted);
  font-size: 13px;
}
.schedule-fallback a {
  color: var(--schedule-accent);
  font-weight: 700;
  text-decoration: none;
}
.schedule-fallback a:hover {
  text-decoration: underline;
}
.booked-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 18px;
  background:
    radial-gradient(
      circle at 18% 14%,
      rgba(29, 78, 216, 0.28),
      transparent 32%
    ),
    radial-gradient(
      circle at 82% 20%,
      rgba(16, 185, 129, 0.16),
      transparent 30%
    ),
    #03060f;
  color: #fff;
}
.booked-card {
  width: min(720px, 100%);
  padding: 38px;
  background: rgba(7, 15, 35, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.45);
}
.booked-kicker {
  margin: 0 0 12px;
  color: #93c5fd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.booked-card h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}
.booked-card p {
  margin: 0;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.65;
}
.booked-next {
  margin: 26px 0;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.7);
}
.booked-next h2 {
  margin: 0 0 10px;
  font-size: 16px;
}
.booked-next ul {
  margin: 0;
  padding-left: 20px;
  color: #dbeafe;
  line-height: 1.7;
}
.booked-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.booked-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}
.booked-primary {
  background: #1d4ed8;
  color: #fff;
}
.booked-secondary {
  border: 1px solid rgba(148, 163, 184, 0.32);
  color: #dbeafe;
}

@media (max-width: 720px) {
  .schedule-modal {
    padding: 0;
    align-items: stretch;
  }
  .schedule-dialog,
  .schedule-page-card {
    border-radius: 0;
    max-height: none;
    min-height: 100vh;
  }
  .schedule-head {
    padding: 24px 20px 16px;
  }
  .schedule-brand {
    margin-bottom: 20px;
  }
  .schedule-title {
    font-size: 24px;
  }
  .schedule-meta {
    padding: 0 20px 18px;
  }
  .schedule-frame-wrap {
    min-height: 560px;
  }
  .schedule-frame {
    height: 70vh;
    min-height: 560px;
  }
  .schedule-cal-inline {
    height: 70vh;
    min-height: 560px;
  }
  .schedule-unavailable {
    min-height: 360px;
    padding: 38px 22px;
  }
  .schedule-fallback {
    padding: 14px 20px 18px;
    display: block;
  }
  .schedule-fallback a {
    display: inline-flex;
    margin-top: 8px;
  }
  .booked-card {
    padding: 28px 22px;
  }
}
