:root:not([data-web-brand]) .web-brand-art,
:root[data-web-brand="positionest"] :is([data-web-brand-original], .web-brand-subtitle) {
  display: none !important;
}

:root[data-web-brand="positionest"] [data-web-brand-mark="header"] {
  --workspace-wordmark-width: calc(36px * 111 / 31);
  max-width: none;
}

[data-web-brand-mark="login"] {
  --workspace-wordmark-width: 19rem;
}

[data-web-brand-mark="loader"] {
  --workspace-wordmark-width: 10rem;
}

:root[data-web-brand="positionest"] [data-web-brand-mark] > .web-brand-art {
  --positionest-accent: var(--accent-pick, var(--positionest-startup-accent, var(--accent, #7afb9e)));
  --positionest-tile-ink: var(--positionest-resolved-tile-ink, var(--accent-button-on, #171818));
  position: relative;
  display: block;
  flex: none;
  order: -1;
  width: var(--workspace-wordmark-width, calc(36px * 111 / 31));
  max-width: 100%;
  aspect-ratio: 111 / 31;
  background: none;
}

:root[data-web-brand="positionest"] [data-web-brand-mark="header"] > .web-brand-art {
  height: 36px;
  max-width: none;
}

@supports (color: contrast-color(white)) {
  :root[data-web-brand="positionest"] [data-web-brand-mark] > .web-brand-art {
    --positionest-tile-ink: var(--positionest-resolved-tile-ink, contrast-color(var(--positionest-accent)));
  }
}

.web-brand-art::before,
.web-brand-art::after,
.web-brand-positionest-n {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.web-brand-art::before {
  content: "";
  background-color: var(--positionest-letters, #e1e4e1);
  -webkit-mask: url("positionest-official-letters.svg") center / 100% 100% no-repeat;
  mask: url("positionest-official-letters.svg") center / 100% 100% no-repeat;
}

.web-brand-art::after {
  content: "";
  background-color: var(--positionest-accent);
  -webkit-mask: url("positionest-official-tile.svg") center / 100% 100% no-repeat;
  mask: url("positionest-official-tile.svg") center / 100% 100% no-repeat;
}

.web-brand-positionest-n {
  z-index: 1;
  background-color: var(--positionest-tile-ink);
  -webkit-mask: url("positionest-official-n.svg") center / 100% 100% no-repeat;
  mask: url("positionest-official-n.svg") center / 100% 100% no-repeat;
}

:is([data-theme="light"], [data-sw-theme="light"], .theme-light)
  [data-web-brand-mark]:not([data-web-brand-dark]) {
  --positionest-letters: #282a28;
}

@media (prefers-color-scheme: light) {
  .note-share [data-web-brand-mark="share"]:not([data-web-brand-dark]) > .web-brand-art {
    --positionest-letters: #282a28;
  }
}
