.app-header {
  background: var(--nav);
  color: #f7faff;
}
.app-bar, .app-header nav {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  min-height: 62px;
  padding-block: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 8px;
  background: #bcd9ff;
  color: #132849;
}
.app-header svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-mark svg { width: 21px; height: 21px; }
.app-session {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: .875rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.app-settings {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 4px 2px;
  color: #c6d4e9;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.app-settings:hover, .app-settings:focus-visible { color: #fff; }
.app-settings[aria-current="page"] { color: #fff; }
.app-signout {
  border-color: #526784;
  background: transparent;
  color: #e5edfa;
  padding: 5px 10px;
}
.app-signout:hover { background: #243858; color: #fff; }
.app-header nav {
  display: flex;
  gap: 4px;
}
.app-header nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-bottom: 3px solid transparent;
  color: #c6d4e9;
  font-size: .875rem;
  font-weight: 650;
  text-decoration: none;
}
.app-header nav a:hover { background: #243858; color: #fff; }
.app-header nav a[aria-current="page"] {
  background: #263d61;
  border-bottom-color: #91c0ff;
  color: #fff;
}
.app-header :focus-visible { outline-color: #bcd9ff; outline-offset: -3px; }
@media (max-width: 560px) {
  .app-session { gap: 6px 10px; justify-content: flex-end; }
  .app-header nav { gap: 3px; padding-inline: 8px; }
  .app-header nav a {
    flex: 1 1 0;
    flex-direction: column;
    gap: 3px;
    padding: 6px 2px;
    text-align: center;
    font-size: .8125rem;
  }
}
