.header-trf {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 20px 0 6px;
    margin-right: 14px;
    background-color: #295cc9;
    color: #fff;
    border-radius: 8px;
    border: 0;
}

.header-trf__icon {
    --s: 30px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    margin-right: 10px;
    background-color: #fff;
    mask-image: url('/img/trf/crystall.svg');
    -webkit-mask-image: url('/img/trf/crystall.svg');
}

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

.trf__back {
    display: none;
    flex-shrink: 0;
    align-items: center;
    height: 66px;
    padding: 0 20px;
    margin: 0 -20px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    border-radius: 0 0 10px 10px;
}

.trf__back-button {
    display: flex;
    align-items: center;
    margin-right: 20px;
    background-color: transparent;
    border: 0;
}

.trf__back-button > span,
.trf-aside__back > span,
.trf-card-pay__back > span,
.trf-requisite-pay__back > span,
.trf-requisite-add__back > span,
.trf-card-remove__back > span,
.trf-requisite-remove__back > span,
.trf-auto-remove__back > span,
.trf-success__back > span,
.trf-failure__back > span,
.trf-link__back > span,
.trf-bill__back > span {
    --s: 24px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    margin-right: 23px;
    background-color: #333;
    mask-image: url('/img/common/angle-black.svg');
    -webkit-mask-image: url('/img/common/angle-black.svg');
    mask-size: var(--s);
    -webkit-mask-size: var(--s);
    transform: rotate(180deg);
    opacity: 0.5;
}

.trf__back-button > p,
.trf-aside__back > p,
.trf-card-pay__back > p,
.trf-requisite-pay__back > p,
.trf-requisite-add__back > p,
.trf-card-remove__back > p,
.trf-requisite-remove__back > p,
.trf-auto-remove__back > p,
.trf-success__back > p,
.trf-failure__back > p,
.trf-link__back > p,
.trf-bill__back > p {
    font-size: 16px;
    line-height: 127%;
    font-weight: 500;
    opacity: 0.5;
}

.trf__back-menu {
    --s: 30px;

    display: none;
    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    margin-left: auto;
    background-color: rgba(51, 51, 51, 0.5);
    mask-image: url('/img/trf/trf-menu.svg');
    -webkit-mask-image: url('/img/trf/trf-menu.svg');
    mask-size: var(--s);
    -webkit-mask-size: var(--s);
}

.trf__inner {
    display: grid;
    flex: 1;
    grid-template-columns: 300px auto;
    grid-gap: 20px;
}

.trf-aside__wrapper {
    display: flex;
    flex-direction: column;
}

.trf-aside {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
}

.trf-aside__back {
    display: none;
    flex-shrink: 0;
    align-items: center;
    height: 66px;
    padding: 0 20px;
    margin: 0 -10px 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    border: 0;
}

.trf-aside__content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.trf-aside__list {
    margin-bottom: 20px;
}

.trf-aside__item:not(:last-child) {
    margin-bottom: 2px;
}

.trf-aside__button {
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    padding: 0 14px;
    font-size: 16px;
    line-height: 1;
    background-color: transparent;
    border-radius: 8px;
    border: 0;
}

.trf-aside__button._active {
    background-color: #f7f8fa;
}

.trf-aside__button-icon {
    --s: 20px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    margin-right: 15px;
    background-color: #333;
    mask-size: var(--s);
    -webkit-mask-size: var(--s);
}

.trf-aside__button[data-type='main'] .trf-aside__button-icon {
    mask-image: url('/img/trf/trf-main.svg');
    -webkit-mask-image: url('/img/trf/trf-main.svg');
}

.trf-aside__button[data-type='finance'] .trf-aside__button-icon {
    mask-image: url('/img/trf/trf-finance.svg');
    -webkit-mask-image: url('/img/trf/trf-finance.svg');
}

.trf-aside__button[data-type='cards'] .trf-aside__button-icon {
    mask-image: url('/img/trf/trf-card.svg');
    -webkit-mask-image: url('/img/trf/trf-card.svg');
}

.trf-aside__button[data-type='requisites'] .trf-aside__button-icon {
    mask-image: url('/img/trf/trf-requisite.svg');
    -webkit-mask-image: url('/img/trf/trf-requisite.svg');
}

.trf-aside__button-warning {
    --s: 20px;

    width: var(--s);
    height: var(--s);
    margin-left: auto;
}

.trf-aside__balance {
    margin-top: auto;
}

.trf-aside__balance-inner {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    background-color: #f7f8fa;
    border-radius: 10px;
}

.trf-aside__balance-icon {
    --s: 50px;

    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: var(--s);
    height: var(--s);
    margin-right: 14px;
    background-color: rgba(11, 28, 53, 0.15);
    border-radius: 50%;
}

.trf-aside__balance-info {
    display: flex;
    flex-direction: column;
}

.trf-aside__balance-info > p {
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 115%;
    font-weight: 700;
}

.trf-aside__balance-info > span {
    font-size: 14px;
    line-height: 83.5%;
    color: rgba(51, 51, 51, 0.5);
}

.trf__main {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    overflow: auto;
}

.trf-warning {
    padding: 20px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #e14942, #f98b2b);
    color: #fff;
    border-radius: 10px;
}

.trf-warning__inner {
    display: flex;
    align-items: center;
}

.trf-warning__icon {
    --s: 20px;

    align-self: flex-start;
    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    margin-right: 20px;
    background-color: #fff;
    mask-image: url('/img/trf/trf-warning.svg');
    -webkit-mask-image: url('/img/trf/trf-warning.svg');
    mask-size: var(--s);
    -webkit-mask-size: var(--s);
}

.trf-warning__text {
    font-size: 16px;
    line-height: 20px;
}

.trf-warning__text > span {
    font-weight: 700;
}

