.app-header {
  position: relative;
  z-index: var(--z-index-sticky);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  height: var(--size-shell-bar-height);
  min-height: var(--size-shell-bar-height);
  padding: 0 var(--space-9);
  background-color: var(--color-page-background);
  color: var(--color-text-inverse);
  overflow: visible;
}

.app-header__brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 101px;
  height: var(--size-control-height-md);
  margin-right: auto;
  color: var(--color-text-inverse);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: var(--size-control-height-md);
  height: var(--size-control-height-md);
  overflow: hidden;
  flex: 0 0 var(--size-control-height-md);
  background: var(--color-surface);
  border-radius: 12px;
}

.brand-mark__bus {
  position: absolute;
  bottom: 2px;
  width: 17px;
  height: 25px;
  border-radius: 7px 7px 3px 3px;
}

.brand-mark__bus--left {
  left: 2px;
  background: var(--color-info);
}

.brand-mark__bus--right {
  right: 2px;
  background: var(--color-primary);
}

.brand-mark__bus::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 4px;
  width: 10px;
  height: 8px;
  background: var(--color-surface);
  border-radius: 1px;
}

.brand-mark__bus::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 4px;
  width: 5px;
  height: 5px;
  background: var(--color-surface);
  border-radius: var(--radius-round);
}

.brand-title {
  margin-left: var(--space-5);
  color: var(--color-text-inverse);
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  line-height: normal;
}

.app-header__navigation {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  height: var(--size-shell-bar-height);
}

.app-header__navigation button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: var(--size-shell-bar-height);
  min-height: 0;
  margin: 0 var(--space-9);
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-spacing-normal);
  text-transform: uppercase;
  white-space: nowrap;
}

.app-header__navigation button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(-1 * var(--space-9));
  width: 0;
  height: 5px;
  background: var(--color-surface);
  transition: width 200ms ease-out;
}

.app-header__navigation button.active {
  color: var(--color-text-inverse);
}

.app-header__navigation button.active::after {
  width: calc(100% + 2 * var(--space-9));
}

.app-header__navigation button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: -6px;
}

.app-header__user {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  min-width: 0;
  color: var(--color-text-inverse);
  white-space: nowrap;
}

.app-header__notifications {
  position: relative;
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 32px;
  margin-left: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-inverse);
  opacity: 0.8;
}

.app-header__notifications:not(:disabled) {
  cursor: pointer;
}

.app-header__notifications:not(:disabled):hover,
.app-header__notifications:not(:disabled):focus-visible {
  opacity: 1;
}

.app-header__notifications:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 2px;
}

.app-header__notifications:disabled {
  cursor: default;
}

.app-header__notifications-icon {
  display: block;
  width: 24px;
  height: 25px;
  margin-top: 3px;
  fill: currentColor;
}

.app-header__notifications-count {
  position: absolute;
  top: 3px;
  right: 0;
  width: 15px;
  height: 15px;
  border-radius: var(--radius-round);
  background-color: var(--color-danger);
  color: var(--color-text-inverse);
  font-size: 9px;
  font-weight: var(--font-weight-regular);
  line-height: 15px;
  text-align: center;
}

.app-header__notifications-count[hidden] {
  display: none;
}
