
/* MIRAD chat — archive (12), real component classes. */
.mirad-ref-rooms{background:#0a0c16!important;min-width:0!important;border-right:1px solid rgb(255 255 255/.08)!important;user-select:none}
@media(min-width:768px){.mirad-ref-rooms{width:320px!important}.mirad-v2-chat-rooms:has(.mirad-ref-rooms){flex:0 0 320px!important}}
@media(min-width:1280px){.mirad-ref-rooms{width:348px!important}.mirad-v2-chat-rooms:has(.mirad-ref-rooms){flex:0 0 348px!important}}
@media(max-width:767px){.mirad-ref-rooms{width:100%!important}}
.mirad-ref-title{font-family:inherit!important;font-size:14px!important;font-weight:600!important;letter-spacing:-.025em!important;color:#fff!important;text-transform:none!important}
.mirad-ref-listhead{padding:14px 14px 10px!important}
.mirad-ref-listhead input[placeholder="Поиск диалогов..."]{padding-right:32px!important}
.mirad-ref-clear{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#71717a;display:grid;place-items:center;width:22px;height:22px}
.mirad-ref-clear:hover{color:white}
.mirad-ref-listhead button:has(.mirad-ref-archive-label){border:0!important;border-top:1px solid rgb(255 255 255/.08)!important;border-bottom:1px solid rgb(255 255 255/.08)!important;border-radius:0!important;padding:10px 0!important;background:transparent!important;color:#d4d4d8!important;font-family:inherit!important}
.mirad-ref-archive-label{display:flex;align-items:center;gap:12px;text-align:left;min-width:0}
.mirad-ref-archive-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:#1e293b;border:1px solid rgb(255 255 255/.08);color:#a1a1aa;flex-shrink:0}
.mirad-ref-archive-title{font-size:12px;font-weight:600;color:#e4e4e7}
.mirad-ref-archive-sub{font-size:11px;color:#71717a;margin-top:2px}
.mirad-ref-archive-count{font:500 10px/1 monospace;color:#a1a1aa;background:#1e293b;padding:5px 7px;border-radius:999px}
.mirad-ref-room{min-height:64px!important;gap:12px!important;padding:10px!important;align-items:center!important}
.mirad-ref-room[data-selected="true"]{background:rgb(244 63 94/.14)!important;box-shadow:inset 0 0 0 1px rgb(244 63 94/.30)!important}
.mirad-ref-room>div:nth-child(2){min-width:0;flex:1}
.mirad-ref-room>div:nth-child(2)>div:first-child>span:first-child{display:flex!important;min-width:0;align-items:center;font-size:13px!important;font-weight:600!important}
.mirad-ref-mute{display:inline-flex;flex-shrink:0;color:#71717a}
.mirad-ref-mute svg{width:12px;height:12px}
.mirad-ref-preview-row{display:flex;justify-content:space-between;align-items:center;gap:8px;min-width:0}
.mirad-ref-preview{font-family:inherit!important;font-size:12px!important;color:#a1a1aa!important;margin:0!important;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5}
.mirad-ref-author{color:#d4d4d8;font-weight:400}
.mirad-ref-unread{min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:flex;align-items:center;justify-content:center;font:700 10px/1 monospace;background:#e11d48;color:#fff;flex-shrink:0}
.mirad-ref-unread.muted{background:#334155;color:#d4d4d8}
.mirad-ref-header{background:rgb(11 13 24/.95)!important;height:60px!important;border-bottom:1px solid rgb(255 255 255/.08)!important}
.mirad-ref-header button[title="Информация о диалоге, файлы и участники"]{font-family:inherit!important;font-weight:500!important;box-shadow:none!important}
.mirad-ref-message-region{display:flex;flex:1 1 0;min-height:0;min-width:0;flex-direction:column;overflow:hidden;position:relative}
.mirad-ref-message-region>.mirad-ref-pin{position:relative!important;flex-shrink:0;top:auto!important;margin:0!important;padding:8px 16px!important;background:#0e1120!important;border:0!important;border-bottom:1px solid rgb(255 255 255/.08)!important;border-radius:0!important;box-shadow:none!important}
.mirad-ref-pin{background:#0e1120!important;box-shadow:none!important}
.mirad-ref-pin span[class*="uppercase"]{font-family:inherit!important;letter-spacing:0!important;text-transform:none!important;font-weight:500!important;color:#fcd34d!important}
.mirad-ref-pin button{font-family:inherit!important;background:rgb(255 255 255/.06)!important;color:#d4d4d8!important;font-weight:500!important}
.mirad-ref-scroll{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;padding:16px 24px!important}
.mirad-ref-message{margin-bottom:4px!important}
.mirad-ref-sender{font-family:inherit!important;color:#fda4af!important}
.mirad-ref-sender>span:first-child{font-family:inherit!important;font-weight:600!important;color:#fda4af!important}
.mirad-ref-bubble{padding:10px 14px!important;box-shadow:none!important;width:fit-content;max-width:85%!important;min-width:0!important}
.mirad-ref-bubble[data-mine="true"]{background:#211320!important;border:1px solid rgb(244 63 94/.28)!important;border-radius:16px 16px 5px 16px!important}
.mirad-ref-bubble[data-mine="false"]{background:#131626!important;border:1px solid rgb(255 255 255/.08)!important;border-radius:16px 16px 16px 5px!important}
.mirad-ref-bubble>p{font-size:13.5px!important;line-height:1.625!important}
.mirad-ref-poll{width:320px!important;min-width:min(260px,100%)!important;max-width:100%!important}
.mirad-ref-poll button{position:relative;overflow:hidden;min-height:36px!important;border-radius:12px!important}
.mirad-ref-composer{background:#111424!important;border:1px solid rgb(255 255 255/.10)!important;border-radius:16px!important}
.mirad-ref-composer textarea{flex:1 1 0!important;min-width:0!important}
.mirad-ref-composer>button[data-chat-mic]{background:transparent!important;color:#a1a1aa!important;box-shadow:none!important}
.mirad-ref-composer>button[data-chat-mic]:hover{background:rgb(255 255 255/.08)!important;color:#fb7185!important}
@media(min-width:768px){.mirad-ref-bubble{max-width:70%!important}}
@media(max-width:767px){.mirad-ref-scroll{padding:12px!important}.mirad-ref-poll{width:min(260px,100%)!important}}
