/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg-primary: #fff;
  --bg-secondary: #f7f6f3;
  --bg-tertiary: #f1f1ef;
  --bg-hover: #37352f0a;
  --bg-active: #37352f14;
  --bg-sidebar: #f7f6f3;
  --bg-glass: #ffffffd9;
  --text-primary: #37352f;
  --text-secondary: #787774;
  --text-tertiary: #b4b4b0;
  --text-link: #2383e2;
  --border-color: #e9e9e7;
  --border-light: #eeeeec;
  --divider: #37352f17;
  --accent-blue: #2383e2;
  --accent-red: #eb5757;
  --accent-green: #0f7b6c;
  --accent-yellow: #dfab01;
  --accent-orange: #d9730d;
  --accent-pink: #ad1a72;
  --accent-purple: #6940a5;
  --tag-red: #ffe2dd;
  --tag-red-text: #93000a;
  --tag-blue: #d3e5ef;
  --tag-blue-text: #183347;
  --tag-green: #dbeddb;
  --tag-green-text: #1e3a1f;
  --tag-yellow: #fdecc8;
  --tag-yellow-text: #493200;
  --tag-orange: #fadec9;
  --tag-orange-text: #492b00;
  --tag-pink: #f5e0e9;
  --tag-pink-text: #4c1130;
  --tag-purple: #e8deee;
  --tag-purple-text: #2b1540;
  --tag-gray: #e3e2e0;
  --tag-gray-text: #373530;
  --shadow-sm: #0f0f0f0d 0px 0px 0px 1px, #0f0f0f05 0px 2px 4px, #0f0f0f0a 0px 6px 16px;
  --shadow-md: #0f0f0f0d 0px 0px 0px 1px, #0f0f0f0d 0px 4px 8px, #0f0f0f1a 0px 12px 32px;
  --sidebar-width: 240px;
  --topbar-height: 45px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --touch-target: 44px;
  --responsive-padding: 60px;
  --responsive-padding-md: 32px;
  --responsive-padding-sm: 16px;
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
  --font-mono: "SFMono-Regular", Menlo, Consolas, "PT Mono", "Liberation Mono", Courier, monospace;
  --font-serif: Lyon-Text, Georgia, ui-serif, serif;
}

:root.sidebar-collapsed {
  --sidebar-width: 28px;
}

@media (max-width: 768px) {
  :root, :root.sidebar-collapsed {
    --sidebar-width: 0px;
    --responsive-padding: var(--responsive-padding-sm);
  }

  #mobile-sidebar-toggle {
    display: flex !important;
  }

  .topbar-container-left-offset {
    padding-left: 52px;
  }
}

[data-theme="dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg-primary: #191919;
  --bg-secondary: #202020;
  --bg-tertiary: #2f2f2f;
  --bg-hover: #ffffff0e;
  --bg-active: #ffffff1a;
  --bg-sidebar: #202020;
  --bg-glass: #191919d9;
  --text-primary: #e6e3dd;
  --text-secondary: #9b9a97;
  --text-tertiary: #5a5a58;
  --text-link: #529cca;
  --border-color: #2f2f2f;
  --border-light: #2a2a2a;
  --divider: #ffffff18;
  --tag-red: #492b2b;
  --tag-red-text: #ff7369;
  --tag-blue: #1f3d52;
  --tag-blue-text: #6eb8ff;
  --tag-green: #1f3d2b;
  --tag-green-text: #4dab9a;
  --tag-yellow: #493b1f;
  --tag-yellow-text: #ffdc49;
  --tag-orange: #49321f;
  --tag-orange-text: #ffa344;
  --tag-pink: #452842;
  --tag-pink-text: #e255a1;
  --tag-purple: #342c4c;
  --tag-purple-text: #9a6dd7;
  --tag-gray: #2f2f2f;
  --tag-gray-text: #979694;
  --shadow-sm: #0003 0px 0px 0px 1px, #0003 0px 2px 4px, #0000004d 0px 6px 16px;
  --shadow-md: #00000040 0px 0px 0px 1px, #00000040 0px 4px 8px, #0006 0px 12px 32px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -.02em;
  line-height: 1.2;
}

