.wme-week {
  display: grid;
  gap: 1.25rem;
}

.wme-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.wme-filter {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1.3;
}

.wme-filter.is-active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.wme-day {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.75rem;
}

.wme-day-title {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  font-size: 1.1rem;
  margin: 0;
  padding: 0.35rem 0;
}

.wme-day-title::-webkit-details-marker,
.wme-summary::-webkit-details-marker {
  display: none;
}

.wme-day-title::before {
  content: "▾ ";
}

.wme-day:not([open]) .wme-day-title::before {
  content: "▸ ";
}

.wme-list {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.wme-empty {
  color: #94a3b8;
  font-style: italic;
}

.wme-event {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.wme-event.is-monthly .wme-cadence {
  font-weight: 600;
}

.wme-event.is-upcoming {
  opacity: 0.85;
}

.wme-swatch {
  width: 8px;
  min-height: 100%;
  border-radius: 99px;
  background: var(--wme-color, #64748b);
}

.wme-event-body {
  min-width: 0;
}

.wme-summary {
  cursor: pointer;
  list-style: none;
}

.wme-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: #64748b;
}

.wme-type {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--wme-color, #64748b);
}

.wme-cadence,
.wme-next {
  font-size: 0.8rem;
  color: #64748b;
}

.wme-title {
  font-weight: 600;
  margin-top: 0.15rem;
}

.wme-details {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: #334155;
}

.wme-details p {
  margin: 0.25rem 0;
}

.wme-description {
  margin: 0.5rem 0;
}

.wme-location {
  font-size: 0.9rem;
}

.wme-join {
  font-size: 0.85rem;
}