@view-transition {
  navigation: auto;
}
* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.fancybox__dialog .fancybox__slide {
  padding-left: 0;
  padding-right: 0;
}

body {
  min-width: 320px;
  background: #f4f4f4;
  color: #403b50;
  font-family: "Mulish", "Inter", Arial, sans-serif;
}

.text-green {
  color: #34C759;
}

.text-red {
  color: #FF383C;
}

.mb-1 {
  margin-bottom: 10px;
}

.mt-1 {
  margin-top: 10px;
}

.ml-1 {
  margin-left: 10px;
}

.mr-1 {
  margin-right: 10px;
}

.pb-1 {
  padding-bottom: 10px;
}

.pt-1 {
  padding-top: 10px;
}

.pl-1 {
  padding-left: 10px;
}

.pr-1 {
  padding-right: 10px;
}

.mb-2 {
  margin-bottom: 20px;
}

.mt-2 {
  margin-top: 20px;
}

.ml-2 {
  margin-left: 20px;
}

.mr-2 {
  margin-right: 20px;
}

.pb-2 {
  padding-bottom: 20px;
}

.pt-2 {
  padding-top: 20px;
}

.pl-2 {
  padding-left: 20px;
}

.pr-2 {
  padding-right: 20px;
}

.mb-3 {
  margin-bottom: 30px;
}

.mt-3 {
  margin-top: 30px;
}

.ml-3 {
  margin-left: 30px;
}

.mr-3 {
  margin-right: 30px;
}

.pb-3 {
  padding-bottom: 30px;
}

.pt-3 {
  padding-top: 30px;
}

.pl-3 {
  padding-left: 30px;
}

.pr-3 {
  padding-right: 30px;
}

.ml-auto {
  margin-left: auto;
}

.mr-auto {
  margin-right: auto;
}

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  color: currentColor;
  fill: currentColor;
  stroke: none;
  vertical-align: middle;
}

.icon--search {
  width: 22px;
  height: 22px;
  color: #192a3e;
}

.icon--caret {
  width: 9px;
  height: 6px;
}

.icon--people {
  width: 22px;
  height: 22px;
}

.icon--reports {
  width: 17px;
  height: 20px;
}

.icon--edit {
  width: 17px;
  height: 17px;
}

.icon--logout {
  width: 20px;
  height: 17px;
}

.icon--arrow-left,
.icon--arrow-right {
  width: 8px;
  height: 8px;
}

.logo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 284px;
  color: #403b50;
  position: relative;
}
.logo .logo__text {
  color: #403b50;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.06;
  text-transform: uppercase;
}
.logo .icon {
  position: absolute;
  right: 0;
  top: -8px;
  width: 50px;
  height: 24px;
  margin-top: 1px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 22px;
  border-radius: 4px;
  background: #02b3c5;
  color: #ffffff;
  cursor: pointer;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 0 0 rgba(2, 179, 197, 0);
  transition: background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.button:hover {
  background: #00a6b6;
  box-shadow: 0 6px 14px rgba(2, 179, 197, 0.22);
}
.button:active {
  box-shadow: 0 2px 7px rgba(2, 179, 197, 0.18);
}
.button:focus-visible {
  outline: 2px solid rgba(2, 179, 197, 0.35);
  outline-offset: 2px;
}
.button.rounded {
  border-radius: 50px;
}

.button--secondary {
  width: 102px;
  background: #625d72;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
}
.button--secondary:hover {
  background: #555066;
  box-shadow: 0 6px 14px rgba(98, 93, 114, 0.2);
}

.form-field {
  position: relative;
  display: block;
  width: 100%;
}

.form-control {
  display: block;
  width: 100%;
  appearance: none;
  background: transparent;
  color: #403b50;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  outline: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}
.form-control::placeholder {
  color: rgba(64, 59, 80, 0.62);
  opacity: 1;
}
.form-control:hover, .form-control:focus {
  border-color: #02b3c5;
}
.form-control:focus-visible {
  box-shadow: 0 0 0 3px rgba(2, 179, 197, 0.14);
}
.form-control:disabled {
  color: #90a0b7;
  cursor: not-allowed;
  opacity: 0.7;
}

.form-control--line {
  min-height: 40px;
  padding: 10px 28px 4px 3px;
  border: 0;
  border-bottom: 1px solid #d9d9d9;
  border-radius: 0;
}

.form-control--auth {
  height: 40px;
  padding: 3px 6px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
}
.form-control--auth::placeholder {
  color: #998888;
}

.form-control--box {
  min-height: 113px;
  padding: 10px;
  resize: vertical;
  border: 1px solid #979797;
  border-radius: 5px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
}

.form-field--select {
  min-height: 40px;
}
.form-field--select:hover .form-field__value, .form-field--select:focus-within .form-field__value {
  border-color: #02b3c5;
}
.form-field--select.is-selected .form-field__value {
  color: #403b50;
}
.form-field--select .form-control--select {
  position: absolute;
  inset: 0;
  height: 100%;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.form-field--select .icon {
  position: absolute;
  right: 5px;
  top: 10px;
  width: 10px;
  height: 15px;
  color: #403b50;
  pointer-events: none;
}

.form-field--choice {
  min-height: 40px;
}
.form-field--choice.is-selected .choices__inner {
  color: #403b50;
}
.form-field--choice .form-field__value,
.form-field--choice > .icon {
  display: none;
}
.form-field--choice .form-control--select {
  position: static;
  height: auto;
  opacity: 1;
}
.form-field--choice .choices {
  --choices-arrow-margin-top-open: 0;
  --choices-arrow-margin-top: 0;
  margin: 0;
  font-family: "Mulish", "Inter", Arial, sans-serif;
}
.form-field--choice .choices::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 12px;
  width: 16px;
  height: 16px;
  background: url("./../img/selecct-drop.svg") center/16px 16px no-repeat;
  pointer-events: none;
  border: none;
}
.form-field--choice .choices.is-focused .choices__inner,
.form-field--choice .choices.is-open .choices__inner {
  border-color: #02b3c5;
  box-shadow: 0 0 0 3px rgba(2, 179, 197, 0.14);
}
.form-field--choice .choices__inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 40px;
  align-items: flex-start;
  padding: 4px 28px 4px 3px;
  border: 0;
  border-bottom: 1px solid #d9d9d9;
  border-radius: 0;
  background: transparent;
  color: #998888;
  font-size: 14px;
  line-height: 1.25;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-field--choice .choices__inner select {
  display: none !important;
}
.form-field--choice .choices__inner .choices__input {
  width: 100%;
}
.form-field--choice .choices__list--multiple {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
}
.form-field--choice .choices__list--multiple .choices__item {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 4px 8px;
  border: 0;
  border-radius: 12px;
  background: #02b3c5;
  color: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}
.form-field--choice .choices[data-type*=select-multiple] .choices__button {
  width: 12px;
  height: 12px;
  margin: 0 0 0 2px;
  padding: 0;
  border-left: 0;
  background-size: 8px;
  opacity: 1;
}
.form-field--choice .choices__input {
  min-width: 120px;
  margin: 0;
  padding: 5px 0 2px;
  background: transparent;
  color: #403b50;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 14px;
}
.form-field--choice .choices__input::placeholder {
  color: #979797;
  opacity: 1;
}
.form-field--choice .choices.is-open .choices__input {
  display: inline-block;
}
.form-field--choice.is-choice-limit-reached .choices__input {
  display: none;
}
.form-field--choice .choices__list--dropdown,
.form-field--choice .choices__list[aria-expanded] {
  z-index: 50;
  margin-top: 4px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(98, 93, 114, 0.12);
}
.form-field--choice .choices__list--dropdown .choices__item,
.form-field--choice .choices__list[aria-expanded] .choices__item {
  padding: 9px 12px;
  color: #403b50;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
}
.form-field--choice .choices__list--dropdown .choices__item--selectable.is-highlighted,
.form-field--choice .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background: #f9f9f9;
  color: #02b3c5;
}

.form-field__value {
  display: block;
  min-height: 40px;
  padding: 10px 28px 4px 3px;
  border-bottom: 1px solid #d9d9d9;
  color: #979797;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.form-checkbox {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  max-width: 100%;
  gap: 10px;
  color: #998888;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  cursor: pointer;
}

.form-checkbox__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.form-checkbox__input:checked + .form-checkbox__box {
  border: 0;
}
.form-checkbox__input:checked + .form-checkbox__box::after {
  opacity: 1;
}
.form-checkbox__input:focus-visible + .form-checkbox__box {
  box-shadow: 0 0 0 3px rgba(2, 179, 197, 0.22);
}

.form-checkbox__box {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  background: #ffffff;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-checkbox__box::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 0C0.895431 0 0 0.895431 0 2V14C0 15.1046 0.895431 16 2 16H14C15.1046 16 16 15.1046 16 14V2C16 0.895431 15.1046 0 14 0H2ZM12.0303 4.96967C12.3196 5.25897 12.3232 5.72582 12.041 6.01947L8.04876 11.0097C8.043 11.0169 8.03685 11.0238 8.03032 11.0303C7.73743 11.3232 7.26256 11.3232 6.96966 11.0303L4.32322 8.38388C4.03032 8.09099 4.03032 7.61612 4.32322 7.32322C4.61611 7.03033 5.09098 7.03033 5.38388 7.32322L7.4774 9.41674L10.9498 4.9921C10.9559 4.98424 10.9626 4.97674 10.9697 4.96967C11.2626 4.67678 11.7374 4.67678 12.0303 4.96967Z' fill='%2302B3C5'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 100%;
  height: 100%;
  opacity: 0;
  display: block;
  transition: opacity 0.18s ease;
}

.form-checkbox:hover .form-checkbox__box {
  border-color: #009aaa;
  box-shadow: 0 4px 10px rgba(2, 179, 197, 0.16);
}

.form-checkbox__text {
  min-width: 0;
}

.form-checkbox--auth {
  width: fit-content;
  line-height: 1.25;
}

.form-checkbox--audio {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  gap: 0;
}
.form-checkbox--audio .form-checkbox__box {
  flex-basis: 22px;
  width: 22px;
  height: 22px;
  border-color: #b2b2b2;
}
.form-checkbox--audio .form-checkbox__box::after {
  left: 6px;
  top: 3px;
  width: 7px;
  height: 12px;
}

.search {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 338px;
  height: 41px;
  padding: 0 20px;
  border: 1px solid #d9d9d9;
  border-radius: 20px;
  background: #ffffff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.search:hover {
  border-color: rgba(98, 93, 114, 0.32);
  background: #fbfbfb;
}
.search:focus-within {
  border-color: #02b3c5;
  box-shadow: 0 0 0 3px rgba(2, 179, 197, 0.14);
}

.search__field {
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  color: #192a3e;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  outline: 0;
  background-color: #fff;
}
.search__field::placeholder {
  color: #b5b5b5;
}

.filter-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  border: 1px solid #eff0f4;
  border-radius: 50px;
  background: #ffffff;
  color: #505470;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}
.filter-select:hover {
  border-color: rgba(98, 93, 114, 0.25);
  background: #fbfbfb;
  color: #403b50;
}
.filter-select .icon {
  position: absolute;
  right: 11px;
  top: 50%;
  pointer-events: none;
  transform: translateY(-50%);
}

.filter-select__control {
  min-height: 25px;
  padding: 5px 28px 5px 11px;
  border: 0;
  border-radius: 50px;
  appearance: none;
  background: transparent;
  color: #505470;
  cursor: pointer;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  outline: 0;
}
.filter-select__control:focus-visible {
  outline: 2px solid rgba(2, 179, 197, 0.35);
  outline-offset: 2px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 4px 10px;
  border-radius: 9px;
  background: #dbeafe;
  color: #1e40af;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-transform: capitalize;
  white-space: nowrap;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  color: #403b50;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.icon-button:hover {
  background: #02b3c5;
  color: #ffffff;
}
.icon-button:active {
  transform: translateY(0);
}
.icon-button:focus-visible {
  outline: 2px solid rgba(2, 179, 197, 0.35);
  outline-offset: 2px;
}

.patient-name,
.patient-email {
  display: block;
}

.patient-name {
  color: #192a3e;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.patient-email {
  margin-top: 1px;
  color: #90a0b7;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
}

.scroll-top-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 6.844px;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #02b3c5;
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out, visibility 0.18s ease-out;
}
.scroll-top-button.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top-button:hover {
  filter: brightness(0.94);
}
.scroll-top-button:active {
  transform: translateY(1px);
}
.scroll-top-button:focus-visible {
  outline: 2px solid #403b50;
  outline-offset: 3px;
}
.scroll-top-button .scroll-top-button__icon {
  width: 30.311px;
  height: 30.311px;
  flex: 0 0 auto;
}