.trf-header {
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f7f8fa;
    border-radius: 10px;
}

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

.trf-header__name {
    display: flex;
    align-items: center;
}

.trf-header__name-icon {
    --s: 50px;

    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: var(--s);
    height: var(--s);
    margin-right: 15px;
    background-color: rgba(11, 28, 53, 0.15);
    border-radius: 50%;
}

.trf-header._warning .trf-header__name-icon {
    background-color: rgba(229, 64, 71, 0.15);
}

.trf-header__name-icon > img {
    --s: 40px;

    width: var(--s);
    height: var(--s);
}

.trf-header._warning .trf-header__name-icon > img:nth-child(1),
.trf-header__name-icon > img:nth-child(2) {
    display: none;
}

.trf-header._warning .trf-header__name-icon > img:nth-child(2) {
    display: block;
}

.trf-header__name-info {
    display: flex;
    flex-direction: column;
}

.trf-header__name-info > p,
.trf-header__stats-item > p {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
}

.trf-header__name-info > span,
.trf-header__stats-item > span {
    font-size: 14px;
    line-height: 1;
    opacity: 0.5;
}

.trf-header__stats {
    display: flex;
    margin-left: 20px;
}

.trf-header__stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 148px;
}

.trf-header__stats-item._warning {
    color: #e54047;
}

.trf-header__stats-item:not(:last-child) {
    margin-right: 10px;
}

.trf-action {
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f7f8fa;
    border-radius: 10px;
}

.trf-action__inner {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    grid-template-columns: 1fr;
    grid-gap: 20px;
}

.trf-action__item {
    padding: 20px 20px 30px;
    background-color: #fff;
    border-radius: 10px;
}

.trf-action__item-inner {
    display: flex;
    flex-direction: column;
}

.trf-action__item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1;
}

.trf-action__item-header > span {
    margin-left: 20px;
    font-weight: 500;
    opacity: 0.5;
}

.trf-action__slider {
    position: relative;
    width: calc(100% - 10px);
}

.trf-action__slider-line.noUi-target {
    height: 5px;
    background-color: rgba(41, 92, 201, 0.15);
    box-shadow: none;
    border: none;
}

.trf-action__slider-line .noUi-connect {
    background: #295cc9;
}

.trf-action__slider-line .noUi-handle {
    height: 16px;
    width: 16px;
    top: -6px;
    right: -8px;
    background-color: #295cc9;
    box-shadow: none;
    border-radius: 50%;
    border: 3px solid #f7f8fa;
}

.trf-action__slider-line .noUi-handle:before,
.trf-action__slider-line .noUi-handle:after {
    display: none;
}

.trf-action__slider-line .noUi-tooltip {
    padding: 0;
    font-size: 12px;
    line-height: 1;
    top: auto;
    bottom: 170%;
    opacity: 0.5;
    border: none;
}

