@charset "UTF-8";
:root {
  --Blue: #2E5BE2;
  --Black: #0E1424;
  --White: #FFFFFF;
  --Light-Black: #232C46;
  --Gray-1: #9EA3B0;
  --Gray-2: #D0D3DB;
  --Gray-3: #E0E3EC;
  --Gray-4: #F1F3F8;
  --Gray-5: #F7F8FA;
  --Error: #BD3B1E;
}

.alegreya-sans-thin {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.alegreya-sans-light {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.alegreya-sans-regular {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.alegreya-sans-medium {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.alegreya-sans-bold {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.alegreya-sans-extrabold {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.alegreya-sans-black {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.alegreya-sans-thin-italic {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.alegreya-sans-light-italic {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.alegreya-sans-regular-italic {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.alegreya-sans-medium-italic {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.alegreya-sans-bold-italic {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.alegreya-sans-extrabold-italic {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.alegreya-sans-black-italic {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 900;
  font-style: italic;
}

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 62px calc(100% - 62px);
  grid-template-areas: "header" "main";
}

.header {
  grid-area: header;
}

.main {
  grid-area: main;
}
.main.home {
  display: grid;
  grid-template-rows: 112px 1fr;
  grid-template-columns: 1fr;
  grid-template-areas: "nav" "wrapper ";
}
.main__wrapper {
  grid-area: wrapper;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.main__nav {
  grid-area: nav;
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.innerPage {
  display: grid;
  grid-template-rows: 100%;
  grid-template-columns: 496px 1fr 210px;
  grid-template-areas: "chat sheet controls";
  background-color: white;
}
.innerPage__chat {
  grid-area: chat;
  border-right: 1px solid var(--Gray-2);
}
.innerPage__sheet {
  grid-area: sheet;
  overflow-y: auto;
}
.innerPage__controls {
  grid-area: controls;
  border-left: 1px solid var(--Gray-2);
  overflow-y: auto;
}

.header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid var(--Gray-2);
}
.header__logo {
  color: var(--Light-Black);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.18px;
}
.header__nav {
  margin: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__element {
  --navBG:transparent;
  --navColor:var(--Gray-1);
  display: flex;
  padding: 12px 16px;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  cursor: pointer;
  background-color: var(--navBG);
  color: var(--navColor);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  transition: color, background-color 0.2s ease-in-out;
}
.header__element span {
  transition: all 0.2s ease-in-out;
}
.header__element svg path {
  transition: all 0.2s ease-in-out;
}
.header__element.active, .header__element:hover {
  --navBG:var(--White);
  --navColor:var(--Light-Black);
}
.header__icon {
  line-height: 0;
}
.header__user {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__user.active .header__user__button, .header__user:hover .header__user__button {
  background: white;
}
.header__user__button {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  outline: none;
  border: none;
  background: transparent;
  border-radius: 8px;
  padding: 10px;
  transition: all 0.2s ease-in-out;
}
.header__user__avatar {
  display: flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  border-radius: 5px;
  background: var(--Light-Black);
  color: var(--White, #FFF);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.14px;
  overflow: hidden;
}
.header__user__avatar img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header__user__name {
  color: var(--Gray-1);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%; /* 16px */
}

.main__wrapper {
  padding: 35px 0 0 18px;
}
.main__block {
  margin-bottom: 38px;
  width: 100%;
  display: flex;
}

.block__title {
  margin-bottom: 12px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  color: var(--Light-Black);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.block__content {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(386px, 1fr));
  grid-gap: 12px;
  flex: 1;
}

.card__subName {
  color: var(--Gray-1);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.card__name {
  color: var(--Light-Black, #232C46);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -0.36px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__info {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card__status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--Light-Black);
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.3px;
}
.card__icon {
  line-height: 0;
}
.card__type {
  color: var(--Gray-1);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.card__line {
  width: 100%;
  height: 1px;
  background-color: var(--Gray-3, );
}
.card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card__bottom__block {
  display: flex;
  gap: 8px;
  align-items: center;
}
.card .cardStat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.card .cardStat__name {
  color: var(--Gray-1);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.card .cardStat__content {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--Light-Black);
  font-variant-numeric: lining-nums proportional-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.32px;
}

.main.home .block__title {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex: none;
  width: 180px;
  margin-top: 20px;
  color: var(--Light-Black, #232C46);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 28.8px */
  letter-spacing: -0.24px;
}

.block__content {
  padding: var(--L, 24px);
  align-items: flex-start;
  gap: var(--MM, 16px);
  border-radius: var(--L, 24px);
  background: var(--White, #FFF);
  box-shadow: 10px 10px 20px 0 rgba(0, 0, 0, 0.05);
}
.block__content:has(> .groups > .group:nth-of-type(2)) {
  padding: 0;
  background: none;
  box-shadow: none;
}
.block__content:has(> .groups > .group:nth-of-type(2)) .group {
  padding: var(--L, 24px);
  border-radius: var(--L, 24px);
  background: var(--White, #FFF);
  box-shadow: 10px 10px 20px 0 rgba(0, 0, 0, 0.05);
}

.group__title {
  color: var(--Light-Black, #232C46);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 28.8px */
  letter-spacing: -0.24px;
  margin-bottom: 16px;
}

.card .card__line {
  height: 1px;
  background: var(--line, rgba(0, 0, 0, 0.08));
  margin: 0.5rem 0 0.75rem;
}

.card .card__bottom {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.card .card__bottom__block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cardStat__name {
  font-size: 0.75rem;
  opacity: 0.7;
}

.cardStat__content {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.btn--justify--center {
  justify-content: center;
  width: 100%;
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card__stats {
  display: flex;
  gap: 20px;
}
.card__icon .icon {
  vertical-align: -2px;
}
.card__line {
  margin: 12px 0;
  height: 1px;
  background: var(--Gray-3, #E0E3EC);
}
.card__type {
  color: #6B7280;
}

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

.block__item.card {
  font-family: "Alegreya Sans", sans-serif;
  border-radius: var(--M, 12px);
  border: 1px solid var(--Gray-3, #E0E3EC);
  display: flex;
  padding: var(--ML, 18px);
  align-items: center;
  gap: var(--ML, 18px);
  align-self: stretch;
}

.card__unit {
  color: var(--Light-Black, #232C46);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.card__main {
  flex: 1 1 auto;
  min-width: 0;
}

.card__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card__row--top {
  margin-bottom: 12px;
}

.card__row--meta {
  color: #6B7280;
  flex-wrap: wrap;
}

.card__title {
  color: var(--Light-Black, #232C46);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.18px;
}

.card__item {
  color: var(--Gray-0, #737680);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.card__dot {
  color: #737680;
  font-size: 20px;
  font-weight: bold;
}

.card__spacer {
  flex: 1 1 auto;
}

.card__kpi {
  align-items: center;
  gap: 6px;
  color: #1F2937;
  display: flex;
  height: 25px;
  padding: var(--S, 4px) var(--MS, 8px);
  border-radius: var(--LL, 32px);
  background: var(--Gray-5, #F7F8FA);
  font-variant-numeric: lining-nums proportional-nums;
}

.card__divider {
  width: 1px;
  background: #E0E3EC;
  min-height: 68px;
  height: 100%;
}

.card__actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  justify-content: center;
}

.card__actions .btn {
  display: flex;
  width: 110px;
  height: 32px;
  padding: 8px;
}

.topbar {
  border-radius: 12px;
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
  align-self: flex-end;
}

.card__wrapperBlock {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
}

.topbar__group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 120px;
  flex: 1;
}

.topbar__label {
  color: var(--Gray-1, #9EA3B0);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.topbar .dropdown-btn {
  min-width: 120px;
}

.topbar__search {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.topbar__search input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--Gray-3, #E0E3EC);
  border-radius: 10px;
  background: #fff;
}

.topbar__cta {
  margin-left: auto;
}

.card__meta-author {
  display: flex;
  align-items: center;
  gap: 6px;
}
.card__meta-author img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}
.card__meta-author .card__meta-name {
  font-size: 14px;
  color: var(--Gray-2, #676D7E);
}
.card__meta-author .card__meta-name span.you {
  color: var(--Gray-1, #9EA3B0);
  font-size: 13px;
  margin-left: 4px;
}

.loadingBlock {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  position: absolute;
  margin: auto;
  align-self: center;
  justify-self: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.loadingBlock__title {
  color: var(--Light-Black, #232C46);
  text-align: center;
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 28.8px */
  letter-spacing: -0.24px;
}
.loadingBlock__content {
  color: var(--Gray-0, #737680);
  text-align: center;
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 45px;
  margin-bottom: 55px;
}

.bar {
  width: 9px;
  height: 45px;
  background: #2E5BE2;
  transform-origin: bottom;
}

.a {
  animation: waveA 1.1s ease-in-out infinite;
}

.b {
  animation: waveB 1.1s ease-in-out infinite;
  animation-delay: 0.2s;
}

.c {
  animation: waveC 1.1s ease-in-out infinite;
  animation-delay: 0.4s;
}

@keyframes waveA {
  0% {
    transform: scaleY(0.45);
  }
  25% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.2);
  }
  75% {
    transform: scaleY(0.8);
  }
  100% {
    transform: scaleY(0.45);
  }
}
@keyframes waveB {
  0% {
    transform: scaleY(0.3);
  }
  25% {
    transform: scaleY(0.85);
  }
  50% {
    transform: scaleY(0.15);
  }
  75% {
    transform: scaleY(0.55);
  }
  100% {
    transform: scaleY(0.3);
  }
}
@keyframes waveC {
  0% {
    transform: scaleY(0.55);
  }
  25% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.25);
  }
  75% {
    transform: scaleY(0.75);
  }
  100% {
    transform: scaleY(0.55);
  }
}
.x-transition {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(6px);
}

.x-transition.is-enter {
  opacity: 1;
  transform: translateY(0);
}

.x-transition.is-leave {
  opacity: 0;
  transform: translateY(6px);
}

.btn {
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  background-color: transparent;
  cursor: pointer;
}
.btn--width--full {
  width: 100%;
}
.btn--margin--full {
  margin-top: auto;
}
.btn--justify--center {
  justify-content: center;
}
.btn--justify--start {
  justify-content: flex-start;
}
.btn--type--1 {
  display: flex;
  padding: 12px 16px;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid var(--Gray-1, #9EA3B0);
  color: var(--Light-Black, #232C46);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.28px;
}
.btn--type--1.danger {
  border: 1px solid var(--Red, #BD3B1E);
  color: var(--Red, #BD3B1E);
}
.btn--type--1:disabled {
  border: 1px solid var(--Gray-3, #E0E3EC);
  color: var(--Gray-3, #E0E3EC);
  cursor: not-allowed;
}
.btn--type--2 {
  display: inline-flex;
  padding: 12px 16px 12px 12px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--White);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.28px;
  border-radius: 8px;
  background-color: var(--Blue, #2E5BE2);
  transition: background-color 0.2s ease;
  width: 100%;
}
.btn--type--2:hover {
  background-color: color-mix(in srgb, var(--Blue) var(--transparency, 80%), black);
}
.btn--type--3 {
  width: 100%;
  display: flex;
  padding: 12px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: var(--Gray-4, #F1F3F8);
  white-space: nowrap;
}
.btn--type--3:hover {
  background-color: color-mix(in srgb, var(--Gray-4) var(--transparency, 80%), black);
}
.btn--type--4 {
  width: 100%;
  display: flex;
  padding: 12px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: transparent;
}
.btn--type--4:hover {
  background-color: color-mix(in srgb, transparent var(--transparency, 80%), black);
}
.btn--type--5 {
  display: flex;
  height: 32px;
  width: fit-content;
  padding: 8px;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid var(--Gray-1, #9EA3B0);
  background: var(--White, #FFF);
  color: var(--Light-Black, #232C46);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.btn:disabled, .btn.disabled {
  opacity: 0.5;
  cursor: none;
  pointer-events: none;
}

.statusElement {
  align-self: stretch;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 42px;
  width: min-content;
  min-width: 150px;
  height: 30px;
  padding: var(--MS, 8px) var(--M, 12px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--MS, 8px);
  color: var(--Light-Black, #232C46);
  white-space: nowrap;
  margin-left: auto;
  flex: none;
}
.statusElement--published {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), var(--status-published, #E1F2DA);
}
.statusElement--unpublished {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), var(--status-unpublished, #F2E9E6);
}
.statusElement--draft_incomplete {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), var(--status-draft, #F0F2E6);
}
.statusElement--draft_non_contradictory_complete {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), var(--status-ready-to-publish, #DAF2F1);
}
.statusElement--draft_contradictory_complete {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), var(--status-ready-to-publish, #DAF2F4);
}
.statusElement--in_development {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), var(--status-in-development, #E8EBFF);
}

.icon {
  line-height: 0;
}

.statusText {
  color: var(--Gray-1, #9EA3B0);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.statusLine {
  width: 100%;
  height: 1px;
  background: var(--Gray-3, #E0E3EC);
  margin-block: 33px;
}

.main__nav {
  padding: 26px 10px 40px 30px;
}
.main__nav .btn {
  max-width: 163px;
  margin-left: auto;
}
.main__nav__line {
  width: 100%;
  height: 1px;
  margin-block: 27px 35px;
  background: var(--Gray-3, #E0E3EC);
}
.main__nav__formWrapper {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}
.main__nav__title {
  color: var(--Gray-1, #9EA3B0);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.main__nav__formGroup {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.main__nav__formGroup input {
  display: flex;
  padding: 12px 12px 12px 16px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid var(--Gray-2, #D0D3DB);
  background: var(--White, #FFF);
  color: var(--Gray-1, #9EA3B0);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.28px;
}

.chat {
  display: flex;
  flex-direction: column;
}
.chat__messages {
  height: 100%;
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
  overflow-y: auto;
}
.chat__messages__wrapper {
  align-items: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 30px;
}
.chat__messages .typing {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.chat__messages .typing > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: currentColor;
  opacity: 0.3;
  animation: typing-bounce 1s infinite ease-in-out;
}
.chat__messages .typing > span:nth-child(2) {
  animation-delay: 0.15s;
}
.chat__messages .typing > span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes typing-bounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  40% {
    transform: translateY(-4px);
    opacity: 0.9;
  }
}
.chat__messageWrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chat__messageWrapper__inner {
  display: flex;
  gap: 6px;
  align-self: var(--messageSelf);
  width: 100%;
}
.chat__messageWrapper--bot {
  --messageBG: transparent;
  --messageColor: var(--Light-Black, #232C46);
  --messagePadding: 0;
  --messageSelf: flex-start;
  --marginLeft:36px;
  --messageFS: 18px;
  --messageFW: 400;
  --messageLH: 140%;
}
.chat__messageWrapper--my {
  --messageColor: var(--White, #FFF);
  --messageBG: var(--Blue, #2E5BE2);
  --messagePadding:12px 16px;
  --messageSelf: start;
  --marginLeft: 0;
  --messageFS: 16px;
  --messageFW: 500;
  --messageLH: 120%;
}
.chat__message {
  align-self: var(--messageSelf);
  background-color: var(--messageBG);
  color: var(--messageColor);
  display: flex;
  flex-direction: column;
  width: auto;
  max-width: min(405px, 100% - 40px);
  border-radius: 18px;
  padding: var(--messagePadding);
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: var(--messageFS);
  font-style: normal;
  font-weight: var(--messageFW);
  line-height: var(--messageLH);
  word-break: break-word;
  margin-left: var(--marginLeft);
  white-space: pre-line;
}
.chat__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--messageBG);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
}
.chat__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: 100%;
}
.chat__messageInfo {
  align-self: var(--messageSelf);
  color: var(--Gray-1, #9EA3B0);
  text-align: right;
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-left: 36px;
}
.chat__date {
  color: var(--Black, #0E1424);
  text-align: center;
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.chat__static {
  padding: 0 30px;
  margin-top: auto;
}
.chat__block {
  display: flex;
  width: 100%;
  height: 50px;
  padding: 12px 16px;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--Gray-4, #F1F3F8);
  margin-bottom: 10px;
}
.chat__block__name {
  color: var(--Black, #0E1424);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  display: flex;
  gap: 8px;
}
.chat__block__controls {
  display: flex;
  gap: 8px;
  color: var(--Gray-1, #9EA3B0);
  text-align: right;
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.chat__block__controls .header__icon {
  color: var(--Black, #0E1424);
}
.chat input {
  margin-top: 20px;
  margin-bottom: 26px;
  display: flex;
  width: 100%;
  height: 63px;
  padding: 12px 16px;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  border-radius: 8px;
  color: var(--Black);
  border: 1px solid var(--Gray-1, #9EA3B0);
  background: var(--White, #FFF);
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.14px;
}
.chat input::placeholder {
  color: var(--Gray-1, #9EA3B0);
}

.chat__block--generated {
  margin-bottom: 16px;
  display: block;
  height: unset;
}

.chat__block__name {
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat__block__name--danger {
  color: var(--Error);
}

.chat__block__name--edit {
  color: var(--Primary);
}

.chat__bubble {
  margin-bottom: 6px;
  display: flex;
  padding: var(--M, 12px) var(--MM, 16px);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--S, 4px);
  align-self: stretch;
  border-radius: var(--MS, 8px);
  border: 1px solid var(--Gray-3, #E0E3EC);
}

.chat__bubble__label {
  font-size: 12px;
  opacity: 0.7;
}

.chat__bubble__text {
  color: var(--Black, #0E1424);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.chat__bubble--contradiction {
  background: #D92D20;
}
.chat__bubble--contradiction .chat__bubble__text, .chat__bubble--contradiction .chat__bubble__label {
  color: white;
}

.chat__edit {
  width: 100%;
  background: var(--Gray-4, #F1F3F8);
  border-radius: 8px;
}

.chat__edit__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
}

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

.chat__edit__title {
  color: var(--Black, #0E1424);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.chat__edit__title--contradiction {
  color: var(--Error, #BD3B1E);
}

.chat__edit__icon {
  color: var(--Error, #BD3B1E);
}

.chat__edit__icon svg {
  color: var(--Primary);
}

.chat__edit--open .chat__edit__icon svg {
  color: var(--Primary);
}

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

.chat__edit__time {
  color: var(--Gray-1, #9EA3B0);
  font-size: 14px;
}

.chat__edit__caret {
  color: var(--Black, #0E1424);
  transition: transform 0.2s ease;
}

.chat__edit__caret.is-open {
  transform: rotate(180deg);
}

.chat__edit__content {
  padding: 12px 16px;
}

.dialogDelete {
  display: flex;
  padding: var(--S, 4px) 0;
  justify-content: center;
  align-items: center;
  gap: var(--MS, 8px);
  align-self: stretch;
  border: none;
  background: transparent;
  color: var(--Gray-0, #737680);
  font-family: "Alegreya Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  cursor: pointer;
}

.itemVisual {
  display: contents;
}

.sheet {
  padding: 30px;
}
.sheet__title {
  color: var(--Light-Black, #232C46);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  display: block;
}
.sheet__title--editing {
  gap: 16px;
  padding: 12px 16px;
  justify-content: space-between;
  flex: 1 0 0;
  border-radius: var(--M, 12px);
  border: 1px solid var(--Gray-3, #E0E3EC);
  background: var(--White, #FFF);
}
.sheet__line {
  height: 1px;
  background: var(--Gray-3, #E0E3EC);
  margin-top: 42px;
}
.sheet__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sheet__content__title {
  color: var(--Light-Black, #232C46);
  font-family: "Alegreya Sans";
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-block: 16px;
}
.sheet__block {
  display: flex;
  flex-direction: column;
  gap: var(--S, 4px);
  align-self: stretch;
}
.sheet__name {
  color: var(--Light-Black, #232C46);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.sheet__elementWrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.sheet .sheet__elementWrapper {
  position: relative;
}
.sheet .autocompleteList {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid #E6E8EF;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-height: 200px;
  overflow-y: auto;
  margin-top: 4px;
}
.sheet .autocompleteList li {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}
.sheet .autocompleteList li:hover, .sheet .autocompleteList li.is-active {
  background: #F6F8FC;
}
.sheet__element {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  justify-content: space-between;
  flex: 1 0 0;
  border-radius: var(--M, 12px);
  border: 1px solid var(--Gray-3, #E0E3EC);
  background: var(--White, #FFF);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%; /* 20.8px */
}
.sheet__element .sheet__element__nav {
  display: flex;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  aspect-ratio: 1/1;
  border-radius: 8px;
  cursor: pointer;
  color: white;
}
.sheet__element .sheet__element__nav:has(.sheet__icon--danger) {
  background: var(--Error, #BD3B1E);
}
.sheet__element .sheet__element__nav:has(.sheet__icon--edit), .sheet__element .sheet__element__nav:has(.sheet__icon--default) {
  border: 1px solid var(--Gray-3, #E0E3EC);
}
.sheet__element .sheet__element__nav:has(.sheet__icon--edit) {
  color: black;
}
.sheet__element__text {
  flex: 1;
  width: 0;
}
.sheet__element .sheet__element__text[contenteditable=true] {
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: left;
  outline: none;
}
.sheet__element--disabled {
  opacity: 0.45;
  pointer-events: none;
  background-color: var(--gray-100);
  border-radius: 8px;
  transition: opacity 0.15s ease;
}
.sheet__element__nav {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--Gray-1, #9EA3B0);
  line-height: 0;
  cursor: pointer;
}
.sheet__button {
  display: flex;
  padding: 12px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid var(--Gray-1, #9EA3B0);
  color: var(--Light-Black, #232C46);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%; /* 20.8px */
  cursor: pointer;
}
.sheet__top {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}
.sheet__meta {
  color: var(--Gray-1, #9EA3B0);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.sheet .editBtn {
  display: flex;
  width: 32px;
  height: 32px;
  padding: var(--M, 12px) var(--MM, 16px);
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: var(--S, 4px);
  border: 1px solid var(--Gray-3, #E0E3EC);
}

.innerPage__controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 30px;
}

.sheet__element--isContradicting {
  outline: 2px solid var(--Error, #D92D20);
  border-radius: 10px;
  position: relative;
}

.sheet__element__nav svg {
  display: block;
}

.dialogOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1001;
}

.dialogClose {
  position: absolute;
  top: 0px;
  right: 0px;
  cursor: pointer;
  padding: 10px;
  outline: none;
  border: none;
  background: transparent;
}

.dialogBox {
  display: flex;
  width: 350px;
  padding: var(--L, 24px);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--MM, 16px);
  border-radius: var(--M, 12px);
  border: 1px solid var(--Gray-3, #E0E3EC);
  background: var(--White, #FFF);
  box-shadow: 0 15px 25px 0 rgba(0, 0, 0, 0.1);
  position: relative;
}
.dialogBox__block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.dialogBox__block__con {
  display: flex;
  gap: 8px;
  color: var(--Error, #BD3B1E);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  align-items: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}
.dialogBox__block__con svg {
  height: 16px;
}
.dialogBox__block__content {
  color: var(--Light-Black, #232C46);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%; /* 20.8px */
}
.dialogBox__block__buttonContent {
  color: var(--Gray-1, #9EA3B0);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.dialogBox__line {
  width: 100%;
  height: 1px;
  background: var(--Gray-3, #E0E3EC);
}

.dialogArrow {
  position: absolute;
  width: 12px;
  height: 12px;
  background: white;
  transform: rotate(45deg);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.dialogBox[data-placement=bottom] .dialogArrow {
  top: -6px;
  left: 50%;
  translate: -50% 0;
}

.dialogBox[data-placement=top] .dialogArrow {
  bottom: -6px;
  left: 50%;
  translate: -50% 0;
  border-left: none;
  border-top: none;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dialogBox[data-placement=right] .dialogArrow {
  left: -6px;
  top: 16px;
  translate: 0 0;
}

.dialogBox[data-placement=left] .dialogArrow {
  right: -6px;
  top: 16px;
  translate: 0 0;
  border-left: none;
  border-top: none;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.objectItem, .stepItem {
  display: flex;
  padding: var(--MM, 16px);
  flex-direction: column;
  gap: var(--L, 24px);
  border-radius: var(--ML, 18px);
  background: var(--Gray-5, #F7F8FA);
}
.objectItem.is-collapsed, .stepItem.is-collapsed {
  height: 60px;
  overflow: hidden;
}
.objectItem.is-collapsed .iconBtn, .stepItem.is-collapsed .iconBtn {
  rotate: 180deg;
}
.objectItem .objectHeader, .stepItem .objectHeader {
  display: flex;
  align-items: center;
  gap: var(--M, 12px);
}
.objectItem .objectHeader span, .stepItem .objectHeader span {
  color: var(--Light-Black, #232C46);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.objectItem .objectHeader .iconBtn, .stepItem .objectHeader .iconBtn {
  margin-left: auto;
  cursor: pointer;
  border: none;
  outline: none;
  background: transparent;
}
.objectItem .objectHeader .dragHandle, .stepItem .objectHeader .dragHandle {
  cursor: grab;
}
.objectItem .objectBody, .stepItem .objectBody {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.iconBtn {
  margin-left: auto;
  cursor: pointer;
  border: none;
  outline: none;
  background: transparent;
}
.iconBtn.edit {
  display: inline-flex;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: var(--S, 4px);
  border: 1px solid var(--Gray-3, #E0E3EC);
}

body[data-route=profile] {
  margin: 0;
  background: #eceff2;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.line {
  width: 100%;
  height: 1px;
  margin-block: 32px;
  background: var(--color-z2ZkZ, #D9D9D9);
}

.profilePage {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.profilePage__block {
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
}
.profilePage__block.avatarBox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}
.profilePage__block.avatarBox .avatar {
  position: relative;
  display: flex;
  width: 138px;
  height: 138px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 69px;
  background: var(--color-sYRcb, #282F46);
  color: var(--color-HcVA5, #FFF);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.64px;
}
.profilePage__block.avatarBox .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 100%;
}
.profilePage__block.avatarBox .avatar__loader {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(40, 47, 70, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.profilePage__block.avatarBox .avatar__spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: avatarSpin 0.8s linear infinite;
}
.profilePage__block.avatarBox .info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profilePage__block.avatarBox .info .name {
  color: var(--color-sYRcb, #282F46);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.36px;
  text-transform: capitalize;
}
.profilePage__block.avatarBox .info .email {
  color: var(--color-Btcyn, #88898D);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.profilePage__block.avatarBox .info .status {
  color: var(--color-Btcyn, #88898D);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  min-height: 20px;
}
.profilePage__block__title {
  color: var(--color-sYRcb, #282F46);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 18px;
}

.upload {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: #2E65E2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
}

.upload--disabled {
  opacity: 0.6;
  pointer-events: none;
}

.upload input {
  display: none;
}

.profilePage {
  width: 100%;
  padding: 20px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.field label {
  display: block;
  margin: 0 0 6px 2px;
  color: var(--color-sYRcb, #282F46);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.input {
  width: 100%;
  display: flex;
  height: 41px;
  padding: var(--M, 12px) var(--MM, 16px);
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid var(--color-4rEyX, #D4D8DB);
  background: var(--color-HcVA5, #FFF);
}

.hint {
  color: var(--muted);
  font-size: 12px;
  margin-left: 8px;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.logout {
  margin-left: auto;
}

.error {
  color: #b91c1c;
  font-size: 12px;
  min-height: 16px;
  margin-top: 8px;
}

.ok {
  color: #075e2b;
  font-size: 12px;
  min-height: 16px;
  margin-top: 8px;
}

@keyframes avatarSpin {
  to {
    transform: rotate(360deg);
  }
}
.usersPage {
  display: flex;
  gap: 16px;
  flex-direction: column;
  padding: 24px;
  /* Модалки */
}
.usersPage__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.usersPage__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.usersPage__empty {
  grid-column: 1/-1;
  color: var(--Gray-1, #9EA3B0);
  padding: 24px 0;
}
.usersPage__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--Gray-3, #9EA3B0);
  border-radius: 12px;
  padding: 12px;
  background: var(--White, #fff);
}
.usersPage__top {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  max-width: 100%;
  overflow: hidden;
}
.usersPage .statusRow {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
.usersPage__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--Gray-4, #F1F3F8);
  display: grid;
  place-items: center;
  font-weight: 600;
}
.usersPage__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.usersPage__meta {
  display: grid;
  align-content: start;
  gap: 6px;
}
.usersPage__name {
  font-weight: 600;
}
.usersPage__email {
  color: var(--Gray-1, #9EA3B0);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.usersPage__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.usersPage__footer {
  display: flex;
  margin-top: 8px;
  width: 280px;
}
.usersPage .avatar__text {
  font-size: 32px;
  font-weight: bold;
  text-shadow: 0px 0px 10px black, 0px 0px 2px black;
  color: var(--Gray-1);
}
.usersPage__modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  z-index: 40;
}
.usersPage__modal__inner {
  width: min(520px, 92vw);
  background: var(--White, #fff);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--Gray-3, #E0E3EC);
  display: grid;
  gap: 12px;
}
.usersPage .field {
  display: grid;
  gap: 6px;
}
.usersPage .field label {
  font-weight: 500;
}
.usersPage .actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dropdown {
  position: relative;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--Gray-3, #E0E3EC);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  color: var(--Light-Black, #232C46);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.14px;
}

button.dropdown-btn.is-open {
  background: var(--Light-Black, #232C46);
  color: white;
}

.dropdown-btn .icon {
  margin-left: auto;
}

.dropdown-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  z-index: 20;
  font-size: 14px;
  border-radius: var(--M, 12px);
  border: 1px solid var(--Gray-2, #D0D3DB);
  background: var(--White, #FFF);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}

.dropdown-item {
  --iconColor:var(--Gray-1, #9EA3B0);
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  padding: var(--S, 4px) var(--S, 4px) var(--S, 4px) var(--MM, 16px);
  height: 40px;
  transition: all 0.2s ease-in-out;
  position: relative;
}
.dropdown-item .icon {
  color: var(--iconColor);
  transition: all 0.2s ease-in-out;
}

.sort-reverse-btn {
  opacity: 0;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  transition: opacity 0.2s;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  padding: var(--MS, 8px);
  border-radius: var(--MS, 8px);
}

.dropdown-item:hover .sort-reverse-btn {
  opacity: 0.6;
}

.sort-reverse-btn.active {
  opacity: 1 !important;
  border-radius: var(--MS, 8px);
  background: var(--White, #FFF);
}

.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.is-active {
  background: #E6E9FE;
  outline: none;
  --iconColor:var(--Blue, #2E5BE2);
}

.search {
  position: relative;
  /* Recent */
  /* Tabs */
  /* Sections */
  /* Loading spinner (inline in Investigations section) */
  /* Headline after Enter */
}
.search .search__wrap {
  position: relative;
}
.search .search__clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search .search__input {
  display: flex;
  padding: var(--M, 12px) var(--MM, 16px);
  justify-content: space-between;
  align-items: center;
  flex: 1 0 0;
  align-self: stretch;
  border-radius: var(--MS, 8px);
  border: 1px solid var(--Gray-2, #D0D3DB);
  background: var(--White, #FFF);
  color: var(--Light-Black, #232C46);
}
.search .search__input ::placeholder {
  color: var(--Gray-1, #9EA3B0);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.14px;
}
.search .search__input:focus, .search .search__input:focus-visible {
  border: 1px solid var(--Blue, #2E5BE2);
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 85, 255, 0.08);
}
.search .search__panel {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  right: 50%;
  max-width: 70vw;
  width: 540px;
  height: 531px;
  padding: var(--MM, 4px) 0;
  border-radius: var(--M, 12px);
  border: 1px solid var(--Gray-2, #D0D3DB);
  background: var(--White, #FFF);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
}
.search .search__recent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  gap: var(--M, 12px);
}
.search .search__recentCol {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.search .search__recentTitle {
  padding-bottom: 12px;
  color: var(--Gray-1, #9EA3B0);
  font-family: Inter;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  width: 100%;
  border-bottom: 1px solid var(--Gray-2, #D0D3DB);
  padding-left: 24px;
  padding-top: 12px;
  margin-bottom: 8px;
  position: sticky;
  top: 0px;
  background: inherit;
  background: var(--White, #FFF);
}
.search .search__pill {
  display: flex;
  padding: var(--M, 12px) var(--L, 24px);
  align-items: center;
  gap: var(--MS, 8px);
  align-self: stretch;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.search .search__pillIcon {
  align-self: baseline;
  width: 24px;
  height: 24px;
  display: inline-block;
}
.search .search__empty {
  color: #9EA3B0;
  font-size: 12px;
  padding: 6px 24px;
}
.search .search__tabs {
  display: flex;
  gap: 8px;
  padding: 4px;
  border-bottom: 1px solid #EEF1F6;
  margin-bottom: 8px;
}
.search .search__tab {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}
.search .search__tab.is-active {
  background: #F5F7FB;
  border-color: #E6E8EF;
}
.search .search__tab.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}
.search .search__sections {
  display: grid;
  gap: 12px;
  max-height: 530px;
  overflow-y: auto;
}
.search .search__sectionTitle {
  font-weight: 600;
  margin-bottom: 6px;
  padding: 0 24px;
}
.search .search__list {
  display: grid;
  gap: 6px;
  max-height: 160px;
  overflow-y: auto;
}
.search .search__item {
  display: flex;
  padding: var(--M, 12px) var(--L, 24px);
  align-items: center;
  gap: var(--MS, 8px);
  align-self: stretch;
  background: transparent;
  cursor: pointer;
  border: none;
  outline: none;
}
.search .search__item:hover {
  background: #F9FAFD;
}
.search .search__itemText {
  text-align: left;
  color: var(--Light-Black, #232C46);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.16px;
  width: 100%;
  display: flex;
}
.search .search__email {
  color: var(--Gray-1, #9EA3B0);
  font-family: "Alegreya Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-left: auto;
}
.search .search__loadingInline {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  min-height: 80px;
}
.search .search__spinner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  color: var(--Gray-1, #9EA3B0);
  font-family: Inter;
  font-size: 14px;
  font-weight: 500;
}
.search .search__spinnerIcon {
  width: 20px;
  height: 20px;
  border: 3px solid #E0E3EC;
  border-top-color: #6B7280;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
  display: block;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.search .search__headline {
  padding: 8px 0 16px 0;
}
.search .search__headlineTitle {
  font-size: 18px;
  font-weight: 700;
}
.search .search__headlineSub {
  color: #6B7280;
}

.search__emptyBig {
  margin: auto;
}

.search__headline {
  margin-bottom: 35px;
}

.search__headlineTitle {
  color: var(--Light-Black, #232C46);
  text-align: center;
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.24px;
}

.search__headlineSub {
  color: var(--Gray-0, #737680);
  font-variant-numeric: lining-nums tabular-nums;
  font-family: "Alegreya Sans", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

.search__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  image-rendering: smooth;
}

.login {
  font-family: "Alegreya Sans", sans-serif;
  display: flex;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: #E8EAEC;
}
.login .wrap {
  width: 420px;
  max-width: 92vw;
  text-align: center;
}
.login .brand {
  margin-bottom: 90px;
  color: #282F46;
  text-align: center;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: -0.72px;
}
.login .card {
  text-align: left;
  display: inline-flex;
  padding: 32px 32px 8px 32px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border-radius: 12px;
  background: #FFF;
  box-shadow: 10px 10px 20px 0 rgba(0, 0, 0, 0.05);
  width: 380px;
}
.login .title {
  color: #88898D;
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.login .input {
  width: 100%;
  outline: none;
  color: #282F46;
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  display: flex;
  height: 41px;
  padding: var(--M, 12px) var(--MM, 16px);
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid #D4D8DB;
  background: #FFF;
}
.login .input:focus {
  box-shadow: 0 0 0 3px rgba(31, 85, 255, 0.08);
  border: 1px solid var(--Blue, #2E5BE2);
}
.login .btn {
  width: 100%;
  border: 0;
  cursor: pointer;
  opacity: 1;
  background: var(--Blue, #2E5BE2);
  box-shadow: 0 5px 15px 0 rgba(46, 101, 226, 0.3);
  color: #FFF;
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  display: flex;
  padding: var(--M, 12px) var(--MM, 16px);
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  margin-top: 8px;
}
.login .btn:disabled {
  cursor: not-allowed;
  border-radius: 8px;
  background: #E8EAEC;
  opacity: 1;
  box-shadow: none;
  color: #88898D;
}
.login .err {
  color: var(--Error, #BD3B1E);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.login .password-wrap {
  position: relative;
  width: 100%;
}
.login .password-wrap .input {
  padding-right: 44px; /* чтобы текст не наезжал на кнопку */
}
.login .eye-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  opacity: 0.6;
}
.login .eye-btn:hover {
  opacity: 1;
}

body {
  font-family: Inter, sans-serif;
  background: var(--Gray-4, #F1F3F8);
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.editorOverlay {
  backdrop-filter: blur(2px);
  display: flex;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.spinner {
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

/*# sourceMappingURL=main.css.map */
