.market-calendar-ipo-key {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  color: var(--muted);
  font: 500 10px/1.25 "DM Mono";
  text-transform: uppercase;
}

.market-calendar-ipo-key span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.market-calendar-ipo-key i,
.market-calendar-dots i.ipo {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #777;
}

.market-calendar-ipo-key i.confirmed,
.market-calendar-dots i.ipo-confirmed {
  background: var(--green);
}

.market-calendar-ipo-key i.filed,
.market-calendar-dots i.ipo-filed {
  background: var(--blue);
}

.market-calendar-ipo-key i.announced,
.market-calendar-dots i.ipo-announced {
  border: 2px solid var(--gold);
  background: transparent;
}

.market-calendar-ipo-key i.postponed,
.market-calendar-dots i.ipo-postponed {
  background: var(--red-dark);
}

.market-calendar-ipo-key i.reported,
.market-calendar-dots i.ipo-reported {
  border: 1px solid #777;
  background: repeating-linear-gradient(135deg, #777 0 1px, transparent 1px 3px);
}

.market-calendar-event-meta .ipo {
  background: var(--ink);
  color: var(--paper);
}

.market-calendar-event-meta .ipo-status {
  border: 1px solid currentColor;
  background: transparent;
}

.market-calendar-event-meta .ipo-status.confirmed {
  color: var(--green);
}

.market-calendar-event-meta .ipo-status.filed {
  color: var(--blue);
}

.market-calendar-event-meta .ipo-status.announced {
  color: var(--gold);
}

.market-calendar-event-meta .ipo-status.postponed {
  color: var(--red-dark);
}

.market-calendar-event-meta .ipo-status.reported {
  color: #666;
}

.market-calendar-event.is-ipo {
  position: relative;
  padding-left: 15px;
}

.market-calendar-event.is-ipo::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 3px;
  background: #777;
  content: "";
}

.market-calendar-event.is-ipo.status-confirmed::before {
  background: var(--green);
}

.market-calendar-event.is-ipo.status-filed::before {
  background: var(--blue);
}

.market-calendar-event.is-ipo.status-announced::before {
  background: var(--gold);
}

.market-calendar-event.is-ipo.status-postponed::before {
  background: var(--red-dark);
}

.market-calendar-event.is-ipo.status-reported::before {
  background: repeating-linear-gradient(180deg, #777 0 3px, transparent 3px 6px);
}

.market-calendar-ipo-context {
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font: 500 10px/1.45 "DM Mono";
}

.market-calendar-ipo-context strong {
  color: var(--ink);
}

@media (max-width: 1100px) {
  .market-calendar-ipo-key {
    grid-template-columns: repeat(3, minmax(0, auto));
    justify-content: start;
    margin-top: 24px;
  }

  .market-calendar-ipo-key .section-label {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .market-calendar-ipo-key {
    grid-template-columns: 1fr;
  }
}