.page-shell {
  --desktop-sidebar: 373px;
  --page-gutter-left: 30px;
  --page-gutter-right: 50px;
  position: relative;
  min-height: 100vh;
  background: #f4f4f4;
}

.sidebar ~ .topbar,
.sidebar ~ .page-shell__content {
  margin-left: var(--desktop-sidebar);
}

.page-shell.is-sidebar-animated .sidebar ~ .topbar,
.page-shell.is-sidebar-animated .sidebar ~ .page-shell__content {
  transition: margin-left 0.2s ease;
}
.page-shell.is-sidebar-animated .sidebar {
  transition: width 0.2s ease;
}
.page-shell.is-sidebar-animated .sidebar__collapse {
  transition: right 0.2s ease;
}
.page-shell.is-sidebar-animated .sidebar__collapse .icon {
  transition: transform 0.2s ease;
}

.page-shell__content {
  min-height: calc(100vh - 85px);
}

.patients-page {
  padding-top: 28px;
  padding-right: var(--page-gutter-right);
  padding-bottom: 40px;
  padding-left: var(--page-gutter-left);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: var(--desktop-sidebar);
  min-height: 100vh;
  border-right: 1px solid #d9d9d9;
  background: #ffffff;
}
.sidebar .logo {
  position: absolute;
  left: 45px;
  top: 20px;
}
.sidebar .collapsed__logo {
  display: none;
}

.sidebar__nav {
  position: absolute;
  top: 105px;
  left: 0;
  right: 0;
}

.sidebar__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 6px 40px;
  color: #403b50;
  font-size: 16px;
  font-weight: 400;
  overflow: hidden;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.sidebar__link.is-active {
  background: #f4f4f4;
  color: #02b3c5;
}
.sidebar__link.is-active::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(2, 179, 197, 0.34);
  transform: translate(50%, -50%);
}
.sidebar__link.is-active::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #02b3c5;
  transform: translate(50%, -50%);
}
.sidebar__link:hover {
  background: #f9f9f9;
  color: #02b3c5;
}

.sidebar__collapse {
  position: absolute;
  top: 50%;
  right: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 80px;
  border: 1px solid #d9d9d9;
  border-radius: 200px;
  background: #ffffff;
  color: #625d72;
  cursor: pointer;
}
.sidebar__collapse:hover {
  border-color: rgba(98, 93, 114, 0.28);
  color: #02b3c5;
  box-shadow: 0 4px 12px rgba(98, 93, 114, 0.12);
}
.sidebar__collapse:focus-visible {
  outline: 2px solid rgba(2, 179, 197, 0.35);
  outline-offset: 2px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 85px;
  padding: 20px var(--page-gutter-right) 20px var(--page-gutter-left);
  border-bottom: 1px solid #d9d9d9;
  background: #ffffff;
}

.topbar__mobile-logo {
  display: none;
}

.topbar__main {
  display: contents;
}

.topbar__heading {
  display: contents;
}

.topbar__back {
  display: none;
}

.topbar__title {
  margin: 0;
  color: #403b50;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.topbar__user {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 205px;
  color: #403b50;
}

.topbar__user-link {
  display: flex;
  align-items: center;
  gap: 7px;
}
.topbar__user-link:hover .topbar__user-text, .topbar__user-link:hover small {
  color: #02b3c5;
}

.topbar__avatar {
  width: 45px;
  min-width: 45px;
  height: 45px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.topbar__user-text {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  color: #403b50;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.2;
}
.topbar__user-text span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar__user-text small {
  color: #898989;
  font: inherit;
}

.logout-button {
  color: #403b50;
}
.logout-button:hover {
  color: #02b3c5;
  background: transparent;
}

.patients-content {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 20px;
}

.patients-toolbar {
  display: flex;
  align-items: flex-center;
  justify-content: space-between;
  gap: 24px;
}

.patients-toolbar__search {
  display: flex;
  align-items: center;
  gap: 20px;
}

.patients-toolbar__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;
}

.filters__label {
  color: #505470;
  font-size: 12px;
  font-weight: 600;
}

.patients-table-wrap {
  overflow: hidden;
}