a {
  color: var(--text-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  cursor: pointer;
  color: inherit;
  background: none;
  border: none;
  font-family: inherit;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), opacity .2s cubic-bezier(.16, 1, .3, 1), background .15s;
}

button:active, .btn:active {
  transform: scale(.97);
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: var(--text-tertiary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

.auth-container {
  background: var(--bg-secondary);
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  display: flex;
}

.auth-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-md);
  padding: 48px 40px;
}

.auth-card h1 {
  text-align: center;
  margin-bottom: 4px;
  font-size: 24px;
  font-weight: 700;
}

.auth-card p {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 32px;
  font-size: 14px;
}

.auth-logo {
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 28px;
  font-weight: 700;
  display: flex;
}

.auth-logo svg {
  width: 36px;
  height: 36px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  display: block;
}

.form-input {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  outline: none;
  width: 100%;
  padding: 8px 12px;
  font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}

.form-input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px #2383e226;
}

.btn {
  border-radius: var(--radius-sm);
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: background .1s, opacity .1s;
  display: inline-flex;
}

.btn-primary {
  background: var(--accent-blue);
  color: #fff;
  border-radius: var(--radius-sm);
  width: 100%;
  margin-top: 8px;
  padding: 10px 16px;
  font-weight: 600;
}

.btn-primary:hover {
  background: #1a73d4;
}

.btn-primary:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.btn-ghost {
  color: var(--text-secondary);
  background: none;
}

.btn-ghost:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.auth-error {
  background: var(--tag-red);
  color: var(--tag-red-text);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  padding: 10px 14px;
  font-size: 13px;
}

.auth-footer {
  text-align: center;
  color: var(--text-secondary);
  margin-top: 20px;
  font-size: 14px;
}

.auth-footer a {
  color: var(--accent-blue);
  font-weight: 500;
}

/* [project]/src/components/Chat/ChatPanels.module.css [app-client] (css) */
.ChatPanels-module__z2Z_yG__container {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
}

.ChatPanels-module__z2Z_yG__messageList {
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 16px;
  display: flex;
  overflow-y: auto;
}

