.link-web-nav-back {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    height: auto;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--adm-color-text);
}

    .link-web-nav-back__icon {
        width: 24px;
        height: 24px;
        margin-left: -8px;
    }

.link-web-full-screen {
    min-height: 100vh;
    width: 100%;
    padding: var(--safe-area-padding);
}

:root {
  --adm-radius-s: 4px;
  --adm-radius-m: 8px;
  --adm-radius-l: 12px;
  --adm-font-size-1: 9px;
  --adm-font-size-2: 10px;
  --adm-font-size-3: 11px;
  --adm-font-size-4: 12px;
  --adm-font-size-5: 13px;
  --adm-font-size-6: 14px;
  --adm-font-size-7: 15px;
  --adm-font-size-8: 16px;
  --adm-font-size-9: 17px;
  --adm-font-size-10: 18px;
  --adm-color-primary: #1677ff;
  --adm-color-success: #00b578;
  --adm-color-warning: #ff8f1f;
  --adm-color-danger: #ff3141;
  --adm-color-yellow: #ff9f18;
  --adm-color-orange: #ff6430;
  --adm-color-wathet: #e7f1ff;
  --adm-color-text: #333333;
  --adm-color-text-secondary: #666666;
  --adm-color-weak: #999999;
  --adm-color-light: #cccccc;
  --adm-color-border: #eeeeee;
  --adm-color-background: #ffffff;
  --adm-color-highlight: var(--adm-color-danger);
  --adm-color-white: #ffffff;
  --adm-color-box: #f5f5f5;
  --adm-color-text-light-solid: var(--adm-color-white);
  --adm-color-text-dark-solid: #000000;
  --adm-color-fill-content: var(--adm-color-box);
  --adm-font-size-main: var(--adm-font-size-5);
  --adm-font-family: -apple-system, blinkmacsystemfont, 'Helvetica Neue',
    helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui',
    'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
  --adm-border-color: var(--adm-color-border);
}
html[data-prefers-color-scheme='dark'] {
  --adm-color-primary: #3086ff;
  --adm-color-success: #34b368;
  --adm-color-warning: #ffa930;
  --adm-color-danger: #ff4a58;
  --adm-color-yellow: #ffa930;
  --adm-color-orange: #e65a2b;
  --adm-color-wathet: #0d2543;
  --adm-color-text: #e6e6e6;
  --adm-color-text-secondary: #b3b3b3;
  --adm-color-weak: #808080;
  --adm-color-light: #4d4d4d;
  --adm-color-border: #2b2b2b;
  --adm-color-box: #0a0a0a;
  --adm-color-background: #1a1a1a;
  --adm-color-background-body: var(--adm-color-background);
  --adm-border-color: var(--adm-color-border);
}
:root {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html {
  background-color: var(--adm-color-background-body);
}
body {
  color: #333333;
  color: var(--adm-color-text);
  font-size: 13px;
  font-size: var(--adm-font-size-main);
  font-family: -apple-system, blinkmacsystemfont, 'Helvetica Neue',
    helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui',
    'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
  font-family: var(--adm-font-family);
}
a,
button {
  cursor: pointer;
}
a {
  color: #1677ff;
  color: var(--adm-color-primary);
  transition: opacity ease-in-out 0.2s;
}
a:active {
  opacity: 0.8;
}
.adm-plain-anchor {
  color: unset;
  transition: none;
}
.adm-plain-anchor:active {
  opacity: unset;
}
body.adm-overflow-hidden {
  overflow: hidden !important;
}
div.adm-px-tester {
  --size: 1;
  height: calc(1 / 2 * 2px);
  height: calc(var(--size) / 2 * 2px);
  width: 0;
  position: fixed;
  left: -100vw;
  top: -100vh;
  -webkit-user-select: none;
          -moz-user-select: none;
       user-select: none;
  pointer-events: none;
}

.adm-button {
  --color: var(--adm-color-text-light-solid);
  --text-color: var(--adm-button-text-color, var(--adm-color-text));
  --background-color: var(--adm-button-background-color, var(--adm-color-background));
  --border-radius: var(--adm-button-border-radius, 4px);
  --border-width: var(--adm-button-border-width, 1px);
  --border-style: var(--adm-button-border-style, solid);
  --border-color: var(--adm-button-border-color, var(--adm-color-border));
  color: var(--text-color);
  background-color: var(--background-color);
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  height: auto;
  padding: 7px 12px;
  margin: 0;
  font-size: var(--adm-font-size-9);
  line-height: 1.4;
  text-align: center;
  border: 1px solid var(--border-color);
  border: var(--border-width) var(--border-style) var(--border-color);
  border-radius: 4px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: opacity ease 0.15s;
  -webkit-user-select: none;
          -moz-user-select: none;
       user-select: none;
}
.adm-button:focus {
  outline: none;
}
.adm-button::before {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(calc(var(--border-width) * -1), calc(var(--border-width) * -1));
  width: 100%;
  height: 100%;
  background-color: var(--adm-color-text-dark-solid);
  border: var(--border-width) var(--border-style) var(--adm-color-text-dark-solid);
  border-radius: var(--border-radius);
  opacity: 0;
  content: ' ';
  box-sizing: content-box;
}
.adm-button:active::before {
  opacity: 0.08;
}
.adm-button-default.adm-button-fill-outline {
  --background-color: transparent;
  --border-color: var(--adm-color-text);
}
.adm-button-default.adm-button-fill-none {
  --background-color: transparent;
  --border-width: 0px;
}
.adm-button:not(.adm-button-default) {
  --text-color: var(--adm-color-text-light-solid);
  --background-color: var(--color);
  --border-color: var(--color);
}
.adm-button:not(.adm-button-default).adm-button-fill-outline {
  --text-color: var(--color);
  --background-color: transparent;
}
.adm-button:not(.adm-button-default).adm-button-fill-none {
  --text-color: var(--color);
  --background-color: transparent;
  --border-width: 0px;
}
.adm-button-primary {
  --color: var(--adm-color-primary);
}
.adm-button-success {
  --color: var(--adm-color-success);
}
.adm-button-danger {
  --color: var(--adm-color-danger);
}
.adm-button-warning {
  --color: var(--adm-color-warning);
}
.adm-button-block {
  display: block;
  width: 100%;
}
.adm-button-disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.adm-button-disabled:active::before {
  display: none;
}
.adm-button.adm-button-mini {
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: var(--adm-font-size-main);
}
.adm-button.adm-button-mini.adm-button-shape-rounded {
  padding-left: 9px;
  padding-right: 9px;
}
.adm-button.adm-button-small {
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: var(--adm-font-size-7);
}
.adm-button.adm-button-large {
  padding-top: 11px;
  padding-bottom: 11px;
  font-size: var(--adm-font-size-10);
}
.adm-button.adm-button-shape-rounded {
  --border-radius: 1000px;
}
.adm-button.adm-button-shape-rectangular {
  --border-radius: 0;
}
.adm-button-loading {
  vertical-align: bottom;
}
.adm-button-loading-wrapper {
  display: flex;
  height: 1.4em;
  align-items: center;
  justify-content: center;
}
.adm-button-loading-wrapper > .adm-loading {
  opacity: 0.6;
}

.adm-dot-loading {
  display: inline-block;
}

.adm-ellipsis {
  overflow: hidden;
  line-height: 1.5;
  word-break: break-word;
}

.adm-floating-panel {
  --border-radius: 8px;
  --header-height: 28px;
  --z-index: var(--adm-floating-panel-z-index, 900);
  position: fixed;
  z-index: 900;
  z-index: var(--z-index);
  bottom: 0;
  left: 0;
  width: 100vw;
  display: flex;
  flex-direction: column;
  touch-action: none;
}
.adm-floating-panel-mask {
  display: block;
  width: 100%;
  height: 100vh;
  position: absolute;
  left: 0;
  top: -100vh;
  background: transparent;
}
.adm-floating-panel::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -100vh;
  height: 100vh;
  width: 100vw;
  background: var(--adm-color-background);
}
.adm-floating-panel .adm-floating-panel-header {
  flex: none;
  height: var(--header-height);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
  -webkit-user-select: none;
          -moz-user-select: none;
       user-select: none;
  background-color: var(--adm-color-background);
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}
.adm-floating-panel .adm-floating-panel-header .adm-floating-panel-bar {
  height: 3px;
  width: 20px;
  border-radius: 10px;
  background: var(--adm-color-light);
}
.adm-floating-panel .adm-floating-panel-content {
  flex: 1;
  overflow-y: scroll;
  background: var(--adm-color-background);
}

