.hub-tool-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 14px;
  background: #0f3d3a;
  color: #fff;
  font: 600 13px/1.35 "Segoe UI", system-ui, sans-serif;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 5000;
}
.hub-tool-bar a,
.hub-tool-bar button.hub-tool-back {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 5px 10px;
  font: inherit;
  cursor: pointer;
}
.hub-tool-bar a:hover,
.hub-tool-bar button.hub-tool-back:hover {
  background: rgba(255, 255, 255, 0.2);
}
.hub-tool-bar .hub-tool-title {
  font-weight: 800;
  color: #b8e6df;
}
.hub-tool-bar .hub-tool-session {
  opacity: 0.92;
  font-weight: 600;
}
.hub-tool-bar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.hub-tool-bar .hub-presence {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(134, 239, 172, 0.55);
  color: #ecfdf5;
  font-size: 11px;
  font-weight: 700;
  max-width: min(280px, 34vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: default;
}
.hub-tool-bar .hub-presence.hub-presence-clickable {
  cursor: pointer;
}
.hub-tool-bar .hub-presence.hub-presence-clickable:hover {
  background: rgba(34, 197, 94, 0.28);
  border-color: rgba(187, 247, 208, 0.75);
}
.hub-tool-bar .hub-presence[hidden] {
  display: none;
}
.hub-tool-bar .hub-presence-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}
/* Never print the navigation bar — printouts are handouts, not screenshots. */
@media print {
  .hub-tool-bar {
    display: none !important;
  }
}
