/* ========================================
   APP HEADER
======================================== */

.app-header {
  width: 100%;

  background: var(--color-surface);

  border-bottom:
    1px
    solid
    var(--color-border);

  position: relative;

  z-index: 100;
}

.app-header-inner {
  width: min(1440px, calc(100% - 48px));
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: var(--space-5);

  margin: 0 auto;
}

.app-brand {
  display: inline-flex;
  align-items: center;

  height: 100%;

  text-decoration: none;
}

.app-brand-logo {
  display: block;

  width: auto;
  height: 100px;

  max-width: 150px;

  object-fit: contain;
}

.app-header-context {
  color: var(--color-text-muted);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.1em;

  text-transform: uppercase;

  white-space: nowrap;
}

.app-content {
  min-width: 0;
}

@media (max-width: 760px) {
  .app-header-inner {
    width: calc(100% - 28px);
    height: 48px;
  }

  .app-brand-logo {
    height: 24px;
    max-width: 135px;
  }

  .app-header-context {
    font-size: 8px;
  }
}

@media (max-width: 450px) {
  .app-header-inner {
    width: calc(100% - 20px);
    height: 46px;
  }

  .app-brand-logo {
    height: 22px;
    max-width: 125px;
  }

  .app-header-context {
    display: none;
  }
}

@media (max-width: 450px) {
  .app-header-inner {
    width: calc(100% - 20px);
    height: 46px;
  }

  .app-brand-logo {
    height: 17px;
    max-width: 95px;
  }

  .app-header-context {
    display: none;
  }
}