.adm-grid {
  --gap: 0;
  --gap-horizontal: var(--gap);
  --gap-vertical: var(--gap);
  display: grid;
  grid-gap: 10px;
  -moz-column-gap: 0;
       column-gap: 0;
          -moz-column-gap: var(--gap-horizontal);
               column-gap: var(--gap-horizontal);
  row-gap: 0;
  row-gap: var(--gap-vertical);
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  align-items: stretch;
}
.adm-grid-item {
  grid-column-end: span var(--item-span);
}

.adm-image {
  --width: var(--adm-image-width, auto);
  --height: var(--adm-image-height, auto);
  width: auto;
  width: var(--width);
  height: auto;
  height: var(--height);
  display: block;
  overflow: hidden;
}
.adm-image-img {
  width: 100%;
  height: 100%;
}
.adm-image-tip {
  position: relative;
  background-color: var(--adm-color-fill-content);
  height: 100%;
  min-height: 24px;
  min-width: 24px;
}
.adm-image-tip > svg {
  width: 24px;
  height: 24px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--adm-color-weak);
}

.adm-popup {
  --z-index: var(--adm-popup-z-index, 1000);
  position: fixed;
  z-index: 1000;
  z-index: var(--z-index);
}
.adm-popup-body {
  position: fixed;
  background-color: var(--adm-color-background);
  z-index: calc(var(--z-index) + 10);
}
.adm-popup-body .adm-popup-close-icon {
  position: absolute;
  z-index: 100;
}
.adm-popup-body-position-bottom {
  width: 100%;
  bottom: 0;
  left: 0;
}
.adm-popup-body-position-bottom .adm-popup-close-icon {
  right: 8px;
  top: 8px;
}
.adm-popup-body-position-top {
  width: 100%;
  top: 0;
  left: 0;
}
.adm-popup-body-position-top .adm-popup-close-icon {
  right: 8px;
  bottom: 8px;
}
.adm-popup-body-position-left {
  height: 100%;
  top: 0;
  left: 0;
}
.adm-popup-body-position-left .adm-popup-close-icon {
  right: 8px;
  top: 8px;
}
.adm-popup-body-position-right {
  height: 100%;
  top: 0;
  right: 0;
}
.adm-popup-body-position-right .adm-popup-close-icon {
  left: 8px;
  top: 8px;
}
.adm-popup-close-icon {
  cursor: pointer;
  padding: 4px;
  font-size: 18px;
  line-height: 1;
  color: var(--adm-color-weak);
}