.trf-action__slider-tips {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.trf-action__slider-tip {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: -2px;
    font-size: 12px;
    line-height: 100%;
    transform: translateX(-50%);
    color: #54b268;
}

.trf-action__slider-tip > span {
    width: 4px;
    height: 9px;
    margin-bottom: 3px;
    background-color: #c3cee4;
    border-radius: 16px;
}

.trf-action__slider-tip:nth-child(1) {
    left: 80%;
}

.trf-action__slider-tip:nth-child(2) {
    left: 100%;
}

.trf-table {
    display: none;
    margin-bottom: 20px;
}

.trf-table._active {
    display: block;
}

.trf-table__inner {
    display: flex;
    flex-direction: column;
}

.trf-table__header,
.trf-table__row,
.trf-table__label,
.trf-table__footer {
    display: grid;
    align-items: center;
    grid-template-columns: auto 100px 100px;
    grid-gap: 20px;
    min-height: 50px;
    padding: 10px 20px;
    margin-bottom: 2px;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
    background-color: #f7f8fa;
    border-radius: 8px;
}

.trf-table__header-item:not(:first-child):not(:last-child),
.trf-table__row-item:not(:first-child):not(:last-child) {
    text-align: center;
}

.trf-table__header-item:last-child,
.trf-table__row-item:last-child,
.trf-table__label-item:last-child,
.trf-table__footer-item:last-child {
    text-align: right;
}

.trf-table__body,
.trf-table__row:not(:last-child) {
    margin-bottom: 2px;
}

.trf-table__row {
    display: none;
    margin-bottom: 0;
    font-weight: 400;
    background-color: transparent;
}

.trf-table__row._active {
    display: grid;
}

/* .trf-table__row:nth-child(even) {
    background-color: #f7f8fa;
} */

.trf-table__name {
    display: flex;
    align-items: center;
}

.trf-table__name > span {
    --s: 24px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    margin-right: 10px;
    background-image: url('/img/trf/trf-cart.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.trf-table__row-item > span {
    display: none;
}

.trf-table__label {
    grid-template-columns: auto 100px;
    margin-bottom: 0;
    font-weight: 400;
    background-color: rgba(41, 92, 201, 0.1);
    cursor: pointer;
}

.trf-table__label-name {
    display: flex;
    align-items: center;
}

.trf-table__label-name > input {
    --s: 24px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    margin-right: 10px;
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 5px;
    border: 1px solid rgba(51, 51, 51, 0.25);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.trf-table__label-name > input:checked {
    background-image: url('/img/common/checkmark.svg');
    background-color: #295cc9;
    border-color: #295cc9;
}

.trf-table__label-name > input:checked + p {
    opacity: 1;
}

.trf-table__label-item {
    opacity: 0.5;
}

.trf-table__label-item > span {
    display: none;
}

.trf-table__label-name > p {
    opacity: 0.5;
}

.trf-table__footer {
    grid-template-columns: auto 100px;
}

.trf-auto {
    padding: 15px 20px;
    margin-bottom: 20px;
    background-color: rgba(84, 178, 104, 0.15);
    border-radius: 8px;
}

.trf-auto._warning {
    background-color: rgba(229, 64, 71, 0.15);
}

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

.trf-auto__text {
    display: flex;
    flex-direction: column;
}

.trf-auto__text > p {
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
}

.trf-auto__text > span {
    font-size: 14px;
    line-height: 1;
    opacity: 0.5;
}

.trf-auto__card {
    display: flex;
    align-items: center;
}

.trf-auto__card > img {
    --s: 44px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    margin-right: 10px;
    object-fit: contain;
}

.trf-auto__card-info {
    display: flex;
    flex-direction: column;
}

.trf-auto__card-info > p {
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
}

.trf-auto__card-info > button {
    align-self: flex-start;
    font-size: 14px;
    line-height: 1;
    background-color: transparent;
    color: rgba(51, 51, 51, 0.5);
    transition: color 0.2s;
    border: 0;
    cursor: pointer;
}

.trf-error {
    padding: 15px 20px;
    margin-bottom: 20px;
    background-color: rgba(229, 64, 71, 0.15);
    border-radius: 8px;
}

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

.trf-error__info {
    display: flex;
    flex-direction: column;
}

.trf-error__info > p {
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
}

.trf-error__info > span {
    font-size: 14px;
    line-height: 1;
    opacity: 0.5;
}

.trf-error__button {
    width: 170px;
    height: 44px;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    background-color: #295cc9;
    color: #fff;
    border-radius: 8px;
    border: 0;
}

.trf-pay {
    display: none;
}

.trf-pay._active {
    display: block;
}

.trf-pay__header {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1;
}

.trf-pay__header > p {
    margin-bottom: 6px;
    font-weight: 600;
}

.trf-pay__header > span {
    opacity: 0.5;
}

.trf-pay__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.trf-pay__item {
    position: relative;
    padding: 10px;
    background-color: #f7f8fa;
    border-radius: 8px;
    border: 0;
}

.trf-pay__item:disabled {
    cursor: auto;
}

.trf-pay__item:disabled .xpl-hint {
    bottom: calc(100% + 12px);
}

.trf-pay__item:disabled .xpl-hint__text {
    margin-top: 0;
    color: #333;
}

.trf-pay__item-inner {
    display: flex;
    align-items: center;
}

.trf-pay__item:disabled .trf-pay__item-inner {
    opacity: 0.5;
}

.trf-pay__item-icon {
    --s: 44px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    margin-right: 10px;
    object-fit: contain;
}

.trf-pay__item-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.trf-pay__item-info > p {
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
}

.trf-pay__item-info > span {
    font-size: 12px;
    line-height: 1;
    opacity: 0.5;
}

.trf-pay__item-discount {
    display: flex;
    align-items: center;
    margin-left: auto;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
}

.trf-pay__item-discount > p {
    opacity: 0.5;
    margin-right: 8px;
}

.trf-pay__item-discount > img {
    --s: 20px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    object-fit: contain;
}

.trf-plug,
.trf-finance {
    flex: 1;
}

.trf-plug {
    flex-direction: column;
    text-align: center;
}

.trf-plug__image {
    max-width: 150px;
    width: 100%;
    margin-bottom: 30px;
}

.trf-plug__image-inner {
    padding-bottom: calc(166 / 150 * 100%);
    background-image: url('/img/trf/trf-plug.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.trf-plug__title {
    max-width: 600px;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 119.3%;
}

.trf-plug__text {
    max-width: 600px;
    font-size: 16px;
    line-height: 115%;
}

.trf-finance__header,
.trf-finance__row {
    display: grid;
    align-items: center;
    grid-template-columns: 70px 70px auto 50px 100px;
    grid-gap: 20px;
    min-height: 50px;
    padding: 10px 20px;
    margin-bottom: 2px;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
    background-color: #f7f8fa;
    border-radius: 8px;
}

.trf-finance__header-button {
    display: flex;
    align-items: center;
    background-color: transparent;
    border: 0;
}

.trf-finance__header-button:last-child {
    justify-content: center;
}

.trf-finance__header-button > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 12px;
    height: 10px;
    margin-left: 5px;
}

.trf-finance__header-button > div > span {
    width: 100%;
    height: 2px;
    background-color: rgba(51, 51, 51, 0.5);
    transform: width 0.2s;
}

.trf-finance__header-button > div > span:nth-child(2) {
    width: 75%;
}

.trf-finance__header-button[data-sort='desc'] > div > span:nth-child(1),
.trf-finance__header-button[data-sort='asc'] > div > span:nth-child(3) {
    width: 50%;
}

.trf-finance__row {
    font-weight: 400;
    margin-bottom: 0;
    background-color: transparent;
}

.trf-finance__row:not(:last-child) {
    margin-bottom: 2px;
}

.trf-finance__row:nth-child(even) {
    background-color: #f7f8fa;
}

.trf-finance__row-name {
    display: flex;
    align-items: center;
}

.trf-finance__row-name > img {
    --s: 30px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    margin-right: 15px;
    object-fit: contain;
}

.trf-finance__row-name > p {
    line-height: 1.25;
}

.trf-finance__row-links {
    display: flex;
    justify-content: flex-end;
}

.trf-finance__row-links > a {
    --s: 20px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    background-color: #333;
    mask-size: var(--s);
    -webkit-mask-size: var(--s);
    opacity: 0.5;
    transition: opacity 0.2s;
}

.trf-finance__row-links > a:not(:last-child) {
    margin-right: 10px;
}

.trf-finance__row-links > a[data-type='act'] {
    mask-image: url('/img/trf/trf-act.svg');
    -webkit-mask-image: url('/img/trf/trf-act.svg');
}

.trf-finance__row-links > a[data-type='bill'] {
    mask-image: url('/img/trf/trf-bill.svg');
    -webkit-mask-image: url('/img/trf/trf-bill.svg');
}

.trf-finance__row-item:last-child {
    text-align: center;
}

.trf-finance__row-item > span {
    display: none;
}

.trf-cards,
.trf-requisites {
    flex: 1;
}

.trf-cards__header,
.trf-requisites__header {
    margin-bottom: 20px;
}

.trf-cards__header-inner,
.trf-requisites__header-inner {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    line-height: 1;
}

.trf-cards__header-inner > p,
.trf-requisites__header-inner > p {
    margin-bottom: 6px;
    font-weight: 600;
}

.trf-cards__header-inner > span,
.trf-requisites__header-inner > span {
    opacity: 0.5;
}

.trf-cards-grid,
.trf-requisites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 20px;
}

.trf-card,
.trf-requisite {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
    padding: 14px;
    background-image: url('/img/trf/trf-card-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
}

.trf-card__header,
.trf-requisite__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.trf-card__header > img {
    --s: 46px;

    position: relative;
    width: var(--s);
    height: calc(var(--s) / 46 * 33);
    left: -8px;
    top: -8px;
    object-fit: contain;
}

.trf-card__remove,
.trf-requisite__remove {
    --s: 20px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    background-color: rgba(51, 51, 51, 0.5);
    transition: background-color 0.2s;
    mask-image: url('/img/common/remove.svg');
    -webkit-mask-image: url('/img/common/remove.svg');
    mask-size: var(--s);
    -webkit-mask-size: var(--s);
}

.trf-card__info,
.trf-requisite__info {
    display: flex;
    flex-direction: column;
}

.trf-card__info > p,
.trf-requisite__info > p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
}

.trf-card__info > p > span {
    font-size: 20px;
    line-height: 1;
}

.trf-card__info > span,
.trf-requisite__info > span {
    font-size: 14px;
    line-height: 1;
    opacity: 0.5;
}

.trf-cards-grid__button,
.trf-requisites-grid__button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
    padding: 14px;
    background-color: #f7f8fa;
    border-radius: 10px;
    border: 0;
}

.trf-cards-grid__button-icon,
.trf-requisites-grid__button-icon {
    --s: 40px;

    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--s);
    height: var(--s);
    background-color: #eaeaea;
    border-radius: 50%;
}

