/* Shared Room + AI Workspace connective layer. */
.workspace-selected-ai {
  display: inline-flex;
  min-width: 0;
  max-width: 10rem;
  align-items: center;
  gap: .4rem;
  height: 30px;
  padding: 0 .55rem;
  border: 1px solid rgba(79,124,255,.22);
  border-radius: 999px;
  color: var(--ws-text);
  background: linear-gradient(135deg,rgba(124,58,237,.12),rgba(37,99,235,.08));
  font-size: .66rem;
  font-weight: 700;
}
.workspace-selected-ai > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-room-bridge {
  position: relative;
  z-index: 15;
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .45rem 1rem;
  border-bottom: 1px solid rgba(79,124,255,.15);
  color: var(--ws-muted);
  background: linear-gradient(90deg,rgba(124,58,237,.08),rgba(37,99,235,.07));
  font-size: .7rem;
}
.workspace-room-bridge > svg { color: #9ab5ff; }
.workspace-room-bridge a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: #b7c9ff;
  font-weight: 700;
  text-decoration: none;
}
.workspace-room-bridge a:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1180px) {
  .workspace-selected-ai { display: none; }
}
@media (max-width: 760px) {
  .workspace-room-bridge { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .workspace-commandbar__nav a:nth-of-type(n+4) { display: none; }
}