.adm-mask {
  --z-index: var(--adm-mask-z-index, 1000);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  z-index: var(--z-index);
  display: block;
  width: 100%;
  height: 100%;
}
.adm-mask-aria-button {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.adm-mask-content {
  z-index: 1;
}

.adm-pull-to-refresh-head {
  overflow: hidden;
  position: relative;
}
.adm-pull-to-refresh-head-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: var(--adm-color-weak);
  display: flex;
  justify-content: center;
  align-items: center;
}

.adm-safe-area {
  --multiple: var(--adm-safe-area-multiple, 1);
  display: block;
  width: 100%;
}
.adm-safe-area-position-top {
  padding-top: calc(env(safe-area-inset-top) * var(--multiple));
}
.adm-safe-area-position-bottom {
  padding-bottom: calc(env(safe-area-inset-bottom) * var(--multiple));
}

.adm-skeleton {
  --width: 100%;
  --height: 0;
  --border-radius: 0;
  background-color: rgba(190, 190, 190, 0.2);
  border-radius: 0;
  border-radius: var(--border-radius);
  width: 100%;
  width: var(--width);
  height: 0;
  height: var(--height);
  display: block;
}
.adm-skeleton.adm-skeleton-animated {
  background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%);
  background-size: 400% 100%;
  animation: adm-skeleton-loading 1.4s ease infinite;
}
.adm-skeleton.adm-skeleton-title {
  --width: 45%;
  --height: 32px;
  --border-radius: 2px;
  margin-bottom: 16px;
  margin-top: 16px;
}
.adm-skeleton.adm-skeleton-paragraph-line {
  --height: 18px;
  --border-radius: 2px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.adm-skeleton.adm-skeleton-paragraph-line:last-child {
  --width: 65%;
}
@keyframes adm-skeleton-loading {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

.link-web-button {
    padding: 12px 28px;
}

    .link-web-button_color_default {
        --background-color: var(--adm-color-weak);
        --border-color: var(--adm-color-weak);
        --text-color: var(--adm-color-white);
    }

    .link-web-button_color_default.link-web-button_fill_outline {
        --text-color: var(--adm-color-text-primary);
    }

    .link-web-button_color_default.link-web-button_fill_none {
        --text-color: var(--adm-color-text-primary);
    }

    .link-web-button_size_large {
        font-size: 16px;
        line-height: 20px;

        min-height: 60px;

        --border-radius: var(--adm-radius-l);
    }

    .link-web-button_size_small {
        font-size: 13px;
        line-height: 18px;

        min-height: 42px;

        --border-radius: var(--adm-radius-m);
    }

    .link-web-button_width_auto {
        width: auto;
    }

    .link-web-button_width_full {
        width: 100%;
    }

.link-web-information {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    /* TODO: ??? */
    max-width: 326px;
}

    .link-web-information__image {
        display: flex;
        justify-content: center;
        margin-bottom: 8px;
        width: 100%;
    }

    .link-web-information__title {
        font-family: var(--fontSecondary);
        font-size: 24px;
        font-weight: 600;
        line-height: 28px;
        margin-bottom: 4px;
    }

    .link-web-information__description {
        color: var(--adm-color-text-secondary);

        font-size: 13px;
        line-height: 18px;
    }

.link-web-result-block {
    display: flex;
    align-items: center;
    flex-direction: column;
}

    .link-web-result-block__information {
        flex-grow: 1;
    }

    .link-web-result-block__button-container {
        margin-top: auto;
        width: 100%;
    }


.link-web-page-error {
    display: flex;
    padding: 24px 16px;
}

    .link-web-page-error__content {
        width: 100%;
    }

/**
* link-web-avatar
*/
.link-web-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--adm-color-weak);
    border-radius: var(--adm-radius-m);
}

