.timeline-stage {
  min-height: var(--commons-stage-min-height);
  height: 100%;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(107, 75, 122, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(246, 243, 238, 0.92));
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  position: relative;
}

.timeline-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(32, 39, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 39, 42, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.38;
}

.timeline-stage .canvas-stage__header--inline {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0.95rem 1rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.timeline-stage__canvas {
  min-height: 0;
  height: 100%;
  display: grid;
  position: relative;
  z-index: 1;
  padding: 0.7rem 1rem 1rem;
  overflow: auto hidden;
}

.vis-timeline {
  height: 100%;
  border: 0;
  background: transparent;
  font-family: var(--font-ui);
}

.vis-panel,
.vis-time-axis,
.vis-center,
.vis-content,
.vis-panel.vis-center {
  min-height: 0;
}

.vis-item {
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(107, 75, 122, 0.14);
  color: #171717;
}

.vis-item.vis-selected {
  background: rgba(107, 75, 122, 0.26);
  border-color: rgba(107, 75, 122, 0.42);
}

@media (max-width: 1180px) {
  .timeline-stage__canvas {
    padding: 0.4rem 0.7rem 0.7rem;
  }
}
