.sln-weekly-schedule {
  --sln-accent: rgba(2, 119, 189, 1);
  --sln-on-accent: rgba(255, 255, 255, 1);
  --sln-ws-category: var(--sln-accent);
  --sln-ws-divider: color-mix(in srgb, currentColor 15%, transparent);
  --sln-ws-target: 44px;
  --sln-ws-days: 7;
  box-sizing: border-box;
  width: 100%;
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  color: inherit;
  font: inherit;
}
.sln-weekly-schedule *,
.sln-weekly-schedule *::before,
.sln-weekly-schedule *::after {
  box-sizing: border-box;
}
.sln-weekly-schedule button {
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
}
.sln-weekly-schedule .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sln-weekly-schedule button:focus-visible,
.sln-weekly-schedule a:focus-visible,
.sln-weekly-schedule [tabindex]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--sln-on-accent), 0 0 0 4px var(--sln-accent);
}
.sln-weekly-schedule.is-loading {
  opacity: 0.6;
  pointer-events: none;
}
.sln-weekly-schedule .sln-weekly-schedule__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 16px;
}
.sln-weekly-schedule .sln-weekly-schedule__range {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: inherit;
  text-align: center;
  color: inherit;
}
.sln-weekly-schedule .sln-weekly-schedule__range:focus {
  outline: none;
  box-shadow: none;
}
.sln-weekly-schedule .sln-weekly-schedule__nav {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: var(--sln-ws-target);
  height: var(--sln-ws-target);
  padding: 0;
  border: 1px solid var(--sln-ws-divider);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  line-height: 1;
  cursor: pointer;
}
.sln-weekly-schedule .sln-weekly-schedule__nav[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
.sln-weekly-schedule .sln-weekly-schedule__tabs {
  display: grid;
  grid-template-columns: repeat(var(--sln-ws-days), minmax(var(--sln-ws-target), 1fr));
  gap: 4px;
  margin: 0 -4px 12px;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.sln-weekly-schedule .sln-weekly-schedule__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 56px;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--sln-ws-divider);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.sln-weekly-schedule .sln-weekly-schedule__tab.is-today .sln-weekly-schedule__tab-label {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.sln-weekly-schedule .sln-weekly-schedule__tab.is-empty {
  opacity: 0.6;
}
.sln-weekly-schedule .sln-weekly-schedule__tab[aria-selected=true] {
  border: 2px solid var(--sln-accent);
  background: var(--sln-accent);
  color: var(--sln-on-accent);
  font-weight: 700;
  opacity: 1;
}
.sln-weekly-schedule .sln-weekly-schedule__dot {
  display: inline-block;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sln-ws-category);
}
.sln-weekly-schedule .sln-weekly-schedule__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.sln-weekly-schedule .sln-weekly-schedule__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.sln-weekly-schedule .sln-weekly-schedule__days,
.sln-weekly-schedule .sln-weekly-schedule__day {
  margin: 0;
  padding: 0;
}
.sln-weekly-schedule .sln-weekly-schedule__day {
  display: none;
}
.sln-weekly-schedule .sln-weekly-schedule__day.is-active {
  display: block;
}
.sln-weekly-schedule .sln-weekly-schedule__day-title {
  margin: 0 0 4px;
  font-size: inherit;
  color: inherit;
}
.sln-weekly-schedule .sln-weekly-schedule__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sln-weekly-schedule .sln-weekly-schedule__item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 16px 0;
}
.sln-weekly-schedule .sln-weekly-schedule__item + .sln-weekly-schedule__item {
  border-top: 1px solid var(--sln-ws-divider);
}
.sln-weekly-schedule .sln-weekly-schedule__item--full .sln-weekly-schedule__time,
.sln-weekly-schedule .sln-weekly-schedule__item--full .sln-weekly-schedule__dot,
.sln-weekly-schedule .sln-weekly-schedule__item--full .sln-weekly-schedule__info, .sln-weekly-schedule .sln-weekly-schedule__item--past .sln-weekly-schedule__time,
.sln-weekly-schedule .sln-weekly-schedule__item--past .sln-weekly-schedule__dot,
.sln-weekly-schedule .sln-weekly-schedule__item--past .sln-weekly-schedule__info, .sln-weekly-schedule .sln-weekly-schedule__item--closed .sln-weekly-schedule__time,
.sln-weekly-schedule .sln-weekly-schedule__item--closed .sln-weekly-schedule__dot,
.sln-weekly-schedule .sln-weekly-schedule__item--closed .sln-weekly-schedule__info {
  opacity: 0.55;
}
.sln-weekly-schedule .sln-weekly-schedule__time {
  flex-shrink: 0;
  min-width: 52px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.sln-weekly-schedule .sln-weekly-schedule__info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}
.sln-weekly-schedule .sln-weekly-schedule__name {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.sln-weekly-schedule .sln-weekly-schedule__details {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  opacity: 0.75;
}
.sln-weekly-schedule .sln-weekly-schedule__book {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  min-width: var(--sln-ws-target);
  min-height: var(--sln-ws-target);
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--sln-accent);
  border-radius: 999em;
  background: var(--sln-accent);
  color: var(--sln-on-accent);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.sln-weekly-schedule .sln-weekly-schedule__book:hover, .sln-weekly-schedule .sln-weekly-schedule__book:focus {
  color: var(--sln-on-accent);
  text-decoration: none;
  filter: brightness(0.92);
}
.sln-weekly-schedule .sln-weekly-schedule__book[disabled] {
  border-color: var(--sln-ws-divider);
  background: transparent;
  color: inherit;
  filter: none;
  cursor: not-allowed;
}
.sln-weekly-schedule .sln-weekly-schedule__empty,
.sln-weekly-schedule .sln-weekly-schedule__error {
  margin: 12px 0;
}
.sln-weekly-schedule .sln-weekly-schedule__note {
  margin: 16px 0 0;
  opacity: 0.75;
}
