.conferences-seasonal {
  position: relative;
  max-width: 720px;
  margin: 1rem auto 2rem;
}

.conferences-seasonal__chart {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.conferences-seasonal__chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.conferences-seasonal__guide {
  fill: none;
  stroke: #d1d5db;
  stroke-width: 1;
}

.conferences-seasonal__baseline {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.conferences-seasonal__month-tick {
  stroke: #e5e7eb;
  stroke-width: 1;
  pointer-events: none;
}

.conferences-seasonal__conference,
.conferences-seasonal__cfp {
  pointer-events: none;
}

.conferences-seasonal__conference {
  fill: #2563eb;
  stroke: #1d4ed8;
  stroke-width: 1;
  fill-opacity: 0.8;
}

.conferences-seasonal__cfp {
  fill: #9333ea;
  stroke: #7e22ce;
  stroke-width: 1;
  fill-opacity: 0.75;
}

.conferences-seasonal__span {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: stroke;
  cursor: pointer;
}

.conferences-seasonal__span--conference {
  stroke: #1d4ed8;
}

.conferences-seasonal__span--cfp {
  stroke: #7e22ce;
}

.conferences-seasonal__point {
  stroke: #fff;
  stroke-width: 1.5;
  cursor: pointer;
}

.conferences-seasonal__point--conference {
  fill: #2563eb;
}

.conferences-seasonal__point--cfp-open {
  stroke: #eab308;
  stroke-width: 2.5;
}

.conferences-seasonal__point--cfp {
  fill: #9333ea;
}

.conferences-seasonal__today {
  stroke: #dc2626;
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}

.conferences-seasonal__today-hub {
  fill: #dc2626;
  pointer-events: none;
}

.conferences-seasonal__today-label {
  fill: #dc2626;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.conferences-seasonal__ring-label {
  fill: currentColor;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.conferences-seasonal__month {
  fill: currentColor;
  font-size: 13px;
  font-weight: 600;
}

.conferences-seasonal__hit-area {
  fill: transparent;
  cursor: pointer;
  outline: none;
}

.conferences-seasonal__hit-area:focus {
  stroke: currentColor;
  stroke-width: 2;
}

.conferences-seasonal__tooltip {
  position: absolute;
  z-index: 10;
  width: min(240px, calc(100% - 1rem));
  max-height: 260px;
  padding: 0.65rem 0.75rem;
  overflow-y: auto;
  color: #222;
  background: #fff;
  border: 1px solid #9ca3af;
  border-radius: 4px;
  transform: translate(-50%, -100%);
  pointer-events: none;
}

.conferences-seasonal__tooltip p {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.85rem;
}

.conferences-seasonal__tooltip strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
}

.conferences-seasonal__tooltip ul {
  margin: 0.15rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.75rem;
}

.conferences-seasonal__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.8rem;
}

.conferences-seasonal__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.conferences-seasonal__swatch {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  border: 1px solid;
}

.conferences-seasonal__swatch--conference {
  background: #2563eb;
  border-color: #1d4ed8;
}

.conferences-seasonal__swatch--cfp {
  background: #9333ea;
  border-color: #7e22ce;
}

.conferences-seasonal__swatch--upcoming-conference {
  background: #2563eb;
  border-color: #1d4ed8;
  border-radius: 50%;
}

.conferences-seasonal__swatch--upcoming-cfp {
  background: #9333ea;
  border-color: #7e22ce;
  border-radius: 50%;
}

.conferences-seasonal__swatch--cfp-open {
  background: #2563eb;
  border-color: #eab308;
  border-width: 2px;
  border-radius: 50%;
}

@media (max-width: 480px) {
  .conferences-seasonal__month {
    font-size: 11px;
  }

  .conferences-seasonal__tooltip {
    position: static;
    width: auto;
    max-height: none;
    margin-top: 0.5rem;
    transform: none;
  }
}
