.collaboration-shell {
    background: #f5f7fb;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    height: 100%;
    min-height: 0;
    min-width: 0;
}

.collaboration-sidebar {
    background: #ffffff;
    border-right: 1px solid #d9e2ee;
    display: grid;
    grid-template-rows: 58px 48px minmax(0, 1fr);
    min-height: 0;
    min-width: 0;
}

.collaboration-sidebar__header,
.collaboration-chat__header,
.collaboration-new-chat__header {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #d9e2ee;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
}

.collaboration-sidebar__header div,
.collaboration-chat__title,
.collaboration-new-chat__header div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.collaboration-sidebar__header strong,
.collaboration-chat__title strong,
.collaboration-new-chat__header strong {
    color: #172033;
    font-size: 15px;
    font-weight: 700;
}

.collaboration-sidebar__header span,
.collaboration-chat__title span,
.collaboration-new-chat__header span,
.collaboration-thread small {
    color: #6b7a90;
    font-size: 12px;
}

.collaboration-chat__presence {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    min-width: 0;
}

.collaboration-chat__presence i {
    border-radius: 999px;
    flex: 0 0 auto;
    height: 9px;
    width: 9px;
}

.collaboration-chat__presence em {
    color: #94a3b8;
    font-style: normal;
}

.collaboration-sidebar__header button,
.collaboration-chat__actions button,
.collaboration-new-chat__header button {
    align-items: center;
    background: #f7f9fc;
    border: 1px solid #d6dfeb;
    border-radius: 9px;
    color: #263a59;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.collaboration-sidebar__header button:hover,
.collaboration-chat__actions button:hover,
.collaboration-new-chat__header button:hover {
    background: #edf3ff;
    border-color: #b9c9e8;
}

.collaboration-chat__actions button:disabled {
    cursor: not-allowed;
    opacity: .42;
}

.collaboration-search {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #e3eaf3;
    color: #6b7a90;
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 48px;
    padding: 0 16px;
}

.collaboration-search input {
    background: transparent;
    border: 0;
    color: #172033;
    min-width: 0;
    outline: 0;
}

.collaboration-sidebar__groups {
    min-height: 0;
    overflow: auto;
    padding: 10px;
}

.collaboration-sidebar__skeleton {
    display: grid;
    gap: 8px;
}

.collaboration-thread-skeleton {
    align-items: center;
    border: 1px solid #edf2f8;
    border-radius: 10px;
    display: grid;
    gap: 10px;
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 68px;
    padding: 9px;
}

.collaboration-thread-skeleton span,
.collaboration-thread-skeleton strong,
.collaboration-thread-skeleton small {
    animation: collaboration-skeleton-pulse 1.2s ease-in-out infinite;
    background: linear-gradient(90deg, #eef3f8 0%, #f8fafc 50%, #eef3f8 100%);
    background-size: 200% 100%;
    display: block;
}

.collaboration-thread-skeleton span {
    border-radius: 10px;
    height: 42px;
    width: 42px;
}

.collaboration-thread-skeleton div {
    display: grid;
    gap: 8px;
}

.collaboration-thread-skeleton strong {
    border-radius: 999px;
    height: 12px;
    width: 72%;
}

.collaboration-thread-skeleton small {
    border-radius: 999px;
    height: 10px;
    width: 52%;
}

@keyframes collaboration-skeleton-pulse {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.collaboration-chat-loading {
    display: grid;
    gap: 18px;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100%;
    padding: 18px;
}

.collaboration-chat-loading__header {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 42px minmax(0, 1fr);
}

.collaboration-chat-loading__header span,
.collaboration-chat-loading__header strong,
.collaboration-chat-loading__header small,
.collaboration-chat-loading__messages span,
.collaboration-chat-loading__composer {
    animation: collaboration-skeleton-pulse 1.2s ease-in-out infinite;
    background: linear-gradient(90deg, #eef3f8 0%, #f8fafc 50%, #eef3f8 100%);
    background-size: 200% 100%;
    display: block;
}

.collaboration-chat-loading__header span {
    border-radius: 10px;
    height: 42px;
    width: 42px;
}

.collaboration-chat-loading__header div {
    display: grid;
    gap: 8px;
}

.collaboration-chat-loading__header strong {
    border-radius: 999px;
    height: 14px;
    width: 180px;
}

.collaboration-chat-loading__header small {
    border-radius: 999px;
    height: 10px;
    width: 120px;
}

.collaboration-chat-loading__messages {
    align-content: start;
    display: grid;
    gap: 12px;
    padding-top: 36px;
}

.collaboration-chat-loading__messages span {
    border-radius: 14px;
    height: 42px;
    max-width: 460px;
}

.collaboration-chat-loading__messages span:nth-child(2) {
    justify-self: end;
    width: 38%;
}

.collaboration-chat-loading__messages span:nth-child(1),
.collaboration-chat-loading__messages span:nth-child(3) {
    width: 52%;
}

.collaboration-chat-loading__composer {
    border-radius: 12px;
    height: 44px;
}

.collaboration-category {
    display: grid;
    gap: 4px;
    margin-bottom: 10px;
}

.collaboration-category h3 {
    color: #738299;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 8px 8px 4px;
    text-transform: uppercase;
}

.collaboration-sidebar .collaboration-thread {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    display: grid;
    gap: 10px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    height: auto;
    justify-content: initial;
    min-height: 68px;
    padding: 9px;
    text-align: left;
    width: 100%;
}

button.collaboration-thread {
    display: grid;
    height: auto;
    width: 100%;
}

.collaboration-sidebar .collaboration-thread:hover {
    background: #f4f7fb;
}

.collaboration-sidebar .collaboration-thread.is-selected {
    background: #eaf1ff;
    border-color: #c5d5f4;
}

.collaboration-thread__avatar,
.collaboration-chat__avatar,
.collaboration-user-option__avatar {
    align-items: center;
    background: #eef3ff;
    border: 1px solid #cbd8f2;
    border-radius: 10px;
    color: #2f5cc5;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.collaboration-thread__avatar img {
    border-radius: inherit;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.collaboration-chat__avatar img {
    border-radius: inherit;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.collaboration-thread__body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.collaboration-thread__line {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    min-width: 0;
}

.collaboration-thread__body strong,
.collaboration-thread__body small,
.collaboration-thread__line time {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collaboration-thread__body strong {
    color: #172033;
    font-size: 14px;
}

.collaboration-thread__line time {
    color: #8a98ad;
    flex: 0 0 auto;
    font-size: 11px;
}

.collaboration-thread__badge {
    align-items: center;
    background: #2f5cc5;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 11px;
    height: 20px;
    justify-content: center;
    min-width: 20px;
    padding: 0 6px;
}

.collaboration-viewer,
.collaboration-chat {
    display: grid;
    height: 100%;
    min-height: 0;
    min-width: 0;
}

.collaboration-chat {
    background: #f5f7fb;
    grid-template-rows: 58px auto auto minmax(0, 1fr) auto;
}

.collaboration-chat:has(.collaboration-chat__empty) {
    grid-template-rows: minmax(0, 1fr);
}

.collaboration-chat__header {
    grid-row: 1;
}

.collaboration-chat__identity {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.collaboration-chat__avatar {
    height: 36px;
    width: 36px;
}

.collaboration-chat__actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

.collaboration-members-menu {
    position: relative;
}

.collaboration-members-popover {
    background: #ffffff;
    border: 1px solid #d9e2ee;
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
    display: grid;
    gap: 8px;
    min-width: 300px;
    padding: 12px;
    position: absolute;
    right: 0;
    top: 42px;
    z-index: 10;
}

.collaboration-members-popover header {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.collaboration-members-popover header strong {
    color: #172033;
    font-size: 13px;
}

.collaboration-members-popover header span {
    color: #6b7a90;
    font-size: 12px;
}

.collaboration-members-popover__list {
    display: grid;
    gap: 6px;
    max-height: 320px;
    overflow: auto;
}

.collaboration-member {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 48px;
}

.collaboration-member__avatar {
    align-items: center;
    background: #eef3ff;
    border: 1px solid #cbd8f2;
    border-radius: 999px;
    color: #2f5cc5;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    overflow: hidden;
    width: 36px;
}

.collaboration-member__avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.collaboration-member__body {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.collaboration-member__body strong,
.collaboration-member__body small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collaboration-member__body strong {
    color: #172033;
    font-size: 13px;
}

.collaboration-member__body small {
    align-items: center;
    color: #64748b;
    display: flex;
    font-size: 12px;
    gap: 6px;
}

.collaboration-member__body small span {
    border-radius: 999px;
    flex: 0 0 auto;
    height: 9px;
    width: 9px;
}

.collaboration-member__body em {
    color: #94a3b8;
    font-style: normal;
}

.collaboration-chat__error {
    background: #fff1f2;
    border-bottom: 1px solid #fecdd3;
    color: #be123c;
    font-size: 13px;
    grid-row: 2;
    padding: 8px 16px;
}

.collaboration-call-popover {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #d9e2ee;
    display: grid;
    gap: 12px;
    grid-row: 3;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 68px;
    padding: 10px 18px;
}

.collaboration-call-popover__icon {
    align-items: center;
    animation: collaboration-call-ring 1.3s ease-in-out infinite;
    background: #eafaf0;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    color: #15803d;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.collaboration-call-popover__body {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.collaboration-call-popover__body strong {
    color: #172033;
    font-size: 14px;
}

.collaboration-call-popover__body span {
    color: #64748b;
    font-size: 12px;
}

.collaboration-call-popover__actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

.collaboration-call-popover__actions button {
    align-items: center;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.collaboration-call-popover__actions .is-accept {
    background: #16a34a;
}

.collaboration-call-popover__actions .is-end {
    background: #dc2626;
}

@keyframes collaboration-call-ring {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, .18);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(22, 163, 74, 0);
    }
}

.collaboration-messages {
    align-content: end;
    background: #f5f7fb;
    display: grid;
    grid-row: 4;
    min-height: 0;
    overflow: auto;
    padding: 18px 24px;
}

.collaboration-messages__stack {
    align-content: end;
    display: grid;
    gap: 8px;
    min-height: 100%;
}

.collaboration-message {
    display: flex;
}

.collaboration-message.is-mine {
    justify-content: flex-end;
}

.collaboration-message.is-system {
    justify-content: center;
}

.collaboration-message__row {
    align-items: end;
    display: flex;
    gap: 8px;
    max-width: min(78%, 780px);
}

.collaboration-message.is-mine .collaboration-message__row {
    flex-direction: row-reverse;
}

.collaboration-message__avatar {
    align-items: center;
    background: #eef3ff;
    border: 1px solid #cbd8f2;
    border-radius: 999px;
    color: #2f5cc5;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    overflow: hidden;
    width: 30px;
}

.collaboration-message__avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.collaboration-message__system {
    align-items: center;
    background: rgba(255, 255, 255, .82);
    border: 1px solid #d8e2ef;
    border-radius: 999px;
    color: #65758b;
    display: inline-flex;
    font-size: 12px;
    gap: 8px;
    padding: 5px 12px;
}

.collaboration-message__system time {
    color: #8b98aa;
    font-size: 11px;
}

.collaboration-message__bubble {
    background: #ffffff;
    border: 1px solid #d9e2ee;
    border-radius: 14px 14px 14px 4px;
    box-shadow: 0 2px 6px rgba(23, 32, 51, .06);
    display: grid;
    gap: 6px;
    max-width: 100%;
    min-width: 180px;
    padding: 9px 12px;
}

.collaboration-message.is-mine .collaboration-message__bubble {
    background: #dbeafe;
    border-color: #bdd2ff;
    border-radius: 14px 14px 4px 14px;
}

.collaboration-message.is-ai .collaboration-message__bubble {
    border-color: #9db7ff;
}

.collaboration-message__bubble header {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.collaboration-message__bubble header strong,
.collaboration-message__bubble time {
    color: #607089;
    font-size: 11px;
}

.collaboration-message__text {
    color: #172033;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.collaboration-message__text ul {
    display: grid;
    gap: 4px;
    margin: 6px 0 0;
    padding-left: 18px;
}

.collaboration-message__text strong {
    font-weight: 800;
}

.collaboration-message__attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.collaboration-message__image {
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: zoom-in;
    display: block;
    max-width: min(420px, 58vw);
    overflow: hidden;
    padding: 0;
}

.collaboration-message__image img {
    display: block;
    height: auto;
    max-height: 320px;
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

.collaboration-message__attachment {
    align-items: center;
    background: rgba(255, 255, 255, .68);
    border: 1px solid #d4deeb;
    border-radius: 8px;
    color: #263a59;
    display: inline-flex;
    gap: 6px;
    max-width: 240px;
    padding: 5px 8px;
    text-decoration: none;
}

.collaboration-message__audio {
    align-items: center;
    background: rgba(255, 255, 255, .72);
    border: 1px solid #d4deeb;
    border-radius: 10px;
    display: grid;
    gap: 10px;
    grid-template-columns: 34px minmax(0, 1fr);
    min-width: min(320px, 72vw);
    padding: 8px 10px;
}

.collaboration-message__audio-icon {
    align-items: center;
    background: #eef3ff;
    border: 1px solid #cbd8f2;
    border-radius: 9px;
    color: #2f5cc5;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.collaboration-message__audio-body {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.collaboration-message__audio-body strong {
    color: #263a59;
    font-size: 12px;
}

.collaboration-message__audio audio {
    height: 34px;
    max-width: 100%;
    width: 280px;
}

.collaboration-image-preview {
    align-items: center;
    background: rgba(15, 23, 42, .94);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 40px;
    position: fixed;
    z-index: 1600;
}

.collaboration-image-preview img {
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
    max-height: calc(100vh - 96px);
    max-width: calc(100vw - 96px);
    object-fit: contain;
}

.collaboration-image-preview button {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d9e2ee;
    border-radius: 10px;
    color: #172033;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    position: absolute;
    right: 24px;
    top: 24px;
    width: 38px;
}

.collaboration-composer {
    align-self: end;
    background: #ffffff;
    border-top: 1px solid #d9e2ee;
    display: grid;
    gap: 8px;
    grid-row: 5;
    min-height: 62px;
    padding: 12px 18px;
}

.collaboration-composer__bar {
    align-items: center;
    background: #f7f9fc;
    border: 1px solid #d3deeb;
    border-radius: 16px;
    display: grid;
    gap: 6px;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    padding: 7px;
}

.collaboration-composer__tool,
.collaboration-composer__send {
    align-items: center;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 36px;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.collaboration-composer__tool {
    background: #ffffff;
    border: 1px solid #d6dfeb;
    color: #263a59;
}

.collaboration-composer__tool:hover {
    background: #edf3ff;
    border-color: #b9c9e8;
}

.collaboration-composer__input {
    background: transparent;
    border: 0;
    color: #172033;
    font: inherit;
    line-height: 1.35;
    max-height: 120px;
    min-height: 36px;
    min-width: 0;
    outline: 0;
    padding: 8px 6px;
    resize: none;
    width: 100%;
}

.collaboration-chat:has(.collaboration-empty) {
    grid-template-rows: 58px auto auto minmax(0, 1fr) auto;
}

.collaboration-messages > .collaboration-empty {
    background: #ffffff;
    border: 1px solid #d9e2ee;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(23, 32, 51, .06);
    justify-self: center;
    margin-bottom: 24px;
    min-height: auto;
    padding: 26px 32px;
}

.collaboration-composer input[type="file"] {
    display: none;
}

.collaboration-composer__send {
    background: #2f5cc5;
    border: 1px solid #2f5cc5;
    color: #ffffff;
}

.collaboration-composer__tool.is-recording {
    border-color: #dc2626;
    color: #dc2626;
}

.collaboration-composer__send:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.collaboration-composer__attachments,
.collaboration-composer__ai {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.collaboration-composer__attachments span,
.collaboration-composer__ai {
    align-items: center;
    background: #f7f9fc;
    border: 1px solid #d9e2ee;
    border-radius: 999px;
    color: #334155;
    display: inline-flex;
    gap: 6px;
    min-height: 30px;
    padding: 4px 9px;
}

.collaboration-composer__chip-remove {
    align-items: center;
    background: transparent;
    border: 0;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    height: 22px;
    justify-content: center;
    padding: 0;
    width: 22px;
}

.collaboration-composer__recording {
    align-items: center;
    background: #fff4f4;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #7f1d1d;
    display: flex;
    gap: 10px;
    min-height: 42px;
    padding: 8px 12px;
}

.collaboration-composer__recording strong,
.collaboration-composer__recording time {
    color: #991b1b;
    font-size: 13px;
}

.collaboration-composer__recording > span:last-child {
    color: #8a5a5a;
    font-size: 12px;
}

.collaboration-composer__recording-pulse {
    animation: collaboration-recording-pulse 1.1s ease-in-out infinite;
    background: #ef4444;
    border-radius: 999px;
    height: 10px;
    width: 10px;
}

.collaboration-composer__audio-preview {
    align-items: center;
    background: #f7f9fc;
    border: 1px solid #d3deeb;
    border-radius: 10px;
    display: grid;
    gap: 10px;
    grid-template-columns: 34px minmax(180px, 320px) 34px;
    padding: 7px 8px;
}

.collaboration-composer__audio-icon,
.collaboration-composer__audio-preview button {
    align-items: center;
    background: #eef3ff;
    border: 1px solid #cbd8f2;
    border-radius: 9px;
    color: #2f5cc5;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    padding: 0;
    width: 34px;
}

.collaboration-composer__audio-preview button {
    background: #ffffff;
    color: #5f6f88;
}

.collaboration-composer__audio-preview audio {
    height: 34px;
    max-width: 100%;
    width: 100%;
}

.collaboration-composer__image-preview {
    border: 1px solid #d3deeb;
    border-radius: 10px;
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    position: relative;
}

.collaboration-composer__image-preview img {
    display: block;
    max-height: 150px;
    max-width: 220px;
    object-fit: contain;
}

.collaboration-composer__image-preview button {
    align-items: center;
    background: rgba(255, 255, 255, .94);
    border: 1px solid #d3deeb;
    border-radius: 8px;
    color: #334155;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 6px;
    top: 6px;
    width: 28px;
}

.collaboration-composer__error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 10px;
    color: #be123c;
    font-size: 12px;
    padding: 8px 10px;
}

@keyframes collaboration-recording-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .45;
        transform: scale(.72);
    }
}

.collaboration-chat__empty,
.collaboration-invite,
.collaboration-empty {
    align-content: center;
    align-items: center;
    color: #6b7a90;
    display: grid;
    gap: 8px;
    justify-items: center;
    min-height: 100%;
    padding: 32px;
    text-align: center;
}

.collaboration-chat__empty {
    align-self: stretch;
    grid-row: 1;
    justify-self: stretch;
}

.collaboration-chat__empty span {
    max-width: 420px;
}

.collaboration-chat__empty i,
.collaboration-invite i,
.collaboration-empty i {
    color: #2f5cc5;
    font-size: 28px;
}

.collaboration-chat__empty strong,
.collaboration-invite strong,
.collaboration-empty strong {
    color: #172033;
}

.collaboration-invite button {
    background: #2f5cc5;
    border: 1px solid #2f5cc5;
    border-radius: 9px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
    min-height: 38px;
    padding: 0 16px;
}

.collaboration-new-chat {
    background: #ffffff;
    display: grid;
    grid-template-rows: 58px auto auto minmax(0, 1fr) auto;
    height: 100%;
    min-height: 0;
    min-width: 0;
    width: 100%;
}

.collaboration-new-chat__toolbar {
    border-bottom: 1px solid #e3eaf3;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(260px, 1fr) minmax(220px, 320px);
    padding: 12px 16px;
}

.collaboration-new-chat__toolbar .collaboration-search {
    border: 1px solid #d9e2ee;
    border-radius: 10px;
    min-height: 38px;
    padding: 0 12px;
}

.collaboration-new-chat__toolbar > input {
    background: #f7f9fc;
    border: 1px solid #d9e2ee;
    border-radius: 10px;
    color: #172033;
    min-height: 38px;
    padding: 0 12px;
}

.collaboration-new-chat__summary {
    border-bottom: 1px solid #e3eaf3;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
}

.collaboration-new-chat__list {
    align-content: start;
    display: grid;
    gap: 6px;
    min-height: 0;
    overflow: auto;
    padding: 12px;
}

.collaboration-user-option {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    display: grid;
    gap: 10px;
    grid-template-columns: auto auto minmax(0, 1fr);
    min-height: 58px;
    padding: 8px;
}

.collaboration-user-option:hover {
    background: #f4f7fb;
    border-color: #d9e2ee;
}

.collaboration-user-option input {
    margin: 0;
}

.collaboration-user-option__body {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.collaboration-user-option__body strong,
.collaboration-user-option__body small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collaboration-user-option__body small {
    color: #6b7a90;
}

.collaboration-new-chat__footer {
    border-top: 1px solid #d9e2ee;
    padding: 12px 16px;
}

.collaboration-new-chat__confirm {
    background: #2f5cc5;
    border: 1px solid #2f5cc5;
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
    min-height: 40px;
    width: 100%;
}

.collaboration-new-chat__confirm:disabled {
    cursor: not-allowed;
    opacity: .45;
}

@media (max-width: 960px) {
    .collaboration-shell {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .collaboration-new-chat__toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    .collaboration-message__bubble {
        max-width: 86%;
    }
}