.patients-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.patients-table th {
  height: 51px;
  padding: 18px 13px;
  background: #d9d9d9;
  color: #000000;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}
.patients-table th.inverted svg {
  transform: scaleY(-1);
}
.patients-table th:first-child {
  border-top-left-radius: 5px;
}
.patients-table th:last-child {
  width: 54px;
  border-top-right-radius: 5px;
}
.patients-table td {
  height: 65px;
  padding: 13px;
  border-bottom: 1px solid #ebe8ee;
  color: #192a3e;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
}
.patients-table td:first-child {
  padding-left: 13px;
}
.patients-table th:nth-child(1),
.patients-table td:nth-child(1) {
  width: 39%;
}
.patients-table th:nth-child(2),
.patients-table td:nth-child(2) {
  width: 20%;
}
.patients-table th:nth-child(3),
.patients-table td:nth-child(3) {
  width: 31%;
}

.patients-table__row.is-muted {
  background: #f9f9f9;
}

.patients-table__row {
  transition: background-color 0.18s ease;
}
.patients-table__row:hover {
  background: #f1fbfc;
}

.patients-table__cell--action {
  text-align: right;
}

.patients-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 117px;
  border-top: 1px solid #d9d9d9;
  padding-top: 12px;
}

.patients-footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #403b50;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  flex: 1;
  gap: 20px;
}

.per-page {
  display: flex;
  align-items: center;
  gap: 37px;
  margin-left: auto;
}

.per-page__control {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 1px solid #ebe8ee;
  border-radius: 3px;
  background: #ffffff;
  color: #403b50;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.per-page__control:hover {
  border-color: rgba(98, 93, 114, 0.35);
  background: #fbfbfb;
}
.per-page__control .icon {
  position: absolute;
  right: 10px;
  top: 50%;
  pointer-events: none;
  transform: translateY(-50%);
}

.per-page__select {
  min-width: 56px;
  min-height: 30px;
  padding: 4px 28px 4px 10px;
  border: 0;
  border-radius: 3px;
  appearance: none;
  background: transparent;
  color: #403b50;
  cursor: pointer;
  font-family: "Jost", "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  outline: 0;
}
.per-page__select:focus-visible {
  outline: 2px solid rgba(2, 179, 197, 0.35);
  outline-offset: 2px;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;
  color: #403b50;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
}

.pager__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  background: transparent;
  color: #403b50;
  font-family: "Jost", "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.pager__button:hover:not(:disabled):not(.is-active) {
  border-color: rgba(98, 93, 114, 0.35);
  background: #ffffff;
  color: #02b3c5;
}
.pager__button:focus-visible {
  outline: 2px solid rgba(2, 179, 197, 0.35);
  outline-offset: 2px;
}
.pager__button.is-active {
  border-color: #403b50;
  background: #403b50;
  color: #ffffff;
}
.pager__button:disabled {
  color: #d9d9d9;
  cursor: default;
}

.mobile-nav {
  display: none;
}

.fancybox__container {
  --fancybox-bg: rgba(39, 36, 50, .38);
}

.fancybox__content {
  padding: 0;
  background: transparent;
}

.patient-modal {
  width: min(1155px, 100vw - 48px);
  border-radius: 6px;
  background: #ffffff;
  color: #403b50;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  padding: 0;
}

.patient-modal__head {
  min-height: 104px;
  padding: 36px 67px 20px;
  background-image: url("./../img/bg_form_head.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 6px 6px 0 0;
}

.patient-modal__head h2 {
  margin: 0;
  color: #403b50;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
}

.patient-modal__form {
  display: grid;
  grid-template-columns: minmax(0, 452px) minmax(0, 452px);
  justify-content: space-between;
  gap: 70px;
  padding: 54px 67px 46px;
}

.patient-modal__column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 20px;
}

.patient-modal__name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.patient-modal__section-title {
  min-height: 28px;
  margin: 0 0 11px;
  color: #625d72;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.patient-modal__agree {
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
}
.patient-modal__agree a {
  color: #02b3c5;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.patient-modal__agree a:hover {
  color: #009aaa;
}

.patient-modal__submit {
  align-self: flex-start;
  min-width: 149px;
  min-height: 44px;
  margin-top: -1px;
  font-size: 16px;
}

html.is-sidebar-collapsed .page-shell {
  --desktop-sidebar: 93px;
}
html.is-sidebar-collapsed .page-shell .sidebar {
  width: 93px;
}
html.is-sidebar-collapsed .page-shell .sidebar .logo {
  left: 50%;
  top: auto;
  bottom: 142px;
  transform: translateX(-50%) rotate(-90deg);
}
html.is-sidebar-collapsed .page-shell .sidebar .collapsed__logo {
  display: flex;
  width: 100%;
  height: 24px;
  margin-top: 24px;
  align-items: center;
  justify-content: center;
}
html.is-sidebar-collapsed .page-shell .sidebar .collapsed__logo .icon--logo {
  width: 50px;
  height: 24px;
}
html.is-sidebar-collapsed .page-shell .sidebar .logo__text {
  width: 284px;
}
html.is-sidebar-collapsed .page-shell .sidebar__link {
  justify-content: center;
  padding-inline: 10px;
}
html.is-sidebar-collapsed .page-shell .sidebar__link span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
html.is-sidebar-collapsed .page-shell .sidebar__link.is-active {
  background: #f9f9f9;
}
html.is-sidebar-collapsed .page-shell .sidebar__link.is-active::before, html.is-sidebar-collapsed .page-shell .sidebar__link.is-active::after {
  display: none;
}
html.is-sidebar-collapsed .page-shell .sidebar__collapse .icon {
  transform: rotate(180deg);
}
.test-page {
  --page-gutter-left: 37px;
  --page-gutter-right: 37px;
  padding: 20px 37px 60px 37px;
  color: #403b50;
}

.child-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  margin-top: 20px;
  padding: 17px 30px;
  border-bottom: 1px solid #d9d9d9;
  border-radius: 50px;
  background: #ffffff;
  color: #979797;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

.child-summary__main {
  display: contents;
}

.child-summary__person {
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
}
.child-summary__person:hover strong {
  text-decoration: none;
  color: rgba(2, 179, 197, 0.8);
}
.child-summary__person strong {
  color: #02b3c5;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.child-summary__parents {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: right;
}
.child-summary__parents strong {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #403b50;
  font-weight: 400;
}

.child-summary__more {
  display: none;
  width: 32px;
  height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #403b50;
  cursor: pointer;
}

.child-summary__dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.child-summary-profile-modal {
  width: min(318px, 100vw - 32px);
  padding: 0;
  border-radius: 5px;
  background: transparent;
}
.child-summary-profile-modal .patient-profile-card {
  display: flex;
  width: 100%;
  min-height: 0;
  border-right: 0;
  border-radius: 5px;
  overflow: hidden;
}

.test-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 455px;
  align-items: start;
  gap: 40px;
}

.test-instructions {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 30px;
}