.trf-cards-grid__button-icon > span,
.trf-requisites-grid__button-icon > span {
    --s: 24px;

    width: var(--s);
    height: var(--s);
    background-color: rgba(51, 51, 51, 0.5);
    mask-image: url('/img/trf/trf-add-circle.svg');
    -webkit-mask-image: url('/img/trf/trf-add-circle.svg');
    mask-size: var(--s);
    -webkit-mask-size: var(--s);
}

.trf-cards-grid__button-lines,
.trf-requisites-grid__button-lines {
    display: flex;
    flex-direction: column;
}

.trf-cards-grid__button-lines > div,
.trf-requisites-grid__button-lines > div {
    height: 19px;
    background-color: #eaeaea;
    border-radius: 15px;
}

.trf-cards-grid__button-lines > div:not(:last-child),
.trf-requisites-grid__button-lines > div:not(:last-child) {
    margin-bottom: 10px;
}

.trf-cards-grid__button-lines > div:nth-child(1),
.trf-requisites-grid__button-lines > div:nth-child(1) {
    width: 66%;
}

.trf-cards-grid__button-lines > div:nth-child(2),
.trf-requisites-grid__button-lines > div:nth-child(2) {
    width: 33%;
}

.trf-requisite__header > p {
    font-size: 12px;
    line-height: 1;
    opacity: 0.5;
    text-transform: uppercase;
}

.trf-card-pay,
.trf-requisite-pay,
.trf-requisite-add,
.trf-card-remove,
.trf-requisite-remove,
.trf-auto-remove,
.trf-success,
.trf-failure,
.trf-link,
.trf-bill {
    display: flex;
    flex-direction: column;
    max-width: 590px;
    min-height: auto;
    height: 540px;
    padding: 20px;
}

