.employee-unified-form label {
  display: grid;
  gap: 7px;
  color: #53627b;
  font-size:calc(11px + var(--ui-font-add, 3px));
  font-weight: 850;
}

.employee-job-field {
  align-content: start;
}

.employee-job-field > button {
  min-height: 31px;
  border: 1px dashed #9fb2d1;
  border-radius: 9px;
  background: #edf3fc;
  color: #284494;
  font: inherit;
  font-size:calc(9px + var(--ui-font-add, 3px));
  font-weight: 900;
  cursor: pointer;
}

.employee-job-field > button:hover {
  border-style: solid;
  background: #e2ebfa;
}

.employee-create-submit {
  align-self: end;
  margin-bottom: 1px;
}

.org-visual-chart--primary {
  margin-top: 0;
  padding: 25px;
  background:
    radial-gradient(circle at 8% 12%, #28449412, transparent 24%),
    linear-gradient(145deg, #fff, #f8faff);
}

.org-visual-chart--primary > header p {
  max-width: 680px;
  margin: 7px 0 0;
  color: #6d7c92;
  font-size:calc(11px + var(--ui-font-add, 3px));
  line-height: 1.9;
}

.org-tree {
  overflow: visible;
  padding: 24px 0 4px;
  text-align: right;
}

.org-tree ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.org-tree > ul {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  align-items: start;
  gap: 22px;
}

.org-tree li {
  position: relative;
  min-width: 0;
  padding: 0;
}

.org-tree li > ul {
  position: relative;
  margin: 11px 30px 0 0;
  padding: 11px 24px 0 0;
  border-right: 2px solid #b8c8df;
}

.org-tree li > ul > li::before {
  content: "";
  position: absolute;
  top: 27px;
  right: -24px;
  width: 24px;
  height: 2px;
  background: #b8c8df;
}

.org-tree li > button {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #d5e0ed;
  border-right: 4px solid #284494;
  border-radius: 17px;
  background: #fff;
  color: #183b83;
  text-align: right;
  box-shadow: 0 10px 25px #1f3a6912;
  transition: .18s ease;
}

.org-tree > ul > li > button {
  border-right-color: #ef2d35;
  background: linear-gradient(115deg, #fff, #f2f6fd);
}

.org-tree li > button:hover {
  transform: translateY(-2px);
  border-color: #9fb4d4;
  box-shadow: 0 15px 32px #1f3a691d;
}

.org-tree .org-tree-avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size:calc(14px + var(--ui-font-add, 3px));
}

.org-tree strong {
  font-size:calc(15px + var(--ui-font-add, 3px));
  line-height: 1.7;
}

.org-tree small {
  margin-top: 2px;
  color: #3f5f90;
  font-size:calc(11px + var(--ui-font-add, 3px));
  font-weight: 850;
}

.org-tree em {
  margin-top: 2px;
  color: #ef2d35;
  font-size:calc(9px + var(--ui-font-add, 3px));
}

.org-tree button > b {
  padding: 7px 9px;
  border-radius: 10px;
  background: #edf2fa;
  color: #526b94;
  font-size:calc(8px + var(--ui-font-add, 3px));
  white-space: nowrap;
}

.org-tree button > i {
  grid-column: 2 / -1;
  padding-top: 7px;
  border-top: 1px solid #e5ebf2;
  color: #647b9f;
  font-size:calc(8px + var(--ui-font-add, 3px));
  text-align: right;
}

.employee-complete-edit {
  display: grid;
  gap: 14px;
}

.employee-complete-edit > section {
  padding: 17px;
  border: 1px solid #dce5ef;
  border-radius: 17px;
  background: #f8fafc;
}

.employee-complete-edit > section > header {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}

.employee-complete-edit > section > header > i {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #e8eef9;
  color: #284494;
}

.employee-complete-edit header strong,
.employee-complete-edit header small {
  display: block;
}

.employee-complete-edit header small {
  margin-top: 3px;
  color: #758298;
  font-size:calc(9px + var(--ui-font-add, 3px));
}

.employee-edit-note {
  margin: 0;
  padding: 11px 13px;
  border-right: 3px solid #284494;
  border-radius: 10px;
  background: #edf3fb;
  color: #536681;
  font-size:calc(10px + var(--ui-font-add, 3px));
}

@media (max-width: 700px) {
  .org-visual-chart--primary {
    padding: 15px;
  }

  .org-tree > ul {
    grid-template-columns: 1fr;
  }

  .org-tree li > ul {
    margin-right: 14px;
    padding-right: 15px;
  }

  .org-tree li > ul > li::before {
    right: -15px;
    width: 15px;
  }

  .org-tree li > button {
    grid-template-columns: 47px minmax(0, 1fr);
  }

  .org-tree button > b {
    grid-column: 2;
    justify-self: start;
  }

  .employee-complete-edit > section {
    padding: 12px;
  }
}