.test-text-block {
  color: #403b50;
}
.test-text-block h2 {
  margin: 0 0 10px;
  color: #f07474;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}
.test-text-block p,
.test-text-block li {
  color: #403b50;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  text-align: justify;
}
.test-text-block p {
  margin: 0;
}
.test-text-block p + p {
  margin-top: 11px;
}
.test-text-block strong {
  font-weight: 700;
  text-transform: uppercase;
}
.test-text-block ol,
.test-text-block ul {
  margin: 0;
  padding-left: 21px;
}

.test-score-card {
  display: flex;
  width: 455px;
  flex-direction: column;
  align-items: stretch;
  gap: 30px;
  padding: 30px 26px;
  border-radius: 5px;
  background: #ffffff;
}

.test-score-card--compact {
  align-self: start;
}

.sample-preview {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: #403b50;
}

.sample-preview--link {
  transition: color 0.18s ease, transform 0.18s ease;
}
.sample-preview--link:hover {
  color: #02b3c5;
}
.sample-preview--link:focus-visible {
  outline: 2px solid rgba(2, 179, 197, 0.35);
  outline-offset: 6px;
}

.sample-preview__label {
  margin: 0;
  color: #979797;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}
.sample-preview__label strong {
  font-weight: 700;
}

.sample-preview__images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.sample-preview__image {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.sample-preview__image--fence {
  width: 370px;
  height: 120px;
  color: currentColor;
}

.sample-preview__image--pose {
  width: 193px;
  height: 99px;
}

.sample-preview__image--scene {
  width: 241px;
  height: 168px;
}

.sample-preview--head {
  gap: 0;
}

.sample-preview__image--head {
  width: 352px;
  height: 380px;
  object-fit: cover;
}

.test-gallery {
  width: 616px;
  max-width: 100%;
}

.test-swiper {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 615/403;
  overflow: hidden;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.25);
}

.test-swiper__viewport {
  position: relative;
  height: 100%;
}

.test-swiper__slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.test-swiper__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.test-swiper__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.test-swiper__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #403b50;
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.18s ease, transform 0.18s ease;
}
.test-swiper__arrow:hover {
  background: #02b3c5;
  transform: translateY(-50%) scale(1.04);
}
.test-swiper__arrow:focus-visible {
  outline: 2px solid rgba(2, 179, 197, 0.35);
  outline-offset: 3px;
}
.test-swiper__arrow .icon {
  width: 14px;
  height: 14px;
}

.test-swiper__arrow--prev {
  left: 8px;
}

.test-swiper__arrow--next {
  right: 8px;
}

.test-swiper__pagination {
  position: absolute;
  z-index: 2;
  bottom: 11px;
  left: 50%;
  display: flex;
  gap: 4px;
  align-items: center;
  transform: translateX(-50%);
}

.test-swiper__dot {
  width: 5px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d9d9d9;
  cursor: pointer;
}
.test-swiper__dot.is-active {
  background: #02b3c5;
}

.test-text-block h2 span {
  font-weight: 400;
}

.audio-tracks {
  display: grid;
  width: 680px;
  max-width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 58px;
}

.audio-track {
  display: flex;
  align-items: center;
  gap: 18px;
  --audio-progress: 0%;
}
.audio-track.is-muted .audio-track__play,
.audio-track.is-muted .audio-track__waveform {
  opacity: 0.5;
}
.audio-track.is-playing .audio-track__waveform {
  background: #bebdc3;
}

.audio-track__number {
  min-width: 18px;
  color: #403b50;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  text-align: right;
}

.audio-track__play {
  position: relative;
  display: inline-flex;
  width: 57px;
  height: 57px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #403b50;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.audio-track__play:hover {
  background: #02b3c5;
  transform: scale(1.03);
}
.audio-track__play:focus-visible {
  outline: 2px solid rgba(2, 179, 197, 0.35);
  outline-offset: 3px;
}
.audio-track__play.is-playing .audio-track__play-icon {
  width: 14px;
  height: 18px;
  border: 0;
  background: linear-gradient(90deg, #ffffff 0 35%, transparent 35% 65%, #ffffff 65% 100%);
}

.audio-track__play-icon {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #ffffff;
}

.audio-track__waveform {
  position: relative;
  display: block;
  width: 150px;
  height: 55px;
  overflow: hidden;
  background: #403b50;
  mask: url("./../img/test/test-7-waveform.svg") center/100% 100% no-repeat;
  -webkit-mask: url("./../img/test/test-7-waveform.svg") center/100% 100% no-repeat;
}

.audio-track__waveform-progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--audio-progress);
  background: #403b50;
}

.audio-track__check {
  width: 22px;
  height: 22px;
}

.memory-test {
  display: flex;
  width: min(971px, 100%);
  flex-direction: column;
  gap: 25px;
  color: #403b50;
}

.memory-test__title {
  margin: 0;
  color: #403b50;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.memory-test__words {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(5, auto);
  gap: 20px;
}

.memory-word {
  align-items: center;
  min-height: 22px;
  color: #403b50;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.form-checkbox--memory {
  gap: 11px;
}
.form-checkbox--memory .form-checkbox__box {
  flex-basis: 22px;
  width: 22px;
  height: 22px;
  margin-top: 0;
  border-color: #b2b2b2;
  border-radius: 3px;
}

.memory-word__text {
  color: #403b50;
}

.memory-paraphasias {
  display: flex;
  width: min(547px, 100%);
  flex-direction: column;
  gap: 12px;
  color: #979797;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
}

.memory-progress {
  display: flex;
  width: min(547px, 100%);
  flex-direction: column;
  gap: 7px;
}

.memory-progress__count {
  color: #979797;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
  text-align: center;
}

.memory-progress__bar {
  position: relative;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #d9d9d9;
}

.memory-progress__value {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #02b3c5;
  transition: width 0.18s ease;
}

.test-score-card__divider {
  width: 100%;
  height: 1px;
  background: #ffbf53;
}

.test-assessment {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.test-assessment__label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #979797;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
}

.score-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #403b50;
  color: #f9f9f9;
  cursor: pointer;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}
.score-help-button:hover {
  background: #02b3c5;
}
.score-help-button:focus-visible {
  outline: 2px solid rgba(2, 179, 197, 0.35);
  outline-offset: 2px;
}

.score-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.score-option {
  position: relative;
  cursor: pointer;
}

.score-option__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.score-option__input:focus-visible + .score-pill {
  outline: 2px solid rgba(2, 179, 197, 0.35);
  outline-offset: 3px;
}
.score-option__input:checked + .score-pill {
  box-shadow: 0 0 0 3px rgba(64, 59, 80, 0.12), 0 1.259px 2.519px rgba(0, 0, 0, 0.25);
}

.score-options.is-selected .score-pill {
  background: #979797;
  color: #ffffff;
}
.score-options.is-selected .score-option__input:checked + .score-pill {
  background: var(--score-color);
  color: var(--score-text, #ffffff);
}

.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  background: var(--score-color);
  color: var(--score-text, #ffffff);
  box-shadow: 0 1.259px 2.519px rgba(0, 0, 0, 0.25);
}

.score-pill--small {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  font-size: 13px;
}

.score-pill--green {
  --score-color: #5bbb55;
}

.score-pill--lime {
  --score-color: #abcf3a;
}

.score-pill--yellow {
  --score-color: #dce220;
}

.score-pill--gold {
  --score-color: #fee102;
  --score-text: #403b50;
}

.score-pill--orange {
  --score-color: #fc9e21;
}

.score-pill--red {
  --score-color: #ee5a24;
}

.test-comment {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #979797;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
}
.test-comment textarea {
  font-family: "Inter", Arial, sans-serif;
}

.test-score-card__submit {
  width: 100%;
  min-height: 45px;
  border-radius: 5px;
  font-size: 16px;
}

.fancybox__content {
  padding: 0;
  background: transparent;
}

.score-help {
  width: min(934px, 100vw - 48px);
  padding: 41px 37px;
  border-radius: 5px;
  background: #ffffff;
}

.score-help__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 65px;
  padding: 10px 16px;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--score-bg) 0%, rgba(255, 255, 255, 0) 100%);
}
.score-help__item + .score-help__item {
  margin-top: 10px;
}
.score-help__item p {
  margin: 0;
  color: #403b50;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.15;
  text-align: justify;
}

.score-help__item--green {
  --score-bg: rgba(91, 187, 85, .2);
}

.score-help__item--lime {
  --score-bg: rgba(171, 207, 58, .2);
}

.score-help__item--yellow {
  --score-bg: rgba(220, 226, 32, .2);
}

.score-help__item--gold {
  --score-bg: rgba(254, 225, 2, .2);
}

.score-help__item--orange {
  --score-bg: rgba(252, 158, 33, .2);
}

.score-help__item--red {
  --score-bg: rgba(238, 90, 36, .2);
}

.sample-modal {
  padding: 48px;
  border-radius: 5px;
  background: #ffffff;
}

.sample-modal > .sample-preview--modal {
  width: 100%;
}

.sample-modal .sample-preview--modal .sample-preview__image {
  display: block;
  width: 100%;
  color: #403b50;
}

.sample-modal--fence {
  width: min(1120px, 100vw - 48px);
}
.sample-modal--fence .sample-preview__image--fence {
  height: auto;
}

.sample-modal--poses {
  width: min(620px, 100vw - 48px);
}
.sample-modal--poses .sample-preview--poses {
  gap: 24px;
}
.sample-modal--poses .sample-preview__label {
  line-height: 1.2;
}
.sample-modal--poses .sample-preview__images {
  gap: 24px;
}
.sample-modal--poses .sample-preview__image--pose {
  width: min(360px, 80vw);
  height: auto;
}

.sample-modal--scene {
  width: min(760px, 100vw - 48px);
}
.sample-modal--scene .sample-preview--scene {
  gap: 24px;
}
.sample-modal--scene .sample-preview__label {
  line-height: 1.2;
}
.sample-modal--scene .sample-preview__image--scene {
  width: min(620px, 82vw);
  height: auto;
}
.statistics-page {
  --page-gutter-left: 20px;
  --page-gutter-right: 37px;
  padding: 20px 37px 60px 20px;
  color: #403b50;
}

.statistics-panel {
  width: 100%;
  overflow: hidden;
  border-radius: 5px;
}

.statistics-table-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.statistics-table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #979797 #f5f5f5;
}

.statistics-table-sticky-shadow {
  display: none;
}

