/* /Pages/ChatMessages/Chat.razor.rz.scp.css */
.chat-page[b-tt198faa5l] {
    min-height: calc(100vh - 4rem);
    padding: clamp(1rem, 3vw, 2.25rem);
    background: radial-gradient(ellipse at top left, #e7f0ff 0, transparent 42%), #f4f7fb;
    color: #172033;
}

.chat-shell[b-tt198faa5l] {
    display: flex;
    width: min(1440px, 100%);
    height: min(820px, calc(100vh - 8rem));
    min-height: 620px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #e7ebf2;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(29, 48, 84, .12);
}

.chat-sidebar[b-tt198faa5l] {
    display: flex;
    flex: 0 0 320px;
    flex-direction: column;
    min-width: 0;
    border-right: 1px solid #edf0f5;
    background: #fbfcfe;
}

.sidebar-heading[b-tt198faa5l],
.conversation-header[b-tt198faa5l],
.modal-header[b-tt198faa5l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-heading[b-tt198faa5l] {
    padding: 1.7rem 1.5rem 1rem;
}

.eyebrow[b-tt198faa5l] {
    display: block;
    color: #8390a5;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.sidebar-heading h1[b-tt198faa5l],
.conversation-title h2[b-tt198faa5l],
.modal-header h2[b-tt198faa5l] {
    margin: .25rem 0 0;
    color: #18243a;
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: -.035em;
}

.icon-button[b-tt198faa5l],
.modal-close[b-tt198faa5l] {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 0;
    border-radius: 13px;
    background: #eef4ff;
    color: #3569d4;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background .18s ease, transform .18s ease;
}

.icon-button:hover[b-tt198faa5l],
.modal-close:hover[b-tt198faa5l] {
    transform: translateY(-1px);
    background: #e2ecff;
}

.new-group-button[b-tt198faa5l],
.primary-button[b-tt198faa5l],
.secondary-button[b-tt198faa5l] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 42px;
    padding: .7rem 1rem;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font: inherit;
    font-size: .86rem;
    font-weight: 700;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.new-group-button[b-tt198faa5l],
.primary-button[b-tt198faa5l] {
    background: #3869d4;
    color: #fff;
    box-shadow: 0 8px 18px rgba(56, 105, 212, .2);
}

.new-group-button[b-tt198faa5l] {
    margin: .25rem 1.25rem 1rem;
}

.new-group-button:hover[b-tt198faa5l],
.primary-button:hover:not(:disabled)[b-tt198faa5l] {
    transform: translateY(-1px);
    background: #285ac4;
    box-shadow: 0 10px 22px rgba(56, 105, 212, .25);
}

.new-group-button span[b-tt198faa5l] {
    font-size: 1.15rem;
}

.primary-button:disabled[b-tt198faa5l] {
    cursor: wait;
    opacity: .65;
}

.secondary-button[b-tt198faa5l] {
    border: 1px solid #e3e8f0;
    background: #fff;
    color: #46536a;
}

.secondary-button:hover[b-tt198faa5l] {
    background: #f5f8fc;
}

.group-list[b-tt198faa5l] {
    flex: 1;
    overflow-y: auto;
    padding: .25rem .8rem;
}

.group-item[b-tt198faa5l] {
    display: flex;
    width: 100%;
    align-items: center;
    gap: .8rem;
    padding: .8rem .75rem;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
    transition: background .16s ease;
}

.group-item:hover[b-tt198faa5l],
.group-item.selected[b-tt198faa5l] {
    background: #edf3ff;
}

.group-item.selected .group-copy strong[b-tt198faa5l] {
    color: #285ac4;
}

.group-avatar[b-tt198faa5l],
.conversation-avatar[b-tt198faa5l],
.user-avatar[b-tt198faa5l],
.message-avatar[b-tt198faa5l] {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(145deg, #dbe8ff, #eff4ff);
    color: #3569d4;
    font-weight: 800;
}

.group-avatar[b-tt198faa5l] {
    width: 44px;
    height: 44px;
    font-size: 1rem;
}

.group-copy[b-tt198faa5l],
.user-details[b-tt198faa5l] {
    display: grid;
    min-width: 0;
    gap: .2rem;
}

.group-copy strong[b-tt198faa5l],
.user-details strong[b-tt198faa5l] {
    overflow: hidden;
    color: #28354b;
    font-size: .88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.group-copy small[b-tt198faa5l],
.user-details small[b-tt198faa5l] {
    overflow: hidden;
    color: #8995a8;
    font-size: .76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.group-chevron[b-tt198faa5l] {
    margin-left: auto;
    color: #a5b0c0;
    font-size: 1.4rem;
}

.sidebar-empty[b-tt198faa5l],
.conversation-empty[b-tt198faa5l] {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: .45rem;
    padding: 3rem 1rem;
    color: #8b97aa;
    text-align: center;
}

.sidebar-empty strong[b-tt198faa5l],
.conversation-empty strong[b-tt198faa5l] {
    color: #4d5a70;
    font-size: .9rem;
}

.sidebar-empty span:last-child[b-tt198faa5l],
.conversation-empty span:last-child[b-tt198faa5l] {
    font-size: .8rem;
}

.empty-icon[b-tt198faa5l] {
    margin-bottom: .4rem;
    color: #94b1ed;
    font-size: 2rem;
}

.sidebar-footer[b-tt198faa5l] {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #edf0f5;
    color: #8793a6;
    font-size: .75rem;
}

.online-dot[b-tt198faa5l] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #44bd8a;
    box-shadow: 0 0 0 4px #e3f6ee;
}

.chat-main[b-tt198faa5l] {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    background: linear-gradient(180deg, #fff 0%, #fcfdff 100%);
}

.welcome-panel[b-tt198faa5l] {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
    text-align: center;
}

.welcome-mark[b-tt198faa5l] {
    display: grid;
    width: 62px;
    height: 62px;
    margin-bottom: 1.25rem;
    place-items: center;
    border: 1px solid #dce7fc;
    border-radius: 20px;
    background: linear-gradient(145deg, #eff5ff, #f8faff);
    color: #4d7be0;
    font-size: 1.8rem;
}

.welcome-panel h2[b-tt198faa5l] {
    margin: .7rem 0;
    color: #1d2a42;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.12;
}

.welcome-panel p[b-tt198faa5l] {
    max-width: 350px;
    margin: 0 0 1.5rem;
    color: #7c899e;
    line-height: 1.65;
}

.conversation-header[b-tt198faa5l] {
    min-height: 88px;
    padding: 1rem 1.6rem;
    border-bottom: 1px solid #edf0f5;
}

.general-search-wrap[b-tt198faa5l] {
    position: relative;
    z-index: 2;
    padding: .8rem 1.6rem .25rem;
    background: linear-gradient(180deg, #fff, #fbfcff);
}

.general-search-heading[b-tt198faa5l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 .4rem .15rem;
    color: #56647a;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .025em;
}

.general-search-scope[b-tt198faa5l] {
    padding: .18rem .55rem;
    border: 1px solid #e5ecf7;
    border-radius: 999px;
    background: #f5f8fd;
    color: #7b879a;
    font-size: .67rem;
    font-weight: 650;
}

.general-search-input[b-tt198faa5l] {
    width: 100%;
}

.general-search-input :deep(.mud-input-control)[b-tt198faa5l] {
    margin-top: 0;
}

.general-search-input :deep(.mud-input-outlined)[b-tt198faa5l] {
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(33, 55, 92, .045);
    transition: box-shadow .18s ease;
}

.general-search-input :deep(.mud-input-outlined:hover)[b-tt198faa5l],
.general-search-input :deep(.mud-input-outlined.mud-input-focused)[b-tt198faa5l] {
    box-shadow: 0 5px 18px rgba(56, 105, 212, .12);
}

.general-search-input :deep(.mud-input-slot)[b-tt198faa5l] {
    color: #344159;
    font-size: .86rem;
}

.general-search-input :deep(.mud-input-adornment)[b-tt198faa5l] {
    color: #6e88ba;
}

.general-search-status[b-tt198faa5l] {
    padding: .65rem .8rem;
    color: #7c899e;
    font-size: .76rem;
}

.general-search-status.error[b-tt198faa5l] {
    color: #b42318;
}

.general-search-results[b-tt198faa5l] {
    position: absolute;
    z-index: 5;
    top: calc(100% + .2rem);
    right: 1.6rem;
    left: 1.6rem;
    display: grid;
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid #e4e9f1;
    border-radius: 14px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 16px 36px rgba(30, 48, 80, .17);
    backdrop-filter: blur(12px);
}

.general-search-result[b-tt198faa5l] {
    display: grid;
    gap: .28rem;
    padding: .75rem .9rem;
    border: 0;
    border-bottom: 1px solid #edf0f5;
    background: #fff;
    color: #35445d;
    cursor: pointer;
    text-align: left;
}

.general-search-result:hover[b-tt198faa5l] {
    background: #f3f7ff;
}

.general-search-result strong[b-tt198faa5l] {
    color: #28354b;
    font-size: .8rem;
}

.general-search-result span[b-tt198faa5l] {
    overflow: hidden;
    color: #68758a;
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.general-search-result small[b-tt198faa5l] {
    color: #8995a8;
    font-size: .68rem;
}

.conversation-avatar[b-tt198faa5l] {
    width: 48px;
    height: 48px;
    margin-right: .9rem;
    border-radius: 16px;
    font-size: 1.1rem;
}

.message-row.search-result-focused .message-bubble[b-tt198faa5l] {
    outline: 2px solid #f0b429;
    outline-offset: 3px;
}

.conversation-title[b-tt198faa5l] {
    flex: 1;
}

.conversation-title h2[b-tt198faa5l] {
    font-size: 1.05rem;
}

.conversation-title span[b-tt198faa5l] {
    display: block;
    margin-top: .25rem;
    color: #8995a8;
    font-size: .78rem;
}

.category-tags[b-tt198faa5l] {
    display: flex !important;
    flex-wrap: wrap;
    gap: .35rem;
}

.category-tag[b-tt198faa5l] {
    display: inline-flex;
    max-width: 100%;
    padding: .15rem .55rem;
    border-radius: 999px;
    background: #eef4ff;
    color: #3569d4;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
}

.messages-panel[b-tt198faa5l] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .35rem;
    overflow-y: auto;
    padding: 1.5rem clamp(1rem, 3vw, 2.5rem);
    background-image: radial-gradient(circle, #eef1f7 1px, transparent 1px);
    background-size: 22px 22px;
    background-color: #f7f9fc;
}

.conversation-empty[b-tt198faa5l] {
    flex: 1;
    justify-content: center;
}

.conversation-empty .welcome-mark[b-tt198faa5l] {
    margin-bottom: .7rem;
}

.date-separator[b-tt198faa5l] {
    display: flex;
    justify-content: center;
    margin: .9rem 0;
}

.date-separator span[b-tt198faa5l] {
    padding: .3rem .9rem;
    border-radius: 999px;
    background: #eef1f7;
    color: #778098;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.message-row[b-tt198faa5l] {
    display: flex;
    max-width: 75%;
    align-items: flex-end;
    gap: .55rem;
    margin: .35rem 0;
}

.message-row.other[b-tt198faa5l] {
    align-self: flex-start;
}

.message-row.own[b-tt198faa5l] {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar[b-tt198faa5l] {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    background: #eff2f7;
    color: #68758a;
    font-size: .74rem;
    font-weight: 700;
}

.message-bubble-wrap[b-tt198faa5l] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .2rem;
}

.message-row.own .message-bubble-wrap[b-tt198faa5l] {
    align-items: flex-end;
}

.message-sender[b-tt198faa5l] {
    padding-left: .3rem;
    color: #6b7690;
    font-size: .74rem;
    font-weight: 700;
}

.message-bubble[b-tt198faa5l] {
    position: relative;
    min-width: 0;
    padding: .65rem .9rem 1.35rem;
    border-radius: 16px 16px 16px 4px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(30, 48, 80, .05);
}

.message-row.own .message-bubble[b-tt198faa5l] {
    border-radius: 16px 16px 4px 16px;
    background: linear-gradient(135deg, #3869d4, #5b8def);
    color: #fff;
}

.message-text[b-tt198faa5l] {
    margin: 0;
    color: #4b586d;
    font-size: .9rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.message-row.own .message-text[b-tt198faa5l] {
    color: #fff;
}

[b-tt198faa5l] .message-row.own .own-message-transaction-chip {
    color: #fff !important;
    border-color: rgba(255, 255, 255, .75) !important;
}

.message-transaction-references[b-tt198faa5l] {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin-top: .4rem;
}

.message-time[b-tt198faa5l] {
    position: absolute;
    right: .8rem;
    bottom: .4rem;
    color: #a7b1c2;
    font-size: .64rem;
}

.message-row.own .message-time[b-tt198faa5l] {
    color: rgba(255, 255, 255, .78);
}

.attachment-card[b-tt198faa5l] {
    display: flex;
    align-items: center;
    gap: .65rem;
    width: 100%;
    margin-top: .5rem;
    padding: .55rem .65rem;
    border: 1px solid #e9edf4;
    border-radius: 11px;
    background: rgba(255, 255, 255, .6);
    color: #426dca;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
    text-align: left;
}

.message-row.own .attachment-card[b-tt198faa5l] {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.attachment-card > span:last-child[b-tt198faa5l] {
    display: grid;
    gap: .2rem;
}

.attachment-card strong[b-tt198faa5l] {
    color: inherit;
    font-size: .8rem;
}

.attachment-card small[b-tt198faa5l] {
    color: inherit;
    opacity: .75;
    font-size: .7rem;
}

.attachment-icon[b-tt198faa5l] {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 9px;
    background: #eff4ff;
}

.message-row.own .attachment-icon[b-tt198faa5l] {
    background: rgba(255, 255, 255, .18);
}

.composer-wrap[b-tt198faa5l] {
    padding: .75rem clamp(1rem, 3vw, 2.5rem) 1.1rem;
}

.composer[b-tt198faa5l] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem;
    padding: .55rem .6rem .55rem .8rem;
    border: 1px solid #e4e9f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(30, 48, 80, .06);
}

.composer-transaction-chips[b-tt198faa5l] {
    flex: 1 0 100%;
    min-width: 0;
    margin-bottom: .2rem;
}

.composer-file-chips[b-tt198faa5l] {
    display: flex;
    flex: 1 0 100%;
    flex-wrap: wrap;
    gap: .3rem;
    min-width: 0;
    margin-bottom: .2rem;
}

.composer-actions[b-tt198faa5l] {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .35rem;
}

.attach-button[b-tt198faa5l] {
    position: relative;
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 11px;
    background: #f2f5fa;
    color: #718098;
    cursor: pointer;
    font-size: 1.25rem;
}

.attach-button input[b-tt198faa5l] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.attach-button.disabled[b-tt198faa5l] {
    cursor: not-allowed;
    opacity: .45;
}

.attach-button.disabled input[b-tt198faa5l] {
    cursor: not-allowed;
}

.group-category-menu-wrap[b-tt198faa5l] {
    position: relative;
}

.category-menu-button[b-tt198faa5l] {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 11px;
    background: #f2f5fa;
    color: #718098;
    cursor: pointer;
}

.category-menu-button:disabled[b-tt198faa5l] {
    cursor: not-allowed;
    opacity: .45;
}

.category-menu-button:not(:disabled):hover[b-tt198faa5l] {
    background: #e8eef8;
    color: #3569d4;
}

.group-category-menu[b-tt198faa5l] {
    position: absolute;
    z-index: 10;
    bottom: calc(100% + .5rem);
    left: 0;
    display: grid;
    min-width: 180px;
    max-width: min(280px, calc(100vw - 2rem));
    max-height: 240px;
    gap: .35rem;
    overflow-y: auto;
    padding: .55rem;
    border: 1px solid #e4e9f1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(30, 48, 80, .16);
}

.group-category-menu-item[b-tt198faa5l] {
    padding: .45rem .55rem;
    border-radius: 8px;
    color: #35445d;
    font-size: .82rem;
    overflow-wrap: anywhere;
}

.group-category-menu-item:hover[b-tt198faa5l] {
    background: #f2f5fa;
}

.message-input[b-tt198faa5l] {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #344159;
    font: inherit;
    font-size: .9rem;
}

.message-input:disabled[b-tt198faa5l] {
    cursor: not-allowed;
}

.send-button[b-tt198faa5l] {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-radius: 12px;
    background: #3869d4;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    transition: background .18s ease, transform .18s ease;
}

.send-button:hover:not(:disabled)[b-tt198faa5l] {
    transform: translateY(-1px);
    background: #285ac4;
}

.send-button:disabled[b-tt198faa5l] {
    opacity: .6;
}

.composer-hint[b-tt198faa5l] {
    display: block;
    padding: .45rem .35rem 0;
    color: #a0aaba;
    font-size: .68rem;
}

.chat-alert[b-tt198faa5l] {
    margin: .5rem 1.5rem;
    padding: .7rem .9rem;
    border: 1px solid #f1caca;
    border-radius: 10px;
    background: #fff5f5;
    color: #a43d3d;
    font-size: .82rem;
}

.modal-backdrop[b-tt198faa5l] {
    position: fixed;
    z-index: 1000;
    display: grid;
    padding: 1rem;
    place-items: center;
    background: rgba(20, 31, 52, .45);
    inset: 0;
    backdrop-filter: blur(5px);
}

.chat-modal[b-tt198faa5l] {
    width: min(480px, 100%);
    max-height: min(760px, calc(100vh - 2rem));
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid #edf0f5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(20, 31, 52, .28);
}

.transaction-modal[b-tt198faa5l] {
    width: min(1100px, 100%);
}

.transaction-table-wrap[b-tt198faa5l] {
    max-height: min(52vh, 520px);
    overflow: auto;
    margin-top: 1rem;
}

.transaction-modal .transaction-row-selected > td[b-tt198faa5l] {
    background-color: #eaf1ff !important;
}

.modal-header[b-tt198faa5l] {
    margin-bottom: 1.3rem;
}

.modal-header h2[b-tt198faa5l] {
    font-size: 1.35rem;
}

.modal-close[b-tt198faa5l] {
    background: #f3f5f9;
    color: #68758a;
    font-size: 1.4rem;
}

.field-label[b-tt198faa5l] {
    display: block;
    margin: .8rem 0 .4rem;
    color: #43516a;
    font-size: .79rem;
    font-weight: 750;
}

.field-label span[b-tt198faa5l] {
    color: #9aa4b3;
    font-weight: 400;
}

.modal-input[b-tt198faa5l] {
    width: 100%;
    min-height: 44px;
    padding: .7rem .8rem;
    border: 1px solid #e1e7ef;
    border-radius: 11px;
    outline: 0;
    background: #fbfcfe;
    color: #344159;
    font: inherit;
    font-size: .86rem;
}

.modal-input:focus[b-tt198faa5l] {
    border-color: #83a4eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(56, 105, 212, .1);
}

.modal-textarea[b-tt198faa5l] {
    resize: vertical;
}

.member-picker-heading[b-tt198faa5l] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 1.1rem;
}

.member-picker-heading .field-label[b-tt198faa5l] {
    margin: 0 0 .15rem;
}

.member-picker-heading small[b-tt198faa5l] {
    color: #8b97a9;
    font-size: .72rem;
}

.selection-count[b-tt198faa5l] {
    padding: .25rem .55rem;
    border-radius: 20px;
    background: #eff4ff;
    color: #3869d4;
    font-size: .7rem;
    font-weight: 750;
}

.user-search[b-tt198faa5l] {
    margin: .65rem 0;
}

.user-picker[b-tt198faa5l] {
    max-height: 225px;
    overflow-y: auto;
    border: 1px solid #edf0f5;
    border-radius: 13px;
}

.user-option[b-tt198faa5l] {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .65rem .75rem;
    cursor: pointer;
}

.user-option + .user-option[b-tt198faa5l] {
    border-top: 1px solid #f0f2f6;
}

.user-option:hover[b-tt198faa5l] {
    background: #f8faff;
}

.user-option input[b-tt198faa5l] {
    accent-color: #3869d4;
}

.user-avatar[b-tt198faa5l] {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: .78rem;
}

.user-details[b-tt198faa5l] {
    flex: 1;
}

.checkmark[b-tt198faa5l] {
    display: none;
    color: #3869d4;
    font-weight: 800;
}

.user-option input:checked ~ .checkmark[b-tt198faa5l] {
    display: inline;
}

.user-list-empty[b-tt198faa5l] {
    padding: 1.2rem;
    color: #8b97a9;
    font-size: .82rem;
    text-align: center;
}

.modal-actions[b-tt198faa5l] {
    display: flex;
    justify-content: flex-end;
    gap: .65rem;
    margin-top: 1.2rem;
}

@media (max-width: 760px) {
    .chat-page[b-tt198faa5l] {
        min-height: calc(100vh - 3rem);
        padding: .65rem;
    }

    .chat-shell[b-tt198faa5l] {
        height: calc(100vh - 5rem);
        min-height: 500px;
        border-radius: 17px;
    }

    .chat-sidebar[b-tt198faa5l] {
        flex-basis: 88px;
    }

    .sidebar-heading[b-tt198faa5l] {
        justify-content: center;
        padding: 1rem .4rem .7rem;
    }

    .sidebar-heading > div[b-tt198faa5l],
    .new-group-button[b-tt198faa5l],
    .group-copy[b-tt198faa5l],
    .group-chevron[b-tt198faa5l],
    .sidebar-footer[b-tt198faa5l] {
        display: none;
    }

    .group-list[b-tt198faa5l] {
        padding: .2rem .45rem;
    }

    .group-item[b-tt198faa5l] {
        justify-content: center;
        padding: .5rem;
    }

    .group-avatar[b-tt198faa5l] {
        width: 48px;
        height: 48px;
    }

    .conversation-header[b-tt198faa5l] {
        min-height: 76px;
        padding: .75rem;
    }

    .conversation-avatar[b-tt198faa5l] {
        margin-right: .55rem;
    }

    .conversation-title h2[b-tt198faa5l] {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .add-members-button[b-tt198faa5l] {
        min-height: 36px;
        padding: .55rem;
        font-size: .72rem;
    }

    .messages-panel[b-tt198faa5l] {
        padding: 1rem .75rem;
    }

    .message-card[b-tt198faa5l] {
        gap: .5rem;
    }

    .message-content[b-tt198faa5l] {
        padding: .7rem;
    }
}

@media (max-width: 440px) {
    .chat-sidebar[b-tt198faa5l] {
        flex-basis: 64px;
    }

    .create-button[b-tt198faa5l] {
        width: 38px;
        height: 38px;
    }

    .group-avatar[b-tt198faa5l] {
        width: 40px;
        height: 40px;
    }

    .conversation-title h2[b-tt198faa5l] {
        max-width: 105px;
        font-size: .88rem;
    }

    .conversation-title span[b-tt198faa5l] {
        font-size: .7rem;
    }

    .composer-wrap[b-tt198faa5l] {
        padding: .5rem .65rem .8rem;
    }

    .composer-hint[b-tt198faa5l] {
        display: none;
    }
}