.trf-card-pay__inner,
.trf-requisite-pay__inner,
.trf-requisite-add__inner,
.trf-card-remove__inner,
.trf-requisite-remove__inner,
.trf-auto-remove__inner,
.trf-success__inner,
.trf-failure__inner,
.trf-link__inner,
.trf-bill__inner {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.trf-card-pay__back,
.trf-requisite-pay__back,
.trf-requisite-add__back,
.trf-card-remove__back,
.trf-requisite-remove__back,
.trf-auto-remove__back,
.trf-success__back,
.trf-failure__back,
.trf-link__back,
.trf-bill__back {
    display: none;
    align-items: center;
    height: 66px;
    padding: 0 18px;
    margin: 0 -10px 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    border: 0;
}

.trf-card-pay__content,
.trf-requisite-pay__content,
.trf-requisite-add__content,
.trf-card-remove__content,
.trf-requisite-remove__content,
.trf-auto-remove__content,
.trf-success__content,
.trf-failure__content,
.trf-link__content,
.trf-bill__content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.trf-card-pay__start,
.trf-card-pay__loading {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.trf-card-pay__loading,
.trf-card-pay._load .trf-card-pay__start {
    display: none;
}

.trf-card-pay._load .trf-card-pay__loading {
    display: flex;
}

.trf-card-pay__header,
.trf-requisite-pay__header,
.trf-requisite-add__header {
    margin-bottom: 20px;
}

.trf-card-pay__header-inner,
.trf-requisite-pay__header-inner,
.trf-requisite-add__header-inner {
    display: flex;
    flex-direction: column;
}

.trf-card-pay__header-inner > p,
.trf-requisite-pay__header-inner > p,
.trf-requisite-add__header-inner > p {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
}

.trf-card-pay__header-inner > span,
.trf-requisite-pay__header-inner > span,
.trf-requisite-add__header-inner > span {
    font-size: 16px;
    line-height: 1;
    opacity: 0.5;
}

.trf-card-pay__body,
.trf-requisite-pay__body,
.trf-requisite-add__body {
    flex: 1;
    margin-bottom: 20px;
}

.trf-card-pay__add,
.trf-requisite-pay__add {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    background-color: #f7f8fa;
    border-radius: 10px;
    border: 0;
}

.trf-card-pay__add > span,
.trf-requisite-pay__add > span {
    --s: 24px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    margin-right: 12px;
    background-color: #333;
    mask-image: url('/img/trf/trf-add-circle.svg');
    -webkit-mask-image: url('/img/trf/trf-add-circle.svg');
    mask-size: var(--s);
    -webkit-mask-size: var(--s);
    opacity: 0.5;
    transition: opacity 0.2s;
}

.trf-card-pay__add > p,
.trf-requisite-pay__add > p {
    font-size: 14px;
    line-height: 113.5%;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.trf-card-pay__list,
.trf-requisite-pay__list {
    height: 296px;
    overflow: auto;
}

.trf-card-pay__item,
.trf-requisite-pay__item {
    padding: 14px;
    padding-left: 4px;
    background-color: #f7f8fa;
    border-radius: 10px;
    border: 1px solid #f7f8fa;
    cursor: pointer;
}

.trf-card-pay__item._active,
.trf-requisite-pay__item._active {
    background-color: rgba(84, 178, 104, 0.15);
    border-color: rgba(84, 178, 104, 0.25);
}

.trf-card-pay__item:not(:last-child),
.trf-requisite-pay__item:not(:last-child) {
    margin-bottom: 14px;
}

.trf-card-pay__item-inner,
.trf-requisite-pay__item-header {
    display: flex;
    align-items: center;
}

.trf-card-pay__item-inner > img {
    --s: 47px;

    flex-shrink: 0;
    width: var(--s);
    height: calc(var(--s) / 47 * 33);
    margin-right: 13px;
    object-fit: contain;
}

.trf-card-pay__item-info {
    display: flex;
    flex-direction: column;
}

.trf-card-pay__item-info > p {
    margin-bottom: 2px;
    font-size: 16px;
    line-height: 115%;
    font-weight: 600;
}

.trf-card-pay__item-info > span {
    font-size: 12px;
    line-height: 115%;
}

.trf-card-pay__item-remove,
.trf-requisite-pay__item-remove {
    --s: 20px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    margin-left: auto;
    background-color: rgba(51, 51, 51, 0.5);
    transition: background-color 0.2s;
    mask-image: url('/img/common/remove.svg');
    -webkit-mask-image: url('/img/common/remove.svg');
    mask-size: var(--s);
    -webkit-mask-size: var(--s);
}

.trf-card-pay__footer,
.trf-requisite-pay__footer,
.trf-requisite-add__footer,
.trf-card-remove__footer,
.trf-requisite-remove__footer,
.trf-auto-remove__footer,
.trf-success__footer,
.trf-failure__footer,
.trf-link__footer,
.trf-bill__footer {
    display: flex;
    justify-content: space-between;
}

.trf-card-pay__footer-button,
.trf-requisite-pay__footer-button,
.trf-requisite-add__footer-button,
.trf-card-remove__footer-button,
.trf-requisite-remove__footer-button,
.trf-auto-remove__footer-button,
.trf-success__footer-button,
.trf-failure__footer-button,
.trf-link__footer-button,
.trf-bill__footer-button {
    width: 170px;
    height: 50px;
    font-size: 16px;
    line-height: 115%;
    font-weight: 500;
    background-color: #295cc9;
    color: #fff;
    border-radius: 8px;
    border: 0;
}

.trf-card-pay__footer-cancel,
.trf-requisite-pay__footer-cancel,
.trf-requisite-add__footer-cancel,
.trf-card-remove__footer-cancel,
.trf-requisite-remove__footer-cancel,
.trf-auto-remove__footer-cancel,
.trf-failure__footer-cancel {
    background-color: #f7f8fa;
    color: rgba(51, 51, 51, 0.5);
}

.trf-requisite-pay__list {
    height: 280px;
}

.trf-requisite-pay__item {
    padding-left: 14px;
}

.trf-requisite-pay__item-header {
    margin-bottom: 4px;
}

.trf-requisite-pay__item-name {
    font-size: 16px;
    line-height: 115%;
    font-weight: 600;
}

.trf-requisite-pay__item-remove {
    align-self: flex-start;
}

.trf-requisite-pay__item-list {
    display: flex;
    flex-direction: column;
}

.trf-requisite-pay__item-list > li {
    font-size: 12px;
    line-height: 115%;
    opacity: 0.5;
}

.trf-requisite-pay__item-list > li:not(:last-child) {
    margin-bottom: 4px;
}

.trf-requisite-add {
    height: auto;
    min-height: 540px;
}

.trf-requisite-add__switcher {
    margin-bottom: 20px;
}

.trf-requisite-add__switcher-inner {
    display: flex;
}

.trf-requisite-add__switcher-button {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 1;
    background-color: transparent;
    border: 0;
}

.trf-requisite-add__switcher-button:not(:last-child) {
    margin-right: 20px;
}

.trf-requisite-add__switcher-button > span {
    --s: 24px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    margin-right: 14px;
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50px;
    border: 1px solid rgba(51, 51, 51, 0.25);
}

.trf-requisite-add__switcher-button._active > span {
    background-image: url('/img/common/checkmark.svg');
    background-color: #295cc9;
    border-color: #295cc9;
}

.trf-requisite-add__switcher-button > p {
    opacity: 0.5;
}

.trf-requisite-add__switcher-button._active > p {
    opacity: 1;
}

.trf-requisite-add__body {
    margin-bottom: 17px;
}

.trf-requisite-add__tab {
    display: none;
}

.trf-requisite-add__tab._active {
    display: block;
}

.trf-requisite-add__row {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.trf-requisite-add__row:not(:last-child),
.trf-requisite-add__block:not(:last-child) {
    margin-bottom: 14px;
}

.trf-requisite-add__label {
    display: flex;
    flex-direction: column;
}

.trf-requisite-add__label-caption {
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 115%;
    opacity: 0.5;
}

.trf-requisite-add__label-inner {
    position: relative;
}

.trf-requisite-add__label-input {
    width: 100%;
    height: 46px;
    padding: 0 48px 0 14px;
    font-size: 16px;
    line-height: 115%;
    border-radius: 10px;
    border: 1px solid rgba(51, 51, 51, 0.25);
}

.trf-requisite-add__label._error .trf-requisite-add__label-input {
    border-color: rgba(229, 64, 71, 0.25);
    color: #e54047;
}

.trf-requisite-add__label-icon {
    position: absolute;
    display: none;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.trf-requisite-add__label._done .trf-requisite-add__label-icon,
.trf-requisite-add__label._error .trf-requisite-add__label-icon {
    display: block;
}

.trf-requisite-add__label-icon > span {
    --s: 20px;

    display: block;
    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    mask-size: var(--s);
    -webkit-mask-size: var(--s);
}

.trf-requisite-add__label._done .trf-requisite-add__label-icon > span {
    background-color: #54b268;
    mask-image: url('/img/trf/trf-check-circle.svg');
    -webkit-mask-image: url('/img/trf/trf-check-circle.svg');
}

.trf-requisite-add__label._error .trf-requisite-add__label-icon > span {
    background-color: #e54047;
    mask-image: url('/img/trf/trf-warning.svg');
    -webkit-mask-image: url('/img/trf/trf-warning.svg');
}

.trf-requisite-add__label-icon .xpl-hint {
    right: -28px;
    bottom: calc(100% + 10px);
}

.trf-requisite-add__row-text {
    display: none;
    margin-top: 22.4px;
    font-size: 16px;
    line-height: 119.3%;
    font-weight: 600;
}

.trf-requisite-add__label._done + .trf-requisite-add__row-text {
    display: block;
}

.trf-requisite-add__block {
    display: none;
}

.trf-requisite-add__block._active {
    display: block;
}

.trf-requisite-add__footer {
    margin-top: auto;
}

.trf-card-remove__header,
.trf-requisite-remove__header,
.trf-auto-remove__header,
.trf-success__header,
.trf-failure__header,
.trf-link__header,
.trf-bill__header,
.trf-card-loading__header {
    position: relative;
    flex-shrink: 0;
    height: 171px;
    margin-bottom: 50px;
    background-color: #0b1c35;
    border-radius: 8px;
}

.trf-card-remove__header > img,
.trf-requisite-remove__header > img,
.trf-auto-remove__header > img,
.trf-success__header > img,
.trf-failure__header > img,
.trf-link__header > img,
.trf-bill__header > img,
.trf-card-loading__header > img {
    --s: 330px;

    position: absolute;
    width: var(--s);
    height: calc(var(--s) / 330 * 146);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.trf-card-remove__body,
.trf-requisite-remove__body,
.trf-auto-remove__body,
.trf-success__body,
.trf-failure__body,
.trf-link__body,
.trf-bill__body,
.trf-card-loading__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-bottom: 20px;
}

.trf-card-remove__title,
.trf-requisite-remove__title,
.trf-auto-remove__title,
.trf-success__title,
.trf-failure__title,
.trf-link__title,
.trf-bill__title,
.trf-card-loading__title {
    margin-bottom: 20px;
    font-size: 22px;
    line-height: 119.3%;
    font-weight: 600;
    text-align: center;
}

.trf-card-remove__text,
.trf-requisite-remove__text,
.trf-auto-remove__text,
.trf-success__text,
.trf-failure__text,
.trf-link__text,
.trf-bill__text,
.trf-card-loading__text {
    font-size: 16px;
    line-height: 115%;
    text-align: center;
}

.trf-card-remove__footer,
.trf-requisite-remove__footer,
.trf-auto-remove__footer,
.trf-success__footer,
.trf-failure__footer,
.trf-link__footer,
.trf-bill__footer {
    justify-content: center;
}

.trf-card-remove__footer-button:not(:last-child),
.trf-requisite-remove__footer-button:not(:last-child),
.trf-auto-remove__footer-button:not(:last-child),
.trf-failure__footer-button:not(:last-child) {
    margin-right: 20px;
}

.trf-auto-remove__header > img,
.trf-success__header > img,
.trf-failure__header > img,
.trf-link__header > img {
    top: auto;
    bottom: 0;
    transform: translateX(-50%);
}

.trf-bill__loading,
.trf-bill__done,
.trf-bill__error {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.trf-bill__line,
.trf-card-loading__line {
    position: relative;
    height: 8px;
    width: calc(100% - 60px);
    margin: 100px auto 0;
    background-color: rgba(41, 92, 201, 0.15);
    border-radius: 30px;
    overflow: hidden;
}

.trf-bill__line > div,
.trf-card-loading__line > div {
    position: absolute;
    width: 33%;
    height: 100%;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    background-color: #295cc9;
    border-radius: 30px;
    animation: billLine 2s infinite linear;
}

@keyframes billLine {
    to {
        transform: translateX(650px);
    }
}

.trf-bill__done,
.trf-bill__error,
.trf-bill._done .trf-bill__loading,
.trf-bill._error .trf-bill__loading,
.trf-bill._error .trf-bill__done {
    display: none;
}

.trf-bill._done .trf-bill__done,
.trf-bill._error .trf-bill__error {
    display: flex;
}

.trf-bill__warning {
    padding: 14px;
    margin-top: 21px;
    font-size: 16px;
    line-height: 115%;
    background-color: #f7f8fa;
    border-radius: 10px;
}

.trf-bill__warning > p:not(:last-child) {
    margin-bottom: 10px;
}

.trf-bill__warning > p > span:first-child {
    font-weight: 600;
}

.trf-bill__footer-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

@media not all and (hover: none) {
    .trf-auto__card-info > button:hover {
        color: #e54047;
    }
    .card__remove:hover,
    .trf-card-pay__item-remove:hover,
    .trf-requisite-pay__item-remove:hover {
        background-color: #e54047;
    }
    .trf-card-pay__add:hover > p,
    .trf-card-pay__add:hover > span,
    .trf-requisite-pay__add:hover > p,
    .trf-requisite-pay__add:hover > span {
        opacity: 1;
    }
    .trf-requisite-add__label._error .trf-requisite-add__label-icon > span:hover + .xpl-hint {
        opacity: 1;
        visibility: visible;
    }
    .trf-pay__item:disabled:hover .xpl-hint {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 1180px) {
    .trf {
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        padding: 0 20px 20px !important;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
    }

    .trf__back {
        display: flex;
    }

    .trf__main {
        height: calc(100vh - 106px);
        height: calc(100dvh - 106px);
    }
}

@media (max-width: 1024px) {
    .trf__back-menu {
        display: block;
    }

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

    .trf-aside__wrapper {
        position: fixed;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        left: 0;
        top: 0;
        background-color: rgba(51, 51, 51, 0.25);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s, visibility 0.2s;
        z-index: 20;
    }

    .trf-aside__wrapper._active {
        opacity: 1;
        visibility: visible;
    }

    .trf-aside {
        position: absolute;
        width: 300px;
        height: calc(100vh - 40px);
        height: calc(100dvh - 40px);
        left: 20px;
        top: 20px;
        transform: translateX(-200%);
        transition: transform 0.2s;
    }

    .trf-aside__wrapper._active .trf-aside {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .trf-pay__grid {
        grid-template-columns: 1fr;
    }

    .trf-finance__header {
        display: none;
    }

    .trf-finance__row {
        grid-template-columns: 1fr;
        grid-gap: 10px;
        padding: 14px;
        background-color: #f7f8fa;
    }

    .trf-finance__row:not(:last-child) {
        margin-bottom: 10px;
    }

    .trf-finance__row-item {
        display: flex;
        justify-content: space-between;
        text-align: left;
    }

    .trf-finance__row-item > span {
        display: block;
    }

    .trf-finance__row-item[data-type='date'] {
        order: 2;
    }

    .trf-finance__row-item[data-type='number'] {
        order: 3;
    }

    .trf-finance__row-item[data-type='sum'] {
        order: 4;
    }

    .trf-finance__row-links[data-type='links'] {
        order: 5;
    }

    .trf-finance__row-links > a {
        position: relative;
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 44px;
        font-size: 16px;
        line-height: 115%;
        font-weight: 500;
        background-color: #eaeaea;
        color: rgba(51, 51, 51, 0.5);
        border-radius: 10px;
        text-decoration: none;
        opacity: 1;
        mask-image: none !important;
        -webkit-mask-image: none !important;
        mask-size: auto !important;
        -webkit-mask-size: auto !important;
    }

    .trf-finance__row-links > a::before {
        position: absolute;
        content: attr(title);
    }
}

@media (max-width: 680px) {
    .trf {
        padding: 0 10px 10px !important;
    }

    .trf__back {
        padding: 0 10px;
        margin: 0 -10px 10px;
    }

    .trf__main {
        height: calc(100vh - 86px);
        height: calc(100dvh - 86px);
        padding: 0;
        background-color: transparent;
        border-radius: 0;
    }

    .trf-warning {
        margin-bottom: 10px;
    }

    .trf-header {
        padding: 14px;
        margin-bottom: 10px;
        background-color: #fff;
    }

    .trf-action {
        padding: 14px;
        margin-bottom: 10px;
        background-color: #fff;
    }

    .trf-action__inner {
        grid-template-columns: 1fr;
    }

    .trf-action__item {
        background-color: #f7f8fa;
    }

    .trf-table {
        padding: 14px;
        margin-bottom: 10px;
        background-color: #fff;
        border-radius: 10px;
    }

    .trf-auto,
    .trf-error {
        padding: 14px;
        margin-bottom: 10px;
    }

    .trf-pay,
    .trf-finance,
    .trf-cards,
    .trf-requisites {
        padding: 14px;
        background-color: #fff;
        border-radius: 10px;
    }
}

@media (max-width: 580px) {
    .trf-header__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .trf-header__name {
        margin-bottom: 20px;
    }

    .trf-header__stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
        padding: 20px;
        margin-left: 0;
        background-color: #f7f8fa;
        border-radius: 10px;
    }

    .trf-header__stats-item {
        min-width: auto;
    }

    .trf-header__stats-item:not(:last-child) {
        margin-right: 0;
    }

    .trf-table__header,
    .trf-table__footer {
        display: block;
        grid-template-columns: auto;
        min-height: auto;
        padding: 0;
        margin-bottom: 10px;
        background-color: transparent;
        border-radius: 0;
    }

    .trf-table__header-item:not(:first-child),
    .trf-table__name > span,
    .trf-table__label-name > p {
        display: none;
    }

    .trf-table__body,
    .trf-table__row:not(:last-child) {
        margin-bottom: 14px;
    }

    .trf-table__row {
        grid-template-columns: 1fr;
        grid-gap: 10px;
        padding: 14px;
        background-color: #f7f8fa;
    }

    .trf-table__name {
        font-weight: 600;
    }

    .trf-table__row-item {
        display: flex;
        justify-content: space-between;
        text-align: left;
    }

    .trf-table__row-item > span,
    .trf-table__label-item > span {
        display: block;
    }

    .trf-table__label {
        display: flex;
        align-items: center;
        grid-gap: 0;
    }

    .trf-table__label-name {
        margin-right: 10px;
    }

    .trf-table__label-name > input {
        margin-right: 0;
    }

    .trf-table__label-item {
        font-size: 16px;
        line-height: 20px;
        text-align: left !important;
    }

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

    .trf-auto__inner,
    .trf-error__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .trf-auto__text,
    .trf-error__info {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .trf-aside {
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        padding: 0 10px 10px;
        left: 0;
        top: 0;
        background-color: #f7f8fa;
        border-radius: 0;
    }

    .trf-aside__back {
        display: flex;
    }

    .trf-aside__content {
        padding: 10px;
        background-color: #fff;
        border-radius: 10px;
    }

    .trf-card-pay,
    .trf-requisite-pay,
    .trf-requisite-add,
    .trf-card-remove,
    .trf-requisite-remove,
    .trf-auto-remove,
    .trf-success,
    .trf-failure,
    .trf-link,
    .trf-bill {
        height: 100vh !important;
        height: 100dvh !important;
        padding: 10px !important;
        padding-top: 0 !important;
        background-color: #f7f8fa;
        border-radius: 0;
    }

    .trf-card-pay__back,
    .trf-requisite-pay__back,
    .trf-requisite-add__back,
    .trf-card-remove__back,
    .trf-requisite-remove__back,
    .trf-auto-remove__back,
    .trf-success__back,
    .trf-failure__back,
    .trf-link__back,
    .trf-bill__back {
        display: flex;
    }

    .trf-card-pay__content,
    .trf-requisite-pay__content,
    .trf-requisite-add__content,
    .trf-card-remove__content,
    .trf-requisite-remove__content,
    .trf-auto-remove__content,
    .trf-success__content,
    .trf-failure__content,
    .trf-link__content,
    .trf-bill__content {
        padding: 14px;
        background-color: #fff;
        border-radius: 10px;
    }

    .trf-card-pay__header,
    .trf-requisite-pay__header,
    .trf-requisite-add__header {
        margin-bottom: 14px;
    }

    .trf-card-pay__header-inner > p,
    .trf-requisite-pay__header-inner > p,
    .trf-requisite-add__header-inner > p {
        margin-bottom: 6px;
        font-size: 16px;
        line-height: 1;
        font-weight: 600;
    }

    .trf-card-pay__add,
    .trf-requisite-pay__add,
    .trf-card-pay__item:not(:last-child),
    .trf-requisite-pay__item:not(:last-child) {
        margin-bottom: 10px;
    }

    .trf-card-pay__list,
    .trf-requisite-pay__list {
        height: calc(100vh - 374px);
        height: calc(100dvh - 374px);
        overflow: auto;
    }

    .trf-requisite-add__switcher-inner {
        flex-direction: column;
    }

    .trf-requisite-add__switcher-button:not(:last-child) {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .trf-requisite-add__body {
        height: calc(100vh - 381px);
        height: calc(100dvh - 381px);
        overflow: auto;
    }

    .trf-requisite-add__row {
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }

    .trf-card-remove__header,
    .trf-requisite-remove__header,
    .trf-auto-remove__header,
    .trf-success__header,
    .trf-failure__header,
    .trf-link__header,
    .trf-bill__header,
    .trf-card-loading__header {
        height: 140px;
        margin-bottom: 40px;
    }

    .trf-card-remove__header > img,
    .trf-requisite-remove__header > img,
    .trf-auto-remove__header > img,
    .trf-success__header > img,
    .trf-failure__header > img,
    .trf-link__header > img,
    .trf-bill__header > img,
    .trf-card-loading__header > img {
        --s: 267px;
    }

    .trf-card-remove__title,
    .trf-requisite-remove__title,
    .trf-auto-remove__title,
    .trf-success__title,
    .trf-failure__title,
    .trf-link__title,
    .trf-bill__title,
    .trf-card-loading__title {
        margin-bottom: 14px;
        font-size: 20px;
        line-height: 119.3%;
    }

    .trf-card-pay__footer,
    .trf-requisite-pay__footer,
    .trf-requisite-add__footer,
    .trf-card-remove__footer,
    .trf-requisite-remove__footer,
    .trf-auto-remove__footer,
    .trf-success__footer,
    .trf-failure__footer,
    .trf-link__footer,
    .trf-bill__footer {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }

    .trf-card-pay__footer-button,
    .trf-requisite-pay__footer-button,
    .trf-requisite-add__footer-button,
    .trf-card-remove__footer-button,
    .trf-requisite-remove__footer-button,
    .trf-auto-remove__footer-button,
    .trf-success__footer-button,
    .trf-failure__footer-button,
    .trf-link__footer-button,
    .trf-bill__footer-button {
        width: 100%;
    }

    .trf-card-remove__footer-button:not(:last-child),
    .trf-requisite-remove__footer-button:not(:last-child),
    .trf-auto-remove__footer-button:not(:last-child),
    .trf-failure__footer-button:not(:last-child) {
        margin-right: 0;
    }

    .trf-card-pay__footer-cancel,
    .trf-requisite-pay__footer-cancel,
    .trf-requisite-add__footer-cancel,
    .trf-card-remove__footer-cancel,
    .trf-requisite-remove__footer-cancel,
    .trf-auto-remove__footer-cancel,
    .trf-failure__footer-cancel {
        order: 2;
    }
}