.statistics-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #000;
  font-family: "Inter", Arial, sans-serif;
}
.statistics-table thead {
  background-image: url("./../img/bg_table_stat_head.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.statistics-table th,
.statistics-table td {
  border-bottom: 1px solid #ebe8ee;
  text-align: center;
  vertical-align: middle;
}
.statistics-table th {
  height: 70px;
  padding: 18px 16px;
  color: #403b50;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.statistics-table th:first-child {
  text-align: left;
}
.statistics-table td {
  height: 54px;
  padding: 14px 16px;
  background: #ffffff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
}
.statistics-table td:first-child {
  text-align: left;
}
.statistics-table th:first-child,
.statistics-table td:first-child {
  width: 370px;
  padding-left: 24px;
}
.statistics-table .score-pill {
  margin: 0 auto;
}
.profile-page {
  color: #403b50;
  --page-gutter-left: 20px;
  --page-gutter-right: 50px;
  padding: 20px 50px 60px 20px;
  color: #403b50;
}

.profile-topbar {
  padding-left: 20px;
}

.profile-topbar__summary {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #403b50;
}

.profile-topbar__summary-icon {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 36px;
}

.profile-topbar__summary-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
}
.profile-topbar__summary-text span {
  color: #f07474;
  font-weight: 400;
}
.profile-topbar__summary-text strong {
  color: #000;
  font-weight: 400;
}

.profile-card {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
  padding: 30px;
  border-radius: 5px;
  background: #ffffff;
}

.profile-overview {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.profile-avatar {
  position: relative;
  display: inline-grid;
  width: 134px;
  height: 134px;
  flex: 0 0 134px;
  cursor: pointer;
}

.profile-avatar__input {
  display: none;
}

.profile-avatar__image {
  display: block;
  width: 134px;
  height: 134px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-avatar__edit {
  position: absolute;
  right: 1px;
  bottom: 14px;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f07474;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  transition: background-color 0.18s ease;
}
.profile-avatar__edit .icon {
  width: 16px;
  height: 16px;
}

.profile-avatar:hover .profile-avatar__edit {
  background: #02b3c5;
}

.profile-fields {
  display: flex;
  flex: 1 1 auto;
  justify-content: space-between;
  gap: 64px;
}

.profile-fields__identity {
  display: flex;
  width: min(540px, 100%);
  flex-direction: column;
  gap: 20px;
}

.profile-fields__contacts {
  display: flex;
  width: min(500px, 100%);
  flex-direction: column;
  gap: 20px;
}

.profile-field {
  position: relative;
  display: block;
  width: 100%;
}

.profile-field--date {
  width: 222px;
}
.profile-field--date .form-control--line {
  padding-right: 34px;
}

.profile-password {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 20px;
}

.profile-password__title {
  margin: 0;
  color: #403b50;
  font-family: "Jost", "Inter", Arial, sans-serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.2;
}

.profile-password__fields {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.profile-field--password {
  flex: 1 1 0;
}
.profile-field--password .form-control--line {
  padding-right: 32px;
}

.profile-password__eye {
  position: absolute;
  right: 3px;
  top: 50%;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #625d72;
  cursor: pointer;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
}
.profile-password__eye.is-active {
  color: #02b3c5;
}

.profile-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.profile-actions__save {
  min-width: 102px;
  min-height: 36px;
  background: #f07474;
}
.profile-actions__save:hover {
  background: #e86565;
  box-shadow: 0 6px 14px rgba(240, 116, 116, 0.22);
}

.profile-save-status {
  display: inline-flex;
  width: 178px;
  height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px 5px;
  border-radius: 5px;
  background: #dcfce7;
  color: #166534;
  font-family: "Jost", "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.profile-save-status::before {
  content: "";
  width: 11px;
  height: 7px;
  flex: 0 0 auto;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
}
.patient-card-page {
  color: #403b50;
  --page-gutter-left: 20px;
  --page-gutter-right: 37px;
  padding: 20px 37px 60px 20px;
}

.patient-card-content {
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  align-items: start;
  margin-top: 20px;
  border-radius: 5px;
  overflow: hidden;
}

.patient-profile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px 26px;
  border-right: 1px solid #d9d9d9;
  border-radius: 5px 0 0 5px;
  background: #fafafa;
}
.patient-profile-card::before {
  content: "";
  position: absolute;
  left: -36px;
  top: -38px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(2, 179, 197, 0.34);
}
.patient-profile-card::after {
  content: "";
  position: absolute;
  left: -16px;
  top: -18px;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: #02b3c5;
}

.patient-profile-card__edit {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #403b50;
  cursor: pointer;
}
.patient-profile-card__edit:hover {
  color: #02b3c5;
}

.patient-profile-card__identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.patient-profile-card__identity strong {
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
}
.patient-profile-card__identity span {
  color: #979797;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
}

.patient-profile-card__section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 30px;
  border-top: 1px solid #ffbf53;
}
.patient-profile-card__section.first {
  padding-top: 0;
  border-top: 0;
  text-align: center;
}

.patient-profile-card__label {
  color: #979797;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

.patient-parent {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.15;
}
.patient-parent a:hover {
  color: #02b3c5;
}

.patient-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.15;
}
.patient-info-list p {
  margin: 0;
}

.patient-card-main {
  min-width: 0;
}

.patient-mobile-summary {
  display: none;
}

.patient-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 20px;
}

.patient-card-links__item {
  min-height: 36px;
  font-size: 14px;
}

.patient-card-links__item--results {
  background: linear-gradient(90deg, #6a3c7c 0%, #f07474 100%);
}

.patient-tests {
  background: #ffffff;
}

.patient-tests__head,
.patient-tests__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px 88px 86px;
  align-items: center;
  gap: 20px;
}

.patient-tests__head {
  min-height: 60px;
  padding: 16px 20px;
  background-image: url("./../img/bg_table_stat_head.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #403b50;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
}
.patient-tests__head *:not(:first-child) {
  text-align: center;
}

.patient-tests__row {
  position: relative;
  min-height: 70px;
  padding: 20px;
  border-bottom: 1px solid #d9d9d9;
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  color: #000;
  transition: background-color 0.18s ease;
}
.patient-tests__row.is-expandable {
  cursor: pointer;
}
.patient-tests__row.is-expandable:hover {
  background: rgba(2, 179, 197, 0.1);
}
.patient-tests__row.has-result {
  background: #f9f9f9;
}
.patient-tests__row.has-result .patient-test-result {
  display: flex;
}

.patient-tests__name {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.patient-tests__passed {
  color: #403b50;
  text-align: center;
}
.patient-tests__passed span {
  display: none;
}
.patient-tests__passed strong {
  font-weight: 400;
}

.patient-tests__score {
  display: flex;
  justify-content: center;
}

.patient-tests__start {
  min-height: 32px;
  padding-inline: 18px;
  background: #979797;
  font-size: 14px;
}
.patient-tests__start:hover {
  background: #868686;
}

.patient-test-result {
  display: none;
  max-width: 620px;
  flex-direction: column;
  gap: 8px;
  padding-left: 10px;
  color: #625d72;
  font-size: 14px;
}

.patient-test-result__line {
  width: 77px;
  height: 2px;
  background: #979797;
}

.patient-test-result__date {
  color: #625d72;
}

.patient-test-result__note {
  display: flex;
  align-items: center;
  gap: 10px;
}
.patient-test-result__note p {
  margin: 0;
}

.patient-test-result__mark {
  display: inline-flex;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  align-items: flex-end;
  justify-content: center;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  font-weight: 700;
  position: relative;
}
.patient-test-result__mark .icon--res_mark {
  font-size: 26px;
  position: absolute;
  bottom: -3px;
  left: 0;
  z-index: -1;
}

.patient-test-result--gold .patient-test-result__mark {
  color: #000;
}
.patient-test-result--gold .patient-test-result__mark .icon--res_mark {
  color: #fee102;
}

.patient-test-result--red .patient-test-result__mark {
  color: #fff;
}
.patient-test-result--red .patient-test-result__mark .icon--res_mark {
  color: #ee5a24;
}
.results-page {
  color: #403b50;
  --page-gutter-left: 20px;
  --page-gutter-right: 50px;
  min-height: 100vh;
  padding: 20px 50px 60px 20px;
}

.results-mobile-title,
.results-mobile-summary {
  display: none;
}

.results-content {
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  align-items: start;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 5px;
  gap: 20px;
}

.results-main {
  min-width: 0;
}

.results-print {
  min-height: 32px;
  margin-bottom: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, #6a3c7c 0%, #f07474 100%);
  font-size: 14px;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.results-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-bottom: 30px;
  background: #ffffff;
  border-radius: 5px;
}

.results-card__head {
  display: flex;
  min-height: 77px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 30px;
  border-radius: 5px;
  background: #f9f9f9;
}

.results-card__title-block {
  min-width: 0;
}

.results-card__title {
  margin: 0 0 2px;
  color: #000;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
}

.results-card__description {
  margin: 0;
  color: #000;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
}

.results-card__score {
  display: inline-flex;
  min-height: 27px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 19px;
  background: #ffbf53;
  color: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0.963px 1.926px rgba(0, 0, 0, 0.25);
}

.results-card__body {
  display: grid;
  grid-template-columns: minmax(200px, 406px) minmax(300px, 1fr);
  align-items: start;
  gap: 30px;
  padding: 0 30px;
}

.results-card__text {
  display: flex;
  flex-direction: column;
  gap: 19px;
  padding-top: 42px;
  color: #000;
}

.results-card__section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.results-card__section h3 {
  margin: 0;
  color: #000;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}
.results-card__section p {
  margin: 0;
  color: #000;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

.results-scale {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-top: 30px;
}

.results-scale__labels {
  position: relative;
  height: 42px;
  color: #403b50;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
}

.results-scale__label {
  position: absolute;
  transform: translateX(-50%);
  rotate: -90deg;
  transform-origin: left;
}

.results-scale__label--min {
  left: var(--min-position);
}

.results-scale__label--threshold {
  left: var(--threshold-position);
}

.results-scale__label--max {
  left: var(--max-position);
}

.results-scale__label--norm-end {
  left: var(--norm-end-position);
}

.results-scale__label--extra {
  left: var(--extra-position);
}

.results-scale__bar {
  position: relative;
  height: 155px;
  overflow: visible;
}

.results-scale--extended {
  width: 100%;
}

.results-scale__zone {
  position: absolute;
  top: 0;
  bottom: 0;
}

.results-scale__zone--low {
  left: 0;
  width: var(--threshold-position);
  background: linear-gradient(180deg, #fffadd 0%, #f5e9a1 100%);
}

.results-scale__zone--high {
  left: var(--threshold-position);
  width: calc(var(--norm-end-position) - var(--threshold-position));
  background: linear-gradient(180deg, rgba(194, 255, 221, 0.85) 0%, rgba(131, 205, 153, 0.85) 100%);
}

.results-scale__zone--extra {
  left: var(--norm-end-position);
  width: calc(100% - var(--norm-end-position));
  background: linear-gradient(180deg, rgba(198, 216, 255, 0.85) 0%, rgba(85, 121, 199, 0.85) 100%);
}

.results-scale__line {
  position: absolute;
  top: -12px;
  bottom: 0;
  width: 1px;
  background: #b2b2b2;
}

.results-scale__line--min {
  left: var(--min-position);
}

.results-scale__line--threshold {
  left: var(--threshold-position);
}

.results-scale__line--norm-end {
  left: var(--norm-end-position);
}

.results-scale__line--max {
  left: var(--max-position);
}

.results-scale__line--extra {
  left: var(--extra-position);
}

.results-scale__range {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--range-start);
  display: flex;
  width: var(--range-width);
  align-items: center;
  justify-content: center;
  border-right: 1px solid #403b50;
  border-left: 1px solid #403b50;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, #403b50 50%, rgba(255, 255, 255, 0) 100%);
  color: #ffffff;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
}
.results-scale__range span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px;
  border-radius: 5px;
  background: linear-gradient(117deg, #403b50 19.11%, #6a5f8e 111.88%);
}
.auth-page {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 20px;
  background: #ffffff;
}

.auth-page__bg {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 2200px;
  height: 1466px;
  max-width: none;
  object-fit: cover;
  opacity: 0.6;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.auth-page__mobile-logo {
  display: none;
}

.auth-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 728px);
  padding: 70px;
  gap: 70px;
  overflow: hidden;
  border-radius: 10px;
  background: #ffffff;
}

.auth-card__desktop-logo {
  width: 100%;
}

.auth-card__mobile-title,
.auth-card__ghost-logo {
  display: none;
}

.auth-logo {
  position: relative;
  width: 100%;
  min-height: 96px;
  color: #403b50;
}

.auth-logo__text {
  display: block;
  max-width: 100%;
  font-family: "Mulish", "Inter", Arial, sans-serif;
  font-size: 33.78px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0;
  text-transform: uppercase;
}

.auth-logo .icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 82px;
  height: 40px;
  color: #02b3c5;
}

.auth-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 30px;
}

.auth-form__actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
}

.auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 45px;
  padding: 12px 24px;
  border: 0;
  border-radius: 5px;
  background: #02b3c5;
  color: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.auth-button:hover,
.auth-button:focus-visible {
  background: #009fb0;
}

.auth-button__text-mobile {
  display: none;
}

.auth-link {
  color: #998888;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  text-decoration: none;
}

.auth-link:hover,
.auth-link:focus-visible,
.form-checkbox__text a:hover,
.form-checkbox__text a:focus-visible {
  color: #02b3c5;
  text-decoration: none;
}

.auth-link--forgot {
  align-self: flex-end;
}

.auth-link--accent {
  color: #02b3c5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-form__note {
  margin: 0;
  color: #998888;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
}

.auth-return {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  color: #998888;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  text-decoration: none;
}

.auth-return:hover,
.auth-return:focus-visible {
  color: #02b3c5;
}
.auth-return:hover .auth-return__accent,
.auth-return:focus-visible .auth-return__accent {
  text-decoration: none;
}

.auth-return__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
}

