.react-flow__handle {
  visibility: hidden;
}

.react-flow__handle.handle__top {
  top: -30px;
}

.react-flow__handle.handle__left {
  left: -30px;
}

.react-flow__handle.handle__bottom {
  bottom: -30px;
}

.react-flow__handle.handle__right {
  right: -30px;
}

.react-flow__handle-bottom {
  bottom: 0;
}

.react-flow__handle-top {
  top: 0;
}

.react-flow__handle-left {
  left: 0;
}

.react-flow__handle-right {
  right: 0;
}

.titaui-okr-flow--node {
  position: relative;
  padding: 12px 12px;
  width: 340px;
  border: 1px solid #fff;
  background: #ffffff;
  box-shadow: 0px 4px 10px 0px rgba(127, 145, 180, 0.1);
  border-radius: 12px;
  box-sizing: border-box;
}

.titaui-okr-flow--node__private {
  width: 340px;
  height: 102px;
  background: url(../images/private-light.png) no-repeat;
  background-size: 340px 102px;
}

.titaui-okr-flow--node__search {
  border: 1px solid #2879ff;
}

.titaui-okr-flow--node__kr {
  border: 1px solid rgba(90, 216, 166, 0.5);
  background: #eefbf6;
  height: 96px;
}

.titaui-okr-flow--node__kr-title {
  width: 100%;
  height: 44px;
  margin-bottom: 8px;
  line-height: 22px;
  color: #141c28;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  white-space: unset;
}

.titaui-okr-flow--node-krs {
  margin-top: 12px;
}

.titaui-okr-flow--node-kr {
  cursor: pointer;
  display: flex;
  line-height: 20px;
  font-size: 12px;
  margin-top: 8px;
}

.titaui-okr-flow--node-kr-icon {
  color: rgba(40, 121, 255, 0.6);
  margin-right: 8px;
}

.titaui-okr-flow--node-kr-title {
  flex: 1;
  font-size: 13px;
  font-weight: 400;
  color: #3f4755;
}

.titaui-okr-flow--node-kr-progress {
  width: 32px;
  text-align: right;
  margin-left: 8px;
  white-space: nowrap;
}

.titaui-okr-flow--node-kr-status--normal {
  color: #2879ff;
}

.titaui-okr-flow--node-kr-status--risk {
  color: #f6bd16;
}

.titaui-okr-flow--node-kr-status--expired {
  color: #f05e5e;
}

.titaui-okr-flow--node-kr-status--complete {
  color: #5ad8a6;
}

.titaui-okr-flow--node-title {
  max-width: 270px;
  margin-right: 54px;
  margin-bottom: 4px;
  line-height: 24px;
  color: #141c28;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.titaui-okr-flow--node-desp {
  font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
  position: relative;
  cursor: pointer;
}

.titaui-okr-flow--node-right {
  position: absolute;
  right: 0;
  top: 2px;
}

.titaui-okr-flow--node-type {
  margin-right: 8px;
}

.titaui-okr-flow--node-cycle, .titaui-okr-flow--node-type {
  height: 22px;
  display: inline-block !important;
  background: #f7f9fb;
  border-radius: 12px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 20px;
  color: #6f7886;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 22px;
  max-width: 96px;
}

.titaui-okr-flow--node-creator {
  display: inline-block;
  font-size: 12px;
  color: #6f7886;
}

.titaui-okr-flow--node-creator-avatar {
  display: inline-block;
  vertical-align: top;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  color: #fff;
  overflow: hidden;
}

.titaui-okr-flow--node-creator-name {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  max-width: 92px;
  line-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.titaui-okr-flow--node-weight {
  position: absolute;
  right: 57px;
  line-height: 24px;
  font-size: 12px;
  font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
  color: #6f7886;
}

.titaui-okr-flow--node-weight:before {
  display: inline-block;
  content: '';
  width: 12px;
  height: 12px;
  position: absolute;
  left: -18px;
  top: 6px;
  background: url("../images/weight.svg") no-repeat;
  margin-right: 6px;
}

.titaui-okr-flow--node-progress {
  position: absolute;
  right: 0;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  line-height: 24px;
  color: #6f7886;
}

.titaui-okr-flow--node-progress .t-c-progress-circle {
  margin-right: 4px;
}

.titaui-okr-flow--node-counter {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border: 1px solid #bfc7d5;
  border-radius: 50%;
  color: #a4acb9;
  font-size: 13px;
  text-align: center;
  line-height: 18px;
  position: absolute;
  cursor: pointer;
}

.titaui-okr-flow--node-counter__right {
  right: -30px;
  top: calc(50% - 10px);
  line-height: 18px;
}

.titaui-okr-flow--node-counter__right::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 1px;
  position: absolute;
  top: 8px;
  left: -10px;
  background: #bfc7d5;
  border-radius: 2px;
}

.titaui-okr-flow--node-counter__left {
  left: -30px;
  top: calc(50% - 10px);
}

.titaui-okr-flow--node-counter__left::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 1px;
  position: absolute;
  top: 8px;
  right: -10px;
  background: #bfc7d5;
  border-radius: 2px;
}

