.topbar nav { margin-left: auto; }

.topbar .presence-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  margin-left: 8px;
  color: #182332;
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.presence-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 19px;
  flex: 0 0 20px;
  overflow: hidden;
}

.presence-icon img {
  position: absolute;
  top: -8px;
  left: -2.5px;
  display: block;
  width: 25px;
  height: auto;
  max-width: none;
  filter: brightness(0) saturate(100%) invert(47%) sepia(74%) saturate(479%) hue-rotate(86deg) brightness(91%) contrast(89%);
}

@media (max-width: 570px) {
  .topbar .brand { order: 0; }
  .topbar .presence-badge { order: 1; margin-left: 0; font-size: 15px; }
  .presence-icon { width: 17px; height: 16px; flex-basis: 17px; }
  .presence-icon img { width: 21px; top: -7px; left: -2px; }
  .topbar nav { order: 2; margin-left: 0; }
}

@media print { .topbar .presence-badge { display: none; } }
