.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 1.75rem;
  gap: .75rem;
}

.site-header-left {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.site-header-wordmark {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: var(--weight-medium);
  color: var(--navy-dark);
  text-decoration: none;
  letter-spacing: -.01em;
  flex-shrink: 0;
}

.site-header-sep {
  color: var(--color-border);
  font-size: 1.3rem;
  font-weight: var(--weight-normal);
  user-select: none;
}

.site-header-domain {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: .28rem .65rem;
  cursor: pointer;
  user-select: none;
  transition: border-color .15s, background .15s;
}

.site-header-domain:hover {
  border-color: var(--navy);
  background: var(--navy-light);
}

.site-header-domain svg { color: var(--color-text-muted); }

.site-header-spacer { flex: 1; }

.site-header-right {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.site-header-icon-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  position: relative;
  transition: background .12s, color .12s;
}

.site-header-icon-btn:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.site-header-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: var(--red);
  border-radius: 999px;
  font-size: 8px;
  font-weight: var(--weight-bold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--color-surface);
}

.site-header-user {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  cursor: pointer;
  padding: .25rem .4rem;
  border-radius: 5px;
  transition: background .12s;
  text-decoration: none;
}

.site-header-user:hover { background: var(--color-bg); }

.site-header-avatar {
  width: 28px;
  height: 28px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .65rem;
  font-weight: var(--weight-bold);
  letter-spacing: .02em;
  flex-shrink: 0;
}
