/*Дэфолтные настройки*/
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}
*:hover{
    transition: 0.3s;
}
a, button, img {
    outline: none;
}
ul li{
    list-style: none;
}
html, body {
    margin: 0;
    position: relative;
    height: 100%;
    scroll-behavior: smooth;
}
body{
    overflow-x: clip;
}
h1,h2,h3,h4,h5,p,li,ul{
    margin: 0;
    padding: 0;
    transition: 0.3s;
}
ul{
    padding: 0;
    margin: 0;
}
body {
    font-family: "Inter", sans-serif;
    padding: 0;
    margin: 0;
    background: #FFFFFF;
    color: #161412;
}
h1,h2,h3,h4,h5{
    font-family: "Poppins", sans-serif !important;
}
a {
    color: #161412;
    text-decoration: none;
    transition: 0.3s;
}
a:hover:after,
a:focus:after {
    width: 100%;
}
.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}
input, textarea {
    outline:none;
    font-family: "Inter", sans-serif;
}
input::placeholder, textarea::placeholder{
    font-family: "Inter", sans-serif;
}
input:active, textarea:active {outline:none;}
:focus {outline:none;}
textarea {resize:none;}
textarea {resize:vertical;}
textarea {resize:horizontal;}
button:active, button:focus {
    outline: none;
}
button::-moz-focus-inner {
    border: 0;
}
button{
    cursor: pointer;
    border: none;
    font-family: "Inter", sans-serif;
}
/*Дэфолтные настройки*/
.onb {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    background: #fff;
    overflow: hidden;
    position: relative;
}
.onb__media {
    width: 40%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #ddd;
}
.onb__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.onb__content {
    width: 60%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.onb__box {
    width: 100%;
    max-width: 571px;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 20%;
    padding-bottom: 60px;
}
@media (min-width: 992px) {
    .onb__box {
        min-height: 100vh;
    }
}
.onb__step {
    display: none;
    width: 100%;
    text-align: center;
    animation: onbFade .35s ease;
}
.onb__step.is-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
@keyframes onbFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.onb__title {
    font-size: 32px;
    color: #28292A;
    text-align: center;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.onb__text {
    color: rgba(0, 0, 0, 0.80);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 28px */
}
.onb__field {
    width: 100%;
    margin-top: 20px;
}
.onb__input {
    width: 100%;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #FFF;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    height: 54px;
    padding: 12px 20px;
    font-size: 16px;
    color: #000;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
select.onb__input {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    background-color: #FFF;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    padding-right: 40px;
}
select.onb__input:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    color: #000;
}
.onb__input::placeholder{
    color: rgba(0, 0, 0, 0.60);
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
}
.onb__input:focus {
    border-color: #11c37c;
    box-shadow: 0 0 0 3px rgba(17, 195, 124, 0.12);
}
.onb__textarea {
    width: 100%;
    min-height: 110px;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    background: #fff;
    padding: 14px 16px;
    font-size: 16px;
    color: #222;
    resize: vertical;
    outline: none;
}
.onb__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    color: #555;
    font-size: 14px;
    line-height: 1.45;
    cursor: pointer;
}
.onb__checkbox span{
    color: rgba(0, 0, 0, 0.80);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 16.8px */
}
.onb__checkbox input {
    accent-color: #11c37c;
    margin-top: 5px;
}
.onb__channels {
    display: flex;
    gap: 8px;
    margin: 14px 0 4px;
}
.onb__channel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    color: #28292A;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.onb__channel input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.onb__channel.is-active {
    border-color: #11c37c;
    background: rgba(17, 195, 124, 0.08);
    color: #0a8f5a;
}
.onb__channel-hint {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.4;
    color: #888;
    text-align: left;
}
.onb__sms {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.onb__sms-input {
    width: 58px;
    height: 62px;

    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #FFF;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.onb__sms-input:focus {
    border-color: #11c37c;
    box-shadow: 0 0 0 3px rgba(17, 195, 124, 0.12);
}
.onb__error {
    min-height: 20px;
    margin-top: 10px;
    font-size: 13px;
    color: #e04c4c;
}
.onb__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
/* Desktop: back arrow top-left, at the edge of the hero image */
.onb__back {
    display: none;
    position: absolute;
    z-index: 5;
    top: 28px;
    left: calc(40% + 24px);
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    color: #28292A;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, transform .15s ease;
}
.onb__back:hover {
    background: #fff;
    transform: translateX(-1px);
}
.onb__back:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
@media (min-width: 992px) {
    .onb__back {
        display: inline-flex;
    }
}
.onb__btn {
    border: none;
    border-radius: 24px;
    background: #04C779;
    display: flex;
    padding: 15px 60px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.onb__btn:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}
.onb__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.onb__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cfeedd;
    transition: transform .2s ease, background .2s ease;
}
.onb__dot.is-active {
    background: #10c277;
    transform: scale(1.05);
}
.onb__btn:disabled {
    background: #5E5E5E;
    cursor: not-allowed;
    transform: none;
    opacity: 1;
}
.flex-onb__fieldInput{
    width: 100%;
}
.regAfter{
    color: #434445;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.logoHeader{
    height: 25px;
    width: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}
