#logo {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #172b2d;
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

#logo::before {
  content: "" !important;
  display: block !important;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin: 0 !important;
  background: url("/images/logo/leanote-mark.svg") center / contain no-repeat;
}

#logo::after {
  content: "Leanote";
  display: block;
  font: inherit;
  color: inherit;
}

#logo.icon-only::after {
  display: none;
}

.bg-dark #logo,
.bg-black #logo {
  color: #f7faf9;
}

#box #logo {
  width: auto;
  min-height: 42px;
  margin: 0 auto 24px;
  padding: 0;
  color: #ffffff;
  font-size: 26px;
}

#box #logo::before {
  flex-basis: 40px;
  width: 40px;
  height: 40px;
}

#header > #logo {
  justify-content: flex-start;
  box-sizing: border-box;
  width: 50px;
  height: 60px;
  padding: 0 0 0 10px;
  font-size: 21px;
  line-height: 1;
}

#header > #logo::after {
  display: none;
}

.logo-ctn #logo {
  vertical-align: middle;
}

@media (max-width: 767px) {
  #header > #logo {
    width: 46px;
  }

  #header > #logo::after {
    display: none;
  }
}

@media (max-width: 700px) {
  .leanote-plugin #header > #logo {
    height: 40px;
  }
}