.auth-return__accent {
  color: #02b3c5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-form--register .form-checkbox {
  align-items: center;
  width: 100%;
}

.auth-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #403b50;
  cursor: pointer;
  font-size: 16px;
}

@media (width <= 1300px) {
  .logo {
    width: 50px;
    height: 24px;
  }
  .logo .logo__text {
    display: none;
  }
  .logo .icon {
    position: static;
  }
  .search {
    width: 100%;
  }
  .page-shell {
    --desktop-sidebar: 200px;
  }
  .patients-page {
    --page-gutter-right: 20px;
    padding-right: 20px;
  }
  .sidebar .logo {
    left: 75px;
  }
  .sidebar__link {
    padding: 6px 20px;
  }
  .topbar {
    padding: 20px;
  }
  .topbar__title {
    font-size: 24px;
  }
  .patients-toolbar {
    flex-direction: column;
  }
  .patients-toolbar__actions {
    width: 100%;
  }
  .patients-footer {
    gap: 50px;
    flex-direction: column;
  }
  .patients-footer__meta {
    justify-content: space-between;
    width: 100%;
  }
  .per-page {
    gap: 20px;
  }
  html.is-sidebar-collapsed .page-shell .sidebar .logo {
    transform: none;
    left: 75px;
    top: 20px;
    position: static;
    margin: 20px auto 0;
  }
  html.is-sidebar-collapsed .page-shell .sidebar .collapsed__logo {
    display: none;
  }
  .test-page {
    --page-gutter-left: 24px;
    --page-gutter-right: 20px;
    padding-right: 20px;
    padding-left: 24px;
  }
  .test-layout {
    grid-template-columns: 1fr 350px;
  }
  .test-score-card {
    width: 350px;
  }
  .statistics-page {
    --page-gutter-right: 20px;
    padding-right: 20px;
  }
  .profile-page {
    --page-gutter-right: 20px;
    padding-right: 20px;
  }
  .profile-overview {
    gap: 28px;
    flex-direction: column;
  }
  .profile-fields {
    gap: 32px;
    width: 100%;
  }
  .profile-password__fields {
    gap: 24px;
  }
  .profile-fields__identity {
    width: 100%;
  }
  .profile-fields__contacts {
    width: 100%;
  }
  .patient-card-page {
    --page-gutter-right: 20px;
    padding-right: 20px;
  }
  .patient-card-content {
    grid-template-columns: 240px 1fr;
  }
  .patient-tests__head,
  .patient-tests__row {
    grid-template-columns: minmax(0, 1fr) 90px 40px;
    gap: 10px;
  }
  .patient-tests__row {
    font-size: 14px;
    padding: 20px 10px;
  }
  .patient-tests__start {
    width: fit-content;
    grid-column: 1/-1;
    margin-left: auto;
  }
  .results-page {
    --page-gutter-right: 20px;
    padding-right: 20px;
  }
  .results-content {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .results-card__body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .results-card__text {
    padding-top: 0;
  }
}

@media (width <= 1023px) {
  .test-layout {
    grid-template-columns: 1fr;
  }
  .test-score-card {
    width: 100%;
  }
  .child-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
    border-radius: 24px;
  }
  .profile-fields {
    flex-direction: column;
    gap: 20px;
  }
  .profile-password__fields {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
}

@media (width <= 767px) {
  .scroll-top-button {
    right: 16px;
    bottom: 72px;
  }
  .topbar:has(~ .page-shell__content .results-mobile-title) .topbar__title {
    display: none;
  }
  .page-shell {
    --page-gutter-left: 13px;
    --page-gutter-right: 13px;
    min-height: 100vh;
  }
  .sidebar ~ .topbar,
  .sidebar ~ .page-shell__content {
    margin-left: 0;
  }
  .page-shell__content {
    min-height: auto;
  }
  .patients-page {
    padding-top: 20px;
    padding-right: 13px;
    padding-bottom: 90px;
    padding-left: 13px;
  }
  .sidebar {
    display: none;
  }
  .topbar {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    border-bottom: 0;
    background: transparent;
    overflow: visible;
  }
  .topbar__main {
    order: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85px;
    padding: 20px;
    border-bottom: 1px solid #d9d9d9;
    background: #ffffff;
  }
  .topbar__mobile-logo {
    display: block;
  }
  .topbar__mobile-logo .logo {
    width: 206px;
    gap: 8px;
  }
  .topbar__mobile-logo .icon {
    position: absolute;
    width: 36px;
    height: 18px;
  }
  .topbar__mobile-logo .logo__text {
    font-size: 11.84px;
    display: block;
    width: auto;
  }
  .topbar__mobile-logo .logo__mark {
    width: 38px;
    height: 20px;
  }
  .topbar__mobile-logo .logo__mark::before, .topbar__mobile-logo .logo__mark::after {
    width: 14px;
    height: 10px;
    border-width: 3px;
  }
  .topbar__title {
    order: 2;
    display: block;
    margin: 14px var(--page-gutter-right) 0 var(--page-gutter-left);
    color: #403b50;
    font-size: 32px;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .topbar__user {
    justify-content: flex-end;
    width: auto;
    min-width: 82px;
  }
  .topbar__user-text {
    display: none;
  }
  .patients-content {
    width: 100%;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
  }
  .patients-toolbar {
    width: 100%;
    flex-direction: column;
    gap: 20px;
  }
  .patients-toolbar__search {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .patients-toolbar__search .button--secondary {
    display: none;
  }
  .search {
    width: 100%;
  }
  .patients-toolbar__actions {
    width: 100%;
    align-items: flex-end;
  }
  .filters {
    justify-content: flex-end;
  }
  .patients-table-wrap {
    width: 100%;
    overflow: visible;
  }
  .patients-table {
    display: block;
  }
  .patients-table thead {
    display: none;
  }
  .patients-table tbody {
    display: flex;
    width: 100%;
    flex-direction: column;
  }
  .patients-table tr {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    padding: 20px 13px;
    border-bottom: 1px solid #f9f9f9;
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  }
  .patients-table tr:hover {
    background: #f9feff;
    box-shadow: 0 8px 18px rgba(98, 93, 114, 0.08);
  }
  .patients-table tr.is-muted {
    background: #f9f9f9;
  }
  .patients-table th,
  .patients-table td,
  .patients-table th:nth-child(1),
  .patients-table td:nth-child(1),
  .patients-table th:nth-child(2),
  .patients-table td:nth-child(2),
  .patients-table th:nth-child(3),
  .patients-table td:nth-child(3) {
    width: auto;
  }
  .patients-table td {
    display: flex;
    align-items: center;
    height: auto;
    padding: 0;
    border-bottom: 0;
    color: #192a3e;
    font-family: "Inter", Arial, sans-serif;
    font-size: 11px;
  }
  .patients-table td:first-child {
    width: 100%;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
  }
  .patients-table .patients-table__cell--action {
    margin-left: auto;
    text-align: right;
  }
  .patients-table .patients-table__cell--action .icon-button {
    margin-left: auto;
  }
  .patients-footer {
    width: 100%;
    gap: 50px;
    border-top: 0;
    padding-top: 0;
  }
  .patients-footer__meta {
    width: 100%;
  }
  .per-page {
    gap: 10px;
  }
  .pager {
    justify-content: center;
  }
  .pager__button.is-active {
    border-color: #625d72;
    background: #625d72;
  }
  .mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: flex;
    justify-content: center;
    gap: 30px;
    min-height: 56px;
    padding: 10px 0 0;
    border-top: 1px solid #d9d9d9;
    background: #ffffff;
  }
  .mobile-nav__link {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 36px;
    height: 44px;
    color: #403b50;
    transition: color 0.18s ease, transform 0.18s ease;
    overflow: hidden;
  }
  .mobile-nav__link:hover {
    color: #02b3c5;
  }
  .mobile-nav__link:focus-visible {
    outline: 2px solid rgba(2, 179, 197, 0.35);
    outline-offset: 2px;
  }
  .mobile-nav__link.is-active {
    color: #02b3c5;
  }
  .mobile-nav__link.is-active::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 36px;
    height: 36px;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(2, 179, 197, 0.34);
    transform: translate(-50%, 50%);
  }
  .mobile-nav__link.is-active::after {
    content: "";
    position: absolute;
    bottom: 0%;
    left: 50%;
    width: 20px;
    height: 20px;
    overflow: hidden;
    border-radius: 50%;
    background: #02b3c5;
    transform: translate(-50%, 50%);
  }
  .patient-modal {
    width: 100%;
  }
  .patient-modal__head {
    min-height: 88px;
    padding: 28px 22px 18px;
  }
  .patient-modal__head h2 {
    font-size: 28px;
  }
  .patient-modal__form {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 28px 22px 32px;
  }
  .patient-modal__name-row {
    grid-template-columns: 1fr;
  }
  .patient-modal__section-title {
    min-height: auto;
    margin-bottom: 4px;
    font-size: 18px;
    text-align: center;
  }
  .test-page {
    --page-gutter-left: 13px;
    --page-gutter-right: 13px;
    min-height: 100vh;
    padding: 0 13px 90px;
  }
  .child-summary {
    padding: 20px 30px;
    border-radius: 50px;
  }
  .child-summary__main {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .child-summary__person {
    flex-wrap: wrap;
    gap: 14px;
  }
  .child-summary__more {
    display: inline-flex;
  }
  .child-summary__parents {
    display: none;
  }
  .test-layout {
    gap: 28px;
  }
  .test-text-block p,
  .test-text-block li {
    text-align: left;
  }
  .test-score-card {
    padding: 24px 16px;
  }
  .test-gallery {
    width: 100%;
  }
  .test-swiper {
    height: auto;
    aspect-ratio: 616/403;
  }
  .test-swiper__image {
    height: calc(100% - 35px);
  }
  .test-swiper__arrow {
    width: 28px;
    height: 28px;
  }
  .audio-tracks {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .audio-track {
    gap: 12px;
  }
  .audio-track__waveform {
    width: min(150px, 42vw);
  }
  .memory-test {
    gap: 22px;
  }
  .memory-test__words {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
  }
  .memory-word {
    font-size: 15px;
  }
  .sample-preview__image--fence {
    width: 100%;
    height: auto;
  }
  .sample-preview__image--pose {
    width: min(193px, 72vw);
    height: 99px;
  }
  .sample-preview__image--scene {
    width: min(241px, 72vw);
    height: auto;
  }
  .sample-preview__image--head {
    width: min(352px, 72vw);
    height: auto;
  }
  .score-options {
    gap: 10px;
  }
  .score-help {
    width: min(100%, 100vw - 24px);
    padding: 24px 16px;
  }
  .score-help__item {
    align-items: flex-start;
    border-radius: 22px;
  }
  .score-help__item p {
    text-align: left;
  }
  .sample-modal {
    width: min(100%, 100vw - 24px);
    padding: 24px;
  }
  .sample-modal--fence {
    width: calc(100vw - 32px);
  }
  .sample-modal .sample-preview--modal .sample-preview__image {
    min-height: 180px;
  }
  .sample-modal--poses {
    width: calc(100vw - 32px);
    padding: 28px 18px;
  }
  .sample-modal--scene {
    width: calc(100vw - 32px);
    padding: 28px 18px;
  }
  .statistics-page {
    --page-gutter-left: 0px;
    --page-gutter-right: 0px;
    min-height: 100vh;
    padding: 0 0 90px;
  }
  .topbar__heading {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    width: 100%;
    padding: 20px 13px;
  }
  .topbar__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    color: #625d72;
  }
  .topbar__back:focus-visible {
    outline: 2px solid rgba(2, 179, 197, 0.35);
    outline-offset: 2px;
  }
  .topbar__heading .topbar__title {
    order: 0;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
  }
  .statistics-panel {
    margin-top: 20px;
    border-radius: 5px 5px 0 0;
  }
  .statistics-table-wrap {
    position: relative;
  }
  .statistics-table-sticky-shadow {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 208px;
    z-index: 4;
    display: block;
    width: 14px;
    min-height: 100%;
    background: linear-gradient(90deg, rgba(98, 93, 114, 0.22), rgba(98, 93, 114, 0.1) 36%, rgba(255, 255, 255, 0));
    pointer-events: none;
  }
  .statistics-table {
    width: max-content;
    min-width: 100%;
  }
  .statistics-table th,
  .statistics-table td {
    height: auto;
    min-height: 54px;
    padding: 14px 18px;
    font-size: 14px;
  }
  .statistics-table th {
    height: 70px;
    font-family: "Mulish", "Inter", Arial, sans-serif;
    font-size: 12px;
  }
  .statistics-table th:first-child,
  .statistics-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 208px;
    min-width: 208px;
    max-width: 208px;
    padding-left: 13px;
    padding-right: 14px;
    box-shadow: 12px 0 16px rgba(98, 93, 114, 0.12);
  }
  .statistics-table th:first-child {
    z-index: 3;
    font-size: 14px;
    background: #81d0e5;
  }
  .statistics-table td:first-child {
    background: #ffffff;
    font-size: 14px;
    line-height: 1.18;
  }
  .statistics-table th:not(:first-child),
  .statistics-table td:not(:first-child) {
    width: 82px;
    min-width: 82px;
  }
  .statistics-table .score-pill {
    width: 26px;
    height: 26px;
  }
  .profile-topbar__summary {
    display: none;
  }
  .profile-page {
    --page-gutter-left: 0px;
    --page-gutter-right: 0px;
    min-height: 100vh;
    padding: 0 0 90px;
  }
  .profile-topbar {
    min-height: 0;
    padding: 0;
  }
  .profile-card {
    width: 100%;
    gap: 30px;
    margin-top: 22px;
    padding: 30px 14px 26px;
    border-radius: 0;
  }
  .profile-overview {
    flex-direction: column;
    gap: 20px;
  }
  .profile-fields {
    width: 100%;
  }
  .profile-fields__identity,
  .profile-fields__contacts {
    width: 100%;
    gap: 20px;
  }
  .profile-fields__contacts .profile-field:nth-child(1) {
    order: 2;
  }
  .profile-fields__contacts .profile-field:nth-child(2) {
    order: 1;
  }
  .profile-fields__contacts .profile-field:nth-child(3) {
    order: 3;
  }
  .profile-field--date {
    width: 222px;
  }
  .profile-password {
    width: 100%;
    gap: 16px;
  }
  .profile-password__title {
    font-family: "Mulish", "Inter", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
  }
  .profile-actions {
    gap: 26px;
  }
  .profile-save-status {
    width: 152px;
    font-size: 11px;
  }
  .patient-tests__start {
    grid-column: unset;
  }
  .patient-card-page {
    --page-gutter-left: 0px;
    --page-gutter-right: 0px;
    min-height: 100vh;
    padding: 0 0 90px;
  }
  .patient-card-content {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    border-radius: 0;
  }
  .patient-card-page .patient-profile-card {
    display: none;
  }
  .patient-card-main {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .patient-mobile-summary {
    display: block;
  }
  .patient-mobile-summary .child-summary__person {
    pointer-events: none;
  }
  .patient-mobile-summary .child-summary__person strong {
    color: #403b50;
    text-decoration: none;
  }
  .patient-card-links {
    order: 2;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px;
    background: #f4f4f4;
  }
  .patient-tests__head {
    display: none;
  }
  .patient-tests__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px 96px;
    width: 100%;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px 16px;
    color: #403b50;
    font-size: 15px;
  }
  .patient-tests__name {
    gap: 16px;
    grid-column: 1/-1;
  }
  .patient-tests__passed {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 0.7em;
  }
  .patient-tests__passed span {
    display: inline;
  }
  .patient-tests__start {
    align-self: flex-end;
    min-width: 80px;
  }
  .patient-test-result {
    max-width: 100%;
    padding-left: 8px;
  }
  .patient-test-result__note {
    align-items: flex-start;
  }
  .patient-modal--edit {
    width: 100%;
  }
  .results-page {
    --page-gutter-left: 0px;
    --page-gutter-right: 0px;
    min-height: 100vh;
    padding: 0 0 90px;
  }
  .results-page .patient-profile-card {
    display: none;
  }
  .results-mobile-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 13px;
  }
  .results-mobile-title h2 {
    margin: 0;
    color: #403b50;
    font-family: "Mulish", "Inter", Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
  }
  .results-mobile-title__back {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    color: #625d72;
  }
  .results-mobile-summary {
    display: block;
  }
  .results-mobile-summary .child-summary {
    margin: 0 0 20px;
  }
  .results-content {
    display: block;
    margin-top: 0;
    border-radius: 0;
    overflow: visible;
  }
  .results-print {
    display: none;
  }
  .results-list {
    gap: 0;
  }
  .results-card {
    width: 100%;
    gap: 10px;
    padding-bottom: 15px;
    border-radius: 5px;
  }
  .results-card__head {
    min-height: 77px;
    gap: 12px;
    padding: 10px;
  }
  .results-card__title {
    font-size: 16px;
  }
  .results-card__description {
    font-size: 14px;
  }
  .results-card__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 10px 0 13px;
  }
  .results-card__text {
    width: 100%;
    gap: 19px;
    padding-top: 0;
  }
  .results-scale,
  .results-scale--extended {
    width: 100%;
  }
  .results-scale__labels {
    height: 36px;
    font-size: 12px;
  }
  .results-scale__label {
    top: 11px;
  }
  .results-scale__bar {
    height: 134px;
  }
  .results-scale__line {
    top: -10px;
  }
  .results-scale__range {
    font-size: 14px;
  }
  .results-scale__range span {
    min-height: 34px;
    padding: 7px;
  }
  .auth-page {
    flex-direction: column;
    align-items: flex-start;
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .auth-page__bg {
    left: 50%;
    top: 414px;
    width: 1243px;
    height: 828px;
    transform: translate(-50%, -50%);
  }
  .auth-page__mobile-logo {
    z-index: 1;
    display: block;
    width: 100%;
    min-height: 155px;
    padding: 35px 20px;
    margin: 0 auto;
    display: flex;
    align-items: center;
  }
  .auth-card {
    width: 100%;
    min-height: 693px;
    padding: 70px 30px;
    gap: 40px;
    border-radius: 10px 10px 0 0;
    flex: 1;
  }
  .auth-card__desktop-logo {
    display: none;
  }
  .auth-card__mobile-title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 27px;
    gap: 26px;
    margin: 0 0 0 -16px;
    padding: 0 0 0 16px;
  }
  .auth-card__mobile-title h1 {
    margin: 0;
    color: #403b50;
    font-family: "Mulish", "Inter", Arial, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
  }
  .auth-card__ghost-logo {
    position: absolute;
    left: 50%;
    bottom: 0;
    display: block;
    width: 322px;
    height: 156px;
    color: #02b3c5;
    opacity: 0.1;
    transform: translateX(-50%);
    pointer-events: none;
  }
  .auth-card__ghost-logo .icon {
    width: 322px;
    height: 156px;
  }
  .auth-logo {
    min-height: 47px;
  }
  .auth-logo__text {
    font-size: 16.25px;
    line-height: 1.06;
  }
  .auth-logo .icon {
    width: 50px;
    height: 24px;
    left: 230px;
    top: -10px;
  }
  .auth-form {
    gap: 30px;
  }
  .auth-button {
    min-height: 45px;
  }
  .auth-button__text-mobile {
    display: none;
  }
  .auth-button--has-mobile .auth-button__text {
    display: none;
  }
  .auth-button--has-mobile .auth-button__text-mobile {
    display: inline;
  }
  .auth-page--reset .auth-card {
    min-height: 693px;
  }
  .auth-page--register .auth-page__bg {
    top: 414px;
  }
  .auth-page--register .auth-card {
    min-height: 769px;
  }
  .auth-page--register .auth-card__ghost-logo {
    display: none;
  }
}

@media (width <= 374px) {
  .auth-card {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (width > 767px) and (width <= 1300px) {
  .patient-profile-card {
    gap: 20px;
    padding: 30px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top-button {
    transition: none;
  }
}