.okr-drawer-header {
  display: flex;
  padding: 16px 32px;
  flex-shrink: 0;
}

.okr-drawer-header__content {
  flex: 1;
  position: relative;
  overflow: visible;
}

.okr-drawer-header__avatar {
  margin-right: 8px;
}

.okr-drawer-header__title {
  margin-bottom: 6px;
}

.okr-drawer-header__title--editable:hover {
  padding-bottom: 3px;
  margin-bottom: 2px;
  border-bottom: 1px solid #e9ecf0;
}

.okr-drawer-header__name {
  color: #141c28;
  font-size: 20px;
  line-height: 24px;
  font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
  vertical-align: middle;
  word-break: break-all;
  font-weight: 600;
  margin-right: 8px;
}

.okr-drawer-header__classify {
  padding: 3px 4px;
  font-size: 12px;
  line-height: 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.3s ease;
  color: #89919f;
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
}

.okr-drawer-header__classify--editable:hover {
  cursor: pointer;
  border-color: #e9ecf0;
}

.okr-drawer-header__classify::before {
  margin-right: 7px;
  position: relative;
  top: 1px;
}

.okr-drawer-header__over-tag {
  width: 52px;
  height: 18px;
  margin: 0 8px;
  line-height: 24px;
  border-radius: 9px;
  font-size: 12px;
  font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
  background-color: #f7f8fa;
  color: #a4acb9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.okr-drawer-header__action-item:not(:empty) {
  margin-right: 12px;
}

.okr-drawer-header__action-progress {
  float: right;
}

.okr-drawer-header__action-progress-diff {
  font-size: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
  font-size: 12px;
  margin-left: 8px;
}

.okr-drawer-header__action-progress-diff--up {
  color: #5ad8a6;
}

.okr-drawer-header__action-progress-diff--down {
  color: #de5959;
}

.okr-drawer-header__edit {
  position: relative;
  background-color: #fff;
}

.okr-drawer-header__edit-input {
  min-height: calc(100% - 32px);
  margin-bottom: 8px;
  border-bottom: 1px solid transparent;
  transition: border 0.3s ease;
}

.okr-drawer-header__edit-input textarea {
  padding: 0;
  resize: none;
  outline: none;
  border: none;
  width: 100%;
  height: 100%;
  font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
  color: #141c28;
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  caret-color: #2879ff;
}

.okr-drawer-header__edit-input--editable:hover {
  border-bottom-color: #e9ecf0;
}

.okr-drawer-header__edit-input--editing, .okr-drawer-header__edit-input--editing:hover {
  border-bottom-color: #2879ff;
}

.okr-drawer-header__edit-input--error {
  border-bottom: 1px solid #f05e5e;
}

.okr-drawer-header__edit-input .tita-rich-editor {
  height: 100%;
  padding: 0;
  overflow: auto;
}

.okr-drawer-header__edit-input .tita-rich-editor .ProseMirror p {
  padding: 0 0 4px 0;
  font-size: 20px;
  font-weight: 600;
  white-space: normal !important;
}

.okr-drawer-header__edit-btns {
  background-color: #ffffff;
  opacity: 0;
  transition: all 0.3s ease;
  text-align: right;
  visibility: hidden;
  position: absolute;
  right: 0;
  left: 0;
}

.okr-drawer-header__edit-btns .titaui-pc-button {
  padding: 5px 19px;
  font-size: 13px;
  line-height: 18px;
  border-radius: 15px;
  transform: translateY(-100%);
  transition: all 0.3s ease;
  font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
  display: inline-block;
  cursor: pointer;
}

.okr-drawer-header__edit-btns--visible {
  opacity: 1;
  z-index: 2;
  visibility: visible;
}

.okr-drawer-header__edit-btns--visible .titaui-pc-button {
  transform: translateY(0);
}

.okr-drawer-header__edit-btns-confirm {
  border: 1px solid #2879ff;
  background: #2879ff;
  color: #fff;
}

.okr-drawer-header__edit-btns-confirm:hover {
  background-color: #5c8eff;
}

.okr-drawer-header__edit-btns-confirm--disabled, .okr-drawer-header__edit-btns-confirm--disabled:hover {
  background-color: rgba(40, 121, 255, 0.4);
  cursor: not-allowed;
}

.okr-drawer-header__edit-btns-cancel {
  margin-right: 10px;
  border: 1px solid #dfe3ea;
  background: #fff;
  color: #6f7886;
}

.okr-drawer-header__edit-btns-cancel:hover {
  border-color: #2879ff;
  color: #2879ff;
}

.okr-drawer-header__edit-error-tip {
  margin-top: -6px;
  font-size: 12px;
  line-height: 18px;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.3s ease;
  font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
  color: #f05e5e;
  visibility: hidden;
  position: absolute;
  z-index: 3;
}

.okr-drawer-header__edit-error-tip--visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.okr-drawer-header__classify-popup {
  padding: 16px 6px;
  border: 1px solid #f0f2f5;
  border-radius: 8px;
  box-shadow: 0px 4px 12px 0px rgba(127, 145, 180, 0.2);
  background: #ffffff;
}

.okr-drawer-header__classify-popup-item {
  padding: 5px 30px;
  font-size: 14px;
  line-height: 22px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
  color: #3f4755;
  cursor: pointer;
}

.okr-drawer-header__classify-popup-item:hover {
  background: #f7f8fa;
  color: #2879ff;
}

.okr-drawer-header__classify-popup-item.active {
  color: #2879ff;
}

.okr-drawer-header .titaui-period-selector {
  width: auto !important;
}

.okr-detail-o-score__form {
  padding: 10px 32px 8px;
}
