/** Top bar **/

.topbar {
  display: flex; align-items: center; gap: 32px;
  padding: 12px 28px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.topbar__brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); text-decoration: none;
}
.topbar__brand-text {
  font: 600 15px/1.5 var(--font-sans); letter-spacing: -0.2px;
}

.topbar__crest {
  width: 36px; height: 26px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--hat-soft);
  border: 1px solid color-mix(in srgb, var(--hat) 27%, transparent);
	translate: 0 2px;
}

.topbar__crest-icon {
  font-size: 36px;
	translate: 0 -4.5px;
}

.topbar__version {
  font: 400 11px/1.5 var(--font-mono);
  color: var(--muted);
  margin-left: 2px;
}

.topbar__nav { display: flex; gap: 20px; font: 13px/1.5 var(--font-sans); }
.topbar__nav a { color: var(--muted); text-decoration: none; }
.topbar__nav a.is-active { color: var(--ink); font-weight: 500; }

.topbar__right {
  margin-left: auto; display: flex; align-items: center; gap: 12px;
}

.topbar__user {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink); font-weight: 500;
}

.avatar {
  width: 26px; height: 26px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fc6d26 0%, #e24329 55%, #8b2e1e 100%);
  color: #fff; font: 700 10.5px/1 var(--font-sans); letter-spacing: 0.2px;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.08);
}