.schedule-filter-controls {
  display: grid;
  gap: 1rem;
  min-width: 0;
  width: 100%;
  margin: 1rem 0;
}

.schedule-date-controls {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(250px, 1.25fr) minmax(130px, 0.75fr);
  min-width: 0;
}

.schedule-date-form {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-column: 1 / -1;
  min-width: 0;
}

.schedule-date-form button,
.schedule-date-navigation .button,
.schedule-history-link {
  min-height: 2.75rem;
  white-space: nowrap;
}

.schedule-date-navigation {
  display: flex;
  gap: 0.75rem;
  grid-column: 1;
  min-width: 0;
}

.schedule-date-navigation .button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  margin: 0;
  text-align: center;
}

.schedule-date-navigation .is-disabled {
  cursor: default;
  opacity: 0.48;
  pointer-events: none;
}

.schedule-filter-fields {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.volleyball-schedule-finder,
.schedule-finder-copy,
.schedule-finder-tool,
.schedule-filter-field {
  min-width: 0;
}

.volleyball-schedule-finder {
  box-sizing: border-box;
  max-width: 100%;
  overflow: clip;
}

.schedule-finder-tool {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
}

.schedule-filter-field {
  display: grid;
  gap: 0.35rem;
  color: var(--ink, #17202a);
  font-weight: 700;
}

.schedule-filter-field select {
  min-height: 2.75rem;
  min-width: 0;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid currentColor;
  border-radius: 0.25rem;
  background: #fff;
  color: inherit;
  font: inherit;
}

.schedule-history-link,
.schedule-filter-reset {
  align-items: center;
  display: flex;
  justify-content: center;
  line-height: 1.15;
  min-width: 0;
  text-align: center;
  white-space: normal;
  width: 100%;
}

.schedule-date-controls .schedule-history-link {
  grid-column: 2;
  width: 100%;
}

.schedule-filter-reset {
  min-height: 2.75rem;
}

.schedule-date-chips {
  background: rgba(255, 255, 255, 0.96);
  padding: 0.65rem 0.25rem 0.45rem;
  position: sticky;
  top: 0;
  z-index: 6;
}

.schedule-jump-top {
  align-items: center;
  background: #17202a;
  border: 1px solid #17202a;
  border-radius: 999px;
  bottom: 1rem;
  box-shadow: 0 0.5rem 1.25rem rgba(8, 8, 10, 0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
  position: fixed;
  right: 1rem;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 20;
}

.schedule-jump-top:hover,
.schedule-jump-top:focus-visible {
  background: #d71920;
  border-color: #d71920;
  outline: 0;
}

.schedule-jump-top[hidden] {
  display: none;
}

.schedule-division-directory {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 100%;
  min-width: 0;
  overflow: clip;
}

.schedule-division-directory > summary {
  align-items: center;
  background: #17202a;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  justify-content: space-between;
  list-style-position: inside;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
}

.schedule-division-directory > summary::marker {
  color: #fff;
}

.schedule-division-directory > summary:focus-visible {
  outline: 3px solid #d71920;
  outline-offset: -3px;
}

.schedule-division-directory-content {
  min-width: 0;
  overflow-x: auto;
}

.schedule-division-directory .section-heading {
  padding-top: 1rem;
}

@media (max-width: 1100px) {
  .volleyball-schedule-finder {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .schedule-date-controls {
    grid-template-columns: 1fr;
  }

  .schedule-date-form,
  .schedule-date-navigation,
  .schedule-date-controls .schedule-history-link {
    grid-column: 1;
    width: 100%;
  }

  .schedule-date-navigation .button {
    flex: 1 1 0;
  }
}

@media (max-width: 720px) {
  .schedule-filter-fields,
  .schedule-date-form {
    grid-template-columns: 1fr;
  }

  .schedule-date-form button,
  .schedule-history-link,
  .schedule-filter-reset {
    width: 100%;
  }

  .schedule-date-navigation {
    flex-wrap: wrap;
  }

  .schedule-date-navigation .button {
    min-width: 0;
    white-space: normal;
  }

  .schedule-jump-top {
    bottom: 0.75rem;
    right: 0.75rem;
  }
}
