/* ../../../../../../Views/Site/Header.css */
body:has(.topbar) {
  padding-top: calc(var(--bar-h) + 30px);
}
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: var(--bar-h);
  background: var(--bar-bg);
  border-bottom: 1px solid var(--card-border);
}
.topbar-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 0 24px;
}
.brand {
  font-size: 0.975rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.page-head {
  margin-bottom: 22px;
}
.brand-sep {
  font-size: 0.975rem;
  color: var(--text-muted);
}
.page-title {
  margin: 0;
  font-size: 0.975rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-head .hint {
  margin: 0;
}
.topbar-center {
  display: flex;
  justify-content: center;
}
.page-user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.page-user .name {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.page-user a {
  color: var(--text-muted);
  text-decoration: underline;
  white-space: nowrap;
  cursor: pointer;
}
.page-user a:hover {
  color: var(--text);
}
.page-user .signout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.page-user .signout svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
}
.page-user .signout:hover {
  color: var(--text);
  background: var(--icon-bg);
}
@media (max-width: 760px) {
  .topbar-inner {
    padding: 0 16px;
    gap: 10px;
  }
  .brand-sep,
  .page-title,
  .page-user .name {
    display: none;
  }
}
