/**
 * Ottoni Habitat 3.7.0 — contextual collaboration.
 * Lightweight, event-driven presentation only. Club owns rooms/messages.
 */
.ottoni-workbench-room-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .78rem;
  border: 1px solid color-mix(in srgb, var(--ottoni-forest, #28483b) 18%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--ottoni-sage, #b8c8b2) 18%, #fff);
  color: var(--ottoni-forest, #28483b);
  font-size: .8rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}
.ottoni-workbench-room-link:hover,
.ottoni-workbench-room-link:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--ottoni-terracotta, #b86648) 52%, transparent);
  background: color-mix(in srgb, var(--ottoni-sage, #b8c8b2) 28%, #fff);
  outline: 3px solid color-mix(in srgb, var(--ottoni-terracotta, #b86648) 20%, transparent);
  outline-offset: 2px;
}
.ottoni-workbench-room-link > span { font-size: 1.05rem; }
.ottoni-workbench-room-link > b {
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 .25rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ottoni-terracotta, #b86648);
  color: #fff;
  font-size: .67rem;
  line-height: 1;
}
.ottoni-workbench-collaboration {
  margin: .85rem 0;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--ottoni-forest, #28483b) 16%, transparent);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--ottoni-sage, #b8c8b2) 25%, transparent), transparent 45%),
    color-mix(in srgb, var(--ottoni-ivory, #f6f1e8) 85%, #fff);
}
.ottoni-workbench-collaboration header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .62rem;
}
.ottoni-workbench-collaboration header span {
  color: color-mix(in srgb, var(--ottoni-forest, #28483b) 72%, #fff);
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .12em;
}
.ottoni-workbench-collaboration header b {
  min-width: 1.45rem;
  height: 1.45rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ottoni-terracotta, #b86648);
  color: #fff;
  font-size: .68rem;
}
.ottoni-workbench-collaboration > strong {
  display: block;
  color: var(--ottoni-forest, #28483b);
  font-size: .95rem;
}
.ottoni-workbench-collaboration > p {
  margin: .38rem 0 .8rem;
  color: color-mix(in srgb, var(--ottoni-ink, #342f2a) 75%, #fff);
  font-size: .78rem;
  line-height: 1.5;
}
.ottoni-workbench-collaboration > a {
  display: inline-flex;
  gap: .4rem;
  color: var(--ottoni-terracotta, #b86648);
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
}
.ottoni-workbench-collaboration[data-collaboration-state="active"] {
  border-color: color-mix(in srgb, var(--ottoni-sage, #b8c8b2) 70%, var(--ottoni-forest, #28483b));
}
@media (max-width: 900px) {
  .ottoni-workbench-room-link { min-width: 42px; justify-content: center; padding-inline: .65rem; }
  .ottoni-workbench-room-link:not(:focus) { font-size: 0; }
  .ottoni-workbench-room-link > span,
  .ottoni-workbench-room-link > b { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ottoni-workbench-room-link { transition: none; }
  .ottoni-workbench-room-link:hover { transform: none; }
}
