@font-face {
  font-family: 'Lato';
  src:
      url("fonts/Lato-Regular.woff2") format("woff2"),
      url("fonts/Lato-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src:
      url("fonts/Lato-Semibold.woff2") format("woff2"),
      url("fonts/Lato-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src:
      url("fonts/Lato-Bold.woff2") format("woff2"),
      url("fonts/Lato-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src:
      url("fonts/Lato-Medium.woff2") format("woff2"),
      url("fonts/Lato-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  font-family: "Lato", Arial, sans-serif;
}

h1,h2, h3, h4, h5, h6, p {
  margin: 0;
}

button, input {
  font-family: "Lato", Arial, sans-serif;
}
a,button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.scroll-lock {
  min-height: 100vh;
  overflow: hidden;
}

.tabs {
  display: flex;
  gap: 8px;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar, 
.tabs::-webkit-scrollbar-thumb {
  display: none; 
}

.tab {
  position: relative;
  cursor: pointer;
  border: none;
  background-color: #f1f3f7;
  outline: none;
  border-radius: 4px;
  width: 30px;
  height: 32px;
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: center;
}

.tab[data-tab="group1-1"] {
  background-image: url("../img/squares.svg");
}

.tab[data-tab="group1-2"] {
  background-image: url("../img/rows.svg");
  background-size: 16px;
}

.tab.active {
  background-color: #e3e6ef;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.delete-btn,
.view-btn,
.search-btn {
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.add-btn {
  border-radius: 4px;
  width: 32px;
  height: 32px;
  background-color: #f1f3f7;
  padding: 0;
  border: none;
}
.delete-all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background-color: #e3e6ef;
  border-radius: 50%;
  cursor: pointer;
}

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background-color: #f1f3f7;
}

.btn {
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  border-radius: 4px;
  padding: 11px 18px;
  height: 48px;
  background: #b9c2d6;
  font-weight: 600;
  font-size: 18px;
  line-height: 125%;
  color: #4c4647;
  cursor: pointer;
}

.btn--light {
  color: #9b9294;
  background-color: #f5f5f5;
}

.btn--gradient {
  color: #fff;
  background: linear-gradient(135deg, #4b6f87 0%, #292044 100%);
}

.btn--outline {
  color: #312d2d;
  background-color: #fff;
  border: 2px solid #f1f3f7;
  transition: 0.2s ease;
}

.btn--outline:hover {
  border: 2px solid #e3e6ef;
  background-color: #f1f3f7;
}

.btn--grey {
  background-color: #e3e6ef;
  color: #312d2d;
}

.btn--light-grey {
  height: 40px;
  padding: 9px 16px 11px 16px;
  border: 2px solid #e3e6ef;
  background-color: #f1f3f7;
  font-size: 16px;
  color: #312d2d;
}

.search-field {
  position: relative;
  width: 546px;
}
.search-field  input {
  border-radius: 4px;
  width: 100%;
  height: 48px;
  box-shadow: 0 8px 80px 0 rgba(61, 74, 100, 0.16);
  border: none;
  background: #fff;
}

.search-field .delete-all {
  position: absolute;
  bottom: 12px;
  right: 73px;
}

.search-field .search-btn {
  position: absolute;
  bottom: 12px;
  right: 16px;
}

.search-field .search-btn::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: -17px;
  width: 1px;
  height: 32px;
  background-color: #b9c2d6;
  border-radius: 5px;
}

button,
input,
textarea {
    -webkit-appearance: none;
}

input,
textarea,
.select-selected {
    border-radius: 4px;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background-color: #f1f3f7;
    font-weight: 400;
    font-size: 14px;
    line-height: 125%;
    color: #312d2d;
    border: none;
    outline: none;
}

.select-selected {
  padding-right: 40px;
}

input::placeholder,
textarea::placeholder {
    font-weight: 400;
    font-size: 14px;
    line-height: 125%;
    color: #8f9dbd;
}

textarea {
    height: 195px;
    padding: 14px 16px;
}

label,
.label {
    display: block;
    font-weight: 400;
    font-size: 14px;
    line-height: 125%;
    color: #9b9294;
    margin-bottom: 8px;
}

.section-title {
  font-weight: 600;
  font-size: 20px;
  color: #312d2d;
}

.section-title-h1 {
  font-weight: 400;
  font-size: 28px;
  line-height: 125%;
  color: #312d2d;
}

.section {
  max-width: 1237px;
  margin: 0 auto;
  padding: 32px 0;
}

.my-tasks {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.my-tasks__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.my-tasks__tabs {
  display: flex;
  align-items: center;
  gap: 48px;
}

.tasks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tasks__col-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tasks__title {
  border-bottom: 2px solid #f1f3f7;
  border-radius: 8px 8px 0 0;
  padding: 11px 16px;
  width: 100%;
  height: 40px;
  font-weight: 700;
  font-size: 14px;
  line-height: 125%;
  color: #312d2d;
}

.tasks__col-wrap--new .tasks__title {
  background-color: #cbebd8;
}

.tasks__col-wrap--progress .tasks__title {
  background-color: #f5dea1;
}

.tasks__col-wrap--approval .tasks__title {
  background-color: #b9c2d6;
}

.tasks__col-wrap--approved .tasks__title {
  background-color: #e3e6ef;
}

.tasks__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tasks__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 8px;
  padding: 11px 16px;
  box-shadow: 0 8px 80px 0 rgba(50, 73, 117, 0.08);
  background-color: #fff;
}

.employee {
  display: flex;
  align-items: center;
  gap: 16px;
}

.employee__img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.employee__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.employee__name {
  font-weight: 400;
  font-size: 14px;
  line-height: 125%;
  color: #312d2d;
}

.employee__role {
  font-weight: 500;
  font-size: 11px;
  line-height: 125%;
  color: #7586ae;
}

.employee__position {
  font-weight: 500;
  font-size: 11px;
  line-height: 125%;
  color: #675f60;
}

.employee--input {
  border-radius: 4px;
  padding: 16px 24px;
  background-color: #f1f3f7;
  background-image: url("../img/pencil.svg");
  background-repeat: no-repeat;
  background-position: right 16px top 12px;
  background-repeat: no-repeat;
  background-size: auto;
}

.date-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.date-field__title {
  font-weight: 500;
  font-size: 11px;
  line-height: 125%;
  color: #7586ae;
}

.date {
  position: relative;
  display: block;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #312d2d;
  border-radius: 4px;
  padding: 4px 8px 5px 34px;
  background-color: #fff;
  text-align: left;
}

.date::before {
  content:"";
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  background-image: url("../img/calendar.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.date::after {
  content:"";
  position: absolute;
  left: 28px;
  top: 6px;
  border-radius: 5px;
  width: 2px;
  height: 20px;
  background-color: #8f9dbd;
}

.progress-field {
  position: relative;
  display: block;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #4c4647;
  border-radius: 4px;
  padding: 4px 8px 5px 34px;
  background-color: #fff;
  text-align: left;
}

.progress-field::before {
  content:"";
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  background-image: url("../img/notebook.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.progress-field::after {
  content:"";
  position: absolute;
  left: 28px;
  top: 6px;
  border-radius: 5px;
  width: 2px;
  height: 20px;
  background-color: #8f9dbd;
}


.table {
  width: 100%;
  font-weight: 400;
  font-size: 14px;
  line-height: 125%;
  color: #312d2d;
}

.table th {
  background-color: #e3e6ef;
  border-bottom: 2px solid #f1f3f7;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  line-height: 125%;
  color: #312d2d;
  text-align: left;
}

.table td {
  border-bottom: 2px solid #f1f3f7;
  padding: 10px 16px;
  background-color: #fff;
}

.table tbody tr:hover td {
  background-color: #f1f3f7;
}

.table tbody tr {
  cursor: pointer;
}

.table--employee th:last-child {
  width: 115px;
}

.status {
  border-radius: 4px;
  padding: 3px 7px 3px 6px;
  background-color: #f1f3f7;
  font-weight: 600;
  font-size: 12px;
  line-height: 145%;
  text-align: center;
  white-space: nowrap;
}

.status--new {
  color: #48a96f;
}

.status--approval {
  color: #e78a00;
}

.status--approved {
  color: #939393;
}

.pagination {
  display: flex;
  align-items: center;
  align-self: center;
}

.pagination__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.pagination__item,
.pagination__btn{
  border-radius: 4px;
  width: 32px;
  height: 32px;
  overflow: hidden;
}

.pagination__btn {
  background-color:  transparent;
  border: none;
  padding: 0;
  background-image: url("../img/chevron-right.svg");
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
}

.pagination__btn--prev {
  transform: rotate(180deg);
}

.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 600;
  font-size: 14px;
  line-height: 125%;
  text-align: center;
  color: #312d2d;
  transition: 0.2s easy;
  text-decoration: none;
}

.pagination__link:hover,
.pagination__link.active {
  background-color: #e3e6ef;
}

.pagination__btn.disabled {
  opacity: 0.5;
}

.tasks-table {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  border: 1px solid #f1f3f7;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 8px 80px 0 rgba(50, 73, 117, 0.08);
  background-color: #fff;
}

.tasks-table--empty {
  justify-content: center;
  min-height: 748px;
}

.tasks-table__img {
  max-width: 137px;
  width: 100%;
  height: auto;
}

.tasks-table__text {
  font-weight: 400;
  font-size: 14px;
  line-height: 125%;
  text-align: center;
  color: #675f60;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;

  display: flex;
  flex-direction: column;
  overflow-y: auto;

  transform: scale( 1.2);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.55, 0, 0.1, 1), transform 0.6s cubic-bezier(0.55, 0, 0.1, 1), visibility 0.6s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);
}

.modal--active {
  transform: scale(1);
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.modal__wrapper {
  position: relative;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100%;
  padding: 60px 40px;
}
.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.5);
  filter: blur(5px);
  opacity: 0.9;
}
.modal__content {
  position: relative;
  border-radius: 8px;
  width: 504px;
  padding: 28px 48px;
  background-color: #fff;
  z-index: 1;
}
.modal__close-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background-color: transparent;
  background-image: url("../img/close.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  cursor: pointer;
}

.modal--center .modal__title {
  font-size: 20px;
}
.modal--center-wide .modal__content{
  width: 1270px;
}
.modal--right,
.modal--right-wide {
  transform: none;
}

.modal--right .modal__wrapper {
  padding: 0;
  justify-content: flex-end;
}

.modal--right .modal__content {
  width: auto;
  min-width: 629px;
  min-height: 100vh;
  border-radius: 0;
  padding: 48px;
}

.modal--right-wide .modal__wrapper {
  padding: 0;
  justify-content: flex-end;
}

.modal--right-wide  .modal__content {
  width: 1269px;
  min-height: 100vh;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.modal hr {
  border: 1px solid #f1f3f7;
  width: calc(100% + 96px);
  margin: 32px -48px;
}

.modal hr.underlined {
  width: 100%;
  margin: 0;
  border: 1px solid #f1f3f7;
}


.modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal__title {
  font-weight: 600;
  font-size: 24px;
  line-height: 125%;
  color: #312d2d;
}

.modal__text {
  font-weight: 400;
  font-size: 14px;
  line-height: 125%;
  color: #312d2d;
}

.hidden-select {
  display: none;
}

.custom-select {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.select-items {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 8px 80px 0 rgba(50, 73, 117, 0.08);
  background-color: #fff;
  z-index: 99;
  font-weight: 400;
  font-size: 14px;
  line-height: 125%;
  color: #312d2d;
}

.select-selected {
  display: flex;
  align-items: center;
  background-image: url("../img/chevron-down.svg");
  background-repeat: no-repeat;
  background-size: 32px;
  background-position: right center;
}

.select-selected.open {
  background-image: url("../img/chevron-up.svg");
}

.select-items div {
  padding: 10px 16px;
  cursor: pointer;
}

.select-items div:hover {
  background-color: #ddd;
}

.select-items.show {
  display: block;
}

.form__page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form__page:nth-child(2) {
  min-width: 1174px;
}

.form__wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form__title {
  font-weight: 600;
  font-size: 16px;
  line-height: 125%;
  color: #312d2d;
  margin-bottom: 12px;
}

.form__subtitle {
  font-weight: 600;
  font-size: 18px;
  line-height: 125%;
  color: #4c4647;
}

.form__btn-add {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  border: 2px solid #f1f3f7;
  border-radius: 4px;
  height: 40px;
  background-color: #fff;
  width: 100%;
  cursor: pointer;
}

.form hr {
  border: 1px dashed #f1f3f7;
  margin: 0;
  width: 100%;
}

.form__page .employee__img {
  width: 56px;
  height: 56px;
}

.form__page .employee__name {
  font-size: 16px;
}

.form__page .employee__position {
  font-size: 14px;
}

.form__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.form__top div {
  width: 519px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 10px;
}

.form__line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.form__btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form__btn-group {
  display: flex;
  align-items: center;
  gap: 24px;
}
.form--profile-edit {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form--profile-edit textarea {
  height: 112px;
  background-image: url("../img/pencil.svg");
  background-repeat: no-repeat;
  background-position: right 16px top 12px;
  background-repeat: no-repeat;
  background-size: auto;
  padding-right: 50px;
}

.form--profile-edit textarea::placeholder,
.form--profile-edit input::placeholder {
  font-weight: 600;
  font-size: 16px;
  line-height: 125%;
  color: #312d2d;
}

.form--profile-edit .calendar {
  max-width: 254px;
}

.form--profile-edit .calendar-year {
  max-width: 162px;
}

.form--strengths {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form--strengths .editor textarea {
  height: 318px;
  padding-top: 146px;
}

.form--event {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form--event textarea {
  height: 158px;
  background-image: url(../img/pencil.svg);
  background-position: right 16px top 12px;
  background-repeat: no-repeat;
  background-size: auto;
  padding-right: 50px;
}

.form--event .employee__name {
  font-size: 16px;
}

.form--event .employee__position {
  font-size: 14px;
}

.form--event .employee__img {
  width: 56px;
  height: 56px;
}

.form--event .calendar-input {
  max-width: 254px;
}

.form--event .calendar-input input {
  max-width: 150px;
}

.form--division-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.btns {
  display: flex;
  align-items: center;
  gap: 16px;
}

.air-datepicker-global-container {
  z-index: 99999;
}

.calendar-input {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0  0 0 16px;
  justify-content: space-between;
  border-radius: 4px;
  background-color: #f1f3f7;
}

.calendar-input label {
  color: #8f9dbd;
  margin: 0;
}

.calendar-input input {
  max-width: 220px;
  background-image: url("../img/calendar.svg");
  background-repeat: no-repeat;
  background-size: auto;
  background-position: right 16px center;
  padding-right: 60px;
}

.calendar-input input::placeholder {
  font-weight: 600;
  font-size: 16px;
  line-height: 125%;
  text-align: right;
  color: #7586ae;
}

.form__page {
  display: none; /* Скрываем страницы по умолчанию */
}
.form__page.active {
  display: flex; /* Показываем только активную страницу */
}

.employee-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.employee-list__item {
  display: flex;
  justify-content: space-between;
  border: 1px solid #f1f3f7;
  border-radius: 8px;
  padding: 12px;
  background-color: #fff;
}

.employee-list .employee__position {
  font-size: 13px;
  color: #9b9294;
}

.forms .tabs {
  display: flex;
  gap: 48px;
  width: 100%;
  height: 53px;
  overflow-x: scroll;
}
.forms .tab {
  position: relative;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  width: auto;
  height: auto;

  font-weight: 600;
  font-size: 18px;
  line-height: 115%;
  color: #9b9294;
  flex-shrink: 0;
}
.forms .tab::after {
  display: none;
  content:"";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #4b6f87 0%, #292044 100%);
  border-radius: 4px;
}
.forms .tab.active {
  color: #312d2d;
}

.forms .tab.active::after {
  display: block;
}

.forms .tab-content {
  display: none;
  padding-top: 24px;
}

.forms .tab-content.active {
  display: block;
}

.flex {
  display: flex;
}

.flex--column {
  flex-direction: column;
}

.jcsb {
  justify-content: space-between;
}

.aic {
  align-items: center;
}

.asfe {
  align-self: flex-end;
}

.asfs {
  align-self: flex-start;
}

.grid {
  display: grid;
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.gap-24 {
  gap: 24px;
}

.gap-4 {
  gap: 4px;
}

.gap-48 {
  gap: 48px;
}
 
.mb-24 {
  margin-bottom: 24px;
}

.progress {
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress__title {
  font-weight: 700;
  font-size: 14px;
  line-height: 125%;
  color: #312d2d;
}

.progress__num {
  position: relative;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #4c4647;
  padding-left: 34px;
}

.progress__num::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background-image: url("../img/notebook.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.progress__num::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 28px;
  width: 2px;
  height: 20px;
  background-color: #8f9dbd;
  border-radius: 5px;
}

.potential-matrix {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.potential-matrix__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 2px solid #f1f3f7;
  padding: 11px 16px;
}

.potential-matrix__distribution,
.potential-matrix__percent {
  font-weight: 400;
  font-size: 14px;
  line-height: 125%;
  color: #312d2d;
}

.potential-matrix__percent {
  font-weight: 700;
  text-align: center;
}

.potential-matrix__title {
  font-weight: 700;
  font-size: 14px;
  line-height: 125%;
  padding: 8px 12px;
  width: 100%;
  text-align: center;
  color: #fff;
}

.potential-matrix__text {
  font-weight: 400;
  font-size: 12px;
  line-height: 125%;
  color: #9b9294;
}

.potential-matrix__title--yellow {
  color: #312d2d;
  background-color: #ffd600;
}

.potential-matrix__title--orange {
  background-color: #f90;
}

.potential-matrix__title--green {
  background-color: #03a700;
}

.potential-matrix__title--red {
  background-color:  #ce0000;
}

.unit-goals {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.unit-goals__text-block,
.unit-goals__comments {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.unit-goals__text-block {
  align-items: flex-start;
  font-weight: 400;
  font-size: 14px;
  line-height: 125%;
  color: #312d2d;
}

.unit-goals__text-block ol,
.init-goals__text-block ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-left: 16px;
}

.comment-input {
  display: flex;
  align-items: center;
  gap: 24px;
}

.comment-input input {
  padding-right: 60px;
  background-image: url("../img/pencil.svg");
  background-repeat: no-repeat;
  background-size: auto;
  background-position: right 16px center;
}

.comment-input__img {
  border-radius: 50px;
  width: 48px;
  height: 48px;
  background-color: #e6e4e4;
}

.comments {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comments__item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 1px solid #f1f3f7;
  border-radius: 8px;
  padding: 20px;
  background-color: #fff;
}

.comments .employee__name {
  font-size: 16px;
}

.comments .employee__img {
  width: 40px;
  height: 40px;
}

.comments__row {
  display: flex;
  justify-content: space-between;
}

.comments__time {
  font-weight: 400;
  font-size: 11px;
  line-height: 125%;
  color: #9b9294;
}

.comments__info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.comments__text {
  font-weight: 400;
  font-size: 14px;
  line-height: 125%;
  color: #312d2d;
}

.comments .btn--outline {
  height: 32px;
  font-size: 14px;
}

.editor {
  position: relative;
}

.editor img {
  width: 100%;
  height: auto;
  position: absolute;
  left: 0;
  top: 26px;
}

.editor textarea {
  height: 705px;
  padding-top: 65px;
}


.block {
  display: flex;
  align-items: center;
  gap: 48px;
  border-radius: 8px;
  padding: 12px;
  background-color: #fff;
}

.block .employee__name {
  font-size: 16px;
}

.block .employee__position {
  font-size: 13px;
  color: #9b9294;
}

.block .employee__img {
  width: 56px;
  height: 56px;
}

.contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contacts__email {
  position: relative;
  font-weight: 400;
  font-size: 15px;
  line-height: 145%;
  color: #9d2236;
  padding-left: 30px;
  text-decoration: none;
}

.contacts__email::before {
  content:'';
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background-image: url("../img/envelope.svg");
  background-repeat: no-repeat;
  background-size:contain;
  background-position: center;
}

.contacts__phone {
  position: relative;
  font-weight: 400;
  font-size: 15px;
  line-height: 145%;
  color: #675f60;
  padding-left: 30px;
  text-decoration: none;
}

.contacts__phone::before {
  content:'';
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background-image: url("../img/phone.svg");
  background-repeat: no-repeat;
  background-size:contain;
  background-position: center;
}


.staff {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.staff__item {
  display: grid;
  grid-template-columns: repeat(5, minmax(200px, 1fr));
  gap: 24px;
  border-bottom: 2px solid #f1f3f7;
  padding: 17px 16px;
  background-color: #fff;
  cursor: pointer;
  transition: 0.2s ease;
}

.staff__item:hover {
  background-color: #f1f3f7;
}


.staff__block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.staff__title {
  font-weight: 400;
  font-size: 14px;
  line-height: 125%;
  color: #9b9294;
}

.staff__value {
  font-weight: 600;
  font-size: 16px;
  line-height: 125%;
  color: #8f9dbd;
}

.staff__value--dark {
  font-size: 14px;
  color: #312d2d;
}

.staff .date {
  color: #8f9dbd;
}
.staff--employee .staff__value {
  font-size: 14px;
  color: #312d2d;
}
.staff--employee .date {
  color: #312d2d;
}

.staff--employee .staff__item {
  grid-template-columns:  repeat(5, minmax(200px, 1fr));
}
.staff--event {
  margin-bottom: 40px;
}
.staff--event .date {
  color: #312d2d;
}

.staff--event .title {
  font-weight: 500;
  font-size: 11px;
  line-height: 125%;
  color: #7586ae;
}

.staff--event .value {
  font-weight: 600;
  font-size: 14px;
  line-height: 125%;
  color: #4c4647;
}

.staff--event .event {
  font-weight: 600;
  font-size: 16px;
  line-height: 125%;
  color: #4c4647;
}

.staff--event .staff__item {
  grid-template-columns: 3fr 1fr minmax(150px, auto);
  gap: 48px;
  align-items: center;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 4px 8px;
  font-weight: 400;
  font-size: 12px;
  line-height: 125%;
  color: #fff;
}

.badge--green {
  background-color: #03a700;
}

.badge--yellow {
  background-color: #ffd600;
  color: #312D2D;
}

.badge--orange {
  background-color: #f90;
}

.badge--red {
  background-color: #ce0000;
}

.calendar,
.calendar-year {
  background-image: url(../img/calendar.svg);
  background-repeat: no-repeat;
  background-size: auto;
  background-position: right 16px center;
  padding-right: 60px;
}

.instruction {
  position: relative;
  display: flex;
  flex-direction: column;
}

.instruction__wrap {
  position: relative;
  display: flex;
}

.instruction .potential-matrix {
  /* max-width: 1058px; */
}

.instruction__line-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  line-height: 125%;
  text-align: center;
  color: #312d2d;
  background-color: #e3e6ef;
  height: 40px;
}

.instruction__line-left {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: auto;
  font-weight: 700;
  font-size: 14px;
  line-height: 125%;
  text-align: center;
  color: #312d2d;
  background-color: #e3e6ef;
}

.instruction__line-left span{
  display: block;
  transform: rotate(-90deg);
  max-height: 40px;
}

.potential-matrix-wrap {
  display: flex;
  align-items: center;
  height: auto;
}
.potential-matrix-wrap .potential-matrix {
  grid-template-columns: 1fr;
  justify-content: center;
  align-items: center;
  height: 100%;
  max-width: 90px;
  border-right: 2px solid #f1f3f7;
}

.potential-matrix-wrap .potential-matrix__item {
  transform: rotate(-90deg);
  flex-direction: row;  
  border-bottom: none;
}

.note {
  font-weight: 400;
  font-size: 14px;
  line-height: 125%;
  color: #312d2d;
}

.note sup {
  font-size: 14px;
  vertical-align: baseline;
  color: #ce0000;
  margin-right: 4px;
}

.strengths {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.strengths__item {
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: center;
  border-bottom: 2px solid #f1f3f7;
  min-height: 56px;
  background-color: #fff;
  padding: 10px 0;
}

.strengths__title,
.strengths__text {
  line-height: 125%;
  color: #4c4647;
}

.strengths__title {
  font-weight: 600;
  font-size: 16px;
}

.strengths__text {
  font-weight: 400;
  font-size: 14px;
}


.matrix-place {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 540px;
}

.matrix-place__title {
  font-weight: 400;
  font-size: 14px;
  line-height: 125%;
  color: #9d2236;
}

.matrix-place__value {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background-color: #ffd600;
}

.matrix-place__grade {
  font-weight: 700;
  font-size: 14px;
  line-height: 125%;
  color: #312d2d;
}

.matrix-place__description {
  font-weight: 400;
  font-size: 12px;
  line-height: 125%;
  color: #9b9294;
}

.tooltip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  padding: 2px 6px;
  width: 17px;
  height: 17px;
  background-color: #8f9dbd;
  font-weight: 700;
  font-size: 12px;
  line-height: 125%;
  color: #fff;
  cursor: pointer;
}




.heading {
  margin-bottom: 40px;

  color: #ff6c32;

  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
}

/* Accordion */
.accordion {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.accordion__item {
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  width: 100%;
  background-color: #f1f3f7;  
}

.accordion__item .accordion__item {
  border: 3px solid #fff;
}

.accordion__heading {
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 16px;
  line-height: 125%;
  color: #312d2d;
}
.accordion__body {
   height: 0px;
   overflow: hidden;
   transition: height 500ms ease;
   padding: 0 24px;
    
  }
.accordion__body--hidden {
    visibility: hidden;
}
.accordion__content {
   margin-bottom: 12px;
}

.accordion__trigger {
  border: none;
  background-color: transparent;
  background-image: url("../img/chevron-down.svg");
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-size:contain;
  background-position: center;
}


.accordion__trigger--active {
   transform: rotate(180deg);
   transition: transform 0.2s ease-out;
}


