.site-header .open-login {
  display: inline-flex;
}

.mobile-menu-toggle {
  display: none;
}

.mobile-menu-panel {
  display: contents;
}

#profile-created-popup,
#food-needed-popup,
#change-password-popup {
  position: fixed;
  z-index: 50;
  inset: 0;
  padding: 20px;
  background: #173a3199;
  display: grid;
  place-items: center;
}

#profile-created-popup[hidden],
#food-needed-popup[hidden],
#change-password-popup[hidden] {
  display: none;
}

.profile-created-card {
  width: min(510px, 100%);
  padding: 34px;
  border-radius: 8px;
  background: var(--cream);
  text-align: center;
}

.profile-created-card h2 {
  font-size: clamp(31px, 7vw, 45px);
  letter-spacing: -2px;
}

.profile-created-card > p:not(.eyebrow) {
  color: #55746a;
  line-height: 1.5;
}

.profile-created-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.profile-created-actions .button {
  width: 100%;
}

.agreement-required span {
  line-height: 1.45;
}

.agreement-required strong {
  color: #a32925;
  font-weight: 800;
}

@media (max-width: 720px) {
  .site-header {
    height: 68px;
    min-height: 68px;
    flex-wrap: nowrap;
    padding: 10px 16px;
    gap: 12px;
    overflow: visible;
    position: relative;
  }

  .site-header .brand {
    flex: 1 1 auto;
    justify-content: flex-start;
    font-size: 20px;
  }

  .mobile-menu-toggle {
    display: grid;
    gap: 4px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 4px;
    background: var(--lime);
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: var(--ink);
  }

  .mobile-menu-panel {
    display: none;
    position: absolute;
    z-index: 20;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    padding: 16px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 22px #173a3122;
  }

  .site-header.mobile-menu-open .mobile-menu-panel {
    display: grid;
    gap: 14px;
  }

  .site-header .mobile-menu-panel nav {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .site-header .mobile-menu-panel nav a {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 7px;
  }

  .header-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    max-width: none;
    padding: 9px 8px;
    font-size: 12px;
    white-space: normal;
    line-height: 1.15;
  }

  .header-actions .resume-plan,
  .header-actions .account-status {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    text-align: center;
  }
}
