.chat-workspace-panel {
  margin: 10px 12px 4px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.chat-workspace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.chat-workspace-head strong {
  color: #172341;
  font:
    800 11px/1.2 system-ui,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-audio-status {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
  font:
    700 11px/1 system-ui,
    sans-serif;
}

.chat-audio-status.is-on {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

.chat-workspace-list {
  display: grid;
  gap: 4px;
}

.chat-workspace-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 5px;
  align-items: center;
}

.chat-workspace-link {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 7px 9px;
  border-radius: 9px;
  color: #273449;
  text-decoration: none;
}

.chat-workspace-link:hover {
  background: #f1f5f9;
  text-decoration: none;
}

.chat-workspace-link span,
.chat-workspace-link small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-workspace-link span {
  font:
    650 12px/1.25 system-ui,
    sans-serif;
}
.chat-workspace-link small {
  color: #94a3b8;
  font:
    500 10px/1.2 system-ui,
    sans-serif;
}

.chat-workspace-remove {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
}

.chat-workspace-remove:hover {
  background: #fff1f2;
  color: #be123c;
}

.chat-message-hidden-local {
  display: none !important;
}

.chat-hide-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
  padding: 10px 12px 10px 16px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.3);
  font:
    600 13px/1.2 system-ui,
    sans-serif;
}

.chat-hide-toast button {
  min-height: 32px;
  border: 0;
  border-radius: 8px;
  padding: 0 11px;
  background: #fff;
  color: #172341;
  cursor: pointer;
  font-weight: 750;
}

@media (max-width: 640px) {
  .chat-hide-toast {
    bottom: 82px;
    width: calc(100vw - 32px);
    box-sizing: border-box;
  }
}

@media (max-width: 1024px) {
  .chat-workspace-panel {
    margin-top: 72px;
  }
}