/**
* link-web-common-header
*/
.link-web-common-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

/**
* link-web-default-layout
*/
.link-web-default-layout {
    padding: var(--safe-area-padding);
}
.link-web-default-layout__content {
        width: 100%;
        height: auto;
    }

.link-web-drawer__content {
        padding-bottom: 24px;
    }

.link-web-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .link-web-loader__loading {
        display: block;
    }

    .link-web-loader__text {
      margin-top: 24px;
    }

.link-web-page-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* stylelint-disable declaration-block-no-duplicate-properties */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    -webkit-text-decoration: underline dotted;
            text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
    border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type='checkbox'],
[type='radio'] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type='search'] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type='search']::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
    display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
    display: none;
}

* {
    box-sizing: border-box;
}

html {
    font-family: var(--adm-font-family);
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: var(--adm-color-text);
    background: var(--adm-color-background);
    min-width: 320px;

    /** TODO: Ломает скролл в мобильном браузере но чинит в tg web app */
    overflow: hidden;
    overscroll-behavior-y: contain;
}

/** TODO: В поисках нормального решения!!! нужно для корректного отображения фулл пэйдж состояния в TG Web App */
body {
    height: 100vh;
    overflow-y: auto;
}
body > #root {
        display: flex;
        flex-direction: column;
        height: auto;
    }

/**
* Заголовки
*/
h1, h2, h3, h4, h5, h6 {
    font-family: var(--adm-font-family);
    font-weight: 500;
}
h1 {
    font-size: 24px;
    line-height: 32px;
}
h2 {
    font-size: 20px;
    line-height: 28px;
}
h3 {
    font-size: 17px;
    line-height: 24px;
}
h4 {
    font-size: 15px;
    line-height: 20px;
}
h5 {
    font-size: 13px;
    line-height: 16px;
}
h6 {
    font-size: 11px;
    line-height: 12px;
}


:root {
    /* Fonts */
    --fontPrimary: 'SB Sans Text', 'SB Sans Display', -appl e-system, blinkmacsystemfont, 'Helvetica Neue', helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui',
    'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
    /* TODO */
    --fontSecondary: 'SB Sans Display', -appl e-system, blinkmacsystemfont, 'Helvetica Neue', helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui',
    'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;

    /* Telegram default variables */
    --tg-safe-area-inset-top: 0;
    --tg-safe-area-inset-left: 0;
    --tg-safe-area-inset-right: 0;
    --tg-safe-area-inset-bottom: 0;

    --tg-content-safe-area-inset-top: 0;
    --tg-content-safe-area-inset-left: 0;
    --tg-content-safe-area-inset-right: 0;
    --tg-content-safe-area-inset-bottom: 0;

    /* TODO: Разобраться с дефолтным состоянием safe-area-padding */
    --safe-area-padding:
        calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top) + 16px)
        calc(var(--tg-safe-area-inset-right) + var(--tg-content-safe-area-inset-right))
        calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom) + 16px)
        calc(var(--tg-safe-area-inset-left) + var(--tg-content-safe-area-inset-left));

    /* TODO */
    /* Color variables */
    --colorGreen: rgb(20, 143, 43);
    --colorGray: rgb(49, 55, 59);
    --colorClearBlack:rgb(0, 0, 0);
    --colorMutedBlack: rgba(0, 0, 0, 0.55);
    --colorClearWhite: rgb(255, 255, 255);
    --colorMutedWhite: rgb(240, 240, 240);
    --colorDarkenWhite: rgb(200, 200, 200);
    --colorDarkOrange: rgb(227, 85, 2);

    /* TODO: ??? используется в светлой теме LoginPage */
    --lightGradient: linear-gradient(
        128deg,
        rgb(212, 239, 250) 33%,
        rgb(253, 245, 230) 87%,
        rgba(212, 239, 250, 0) 122%,
        rgb(241, 242, 242)
    )
}