.titaui-okr-flow--node-counter__top {
  top: -30px;
  left: calc(50% - 10px);
}

.titaui-okr-flow--node-counter__top::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 10px;
  position: absolute;
  bottom: -10px;
  left: 8px;
  background: #bfc7d5;
  border-radius: 2px;
}

.titaui-okr-flow--node-counter__bottom {
  bottom: -30px;
  left: calc(50% - 10px);
}

.titaui-okr-flow--node-counter__bottom::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 10px;
  position: absolute;
  top: -10px;
  left: 8px;
  background: #bfc7d5;
  border-radius: 2px;
}

.titaui-okr-flow--node-counter__close {
  line-height: 16px;
}

.titaui-okr-flow--node-classify {
  display: inline-block;
  width: 18px;
  height: 20px;
  vertical-align: middle;
  margin-left: 4px;
}

.titaui-okr-flow--node-classify__promise {
  background: url(../images/promise.svg) no-repeat;
}

.titaui-okr-flow--node-classify__vision {
  background: url(../images/vision.svg) no-repeat;
}

.titaui-okr-flow--node-status {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 32px;
  border-radius: 0 12px 0 20px;
  font-size: 13px;
  text-align: center;
  line-height: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.titaui-okr-flow--node-status__normal {
  color: #2879ff;
  background: rgba(40, 121, 255, 0.15);
}

.titaui-okr-flow--node-status__risk {
  color: #f6bd16;
  background: rgba(246, 189, 22, 0.1);
}

.titaui-okr-flow--node-status__expired {
  color: #f05e5e;
  background: rgba(240, 94, 94, 0.15);
}

.titaui-okr-flow--node-status__complete {
  color: #5ad8a6;
  background: rgba(90, 216, 166, 0.1);
}

.titaui-okr-flow--node-kr-status__normal {
  color: #2879ff;
  background: rgba(40, 121, 255, 0.15);
}

.titaui-okr-flow--node-kr-status__progress {
  color: #5ad8a6;
  background: rgba(90, 216, 166, 0.1);
}

.titaui-okr-flow--node-kr-status__risk {
  color: #f6bd16;
  background: rgba(246, 189, 22, 0.1);
}

.titaui-okr-flow--node-kr-status__dangerous {
  color: #f05e5e;
  background: rgba(240, 94, 94, 0.15);
}

.titaui-okr-flow__dark .titaui-okr-flow--node {
  background: #3f4755;
}

.titaui-okr-flow__dark .titaui-okr-flow--node__private {
  background: url(../images/private-dark.png) no-repeat;
  background-size: contain;
}

.titaui-okr-flow__dark .titaui-okr-flow--node-title {
  color: #ffffff;
}

.titaui-okr-flow__dark .titaui-okr-flow--node-creator {
  color: #f0f2f5;
}

.titaui-okr-flow__dark .titaui-okr-flow--node-type, .titaui-okr-flow__dark .titaui-okr-flow--node-cycle {
  background: #6f7886;
  color: #f0f2f5;
}

.titaui-okr-flow__dark .titaui-okr-flow--node-status__normal {
  color: #1fa7ff;
  background: #3b4e6e;
}

.titaui-okr-flow__dark .titaui-okr-flow--node-status__risk {
  color: #f6bd16;
  background: #51524e;
}

.titaui-okr-flow__dark .titaui-okr-flow--node-status__dangerous {
  color: #f05e5e;
  background: #594a56;
}

.titaui-okr-flow__dark .titaui-okr-flow--node__kr-title {
  color: #fff;
}

.titaui-okr-flow__dark .titaui-okr-flow--node-kr-status__normal {
  color: #1fa7ff;
  background: #3b4e6e;
}

.titaui-okr-flow__dark .titaui-okr-flow--node-kr-status__risk {
  color: #f6bd16;
  background: #51524e;
}

.titaui-okr-flow__dark .titaui-okr-flow--node-kr-status__dangerous {
  color: #f05e5e;
  background: #594a56;
}

.titaui-okr-flow__dark .titaui-okr-flow--node-counter {
  height: 20px;
  width: 20px;
  border: none;
  background: #3f4755;
  color: #bfc7d5;
  line-height: 18px;
}

.titaui-okr-flow__dark .titaui-okr-flow--node-counter::before {
  background: #3f4755;
}

.titaui-okr-flow__dark .titaui-okr-flow--node-counter__right::before, .titaui-okr-flow__dark .titaui-okr-flow--node-counter__left::before {
  top: 9px;
}

.titaui-okr-flow__dark .titaui-okr-flow--node-counter__top::before, .titaui-okr-flow__dark .titaui-okr-flow--node-counter__bottom::before {
  left: 9px;
}

.titaui-okr-flow__dark .titaui-okr-flow--node-weight {
  color: #fff;
}

.titaui-okr-flow__dark .titaui-okr-flow--node-progress {
  color: #fff;
}

.titaui-okr-flow__export .titaui-okr-flow--node {
  border: 1px solid #e9ecf0;
}
