.brand-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 10px;
  background: #102735;
  box-shadow: 0 5px 14px rgba(16, 39, 53, 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.brand-name,
.brand-subtitle {
  display: block;
  letter-spacing: 0;
}

.brand-name {
  color: var(--ink);
  font-size: 19px;
  font-weight: 600 !important;
  line-height: 1.3;
  white-space: nowrap;
}

.brand-subtitle {
  color: #86909c;
  font-size: 9px;
  font-weight: 500 !important;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-lockup:hover .brand-mark {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(16, 39, 53, 0.2);
}

.brand-lockup:focus-visible {
  border-radius: 8px;
  outline: 2px solid #1677ff;
  outline-offset: 3px;
}

.sidebar-brand {
  width: 100%;
  margin: 0;
  padding: 2px 6px 19px;
  border-radius: 8px;
}

.sidebar-brand .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.sidebar-brand .brand-copy {
  gap: 3px;
}

@media (max-width: 1440px) {
  .topbar-actions > #next-sync-text {
    display: none;
  }
}

@media (max-width: 1360px) {
  .topbar-actions > .sync-text {
    display: none;
  }
}
