.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 max(24px, calc((100% - 1112px) / 2));
  background: #fff;
  border-bottom: 1px solid #e1e5eb;
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.topbar .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #202630;
  text-decoration: none;
  font-size: 16px;
  font-weight: 650;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background: #245fce;
  color: #fff;
  font-size: 18px;
}
.console-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.console-nav a { padding: 6px 0; color: #526582; text-decoration: none; white-space: nowrap; }
.console-nav a[aria-current="page"] { color: #245fce; font-weight: 650; }
.topbar #logout { margin-left: auto; }
@media (max-width: 760px) {
  .topbar { min-height: 58px; padding: 10px 16px; gap: 6px 14px; flex-wrap: wrap; }
  .topbar .brand { font-size: 14px; }
  .console-nav { order: 3; width: 100%; gap: 0 16px; }
}