.ChatPanels-module__z2Z_yG__empty {
  text-align: center;
  color: var(--text-secondary, #666);
  margin: auto;
  font-size: 14px;
}

.ChatPanels-module__z2Z_yG__inputArea {
  border-top: 1px solid var(--divider, #e8e8e8);
  background-color: var(--bg-primary, #fff);
  flex-shrink: 0;
  align-items: flex-end;
  gap: 8px;
  padding: 12px 16px;
  display: flex;
}

.ChatPanels-module__z2Z_yG__input {
  border: 1px solid var(--divider, #e8e8e8);
  background-color: var(--bg-secondary, #f9f9f9);
  color: var(--text-primary, #111);
  resize: none;
  border-radius: 20px;
  outline: none;
  flex: 1;
  min-height: 40px;
  max-height: 120px;
  padding: 10px 16px;
  font-size: 14px;
  transition: border-color .2s;
}

.ChatPanels-module__z2Z_yG__input:focus {
  border-color: var(--primary-color, #2383e2);
}

.ChatPanels-module__z2Z_yG__sendBtn {
  background-color: var(--primary-color, #2383e2);
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: background-color .2s;
  display: flex;
}

.ChatPanels-module__z2Z_yG__sendBtn:disabled {
  background-color: var(--text-disabled, #ccc);
  cursor: not-allowed;
}

.ChatPanels-module__z2Z_yG__bubbleWrapper {
  align-items: flex-end;
  gap: 8px;
  max-width: 85%;
  animation: .25s cubic-bezier(.16, 1, .3, 1) forwards ChatPanels-module__z2Z_yG__slideInUp;
  display: flex;
}

@keyframes ChatPanels-module__z2Z_yG__slideInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ChatPanels-module__z2Z_yG__bubbleWrapper.ChatPanels-module__z2Z_yG__own {
  flex-direction: row-reverse;
  align-self: flex-end;
}

.ChatPanels-module__z2Z_yG__bubbleAvatar {
  background-color: var(--text-secondary, #666);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.ChatPanels-module__z2Z_yG__bubbleContent {
  flex-direction: column;
  display: flex;
}

.ChatPanels-module__z2Z_yG__bubbleWrapper.ChatPanels-module__z2Z_yG__own .ChatPanels-module__z2Z_yG__bubbleContent {
  align-items: flex-end;
}

.ChatPanels-module__z2Z_yG__bubbleName {
  color: var(--text-secondary, #666);
  margin-bottom: 2px;
  margin-left: 4px;
  font-size: 11px;
}

.ChatPanels-module__z2Z_yG__bubbleBox {
  background-color: var(--bg-secondary, #f1f1f1);
  border-radius: 16px 16px 16px 4px;
  min-width: 60px;
  padding: 8px 12px;
  position: relative;
}

.ChatPanels-module__z2Z_yG__bubbleWrapper.ChatPanels-module__z2Z_yG__own .ChatPanels-module__z2Z_yG__bubbleBox {
  background-color: var(--primary-color, #2383e2);
  color: #fff;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 16px;
}

.ChatPanels-module__z2Z_yG__bubbleText {
  word-break: break-word;
  color: var(--text-primary, #111);
  margin: 0;
  font-size: 14px;
}

.ChatPanels-module__z2Z_yG__bubbleWrapper.ChatPanels-module__z2Z_yG__own .ChatPanels-module__z2Z_yG__bubbleText {
  color: #fff;
}

.ChatPanels-module__z2Z_yG__bubbleTime {
  color: var(--text-secondary, #888);
  text-align: right;
  width: 100%;
  margin-top: 4px;
  font-size: 10px;
  display: inline-block;
}

.ChatPanels-module__z2Z_yG__bubbleWrapper.ChatPanels-module__z2Z_yG__own .ChatPanels-module__z2Z_yG__bubbleTime {
  color: #ffffffb3;
}

.ChatPanels-module__z2Z_yG__replyBox {
  border-left: 3px solid var(--primary-color, #2383e2);
  background-color: #0000000d;
  border-radius: 4px;
  margin-bottom: 4px;
  padding: 4px 8px;
  font-size: 12px;
}

.ChatPanels-module__z2Z_yG__replyName {
  color: var(--text-primary, #111);
  font-weight: 600;
}

.ChatPanels-module__z2Z_yG__bubbleWrapper.ChatPanels-module__z2Z_yG__own .ChatPanels-module__z2Z_yG__replyName {
  color: #ffffffe6;
}

.ChatPanels-module__z2Z_yG__replyText {
  color: var(--text-secondary, #666);
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 200px;
  overflow: hidden;
}

.ChatPanels-module__z2Z_yG__bubbleWrapper.ChatPanels-module__z2Z_yG__own .ChatPanels-module__z2Z_yG__replyText {
  color: #ffffffb3;
}

.ChatPanels-module__z2Z_yG__chatHeader {
  border-bottom: 1px solid var(--divider, #e8e8e8);
  background-color: var(--bg-primary, #fff);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  display: flex;
}

.ChatPanels-module__z2Z_yG__chatHeaderTitle {
  color: var(--text-secondary, #666);
  font-size: 13px;
  font-weight: 600;
}

.ChatPanels-module__z2Z_yG__clearMenuWrapper {
  position: relative;
}

.ChatPanels-module__z2Z_yG__clearBtn {
  color: var(--text-tertiary, #999);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  align-items: center;
  padding: 4px;
  display: flex;
}

.ChatPanels-module__z2Z_yG__clearBtn:hover {
  background: var(--bg-hover, #f1f1f1);
  color: #ef4444;
}

.ChatPanels-module__z2Z_yG__clearMenu {
  background: var(--bg-primary, #fff);
  border: 1px solid var(--divider, #e8e8e8);
  z-index: 999;
  border-radius: 8px;
  min-width: 180px;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px #0000001f;
}

.ChatPanels-module__z2Z_yG__clearMenu button {
  text-align: left;
  cursor: pointer;
  width: 100%;
  color: var(--text-primary, #111);
  background: none;
  border: none;
  padding: 10px 14px;
  font-size: 13px;
  display: block;
}

.ChatPanels-module__z2Z_yG__clearMenu button:hover {
  color: #ef4444;
  background: #fee2e2;
}

.ChatPanels-module__z2Z_yG__mentionDropdown {
  background: var(--bg-primary, #fff);
  border: 1px solid var(--divider, #e0e0e0);
  z-index: 100;
  border-radius: 10px;
  max-height: 180px;
  position: absolute;
  bottom: 72px;
  left: 16px;
  right: 16px;
  overflow-y: auto;
  box-shadow: 0 4px 20px #00000026;
}

.ChatPanels-module__z2Z_yG__mentionItem {
  cursor: pointer;
  width: 100%;
  color: var(--text-primary, #111);
  text-align: left;
  background: none;
  border: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  display: flex;
}

.ChatPanels-module__z2Z_yG__mentionItem:hover, .ChatPanels-module__z2Z_yG__mentionItemActive {
  background: var(--bg-hover, #f5f5f5);
}

.ChatPanels-module__z2Z_yG__mentionAvatar {
  background: var(--primary-color, #2383e2);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.ChatPanels-module__z2Z_yG__imagePreviewBar {
  background: var(--bg-secondary, #f9f9f9);
  border-top: 1px solid var(--divider, #e8e8e8);
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  display: flex;
}

.ChatPanels-module__z2Z_yG__imagePreviewThumb {
  object-fit: cover;
  border: 1px solid var(--divider, #e0e0e0);
  border-radius: 6px;
  width: 48px;
  height: 48px;
}

.ChatPanels-module__z2Z_yG__imagePreviewName {
  color: var(--text-secondary, #666);
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  font-size: 12px;
  overflow: hidden;
}

.ChatPanels-module__z2Z_yG__removeImageBtn {
  cursor: pointer;
  color: var(--text-tertiary, #999);
  background: none;
  border: none;
  border-radius: 4px;
  align-items: center;
  padding: 4px;
  display: flex;
}

.ChatPanels-module__z2Z_yG__removeImageBtn:hover {
  color: #ef4444;
  background: #fee2e2;
}

.ChatPanels-module__z2Z_yG__imageBtn {
  color: var(--text-tertiary, #999);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 50%;
  flex-shrink: 0;
  align-items: center;
  padding: 6px;
  display: flex;
}

.ChatPanels-module__z2Z_yG__imageBtn:hover {
  background: var(--bg-hover, #f1f1f1);
  color: var(--primary-color, #2383e2);
}

.ChatPanels-module__z2Z_yG__chatImage {
  object-fit: cover;
  cursor: pointer;
  border-radius: 10px;
  max-width: 220px;
  max-height: 200px;
  display: block;
}

.ChatPanels-module__z2Z_yG__lightboxOverlay {
  z-index: 9999;
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  background: #0f0f0fd9;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
}

.ChatPanels-module__z2Z_yG__lightboxImage {
  object-fit: contain;
  cursor: default;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 8px 40px #00000080;
}

.ChatPanels-module__z2Z_yG__lightboxClose {
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #ffffff26;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  font-size: 24px;
  display: flex;
  position: absolute;
  top: 20px;
  right: 24px;
}

.ChatPanels-module__z2Z_yG__lightboxClose:hover {
  background: #ffffff4d;
}

.ChatPanels-module__z2Z_yG__mentionHighlight {
  color: var(--primary-color, #2383e2);
  vertical-align: baseline;
  background: #2383e21f;
  border-radius: 4px;
  padding: 1px 4px;
  font-weight: 700;
  line-height: 1;
  transition: all .15s;
  display: inline-block;
}

.ChatPanels-module__z2Z_yG__mentionHighlight:hover {
  background: #2383e233;
  text-decoration: none;
  box-shadow: 0 0 0 1px #2383e24d;
}

.ChatPanels-module__z2Z_yG__mentionOwn {
  font-weight: 700;
  color: #fff !important;
  background: #ffffff40 !important;
}

.ChatPanels-module__z2Z_yG__mentionOwn:hover {
  background: #fff6 !important;
}

.ChatPanels-module__z2Z_yG__tabBadge {
  color: #fff;
  background: #ef4444;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
}

.ChatPanels-module__z2Z_yG__tabMentionBadge {
  background: var(--primary-color, #2383e2);
  color: #fff;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
}

.ChatPanels-module__z2Z_yG__fileDownloadCard {
  color: inherit;
  cursor: pointer;
  background: #0000000f;
  border: 1px solid #0000001a;
  border-radius: 10px;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  max-width: 260px;
  margin-bottom: 2px;
  padding: 10px 12px;
  text-decoration: none;
  transition: background .15s;
  display: flex;
}

.ChatPanels-module__z2Z_yG__fileDownloadCard:hover {
  background: #0000001a;
}

.ChatPanels-module__z2Z_yG__fileDownloadCardOwn {
  background: #fff3;
  border-color: #ffffff4d;
}

.ChatPanels-module__z2Z_yG__fileDownloadCardOwn:hover {
  background: #ffffff4d;
}

.ChatPanels-module__z2Z_yG__fileDownloadIcon {
  width: 36px;
  height: 36px;
  color: var(--primary-color, #2383e2);
  background: #2383e226;
  border-radius: 8px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
}

.ChatPanels-module__z2Z_yG__fileDownloadCardOwn .ChatPanels-module__z2Z_yG__fileDownloadIcon {
  color: #fff;
  background: #ffffff40;
}

.ChatPanels-module__z2Z_yG__fileDownloadInfo {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.ChatPanels-module__z2Z_yG__fileDownloadName {
  color: var(--text-primary, #111);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
}

.ChatPanels-module__z2Z_yG__fileDownloadCardOwn .ChatPanels-module__z2Z_yG__fileDownloadName {
  color: #fff;
}

.ChatPanels-module__z2Z_yG__fileDownloadExt {
  color: var(--text-tertiary, #999);
  letter-spacing: .5px;
  font-size: 10px;
  font-weight: 600;
}

.ChatPanels-module__z2Z_yG__fileDownloadCardOwn .ChatPanels-module__z2Z_yG__fileDownloadExt {
  color: #ffffffb3;
}

.ChatPanels-module__z2Z_yG__fileDownloadArrow {
  color: var(--text-tertiary, #999);
  flex-shrink: 0;
}

.ChatPanels-module__z2Z_yG__fileDownloadCardOwn .ChatPanels-module__z2Z_yG__fileDownloadArrow {
  color: #ffffffb3;
}

/* [project]/src/components/Chat/ChatSidebarPanel.module.css [app-client] (css) */
.ChatSidebarPanel-module__0-ITDG__overlay {
  z-index: 9999;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background-color: #0f0f0f66;
  transition: opacity .3s;
  position: fixed;
  inset: 0;
}

.ChatSidebarPanel-module__0-ITDG__panel {
  background-color: var(--bg-primary, #fff);
  border-left: 1px solid var(--divider, #e8e8e8);
  z-index: 10000;
  flex-direction: column;
  width: 380px;
  transition: right .3s cubic-bezier(.25, .8, .25, 1);
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  right: -400px;
  box-shadow: -4px 0 24px #0000001a;
}

.ChatSidebarPanel-module__0-ITDG__panel.ChatSidebarPanel-module__0-ITDG__open {
  right: 0;
}

.ChatSidebarPanel-module__0-ITDG__floatingBtn {
  background-color: var(--primary-color, #2383e2);
  color: #fff;
  cursor: pointer;
  z-index: 9998;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  position: fixed;
  bottom: 24px;
  right: 24px;
  box-shadow: 0 4px 12px #2383e24d;
}

.ChatSidebarPanel-module__0-ITDG__floatingBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px #2383e266;
}

.ChatSidebarPanel-module__0-ITDG__floatingBtn.ChatSidebarPanel-module__0-ITDG__hidden {
  display: none;
}

.ChatSidebarPanel-module__0-ITDG__badge {
  color: #fff;
  border: 2px solid var(--bg-primary, #fff);
  background-color: #e03131;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  position: absolute;
  top: -4px;
  right: -4px;
}

.ChatSidebarPanel-module__0-ITDG__header {
  border-bottom: 1px solid var(--divider, #e8e8e8);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 20px;
  display: flex;
}

.ChatSidebarPanel-module__0-ITDG__title {
  color: var(--text-primary, #111);
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
}

.ChatSidebarPanel-module__0-ITDG__closeBtn, .ChatSidebarPanel-module__0-ITDG__backBtn {
  color: var(--text-secondary, #666);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  padding: 8px;
  transition: background-color .2s;
  display: flex;
}

.ChatSidebarPanel-module__0-ITDG__closeBtn:hover, .ChatSidebarPanel-module__0-ITDG__backBtn:hover {
  background-color: var(--bg-hover, #f1f1f1);
  color: var(--text-primary, #111);
}

.ChatSidebarPanel-module__0-ITDG__content {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.ChatSidebarPanel-module__0-ITDG__tabBar {
  border-bottom: 1px solid var(--divider, #e8e8e8);
  flex-shrink: 0;
  display: flex;
}

.ChatSidebarPanel-module__0-ITDG__tab {
  text-align: center;
  color: var(--text-secondary, #666);
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  flex: 1;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}

.ChatSidebarPanel-module__0-ITDG__tab.ChatSidebarPanel-module__0-ITDG__active {
  color: var(--text-primary, #111);
  border-bottom-color: var(--primary-color, #2383e2);
}

.ChatSidebarPanel-module__0-ITDG__chatList {
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow-y: auto;
}

.ChatSidebarPanel-module__0-ITDG__chatItem {
  border-bottom: 1px solid var(--divider, #f1f1f1);
  cursor: pointer;
  align-items: center;
  padding: 16px 20px;
  transition: background-color .2s;
  display: flex;
}

.ChatSidebarPanel-module__0-ITDG__chatItem:hover {
  background-color: var(--bg-hover, #f9f9f9);
}

.ChatSidebarPanel-module__0-ITDG__avatar {
  background-color: var(--primary-color, #2383e2);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin-right: 12px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
}

.ChatSidebarPanel-module__0-ITDG__groupAvatar {
  background-color: #6a2aab;
}

.ChatSidebarPanel-module__0-ITDG__itemInfo {
  flex: 1;
  min-width: 0;
}

.ChatSidebarPanel-module__0-ITDG__itemTitle {
  color: var(--text-primary, #111);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
}

.ChatSidebarPanel-module__0-ITDG__itemPreview {
  color: var(--text-secondary, #666);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  overflow: hidden;
}

.ChatSidebarPanel-module__0-ITDG__mentionBadge {
  background-color: var(--primary-color, #2383e2);
  color: #fff;
  border: 2px solid var(--bg-primary, #fff);
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  position: absolute;
  top: -4px;
  right: -4px;
}

.ChatSidebarPanel-module__0-ITDG__tabBadge {
  color: #fff;
  background: #ef4444;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
}

.ChatSidebarPanel-module__0-ITDG__tabMentionBadge {
  background: var(--primary-color, #2383e2);
  color: #fff;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
}

.ChatSidebarPanel-module__0-ITDG__tabRedDot {
  vertical-align: middle;
  background: #ef4444;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  margin-bottom: 3px;
  margin-left: 4px;
  display: inline-block;
}

/*# sourceMappingURL=src_7291062e._.css.map*/