:root {
  --camshot-suffix: #6940c9;
}

:root[data-theme="dark"] {
  --camshot-suffix: #a78bfa;
}

.camshot-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  vertical-align: middle;
}

.camshot-icon {
  display: block;
  flex: none;
  width: var(--camshot-icon-size, 30px);
  height: var(--camshot-icon-size, 30px);
}

.camshot-logo .camshot-wordmark {
  color: var(--ink);
  font-size: var(--camshot-wordmark-size, 17px);
  font-weight: 760;
  letter-spacing: -.03em;
  line-height: 1.12;
}

.camshot-wordmark .camshot-suffix {
  color: var(--camshot-suffix);
  font-size: inherit;
  font-weight: 600;
}

a.camshot-brand:hover {
  text-decoration: none;
}

a.camshot-brand:focus-visible {
  outline: 2px solid var(--camshot-suffix);
  outline-offset: 2px;
}

.topbar .practice-brand {
  align-items: center;
  gap: 3px 8px;
}

.mobile-brand.camshot-brand,
.practice-brand.camshot-brand {
  --camshot-icon-size: 26px;
  --camshot-wordmark-size: 15px;
}

@media (max-width: 900px) {
  html[data-sidebar="rail"] .topbar.has-side:not(.practice-topbar) {
    margin-left: 0;
  }

  html[data-skin="handsome"] .topbar.has-side:not(.practice-topbar) {
    position: sticky;
    height: auto;
    min-height: var(--header-h);
    padding-block: 6px;
  }

  html[data-skin="handsome"] .topbar.has-side:not(.practice-topbar) + .layout {
    padding-top: 0;
  }
}

@media (max-width: 420px) {
  .topbar .camshot-brand {
    --camshot-icon-size: 25px;
    --camshot-wordmark-size: 15px;
  }

  .topbar .practice-brand {
    flex: 1 1 0;
    min-width: 0;
  }

  .practice-topbar > .spacer {
    display: none;
  }
}
