/* Keep navigation and account actions spaced in the MYROAD2 header. */
#root header:has(> .brand.project-identity) {
  gap: 16px;
  height: auto;
  min-height: 88px;
  padding-block: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
#root header > nav {
  flex: 1 1 auto;
  width: auto;
  gap: clamp(12px, 2vw, 28px);
}
#root header > :is(.family-install-entry, .family-install-native) {
  margin-inline-start: auto;
  flex: 0 0 auto;
  width: auto;
  padding-inline: 14px;
}
#root header > :is(.fc-entry, #account-button) {
  margin-inline-start: 0;
}
@media (max-width: 760px) {
  #root header > nav {
    order: 1;
    flex-basis: 100%;
  }
}

#root header:has(> .brand.project-identity) {
  column-gap: 8px;
}
#root header > nav {
  flex: 0 1 auto;
  margin-inline-start: auto;
  justify-content: flex-end;
  gap: 8px;
}
#root header > nav :is(a, button),
#root header > :is(.family-install-entry, .family-install-native, .fc-entry, #account-button) {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  width: auto;
  margin: 0 !important;
  padding: 6px 12px;
  border: 1px solid #00bbd7;
  border-radius: 9px;
  background: #d9fbff;
  color: #10516b;
  font: 700 14px/16px system-ui, sans-serif;
  text-align: center;
}
@media (max-width: 760px) {
  #root header > nav {
    flex-basis: 100%;
  }
}
