/* Scoped account navigation. The filled teal Nexa button remains the primary action. */
.ankor-account-link {
  font-family: "Figtree", "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.ankor-account-link:focus-visible,
.ankor-account-mobile-menu summary:focus-visible {
  outline: 3px solid #2dd4bf;
  outline-offset: 3px;
  border-radius: 6px;
}
#site-header .ankor-account-link,
#site-footer .ankor-account-link {
  color: #0b7f72;
  background: transparent;
}
#site-header .ankor-account-link:hover,
#site-footer .ankor-account-link:hover { text-decoration: underline; }
#site-footer .ankor-account-footer-menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
#site-footer nav:has(.ankor-account-footer-menu) { display: flex; }
.ankor-home header.top .wrap { gap: 18px; flex-wrap: wrap; }
.ankor-home header.top .wrap > .ankor-account-link {
  color: #eaf2fa;
  border: 1px solid rgba(234, 242, 250, .35);
  border-radius: 10px;
  padding: 8px 12px;
  white-space: nowrap;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.ankor-home header.top .ankor-account-link:hover { color: #2dd4bf; }
.ankor-home header.top .nav { gap: 16px; }
.ankor-home .ankor-account-mobile-menu { display: none; }
.ankor-home footer nav { flex-wrap: wrap; gap: 12px 20px; }
.ankor-home footer .ankor-account-link { color: #2dd4bf; }
@media (max-width: 1100px) {
  .ankor-home header.top .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    padding-block: 12px;
  }
  .ankor-home header.top .brand { grid-column: 1; grid-row: 1; min-width: 0; }
  .ankor-home header.top .nav { display: none; }
  .ankor-home header.top .wrap > .ankor-account-link {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    font-size: 14px;
  }
  .ankor-home header.top .wrap > .btn-primary {
    grid-column: 2;
    grid-row: 2;
    margin-left: 0;
    padding-inline: 12px;
    font-size: 14px;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }
  .ankor-home .ankor-account-mobile-menu {
    display: block;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .ankor-home .ankor-account-mobile-menu summary {
    cursor: pointer;
    font: 600 15px/1.4 "Figtree", "Segoe UI", system-ui, sans-serif;
    padding: 10px 12px;
    min-height: 44px;
  }
  .ankor-home .ankor-account-mobile-menu[open] nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: #09111f;
    border-bottom: 1px solid #2dd4bf;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 60vh;
    overflow-y: auto;
  }
  .ankor-home .ankor-account-mobile-menu nav a {
    color: #eaf2fa;
    text-decoration: none;
    padding: 10px 8px;
    min-height: 44px;
  }
}
@media (max-width: 360px) {
  .ankor-home header.top .wrap { padding-inline: 12px; gap: 8px; }
  .ankor-home header.top .wrap > .ankor-account-link { padding-inline: 8px; }
  .ankor-home header.top .wrap > .btn-primary { padding-inline: 8px; }
}
