/* -- the top bar: identity on the left, page settings on the right ----------- */

.topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
  justify-content: space-between;
  /* The bar spans the window; its contents line up with the stage below. */
  padding: 0.7rem max(var(--gutter), calc((100% - var(--stage)) / 2 + var(--gutter)));
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.brand {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.topbar-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