@media (min-width: 641px) {
    .logoHeader{
        height: 48px;
    }
    header{
        min-height: 64px;
        padding: 10px 0;
    }
}
header{
    width: 100%;
    z-index: 10;
    position: fixed;
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    min-height: 52px;
    box-sizing: border-box;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
}
.flexHeaderLinks{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 36px;
}
.flexHeaderLinks a{
    display: flex;
    align-items: center;
    position: relative;
    gap: 10px;
    color: #292D32;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.messageHeaderCircle{
    position: absolute;
    width: auto;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    font-weight: 600;
    font-size: 10px;
    line-height: 18px;
    background: #04C779;
    border-radius: 999px;
    color: #FFFFFF;
    top: -5px;
    left: -5px;
    white-space: nowrap;
}
.rightHeader{
    display: flex;
    align-items: center;
    gap: 50px;
}
.topInformationPage{
    padding-top: 20px;
    width: 100%;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.flex-topInformationPage{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.sectionLKMain{
    padding-top: 56px;
    padding-bottom: 40px;
}
.sectionLKMain--map{
    padding-top: 12px;
    padding-bottom: 0;
}
.sectionLKMain--no-nav{
    padding-top: 12px;
    padding-bottom: 40px;
}
.sectionLKMain--map .mapContentFlex{
    height: calc(100vh - 130px);
    max-height: calc(100vh - 130px);
    overflow: hidden;
}
.sectionLKMain--chat{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 0;
    height: calc(100dvh - 56px);
    min-height: calc(100dvh - 56px);
    box-sizing: border-box;
}
.sectionLKMain--chat > .topInformationPage{
    flex-shrink: 0;
    margin-bottom: 8px;
}
.sectionLKMain--chat > .container{
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.sectionLKMain--chat .flexLentaNews{
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
}
.sectionLKMain--chat .chatAllRooms{
    flex: 1 1 auto;
    min-height: 0;
    max-height: none !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
}
.sectionLKMain--chat .chatAllRooms__messages{
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 0 4px 8px;
    box-sizing: border-box;
}
/* Flex children shrink by default — without this, many messages
   collapse to thin slivers instead of scrolling. */
.sectionLKMain--chat .chatAllRooms__messages > *{
    flex-shrink: 0;
}
.sectionLKMain--chat .swipe-item--message{
    flex-shrink: 0;
}
.sectionLKMain--chat .flex-input-send{
    flex-shrink: 0;
    margin-top: 0;
    padding-bottom: 0;
    width: 100%;
}
.text-flex-topInformationPage{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.village-header__map-btn{
    position: relative;
    overflow: visible;
}
.village-header__map-icon{
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.map-indicator{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}
.map-indicator__ring{
    position: absolute;
    inset: 0;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-sizing: border-box;
    animation: map-indicator-pulse 1.4s ease-out infinite;
}
.map-indicator__dot{
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
    animation: map-indicator-blink 1.1s ease-in-out infinite;
}
@keyframes map-indicator-pulse{
    0%{ transform: scale(0.65); opacity: 1; }
    75%, 100%{ transform: scale(1.35); opacity: 0; }
}
@keyframes map-indicator-blink{
    0%, 100%{ opacity: 1; }
    50%{ opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce){
    .map-indicator__ring,
    .map-indicator__dot{
        animation: none;
    }
}
.text-flex-topInformationPage h4{
    color: #28292A;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.text-flex-topInformationPage p{
    color: #323232;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}
.mapContentFlex{
    height: 80vh;
    width: 100%;
    position: relative;
}
.mapContentFlex__yandex{
    width: 100%;
    height: 100%;
    min-height: 60vh;
}
.topInformationPage{
    margin-bottom: 30px;
}
.textOnMap{
    position: absolute;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #FFF;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    display: flex;
    max-width: 500px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 90%;
    color: rgba(0, 0, 0, 0.80);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 22.4px */
}
.redMassage-flexLentaNews{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid rgba(198, 40, 40, 0.35);
    border-left: 5px solid #C62828;
    background: rgba(229, 57, 53, 0.22);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    padding: 14px 16px;
}
.redMassage-flexLentaNews p,
.yellowMassage-flexLentaNews p,
.blueMassage-flexLentaNews p {
    margin: 0;
    color: rgba(0, 0, 0, 0.88);
    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    letter-spacing: 0;
    align-self: center;
}
.yellowMassage-flexLentaNews{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid rgba(245, 166, 35, 0.45);
    border-left: 5px solid #F5A623;
    background: rgba(255, 193, 7, 0.28);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    padding: 14px 16px;
}
.blueMassage-flexLentaNews{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid rgba(0, 120, 215, 0.4);
    border-left: 5px solid #0078D7;
    background: rgba(33, 150, 243, 0.24);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    padding: 14px 16px;
}
.flexLentaNews{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
}
.wrapper-flexLentaNews{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}
.block-wrapper-flexLentaNews{
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #FFF;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    position: relative;
}
.title-block-wrapper-flexLentaNews-photo{
    width: 45px;
    height: 45px;
    border-radius: 100%;
    object-fit: cover;
    flex-shrink: 0;
    background: #e8eef2;
}
.redMassage-flexLentaNews img,
.yellowMassage-flexLentaNews img,
.blueMassage-flexLentaNews img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}
.title-block-wrapper-flexLentaNews{
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.title-block-wrapper-flexLentaNews h4{
    color: #28292A;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.title-block-wrapper-flexLentaNews p{
    color: #323232;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}
.text-block-wrapper-flexLentaNews{
    margin: 0;
    color: rgba(0, 0, 0, 0.80);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0;
}
.feed-post-title{
    margin: 0 0 8px;
    color: #080808;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: 0;
}
.feed-post-photoWrap{
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}
.feed-post-photo{
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
@media (min-width: 992px) {
    /* Desktop: native ratio, flush left with post text */
    .feed-post-photoWrap{
        max-width: 920px;
        margin-left: 0;
        margin-right: auto;
        background: transparent;
    }
    .feed-post-photo{
        max-height: none;
        height: auto;
        max-height: 560px;
        object-fit: initial;
        border-radius: 10px;
    }
}
.btn-flexBTN-block-wrapper-flexLentaNews{
    display: flex;
    align-items: center;
    gap: 5px;
    color: #080808;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 14.4px */
}
.flexBTN-block-wrapper-flexLentaNews{
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.feed-post-source{
    margin-left: auto;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: rgba(0, 0, 0, 0.45);
    white-space: nowrap;
    flex-shrink: 0;
}
a.feed-post-source--link{
    color: rgba(0, 0, 0, 0.55);
    text-decoration: none;
    cursor: pointer;
}
a.feed-post-source--link:hover{
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
}

.sos-demo {
    min-height: 200vh;
    padding: 24px;
}
.sos-fab {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
}
.sos-fab__menu {
    position: absolute;
    right: 0;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    pointer-events: none;
}
.sos-fab__item {
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #FFE5E5;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    display: flex;
    padding: 10px 15px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    color: #080808;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 16.8px */
    min-width: 170px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    transition:
            opacity 0.22s ease,
            transform 0.22s ease,
            background 0.2s ease;
}
.sos-fab__item:hover {
    background: #ecd0d0;
}
.sos-fab.is-open .sos-fab__menu {
    pointer-events: auto;
}
.sos-fab.is-open .sos-fab__item {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.sos-fab.is-open .sos-fab__item:nth-child(1) {
    transition-delay: 0.02s;
}
.sos-fab.is-open .sos-fab__item:nth-child(2) {
    transition-delay: 0.05s;
}
.sos-fab.is-open .sos-fab__item:nth-child(3) {
    transition-delay: 0.08s;
}
.sos-fab.is-open .sos-fab__item:nth-child(4) {
    transition-delay: 0.11s;
}
.sos-fab.is-open .sos-fab__item:nth-child(5) {
    transition-delay: 0.15s;
}
.sos-fab.is-open .sos-fab__item:nth-child(6) {
    transition-delay: 0.19s;
}
.sos-fab__main {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    background: #F00;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.map-add-fab {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 1100;
}
.map-add-fab__backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: transparent;
}
.map-add-fab__menu {
    position: absolute;
    right: 0;
    bottom: 58px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: max-content;
    min-width: 248px;
    max-width: calc(100vw - 80px);
    pointer-events: none;
}
.map-add-fab__item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #FFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 13px 16px;
    color: #080808;
    font-family: "Inter", sans-serif;
    text-align: left;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition:
            opacity 0.22s ease,
            transform 0.22s ease,
            box-shadow 0.2s ease;
}
.map-add-fab__item-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.map-add-fab__item-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    flex: 1;
    min-width: 0;
}
.map-add-fab__item-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    color: #28292A;
    white-space: nowrap;
}
.map-add-fab__item-hint {
    display: block;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    color: rgba(0, 0, 0, 0.55);
    white-space: normal;
}
.map-add-fab__item-text strong {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #28292A;
}
.map-add-fab__item-text small {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    color: rgba(0, 0, 0, 0.55);
}
.map-add-fab__item--accident {
    background: #FFF5F5;
    border-color: rgba(255, 77, 79, 0.15);
}
.map-add-fab__item--lost {
    background: #FFFBF0;
    border-color: rgba(255, 193, 7, 0.25);
}
.map-add-fab__item--problem {
    background: #F7F0FF;
    border-color: rgba(114, 46, 209, 0.2);
}
.map-popup__house {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.map-popup__house-address {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2937;
}
.map-popup__house-own {
    margin: 0;
    font-size: 13px;
    color: #36C07E;
    font-weight: 600;
}
.map-popup__house-family {
    margin: 0;
    padding-top: 6px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.map-popup__house-family-title {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}
.map-popup__house-family-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.map-popup__house-family-list li {
    font-size: 13px;
    color: #1f2937;
    line-height: 1.3;
}
.map-popup__house-status {
    margin: 0;
    padding-top: 6px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 12px;
    color: rgba(0, 0, 0, 0.55);
}
.map-popup--problem .map-popup__header {
    background: rgba(114, 46, 209, 0.08);
}
.map-popup--problem .map-popup__type { color: #722ED1; }
.map-popup__like {
    margin: 8px 0 0;
    border: 1px solid rgba(114, 46, 209, 0.25);
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    color: #722ED1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.map-popup__like-icon {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
}
.map-popup__like.is-active {
    background: #722ED1;
    color: #fff;
}
.lost-contact-phone {
    margin: 0;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #1f2937;
}
.chat-geo-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(54, 192, 126, 0.12);
    color: #147A4D;
    font-weight: 600;
    text-decoration: none;
}
.chat-lost-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}
.chat-lost-actions .btnModal,
.chat-lost-actions .map-marker-modal__cancel {
    width: 100%;
}
.geo-settings-hint {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
}
.geo-settings-hint p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.4;
}
.geo-settings-hint ol {
    margin: 0 0 10px;
    padding-left: 18px;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(0, 0, 0, 0.7);
}
.geo-settings-hint .btnModal {
    width: 100%;
}
.map-add-fab__item:hover:not(:disabled) {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
    transform: translateY(-1px);
}
.map-add-fab.is-open .map-add-fab__item:hover:not(:disabled) {
    transform: translateY(0) scale(1);
}
.map-add-fab__item:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.map-add-fab.is-open .map-add-fab__menu {
    pointer-events: auto;
}
.map-add-fab.is-open .map-add-fab__item {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.map-add-fab.is-open .map-add-fab__item:nth-child(1) {
    transition-delay: 0.02s;
}
.map-add-fab.is-open .map-add-fab__item:nth-child(2) {
    transition-delay: 0.06s;
}
.map-add-fab__main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: none;
    border-radius: 50%;
    color: #FFF;
    background: #36C07E;
    box-shadow: 0 4px 16px rgba(54, 192, 126, 0.45);
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.2s ease;
}
.map-add-fab__main-icon {
    display: block;
    flex-shrink: 0;
}
.map-add-fab.is-open .map-add-fab__main {
    background: #5a5a5a;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.map-add-fab__main:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.map-add-fab__main--cancel {
    background: #888;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.map-marker-modal {
    padding-top: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.map-marker-modal__panel {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 16px;
    width: min(390px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 32px);
    padding: 0;
    overflow: auto;
    align-items: stretch;
    gap: 0;
    border-radius: 14px;
}
.map-marker-modal__panel--accident {
    border-top: 4px solid #FF4D4F;
}
.map-marker-modal__panel--lost {
    border-top: 4px solid #FFC107;
}
.map-marker-modal__panel--problem {
    border-top: 4px solid #722ED1;
}
.map-marker-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: #666;
    font-size: 22px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    z-index: 2;
    padding: 0;
}
.map-marker-modal__close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}
.map-marker-modal__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 52px 18px 20px;
    background: #FAFAFA;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    width: 100%;
    box-sizing: border-box;
}
.map-marker-modal__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}
.map-marker-modal__header h4 {
    margin: 0 0 6px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #28292A;
}
.map-marker-modal__header p {
    margin: 0;
    text-align: left;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(0, 0, 0, 0.55);
}
.map-marker-modal__error {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff1f0;
    color: #cf1322;
    font-size: 13px;
    line-height: 1.4;
}
.map-marker-modal__body {
    width: 100%;
    padding: 18px 20px 4px;
    box-sizing: border-box;
}
.map-marker-modal__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.map-marker-modal__label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    font-size: 13px;
    font-weight: 500;
    color: #28292A;
}
.map-marker-modal__label .onb__input {
    margin: 0;
    height: auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: none;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
}
.map-marker-modal__label .onb__input:focus {
    border-color: #36C07E;
    box-shadow: 0 0 0 3px rgba(54, 192, 126, 0.14);
}
.map-marker-modal__textarea {
    min-height: 96px;
    resize: vertical;
    line-height: 1.45;
}
.map-marker-modal__footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    padding: 12px 20px 20px;
    box-sizing: border-box;
}
.map-marker-modal__footer .btnModal {
    width: 100%;
    padding: 14px 20px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.map-marker-modal__footer .btnModal:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.map-marker-modal__cancel {
    border: none;
    background: transparent;
    padding: 10px 16px;
    color: rgba(0, 0, 0, 0.5);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    text-align: center;
    font-family: "Inter", sans-serif;
}
.map-marker-modal__cancel:hover:not(:disabled) {
    color: #28292A;
}
.map-marker-modal__cancel:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
/* Leaflet map marker popups */
.leaflet-container .map-leaflet-popup .leaflet-popup-content-wrapper {
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.leaflet-container .map-leaflet-popup .leaflet-popup-content {
    margin: 0;
    box-sizing: border-box;
    line-height: 1.4;
    font-family: "Inter", sans-serif;
    padding: 12px 44px 12px 16px;
    box-sizing: border-box;
}
.leaflet-container .map-leaflet-popup .leaflet-popup-tip {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.leaflet-container .map-leaflet-popup a.leaflet-popup-close-button {
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: #666;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    text-decoration: none;
}
.leaflet-container .map-leaflet-popup a.leaflet-popup-close-button:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}
.map-popup {
    display: flex;
    flex-direction: column;
    font-family: "Inter", sans-serif;
}
.map-popup__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px 10px;
}
.map-popup--accident .map-popup__header {
    background: rgba(255, 77, 79, 0.06);
}
.map-popup--lost .map-popup__header {
    background: rgba(255, 193, 7, 0.07);
}
.map-popup__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.map-popup__header-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.map-popup__type {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.4);
}
.map-popup--accident .map-popup__type { color: #E04547; }
.map-popup--lost .map-popup__type { color: #C99200; }
.map-popup__title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
}
.map-popup__text {
    margin: 0;
    padding: 8px 14px 4px;
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    white-space: pre-wrap;
    word-break: break-word;
}
.map-popup__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 14px 12px;
}
.map-popup__actions-row {
    display: flex;
    gap: 6px;
}
.map-popup__btn {
    flex: 1;
    border: none;
    border-radius: 8px;
    padding: 8px 10px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: filter 0.15s ease;
    text-align: center;
}
.map-popup__btn--primary {
    background: #04C779;
    color: #FFF;
}
.map-popup__btn--primary:hover { filter: brightness(0.93); }
.map-popup__btn--secondary {
    background: #f0f0f0;
    color: #333;
}
.map-popup__btn--secondary:hover { background: #e4e4e4; }
.map-popup__btn--danger {
    background: #fff0f0;
    color: #E04547;
    border: 1px solid rgba(224,69,71,0.15);
}
.map-popup__btn--danger:hover { background: #ffe4e4; }
.map-placing-hint {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    max-width: calc(100% - 24px);
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
    font-size: 13px;
    text-align: center;
    color: #333;
}
.map-placing-hint--error {
    color: #e04c4c;
}
.map-placing-hint--success {
    color: #36C07E;
}
.btnBack{
    display: flex;
    align-items: center;
    justify-content: center;
}


.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(000, 000, 000, 0.4);
    backdrop-filter: blur(5px);
}
.modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background: #FFF;
    display: flex;
    width: 390px;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
}
.modalContent{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
.modalContent h4{
    color: #28292A;
    text-align: center;
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.modalContent p{
    color: rgba(0, 0, 0, 0.80);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 19.6px */
}
.flexBtnModal{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
}
.btnModal{
    border-radius: 24px;
    background: #36C07E;
    display: flex;
    width: fit-content;
    padding: 10px 45px;
    color: #FFF;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.close1{
    color: #28292A;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* Support poll modal */
.support-poll-modal {
    padding-top: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.support-poll-modal__panel {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(390px, calc(100vw - 32px));
    max-height: min(90vh, 560px);
    overflow-y: auto;
    padding: 20px 16px 16px;
    align-items: stretch;
    gap: 0;
    box-sizing: border-box;
}
.support-poll-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: #28292A;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.support-poll-modal__close:hover {
    background: rgba(0, 0, 0, 0.1);
}
.support-poll-modal__header {
    padding-right: 36px;
    margin-bottom: 16px;
}
.support-poll-modal__header h4 {
    color: #28292A;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    margin: 0 0 6px;
}
.support-poll-modal__header p {
    margin: 0;
    color: rgba(0, 0, 0, 0.55);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
}
.support-poll-modal__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.support-poll-modal__field,
.support-poll-modal__options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.support-poll-modal__label {
    color: #28292A;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}
.support-poll-modal__input {
    width: 100%;
    box-sizing: border-box;
    height: 48px;
    padding: 10px 14px;
    font-size: 15px;
}
.support-poll-modal__option-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.support-poll-modal__option-row .support-poll-modal__input {
    flex: 1;
    min-width: 0;
}
.support-poll-modal__remove {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    background: #FFF;
    color: rgba(0, 0, 0, 0.45);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.support-poll-modal__remove:hover {
    border-color: rgba(255, 77, 79, 0.35);
    color: #FF4D4F;
}
.support-poll-modal__add {
    align-self: flex-start;
    border: none;
    background: transparent;
    color: #36C07E;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    padding: 4px 0;
}
.support-poll-modal__add:hover {
    color: #2da86a;
}
.support-poll-modal__footer {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 4px;
}
.support-poll-modal__cancel {
    flex: 1;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 24px;
    background: #FFF;
    color: #28292A;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.support-poll-modal__cancel:hover {
    background: rgba(0, 0, 0, 0.03);
}
.support-poll-modal__submit {
    flex: 1;
    width: auto;
    height: 44px;
    padding: 0 20px;
}
.support-poll-modal__submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.swipe-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    user-select: none;
    width: 100%;
    flex-shrink: 0;
}
.swipe-item--chat {
    min-height: 66px;
    isolation: isolate;
}
.swipe-item--message {
  overflow: hidden;
  border-radius: 0;
  width: 100%;
}
.swipe-item--message .swipe-item__content--message {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  gap: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  /* Opaque layer keeps action buttons hidden until the row is swiped. */
  background: #FFFFFF;
  box-sizing: border-box;
  touch-action: pan-y;
}
.swipe-item__actions--message {
  gap: 6px;
  padding-right: 4px;
  z-index: 1;
  align-items: stretch;
}
.swipe-msg-action {
  width: 64px;
  height: 62px;
  min-height: 0;
  max-height: calc(100% - 4px);
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: none;
  border-radius: 14px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  flex-shrink: 0;
  padding: 8px 4px;
}
.swipe-msg-action img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.swipe-msg-action--reply {
  background: #36C07E;
}
.swipe-msg-action--edit {
  background: #4E58C4;
}
.swipe-msg-action--delete {
  background: #EF4444;
}
.swipe-item__btn--reply {
  background: #36C07E;
}
.swipe-item__btn--edit {
  background: #3B82F6;
}
.chat-reply-quote {
  width: 100%;
  margin: 0 0 4px;
  padding: 6px 8px;
  border-left: 3px solid #36C07E;
  border-radius: 6px;
  background: rgba(54, 192, 126, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.chat-reply-quote strong {
  color: #36C07E;
  font-size: 11px;
  font-weight: 600;
}
.chat-reply-quote span {
  color: rgba(0, 0, 0, 0.65);
  font-size: 12px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}
.chat-composer-context {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #F3F6F8;
  border-left: 3px solid #36C07E;
}
.chat-composer-context__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.chat-composer-context__body strong {
  font-size: 12px;
  color: #36C07E;
}
.chat-composer-context__body span {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-composer-context__close {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
}
.unread-messages-marker {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #36C07E;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  scroll-margin-block: 84px;
}
.unread-messages-marker::before,
.unread-messages-marker::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(54, 192, 126, 0.45);
}
.unread-messages-marker span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #ECFDF5;
  white-space: nowrap;
}
.sectionLKMain--chat .swipe-item--message .block-messagePeople {
  width: 100%;
}

.swipe-item__actions {
    position: absolute;
    inset: 0 0 0 auto;
    display: flex;
    justify-content: flex-end;
    height: 100%;
    align-items: center;
    gap: 5px;
}
.swipe-item__btn {
    width: 80px;
    height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    gap: 3px;
    border: none;
    color: #fff;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 15px;
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
}
.swipe-item__btn-icon {
    width: 24px;
    height: 24px;
    flex: none;
}
.swipe-item--chat .swipe-item__actions {
    padding-right: 0;
    gap: 0;
}
.swipe-item__btn--mute {
    background: #FFB956;
    color: #FFFFFF;
}
.swipe-item__btn--mute .swipe-item__btn-icon {
    display: block;
}
.swipe-item__btn--delete {
    background: #F00;
}
.swipe-item__content {
    position: relative;
    z-index: 2;
    background: #FFFFFF;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    display: flex;
    padding: 10px;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.25s ease;
    touch-action: pan-y;
    cursor: grab;
    height: 66px;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
}
.swipe-item__content.is-dragging {
    transition: none;
    cursor: grabbing;
}
.left-swipe-item__contentPhoto{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: transparent;
}
.text-left-swipe-item__content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}
.text-left-swipe-item__content h4{
    color: #28292A;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    font-family: "Inter", sans-serif !important;
    margin: 0;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
}
.text-left-swipe-item__content h4 > span:first-child{
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.text-left-swipe-item__content p{
    color: #666;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.left-swipe-item__content{
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}
.circleMassage-swipe-item__content{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 9.5px;
    background: #36C07E;
    width: 27px;
    height: 19px;
    padding: 2px 9px 2px 10px;
    gap: 10px;
    color: #FFF;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    flex-shrink: 0;
}
.title-block-wrapper-flexLentaNews-photo-2{
    border-radius: 50%;
    width: 30px;
    height: 30px;
}
.right-block-wrapper-flexLentaNewsV2{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}
.right-block-wrapper-flexLentaNewsV2 h4{
    color: #28292A;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.right-block-wrapper-flexLentaNewsV2 p{
    color: rgba(0, 0, 0, 0.80);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 19.6px */
}
.flex-right-block-wrapper-flexLentaNewsV2{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}
.flex-right-block-wrapper-flexLentaNewsV2 a{
    color: #323232;
    text-align: right;
    font-size: 10px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}
.flex-right-block-wrapper-flexLentaNewsV2 span{
    color: #323232;
    text-align: right;
    font-size: 10px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}
.block-wrapper-flexLentaNewsV2{
    display: flex;
    align-items: flex-end;
    gap: 10px;
    width: 100%;
}
.block-wrapper-flexLentaNewsV2_2{
    justify-content: right;
}
.block-wrapper-flexLentaNewsV2_2 .right-block-wrapper-flexLentaNewsV2 p{
    text-align: right;
}
.right-block-wrapper-flexLentaNewsV2_2{
    align-items: flex-end;
}
.block-wrapper-flexLentaNewsV2_2 .right-block-wrapper-flexLentaNewsV2 h4{
    text-align: right;
}
.flex-right-block-wrapper-flexLentaNewsV2_2{
    justify-content: right;
}
.wrapper-flexLentaNewsComments{
    max-height: 70vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 8px;
}

/* News stays pinned above the list; only comments scroll beneath it. */
.flexLentaNews--comments {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    overflow: hidden;
}

.comments-post-sticky {
    position: relative;
    top: auto;
    z-index: 6;
    flex: 0 0 auto;
    background: #FFF;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 4px;
    max-height: 42%;
    overflow: hidden;
}

body.keyboard-open .comments-post-sticky {
    max-height: min(28vh, 160px);
}

/* Comments reuse chat layout classes, but must scroll themselves
   (chat scrolls .chatAllRooms__messages; comments have no such child). */
.sectionLKMain--comments .chatAllRooms,
.sectionLKMain--comments .wrapper-flexLentaNewsComments {
    padding-top: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none !important;
    align-items: stretch;
    gap: 16px;
}

.sectionLKMain--comments .wrapper-flexLentaNewsComments > * {
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

.sectionLKMain--comments .flex-input-send--comments-only {
    flex: 0 0 auto;
    position: relative;
    z-index: 8;
    background: #fff;
}

.flex-input-send--comments-only {
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 2px;
    padding-bottom: 4px;
}

.flex-input-send--comments-only .comment-reply-bar {
    width: 100%;
    margin: 0;
}

.flex-input-send--comments-only .input-send {
    flex: 1;
    width: auto;
}

.comment-thread-reply {
    position: relative;
}

.comment-thread-reply::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 8px;
    width: 2px;
    border-radius: 2px;
    background: rgba(54, 192, 126, 0.35);
}

.comment-reply-to {
    margin: 0 0 4px;
    color: #36C07E;
    font-size: 11px;
    font-weight: 500;
    line-height: normal;
}

.comment-reply-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(54, 192, 126, 0.1);
    color: rgba(0, 0, 0, 0.7);
    font-size: 12px;
}

.comment-reply-bar__cancel {
    border: none;
    background: none;
    color: rgba(0, 0, 0, 0.45);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}



.input-send {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    /* Keep positioning box = input height so absolute send button stays centered. */
    padding-bottom: 0 !important;
}
.input-send input {
    width: 100%;
    color: rgba(0, 0, 0, 1);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #FFF;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    height: 54px;
    padding: 14px 48px 14px 20px;
    box-sizing: border-box;
}
.input-send input::placeholder {
    color: rgba(0, 0, 0, 0.60);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
}
.input-send button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: #10c277;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    z-index: 2;
}
.input-send.active button {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}
.block-flexSupportText{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    width: 100%;
    padding: 22px 20px;
    box-sizing: border-box;
    align-self: center;
}
.block-flexSupportText h4{
    color: #28292A;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.block-flexSupportText h5{
    color: #28292A;
    text-align: center;
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0;
}
.block-flexSupportText span{
    color: #9B9B9B;
    text-align: center;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.block-flexSupportText p{
    color: #5A5A5A;
    text-align: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}
.flexSupport{
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 65vh;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
    box-sizing: border-box;
}
.flexSupport--chat{
    height: auto;
    flex: 1;
    min-height: 0;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 8px;
}
.flexSupport button.block-flexSupportText{
    cursor: pointer;
    background: #fff;
    font: inherit;
    text-align: center;
    width: 100%;
    max-width: 270px;
    align-self: center;
    box-shadow: 0 6px 18px rgba(40, 41, 42, 0.10);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.flexSupport button.block-flexSupportText:active{
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(40, 41, 42, 0.10);
}
.support-chat-toolbar{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 4px 0 8px;
}
.support-chat-toolbar__title{
    margin: 0;
    color: #28292A;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}
.support-chat-empty{
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    padding: 8px 12px;
}
.support-chat-error{
    position: relative;
    width: 100%;
    margin: 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff1f0;
    color: #cf1322;
    font-size: 13px;
    line-height: 1.4;
}
.support-chat-error__close {
    position: absolute;
    top: 4px;
    right: 4px;
    border: none;
    background: transparent;
    color: #cf1322;
    opacity: 0.65;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 6px 8px;
}
.support-chat-error__close:hover {
    opacity: 1;
}
.support-chat-error--composer{
    flex-shrink: 0;
    margin-top: 4px;
}
.block-flexSupportText h5{
    color: #323232;
    text-align: center;
    font-family: "Inter", sans-serif !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.block-flexSupportText span{
    color: #666;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 16.8px */
}
.flex-input-send{
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    position: relative;
    z-index: 5;
    flex-shrink: 0;
}

/* === WRAPPER === */
.attach-menu {
    position: relative;
    display: inline-block;
    z-index: 6;
}
/* === BUTTON === */
.attach-menu__trigger {
    cursor: pointer;
    display: flex;
    width: 54px;
    height: 54px;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #FFF;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
}
/* === PANEL === */
.attach-menu__panel {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    width: 172px;
    z-index: 20;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: 0.25s ease;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #FFF;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
/* OPEN STATE */
.attach-menu.is-open .attach-menu__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
/* === ITEMS === */
.attach-menu__item {
    width: 100%;
    color: #080808;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 16.8px */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #e0cfcf;
    background: #FFFFFF;
}
.attach-menu__item:last-child {
    border-bottom: none;
}
.voiceInput{
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #FFF;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    display: flex;
    width: 54px;
    height: 54px;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
button.voiceInput{
    font: inherit;
}
button.voiceInput:disabled{
    opacity: 0.6;
    cursor: not-allowed;
}
.voiceInput--active{
    border-color: #36C07E;
    box-shadow: 0 0 0 3px rgba(54, 192, 126, 0.2);
    background: #36C07E;
    color: #FFF;
}
.voice-recording-bar{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 0 16px;
    border-radius: 15px;
    border: 1px solid rgba(255, 77, 79, 0.2);
    background: #FFF5F5;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
}
.voice-recording-bar__dot{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FF4D4F;
    flex-shrink: 0;
    animation: voiceRecPulse 1s ease-in-out infinite;
}
@keyframes voiceRecPulse{
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.voice-recording-bar__time{
    font-size: 14px;
    font-weight: 500;
    color: #28292A;
    flex-shrink: 0;
    min-width: 36px;
}
.voice-recording-bar__progress{
    flex: 1;
    height: 4px;
    background: rgba(255, 77, 79, 0.2);
    border-radius: 2px;
    overflow: hidden;
}
.voice-recording-bar__progress-fill{
    display: block;
    height: 100%;
    background: #FF4D4F;
    border-radius: 2px;
    transition: width 0.5s linear;
}
.voice-limit-modal{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.voice-limit-modal__box{
    background: #fff;
    border-radius: 14px;
    padding: 24px 20px 16px;
    max-width: 280px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.voice-limit-modal__box p{
    font-size: 15px;
    line-height: 1.5;
    color: #28292A;
    margin-bottom: 16px;
}
.voice-limit-modal__box button{
    background: #04C779;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 32px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}
.voice-recording-bar__cancel{
    border: none;
    background: transparent;
    color: rgba(0, 0, 0, 0.5);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}
.poll-msg{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0 0;
}
.poll-msg__question{
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px;
    line-height: 1.4;
}
.poll-msg__options{
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.poll-msg__option{
    position: relative;
    width: 100%;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    background: #f7f7f7;
    padding: 8px 36px 8px 10px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #222;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.15s;
}
.poll-msg__option--voted{
    border-color: #04C779;
    background: #f0fdf7;
}
.poll-msg__option-bar{
    position: absolute;
    inset: 0 auto 0 0;
    background: rgba(4, 199, 121, 0.15);
    transition: width 0.4s ease;
    pointer-events: none;
}
.poll-msg__option-text{
    position: relative;
    z-index: 1;
}
.poll-msg__option-pct{
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 600;
    color: #04C779;
    z-index: 1;
}
.poll-msg__total{
    font-size: 12px;
    color: rgba(0,0,0,0.45);
    margin: 2px 0 0;
}
.poll-msg--own .poll-msg__question{ color: #1a1a1a; }
.poll-msg--own .poll-msg__option{ border-color: rgba(0,0,0,0.15); background: rgba(255,255,255,0.6); color: #222; }
.poll-msg--own .poll-msg__option--voted{ border-color: #04C779; background: rgba(4,199,121,0.1); }
.poll-msg--own .poll-msg__option-bar{ background: rgba(4,199,121,0.15); }
.poll-msg--own .poll-msg__option-pct{ color: #04C779; }
.poll-msg--own .poll-msg__total{ color: rgba(0,0,0,0.45); }
.voice-message{
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
}
.voice-message__track{
    flex: 1;
    height: 4px;
    background: rgba(0,0,0,0.15);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.voice-message__bar{
    height: 100%;
    background: #36C07E;
    border-radius: 2px;
    transition: width 0.1s linear;
    min-width: 0;
}
.voice-message__play{
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #36C07E;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
}
.voice-message__time{
    font-size: 13px;
    color: inherit;
    opacity: 0.75;
    min-width: 36px;
}
.voice-message audio{
    display: none;
}
.photo-textMessagePeople{
    height: 159px;
    border-radius: 10px;
}
.block-messagePeople{
    display: flex;
    align-items: flex-end;
    gap: 15px;
}
.textMessagePeople{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.text-textMessagePeople{
    position: relative;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 288px;
    max-width: calc(100vw - 90px);
    box-sizing: border-box;
    padding-bottom: 26px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #FFF;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
}
.text-textMessagePeople h4{
    margin: 0;
    color: #28292A;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0;
}
.text-textMessagePeople p{
    margin: 0;
    color: rgba(0, 0, 0, 0.80);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}
.text-textMessagePeople > span{
    color: #323232;
    font-family: "Inter", sans-serif;
    text-align: right;
    font-size: 10px;
    font-style: normal;
    font-weight: 300;
    line-height: 100%;
    letter-spacing: 0;
    position: absolute;
    right: 10px;
    bottom: 10px;
}
.chatAllRooms{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.text-textMessagePeople-2{
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(31, 245, 38, 0.15);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
}
.block-messagePeople-2{
    width: 100%;
    justify-content: flex-end;
    display: flex;
}
.sectionLKMain--chat .chatAllRooms,
.sectionLKMain--chat .chatAllRooms__messages{
    width: 100%;
    box-sizing: border-box;
    gap: 16px;
}
.sectionLKMain--chat .chatAllRooms__messages{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 4px;
    box-sizing: border-box;
}
.sectionLKMain--chat .chatAllRooms__messages > *{
    flex-shrink: 0;
}
.sectionLKMain--chat .block-messagePeople{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.sectionLKMain--chat .block-messagePeople-2{
    justify-content: flex-end;
}
.sectionLKMain--chat .block-messagePeople-2 .textMessagePeople{
    align-items: flex-end;
    flex: 0 1 auto;
    width: auto;
    max-width: calc(100% - 4px);
}
.sectionLKMain--chat .block-messagePeople .textMessagePeople{
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 52px);
}
.sectionLKMain--chat .text-textMessagePeople,
.sectionLKMain--chat .text-textMessagePeople-2{
    width: fit-content;
    min-width: 120px;
    max-width: min(300px, calc(100vw - 88px));
}
.flexSupport--chat .block-messagePeople{
    width: 100%;
    align-items: flex-end;
}
.flexSupport--chat .block-messagePeople .textMessagePeople{
    flex: 0 1 auto;
    width: auto;
    max-width: calc(100% - 52px);
}
.flexSupport--chat .text-textMessagePeople,
.flexSupport--chat .text-textMessagePeople-2{
    width: fit-content;
    min-width: 120px;
    max-width: min(300px, calc(100vw - 88px));
}
.sectionLKMain--chat .title-block-wrapper-flexLentaNews-photo{
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    object-fit: cover;
}
.sectionLKMain--chat .photo-textMessagePeople{
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
}
.chatAllRooms{
    width: 100%;
}
.sectionLKMain--chat .chatAllRooms{
    max-height: none !important;
    overflow: hidden !important;
}
.top-editProfileContent{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 30px;
}
.cancelActionProfile{
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
}
.readyActionProfile{
    box-sizing: border-box;
    color: #000;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
    flex: none;
    min-width: 70px;
    width: auto;
    white-space: nowrap;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #FFFFFF;
    display: flex;
    padding: 6px 14px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.photoProfile{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.photoProfile a{
    color: #616161;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.photoProfile{
    margin-bottom: 30px;
}
.photoProfile__img{
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.photoProfile__placeholder{
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.photoProfile__placeholder img{
    width: 32px;
    height: 32px;
    opacity: 0.35;
}
.onb__field-hint,
.onb__field > span:not(.phone-invite__prefix){
    color: #616161;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.flexInputsEditProfile{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}
.flexInputsEditProfile .onb__field{
    margin-top: 0;
}
.onb__field-hint{
    display: block;
    margin-top: 8px;
}
.flexInputsEditProfile .edit-phone-row{
    height: 54px;
}
.flexInputsEditProfile .edit-phone-row .phone-invite__prefix{
    height: 54px;
    margin: 0;
    font-family: "Nunito", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0;
    color: #000;
}
.flexInputsEditProfile .edit-phone-row .onb__input{
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
}
.flexInputsEditProfile .onb__input{
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.07);
    font-family: "Inter", sans-serif;
}
.flexInputsEditProfile .onb__input:focus{
    border-color: #11c37c;
    box-shadow: 0 0 0 3px rgba(17, 195, 124, 0.12);
}
.edit-phone-wrap{
    position: relative;
    width: 100%;
}
.edit-phone-prefix{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    color: #000;
    border-right: 1px solid rgba(0,0,0,0.08);
    pointer-events: none;
}
.edit-phone-input{
    padding-left: 72px !important;
}
.logOUTaccount{
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #F00;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
    width: auto;
    white-space: nowrap;
    height: 46px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #FFFFFF;
    padding: 12px 24px;
    gap: 10px;
}
.photoProfile p{
    color: #28292A;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.blockProfile{
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #FFF;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    padding: 20px;
    width: 100%;
    color: #28292A;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px; /* 137.5% */
}
.blockProfile img{
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}
.flexHeaderLinks a img{
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}
.flexWrapperNotification{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    gap: 50px;
}
.blockFlex-flexWrapperNotification{
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 15px;
    flex-direction: column;
}
.line-blockFlex-flexWrapperNotification{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.line-blockFlex-flexWrapperNotification span{
    color: #616161;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.blockNotificationColumn__img{
    height: 25px;
    width: 25px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.ui-switch {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}
.ui-switch__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.ui-switch__track {
    position: relative;
    display: block;
    width: 45px;
    height: 25px;
    border-radius: 999px;
    background: #6f6f6f;
    cursor: pointer;
    transition: background 0.25s ease;
    pointer-events: none;
}
.ui-switch__thumb {
    position: absolute;
    top: 2.5px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ececec;
    transition: transform 0.25s ease;
    pointer-events: none;
}
.ui-switch__input:checked + .ui-switch__track {
    background: #3fc27a;
}
.ui-switch__input:checked + .ui-switch__track .ui-switch__thumb {
    transform: translateX(19px);
}
.blockNotificationColumn{
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.blockNotificationColumn__remove {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    box-shadow: none;
    border-radius: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.55;
    padding: 0;
}
.blockNotificationColumn__remove:hover,
.blockNotificationColumn__remove:focus,
.blockNotificationColumn__remove:active {
    opacity: 1;
    background: none;
    box-shadow: none;
}
.blockNotificationColumn__remove:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.blockNotificationColumn__remove img {
    display: block;
}
.blockNotificationColumn__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.blockNotificationColumn__meta p {
    margin: 0;
}
.blockNotificationColumn__role {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    font-weight: 500;
}
.blockNotificationColumn__role--admin {
    color: #36C07E;
}
.flexLeft-blockNotificationColumn{
    display: flex;
    align-items: center;
    gap: 10px;
}
.infoInviteBlock{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}
.infoInviteBlock h4{
    color: #28292A;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.infoInviteBlock__hint {
    margin: -8px 0 0;
    color: rgba(0, 0, 0, 0.55);
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
}
.infoInviteBlock__counter {
    margin: 0;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(54, 192, 126, 0.12);
    color: #2A9D63;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}
.infoInviteBlock__counter--family {
    background: rgba(54, 192, 126, 0.14);
    color: #1F8F57;
}
.infoInviteBlock__notice {
    margin: 0;
    font-size: 14px;
    text-align: center;
    line-height: 1.35;
}
.infoInviteBlock__notice--error {
    color: #e04c4c;
}
.infoInviteBlock__notice--warn {
    color: #e04c4c;
}
.infoInviteBlock__notice--warn a {
    color: #e04c4c !important;
    text-decoration: underline;
    font-weight: 600;
}
.infoInviteBlock__success {
    width: 100%;
    margin: 0;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #36C07E;
    background: rgba(54, 192, 126, 0.12);
    color: #2A9D63;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
    box-sizing: border-box;
}
.invite-list-empty {
    width: 100%;
    margin: 0;
    padding: 8px 0 4px;
    text-align: center;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.45);
}
.blockNotificationColumn__img--placeholder {
    background: #f0f0f0;
}

.phone-invite {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}
.phone-invite__row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    height: 46px;
    gap: 10px;
}
.phone-invite__prefix {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 60px;
    height: auto;
    margin: 0;
    padding: 12px 20px;
    gap: 10px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.07);
    border-radius: 5px;
    font-family: "Nunito", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
}
.phone-invite__row input {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: auto;
    margin: 0;
    padding: 12px 20px;
    gap: 10px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.07);
    border-radius: 5px;
    font-family: "Nunito", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.phone-invite__row input::placeholder {
    color: #666666;
}
.onb__input::placeholder{
    color: rgba(0, 0, 0, 0.60);
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
}
.phone-invite button {
    border: none;
    border-radius: 24px;
    background: #04C779;
    display: flex;
    padding: 15px 60px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
/* disabled */
.phone-invite button:disabled {
    background: #5E5E5E;
    cursor: not-allowed;
}
.phone-invite{
    width: 100%;
}

.media-lightbox{
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding:
        env(safe-area-inset-top, 0px)
        env(safe-area-inset-right, 0px)
        env(safe-area-inset-bottom, 0px)
        env(safe-area-inset-left, 0px);
}
.media-lightbox__close{
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 12px);
    right: calc(env(safe-area-inset-right, 0px) + 12px);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    z-index: 20002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.media-lightbox__download{
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 20px);
    right: calc(env(safe-area-inset-right, 0px) + 68px);
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    z-index: 20002;
    opacity: 0.9;
}
.media-lightbox__content{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 12px 12px;
    box-sizing: border-box;
}
.media-lightbox__image{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}
.media-lightbox__iframe{
    width: min(100%, 820px);
    height: min(100%, 900px);
    border: none;
    border-radius: 8px;
    background: #fff;
}
.media-lightbox__document{
    width: min(92vw, 420px);
    padding: 28px 20px;
    border-radius: 14px;
    background: #fff;
    color: #28292A;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    box-sizing: border-box;
}
.media-lightbox__document-icon{
    font-size: 52px;
    line-height: 1;
}
.media-lightbox__document strong{
    max-width: 100%;
    overflow-wrap: anywhere;
}
.media-lightbox__document a{
    padding: 11px 16px;
    border-radius: 10px;
    background: #36C07E;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.chatAllRooms{
    position: relative;
}
.topMoneyInfoAbsolute{
    position: sticky;
    top: 0;
    z-index: 3;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #CEF4D8;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    display: flex;
    width: 100%;
    padding: 10px 15px;
    justify-content: space-between;
    align-items: flex-start;
    flex-shrink: 0;
    gap: 10px;
}
.sectionLKMain--chat .chatAllRooms--with-balance{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 0;
}
.sectionLKMain--chat .chatAllRooms--with-balance .topMoneyInfoAbsolute{
    position: relative;
    top: auto;
    margin-bottom: 8px;
    flex-shrink: 0;
    max-height: 42%;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.sectionLKMain--chat .chatAllRooms--with-balance .chatAllRooms__messages{
    flex: 1 1 auto;
    min-height: 120px;
}
.left-topMoneyInfoAbsolute h2{
    color: #28292A;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0;
}
.left-topMoneyInfoAbsolute{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1;
    min-width: 0;
}
.left-topMoneyInfoAbsolute__row{
    display: flex;
    align-items: center;
    gap: 10px;
}
.left-topMoneyInfoAbsolute p{
    color: #28292A;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}
.rf-expenses-link{
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    color: #5a7a68;
    text-decoration: underline;
    cursor: pointer;
    line-height: 1.2;
}
.rf-expenses-link:hover{
    color: #3d5a4a;
}
.rf-chat-expenses{
    width: 100%;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 160px;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.rf-chat-expenses__empty{
    font-size: 12px;
    color: #64748b;
}
.rf-chat-expenses__row{
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    align-items: baseline;
    font-size: 12px;
    line-height: 1.25;
}
.rf-chat-expenses__name{
    color: #28292A;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rf-chat-expenses__amount{
    color: #e04c4c;
    font-weight: 600;
    white-space: nowrap;
}
.rf-chat-expenses__date{
    color: #64748b;
    white-space: nowrap;
}
.rf-page{
    padding-top: 12px;
    padding-bottom: 24px;
}
.rf-muted{
    color: #94a3b8;
    text-align: center;
    padding: 24px 12px;
    margin: 0;
}
.rf-funds-list{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rf-fund-btn{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}
.rf-fund-btn__name{
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}
.rf-fund-btn__arrow{
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: block;
}
.rf-header-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    color: inherit;
    text-decoration: none;
}
.rf-header-icon img{
    display: block;
    width: 22px;
    height: 22px;
}
.rf-balance-card{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #4f8ef7 0%, #2f6fed 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(47, 111, 237, 0.28);
    margin-bottom: 14px;
}
.rf-balance-card__text{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rf-balance-card__label{
    font-size: 14px;
    font-weight: 500;
    opacity: 0.95;
}
.rf-balance-card__value{
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.rf-balance-card__minus{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #36C07E;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    flex-shrink: 0;
}
.rf-actions{
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 12px;
}
.rf-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-height: 48px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    padding: 12px 12px;
}
.rf-btn img{
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.rf-btn--primary{
    border: none;
    background: #3b82f6;
    color: #fff;
}
.rf-btn--outline{
    border: 1.5px solid #3b82f6;
    background: #fff;
    color: #2563eb;
}
.rf-btn--outline img{
    filter: invert(37%) sepia(78%) saturate(1800%) hue-rotate(204deg) brightness(95%) contrast(92%);
}
.rf-link-box{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #E8F8EE;
    border: 1px solid #B7E5C8;
    margin-bottom: 18px;
}
.rf-link-box__icon{
    flex-shrink: 0;
    display: block;
}
.rf-link-box__content{
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rf-link-box__label{
    font-size: 12px;
    color: #64748b;
    line-height: 1.2;
}
.rf-link-box__url{
    font-size: 13px;
    font-weight: 600;
    color: #1F8F57;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rf-link-box__copy{
    border: none;
    background: none;
    padding: 4px;
    cursor: pointer;
    flex-shrink: 0;
}
.rf-history-title{
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}
.rf-history{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rf-history-item{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e8edf2;
}
.rf-history-item__icon{
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: block;
    align-self: flex-start;
    margin-top: 2px;
}
.rf-history-item__icon.is-expense{
    /* card-send.svg already red — no color filter */
}
.rf-history-item__body{
    flex: 1;
    min-width: 0;
}
.rf-history-item__name{
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rf-history-item__amount{
    margin-top: 2px;
    font-size: 16px;
    font-weight: 700;
    color: #16A24A;
}
.rf-history-item__amount.is-expense{
    color: #e04c4c;
}
.rf-history-item__note{
    margin-top: 2px;
    font-size: 13px;
    color: #64748b;
}
.rf-history-item__date{
    margin-top: 2px;
    font-size: 12px;
    color: #94a3b8;
}
.rf-history-item__actions{
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-shrink: 0;
    align-self: center;
}
.rf-icon-btn{
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}
.rf-icon-btn img{
    display: block;
    width: 18px;
    height: 18px;
}
.rf-table-wrap{
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}
.rf-table{
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
    font-size: 13px;
}
.rf-table th,
.rf-table td{
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #eef2f7;
    vertical-align: top;
}
.rf-table th{
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}
.rf-table td{
    color: #1e293b;
}
.rf-pay-text{
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.4;
    color: #1e293b;
    white-space: pre-wrap;
}
.rf-pay-phone{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}
.rf-sheet__error{
    color: #e04c4c;
    font-size: 13px;
    margin: 0 0 8px;
}
.rf-toast{
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
}
.plusMoneyBTN{
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}
.block-flexSupportText__second{
    max-width: 100%;
    width: 100%;
}

/* ── PWA Install Modal ─────────────────────────────────────────── */
.pwa-modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    animation: pwaOverlayIn 0.25s ease;
}
@keyframes pwaOverlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.pwa-modal__sheet {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 28px 24px 32px;
    animation: pwaSheetIn 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
@keyframes pwaSheetIn {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}
.pwa-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.07);
    color: #555;
    font-size: 22px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    padding: 0;
}
.pwa-modal__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.pwa-modal__app-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    flex-shrink: 0;
}
.pwa-modal__pretitle {
    margin: 0 0 2px;
    font-size: 12px;
    color: #888;
    font-weight: 400;
    line-height: 1.2;
}
.pwa-modal__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #28292A;
    line-height: 1.2;
}
.pwa-modal__subtitle {
    margin: 0 0 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}
.pwa-modal__steps {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pwa-modal__step {
    display: flex;
    align-items: center;
    gap: 14px;
}
.pwa-modal__step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F0F7F4;
    color: #36C07E;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pwa-modal__step-text {
    font-size: 14px;
    color: #28292A;
    line-height: 1.45;
}
.pwa-modal__step-text strong {
    font-weight: 600;
}
.pwa-modal__inline-icon {
    display: inline-flex;
    vertical-align: middle;
    margin: 0 2px;
    color: #36C07E;
}
.pwa-modal__btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 14px;
    background: #36C07E;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* Reserve fund bottom sheets */
.rf-sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 1100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.rf-sheet {
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 24px 20px calc(env(safe-area-inset-bottom, 0px) + 24px);
    width: 100%;
    max-width: 520px;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    box-sizing: border-box;
}
.rf-sheet__title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px;
}
.rf-sheet__subtitle {
    font-size: 13px;
    color: #64748b;
    margin: -12px 0 16px;
}
.rf-sheet__field {
    margin-bottom: 14px;
}
.rf-sheet__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 5px;
}
.rf-sheet__input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
}
.rf-sheet__actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.rf-sheet__btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
}
.rf-sheet__btn--ghost {
    background: #f1f5f9;
    color: #475569;
}
.rf-sheet__btn--primary {
    background: #3b82f6;
    color: #fff;
    font-weight: 600;
}
.rf-sheet__btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
@media (min-width: 641px) {
    .rf-sheet-overlay {
        align-items: center;
        padding: 20px;
    }
    .rf-sheet {
        border-radius: 16px;
        padding-bottom: 24px;
        max-height: 90vh;
    }
}