:is(.workspace-return, [data-workspace-return]) {
  position: fixed;
  z-index: 28;
  top: 40%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  width: max-content;
  min-height: 44px;
  margin: 0;
  padding: 0 15px 0 13px;
  border: 1px solid rgb(255 255 255 / 24%);
  border-left: 0;
  border-radius: 0 24px 24px 0;
  background: #171719;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  clip-path: inset(0 calc(100% - 9px) 0 0 round 0 24px 24px 0);
  transition: clip-path 170ms cubic-bezier(.16, 1, .3, 1);
}

:is(.workspace-return, [data-workspace-return]):is(:hover, :focus-visible) {
  clip-path: inset(0 round 0 24px 24px 0);
}

:is(.workspace-return, [data-workspace-return]):focus-visible {
  outline: 2px solid #fff;
  outline-offset: -5px;
}

:is(.workspace-return, [data-workspace-return]) svg {
  flex: none;
  width: 18px;
  height: 18px;
}

@media (max-width: 767px), (pointer: coarse), (hover: none) {
  :is(.workspace-return, [data-workspace-return]) {
    position: relative;
    inset: auto;
    z-index: auto;
    margin: 4px 8px 8px;
    border-left: 1px solid rgb(255 255 255 / 24%);
    border-radius: 24px;
    clip-path: none;
  }

  :is(.workspace-return, [data-workspace-return]):is(:hover, :focus-visible) {
    clip-path: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.workspace-return, [data-workspace-return]) {
    transition: none;
  }
}

@media print {
  :is(.workspace-return, [data-workspace-return]) {
    display: none;
  }
}
