.chat-room-header{border-bottom:1px solid #e5e7eb;align-items:center;gap:10px;min-width:0;padding:8px 12px;display:flex}.chat-room-header h2{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:15px;font-weight:600;overflow:hidden}.chat-room-controls{flex:none;align-items:center;gap:6px;margin-left:auto;display:flex}.chat-room-controls>button{color:#475569;border:1px solid #e2e8f0;border-radius:9px;justify-content:center;align-items:center;gap:5px;min-width:32px;height:32px;padding:4px 8px;font-size:18px;display:flex}.chat-room-controls>button span{font-size:13px}.chat-room-controls svg{width:18px;height:18px}.chat-room-controls button:disabled{opacity:.45}.chat-room-popup{width:min(480px,100vw - 24px)}.chat-room-popup header h2{overflow-wrap:anywhere}.chat-participants{flex-direction:column;max-height:45dvh;display:flex;overflow:auto}.chat-participants>button{text-align:left;border-radius:9px;align-items:center;gap:10px;padding:10px;display:flex}.chat-participants>button:hover{background:#eff6ff}.chat-participants small{color:#64748b;display:block}.chat-participant-avatar{color:#2563eb;background:#e0edff;border-radius:50%;flex:none;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.chat-personal-picture{align-items:center;gap:15px;margin-bottom:20px;display:flex}.chat-picture-button{flex:none;position:relative}.chat-picture-button .chat-avatar{border-radius:50%;width:72px;height:72px;font-size:28px}.chat-avatar img{object-fit:cover;border-radius:inherit;width:100%;height:100%}.chat-picture-button>span:last-child{background:#fff;border-radius:50%;padding:2px;position:absolute;bottom:0;right:0}.chat-personal-picture div>button{color:#2563eb;margin-top:6px;font-size:13px;display:block}.chat-crop-stage{touch-action:none;cursor:move;background:#1e293b;width:220px;height:220px;margin:15px auto;position:relative;overflow:hidden}.chat-crop-stage img{pointer-events:none;max-width:none;position:absolute}.chat-crop-circle{pointer-events:none;border:2px solid #fff;border-radius:50%;position:absolute;inset:0;box-shadow:0 0 0 100px #0009}.chat-crop-zoom{align-items:center;gap:10px;font-size:13px;display:flex}.chat-crop-zoom input{flex:1;min-width:0}.chat-crop-actions{justify-content:flex-end;gap:10px;margin-top:15px;display:flex}.chat-crop-actions button{color:#1d4ed8;border:1px solid #bfdbfe;border-radius:9px;padding:8px 10px;font-size:13px}.chat-room-popup [role=alert]{color:#b91c1c}.chat-avatar-custom{border-radius:50%!important}.chat-room-header{flex:none}.chat-settings-compact{color:#172033!important;background:#fff!important;border:1px solid #d1d5db!important;border-radius:16px!important;width:min(340px,100vw - 24px)!important;padding:14px!important;font-size:13px!important}.chat-settings-compact header{margin-bottom:12px!important}.chat-settings-compact header h2{font-size:15px!important}.chat-settings-compact h3{margin:0;font-size:13px}.chat-settings-compact p{color:#64748b;margin:3px 0;font-size:12px}.chat-settings-compact .chat-personal-picture{gap:10px;margin-bottom:12px}.chat-settings-compact .chat-picture-button .chat-avatar{width:44px;height:44px;font-size:20px}.chat-settings-compact .chat-personal-picture div>button{color:#85bcff;margin-top:3px;font-size:12px}.chat-settings-compact .chat-picture-button>span:last-child{background:#202733}.chat-dnd-compact{border-top:1px solid #e2e8f0;padding-top:6px}.chat-dnd-compact>button{text-align:left;border-radius:8px;justify-content:space-between;width:100%;padding:9px 6px;display:flex}.chat-dnd-compact button:hover{background:#f1f5f9}.chat-dnd-compact small{color:#64748b;margin:6px;font-size:11px;display:block}.chat-dnd-submenu{border-left:1px solid #ffffff2a;flex-direction:column;margin-left:12px;padding-left:6px;display:flex}.chat-dnd-submenu button{text-align:left;border-radius:6px;padding:6px 10px;font-size:13px}.chat-person-row{align-items:center;gap:4px;display:flex}.chat-person-row>button:first-child{text-align:left;flex:1;align-items:center;gap:8px;min-width:0;padding:8px;display:flex}.chat-person-row>button:not(:first-child){padding:6px;font-size:20px}.chat-manage-add{color:#2563eb;padding:8px}.chat-add-list{flex-direction:column;max-height:40vh;display:flex;overflow:auto}.chat-add-list input,.chat-rename input{border:1px solid #94a3b8;border-radius:6px;width:100%;padding:6px}.chat-add-list button{text-align:left;padding:8px}.chat-grant-row{border-bottom:1px solid #e2e8f0;grid-template-columns:minmax(90px,1fr) 75px 115px;align-items:center;gap:5px;padding:7px 0;font-size:12px;display:grid}.chat-grants>p{color:#64748b;font-size:12px}.chat-grants>button{color:#2563eb;padding:8px}.chat-rename{margin:10px 0;font-size:12px}.chat-rename button{color:#85bcff;padding:6px 0}.chat-rename input{margin-top:4px}.chat-rename button:disabled{opacity:.4}.chat-access-closed{opacity:.5}.chat-settings-compact{overflow:auto!important}.chat-dnd-submenu{z-index:2;background:#202733;border:1px solid #ffffff20;border-radius:12px;width:188px;margin:0;padding:8px;position:fixed;box-shadow:0 8px 28px #0006}.chat-dnd-submenu button{padding:7px 10px}.chat-settings-compact .chat-manage-add{color:#85bcff;padding:5px 0}.chat-settings-compact header>button{color:#172033}.chat-presence-dot{vertical-align:middle;background:#94a3b8;border-radius:50%;flex:none;min-width:7px;width:7px!important;height:7px!important;display:inline-block!important}.chat-presence-dot[data-state=tracker]{background:#22c55e}.chat-presence-dot[data-state=offline]{background:#ef4444}.chat-room-controls>.chat-online-count{white-space:nowrap;gap:4px;padding:4px 6px;font-size:11px}.chat-presence-help{color:#64748b;margin-top:8px;font-size:11px;line-height:1.4}.chat-member-picker{flex-direction:column;gap:10px;min-height:0;display:flex}.chat-picker-heading{align-items:center;gap:8px;margin:4px 0 8px;display:flex}.chat-picker-heading>button{border:1px solid #e2e8f0;border-radius:50%;flex:none;width:28px;height:28px;font-size:18px}.chat-member-picker>input{border:1px solid #cbd5e1;border-radius:9px;width:100%;padding:9px 10px;font-size:14px}.chat-picker-tabs{background:#f1f5f9;border-radius:8px;gap:4px;padding:3px;display:flex}.chat-picker-tabs>button{border-radius:6px;flex:1;padding:6px;font-size:13px}.chat-picker-tabs>button[aria-pressed=true]{color:#1d4ed8;background:#fff;box-shadow:0 1px 3px #0001}.chat-picker-options{max-height:32dvh;overflow-y:auto}.chat-picker-options>label,.chat-picker-select-all{cursor:pointer;align-items:center;gap:9px;padding:8px 4px;font-size:13px;display:flex}.chat-picker-options input,.chat-picker-select-all input{accent-color:#2563eb;flex:none;width:16px;height:16px}.chat-picker-options small{color:#64748b;font-size:11px;display:block}.chat-picker-options [data-unavailable=true]{color:#64748b;cursor:default}.chat-picker-note{color:#64748b;font-size:11px;line-height:1.4}.chat-picker-footer{justify-content:space-between;align-items:center;gap:8px;font-size:13px;display:flex}.chat-picker-footer>button{color:#fff;background:#2563eb;border-radius:8px;padding:7px 14px}.chat-picker-footer>button:disabled{opacity:.45}.chat-presence-dot[data-state=telegram]{background:#38bdf8}.chat-mention-hint{color:#64748b;margin-top:10px;font-size:12px}.chat-mentioned-list{color:#1d4ed8;overflow-wrap:anywhere;margin-top:8px;font-size:12px}.chat-room-controls>button[aria-label=Медиа\ чата],.chat-room-controls>button[aria-label=Файлы\ чата]{width:32px;padding:6px}@media (max-width:480px){.chat-room-header{flex-wrap:wrap;gap:7px}.chat-room-header h2{flex-basis:100%}.chat-room-header .chat-room-controls{gap:5px;max-width:100%;margin-left:0}}.chat-participant-word{display:none}@media (min-width:1100px){.chat-participant-word{display:inline}}@media (max-width:480px){.chat-room-controls>.chat-people-count{margin-left:7px}}.chat-room-header{flex-wrap:nowrap;gap:6px;padding:5px 10px}.chat-room-header h2{flex:auto}.chat-room-header .chat-room-controls{gap:5px;margin-left:auto}.chat-room-controls>.chat-people-count{margin-left:0}.chat-online-number{color:#16a34a;white-space:nowrap}.chat-room-details{color:#334155;background:#fff;width:min(520px,100vw - 16px);max-height:calc(100dvh - 24px);overflow-y:auto}.chat-details-profile{flex-direction:column;align-items:center;gap:5px;margin:8px 0 16px;display:flex}.chat-details-profile .chat-avatar{width:72px;height:72px;font-size:25px}.chat-details-profile h3{text-align:center;font-size:20px;font-weight:600}.chat-details-profile p{color:#64748b;font-size:13px}.chat-details-settings{border:1px solid #e2e8f0;border-radius:12px;margin-bottom:12px;padding:10px;font-size:13px}.chat-details-settings summary{cursor:pointer;font-weight:600}.chat-details-settings[open] summary{margin-bottom:12px}.chat-details-tabs{background:#f1f5f9;border-radius:14px;gap:3px;margin:10px 0;padding:4px;display:flex;overflow-x:auto}.chat-details-tabs button{white-space:nowrap;border-radius:10px;flex:none;padding:8px 10px;font-size:13px}.chat-details-tabs button[aria-pressed=true]{color:#1d4ed8;background:#fff;box-shadow:0 1px 3px #0001}.chat-room-details .chat-rename button{color:#2563eb}.chat-notification-mode{color:#172033;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff}.chat-notification-mode option{color:#172033;background:#fff}
