.pt-schedule {
  font-family: Manrope, system-ui, sans-serif;
  color: #e8fbff;
  background: transparent;
  border-radius: 16px;
  padding: 8px 0 8px;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
}

.pt-schedule h2 {
  margin: 8px 0 16px;
  font-family: Syne, Manrope, sans-serif;
  font-size: 28px;
  letter-spacing: -0.04em;
  text-align: left;
  color: #fff;
}

.pt-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  min-width: 0;
}

.pt-toolbar button,
.pt-toolbar select {
  border: 1px solid rgba(61, 240, 224, 0.22);
  background: rgba(2, 24, 32, 0.45);
  color: #e8fbff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  max-width: 100%;
}

.pt-toolbar select {
  flex: 1 1 180px;
  min-width: 0;
}

.pt-toolbar button.active {
  background: #3df0e0;
  color: #032028;
  border-color: #3df0e0;
  font-weight: 800;
}

.pt-week {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 750;
}

.pt-week span {
  text-align: center;
  min-width: 0;
}

.pt-week button {
  border: 0;
  background: #3df0e0;
  color: #032028;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 800;
}

.pt-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.pt-day {
  background: rgba(2, 24, 32, 0.4);
  border-radius: 16px;
  min-height: 140px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(61, 240, 224, 0.14);
}

.pt-day h3 {
  margin: 0 0 8px;
  font-size: 12px;
  color: #9ec8d4;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.pt-card {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  border-left: 3px solid #3df0e0;
  background: rgba(61, 240, 224, 0.1);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pt-card:hover {
  background: rgba(61, 240, 224, 0.2);
}

.pt-card time {
  font-weight: 800;
  display: block;
  color: #3df0e0;
}

.pt-card .muted {
  color: #9ec8d4;
  font-size: 12px;
}

.pt-hint {
  text-align: center;
  color: #9ec8d4;
  font-size: 13px;
  margin-top: 12px;
}

.pt-error {
  color: #fda4af;
  text-align: center;
}

@media (max-width: 1100px) {
  .pt-days {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .pt-day {
    flex: 0 0 min(280px, 82vw);
    scroll-snap-align: start;
  }
}

body.pt-modal-open {
  overflow: hidden;
}

.pt-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 16, 24, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pt-modal-card {
  width: min(720px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  font-family: Manrope, system-ui, sans-serif;
}

.pt-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 8px;
}

.pt-modal-head h3 {
  margin: 0;
  font-size: 22px;
  color: #111;
}

.pt-modal-head p {
  margin: 4px 0 0;
  color: #8b8b8b;
  font-size: 14px;
  text-transform: lowercase;
}

.pt-modal-close {
  border: 0;
  background: transparent;
  color: #9a9a9a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.pt-modal-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px 14px;
  align-items: center;
  padding: 8px 22px 18px;
}

.pt-modal-avatar {
  grid-row: 1 / 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8eef2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #3a6a78;
}

.pt-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pt-modal-coach {
  font-weight: 800;
  font-size: 15px;
}

.pt-modal-when {
  color: #333;
  font-size: 14px;
}

.pt-modal-when span {
  color: #9a9a9a;
  margin-left: 8px;
}

.pt-modal-tags {
  grid-column: 3;
  grid-row: 1 / 3;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #555;
  text-align: right;
}

.pt-modal-form {
  margin: 0 16px 16px;
  padding: 16px;
  background: #f3f4f6;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px 12px;
  align-items: center;
}

.pt-modal-form strong {
  display: block;
  font-size: 15px;
}

.pt-modal-form p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 13px;
}

.pt-modal-phone {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: #6b7280;
}

.pt-modal-phone input {
  font: inherit;
  width: min(220px, 100%);
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #111;
}

.pt-modal-submit {
  border: 0;
  background: #7eb6ff;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
}

.pt-modal-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pt-modal-legal,
.pt-modal-msg {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}

.pt-modal-msg {
  color: #b91c1c;
}

@media (max-width: 720px) {
  .pt-modal-meta,
  .pt-modal-form {
    grid-template-columns: 1fr;
  }

  .pt-modal-avatar {
    grid-row: auto;
  }

  .pt-modal-tags {
    grid-column: auto;
    grid-row: auto;
    text-align: left;
  }

  .pt-modal-phone input {
    width: 100%;
  }
}
