/* Primary public actions share one accessible blue treatment. */
body:not(.admin-shell) .button:not(.outline):not(.secondary):not(.light):not(.danger) {
  background: #1565c0;
  color: #fff;
}
body:not(.admin-shell) .button:not(.outline):not(.secondary):not(.light):not(.danger):hover {
  background: #0d47a1;
  filter: none;
}
body:not(.admin-shell) .button:focus-visible {
  outline: 3px solid #90caf9;
  outline-offset: 3px;
}
body:not(.admin-shell) :is(.auris-feature-controls,.airport-controls) button[aria-pressed="true"] {
  background: #1565c0;
  border-color: #1565c0;
  color: #fff;
}

/* Public navigation: visible touch targets with a compact two-column phone layout. */
.public-header nav > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d8e6f5;
  border-radius: 10px;
  background: #f5f9fd;
  color: #24547c;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.public-header nav > a:first-child {
  background: #e4f0fd;
  border-color: #bad5f2;
  color: #174f89;
}
.public-header nav > a:hover {
  background: #dcecfb;
  border-color: #9fc4e8;
  text-decoration: none;
}
.public-header nav > a:focus-visible {
  outline: 3px solid #1565c0;
  outline-offset: 3px;
}
.public-header nav { gap: 8px; align-items: center; }
.public-header .language-switch { gap: 4px; }
.public-header .language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  padding: 5px 7px;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  border-radius: 6px;
}
@media (min-width: 761px) and (max-width: 1200px) {
  .public-header { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .public-header nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; padding-top: 12px; }
}
@media (max-width: 760px) {
  .public-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    height: auto;
    gap: 5px 10px;
    padding: 8px 16px 12px;
  }
  .public-header > .auris-logo { grid-column: 1; grid-row: 2; max-width: 100%; }
  .public-header > .account-actions,
  .public-header > .button { grid-column: 2; grid-row: 2; justify-self: end; }
  .public-header .account-actions a { min-height: 44px; }
  .public-header > .language-switch {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: end;
    margin: 0;
    gap: 4px;
  }
  .public-header .language-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
  }
  .public-header nav {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    padding: 12px 0 0;
    margin: 0;
    border-top: 1px solid #edf0f5;
    overflow: visible;
  }
  .public-header nav > a {
    min-width: 0;
    min-height: 44px;
    height: 100%;
    padding: 10px 8px;
    font-size: 13px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .public-header nav .header-contact-links {
    grid-column: 1 / -1;
    justify-content: center;
    gap: 10px;
    padding-top: 2px;
  }
  .public-header nav .header-contact-link {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }
}
