:root {
  --site-header-height: 46px;
  --site-header-bg: var(--panel, #fff);
  --site-header-text: var(--text, #1f2933);
  --site-header-muted: var(--muted, #667085);
  --site-header-border: var(--border, #d5dbe3);
  --site-header-accent: var(--accent, #1565c0);
  --site-header-accent-soft: var(--accent-soft, #e8f1fb);
}
.site-header {
  min-height: var(--site-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid var(--site-header-border);
  background: var(--site-header-bg);
  color: var(--site-header-text);
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.site-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  border: 1px solid var(--site-header-accent);
  border-radius: 4px;
  background: var(--site-header-accent-soft);
  color: var(--site-header-accent);
}
.site-brand-mark::before {
  width: 17px;
  height: 17px;
  background: currentColor;
  content: "";
  -webkit-mask: url("/icons/project-map.svg") center / contain no-repeat;
  mask: url("/icons/project-map.svg") center / contain no-repeat;
}
.site-brand-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-brand-name span { color: var(--site-header-accent); }
.site-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.site-header-action {
  border: 0;
  background: transparent;
  color: var(--site-header-muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.site-header-action:hover { color: var(--site-header-accent); }
.site-header-action:focus-visible {
  outline: 2px solid var(--site-header-accent);
  outline-offset: 3px;
}
.site-header-action[hidden] { display: none; }
@media (max-width: 520px) {
  .site-header { padding: 0 10px; }
  .site-header-actions { gap: 8px; }
  .site-header-action { font-size: 11px; }
}