:root:root {
    --adm-radius-s: 4px;
    --adm-radius-m: 12px;
    --adm-radius-l: 16px;

    /* TODO */
    --adm-color-primary: var(--colorGreen);
    --adm-color-success: #00b578;
    --adm-color-warning: var(--colorDarkOrange);
    --adm-color-danger: #ff3141;
    --adm-color-yellow: #ff9f18;
    --adm-color-orange: #ff6430;
    --adm-color-wathet: #e7f1ff;
    --adm-color-white: var(--colorClearWhite);
    --adm-color-weak: var(--colorGray);
    --adm-color-light: #cccccc;

    --adm-color-text: var(--colorClearBlack);
    --adm-color-text-secondary: var(--colorMutedBlack);
    --adm-color-text-light-solid: var(--colorClearWhite);
    --adm-color-text-dark-solid: var(--colorClearBlack);

    --adm-color-border: var(--colorDarkenWhite);
    --adm-color-box: var(--colorClearWhite);
    --adm-color-background: var(--colorMutedWhite);
    --adm-color-highlight: var(--adm-color-danger);
    --adm-color-fill-content: var(--adm-color-box);

    --adm-border-color: var(--adm-color-border);

    --adm-font-size-1: 11px;
    --adm-font-size-2: 12px;
    --adm-font-size-3: 13px;
    --adm-font-size-4: 14px;
    --adm-font-size-5: 15px;
    --adm-font-size-6: 16px;
    --adm-font-size-7: 17px;
    --adm-font-size-8: 18px;
    --adm-font-size-9: 19px;
    --adm-font-size-10: 20px;
    --adm-font-size-main: var(--adm-font-size-5);

    --adm-font-family: var(--fontPrimary);
}

@custom-media --mobileS screen and (max-width: 479px);                                  /* ∞ - 479 */
@custom-media --mobileM screen and (min-width: 480px) and (max-width: 767px);           /* 480 - 767 */
@custom-media --mobileB screen and (min-width: 768px) and (max-width: 1023px);          /* 768 - 1023 */

/** TODO: шрифты с cdn */

@font-face {
    font-family: 'SB Sans Text';
    src: url(/link-app/static/132b94f48e37b564b969.otf) format('opentype');
    font-weight: 300;
}

@font-face {
    font-family: 'SB Sans Text';
    src: url(/link-app/static/07cbe05a5fa06a32de71.otf) format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'SB Sans Text Mono';
    src: url(/link-app/static/7507cde9084b40f29e02.otf) format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'SB Sans Text';
    src: url(/link-app/static/c6171682d931ba30e2fe.otf) format('opentype');
    font-weight: 500;
}

@font-face {
    font-family: 'SB Sans Text';
    src: url(/link-app/static/73c3e1ccd89e8ab5166d.otf) format('opentype');
    font-weight: 600;
}

@font-face {
    font-family: 'SB Sans Text';
    src: url(/link-app/static/55c0e1e1cebca34580da.otf) format('opentype');
    font-weight: 700;
}

@font-face {
    font-family: 'SB Sans Display';
    src: url(/link-app/static/8929f96e2d9257c6d506.otf) format('opentype');
    font-weight: 300;
}

@font-face {
    font-family: 'SB Sans Display';
    src: url(/link-app/static/386c820cd0f0dc81ddcd.otf) format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'SB Sans Display';
    src: url(/link-app/static/eb86543b7771aa0cedc1.otf) format('opentype');
    font-weight: 600;
}

@font-face {
    font-family: 'SB Sans Display';
    src: url(/link-app/static/55c0e1e1cebca34580da.otf) format('opentype');
    font-weight: 700;
}

