/* Логотип слева + общая шапка внутренних экранов */

.app-shell-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.app-shell-brand:focus-visible {
  outline: 2px solid var(--button, #7a8450);
  outline-offset: 3px;
  border-radius: 8px;
}

.app-shell-brand img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.app-shell-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.app-shell-header > h1 {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.app-shell-header .app-page-header__end {
  margin-left: auto;
}

.balance-wheel__header.app-shell-header {
  justify-content: flex-start;
}

.balance-wheel__header.app-shell-header .app-page-header__end {
  margin-left: auto;
}

.main-screen__header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.main-screen__header-top .main-screen__header-actions {
  margin-left: auto;
}
