body.mg-site .mg-header .useful-menu { position: relative; min-width: 0; }
body.mg-site .mg-header .useful-menu-toggle { gap: 7px; cursor: pointer; list-style: none; }
body.mg-site .mg-header .useful-menu-toggle::-webkit-details-marker { display: none; }
body.mg-site .mg-header .useful-chevron {
  display: block;
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
body.mg-site .mg-header .useful-menu[open] .useful-chevron { transform: translateY(2px) rotate(225deg); }
body.mg-site .mg-header .useful-menu:not([open]) > .useful-links { display: none; }
body.mg-site .mg-header .useful-links {
  position: absolute;
  z-index: 1;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  min-width: 218px;
  gap: 4px;
  padding: 7px;
  border: 1px solid #dce8f6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px #1636601a;
}
body.experience-site.quality-2026 .mg-header .useful-links .navlink {
  justify-content: flex-start;
  white-space: normal;
}
body.mg-site .mg-header .useful-links [aria-current="page"] {
  background: #edf4ff;
  color: #0647ca;
}

@media (width > 900px) {
  body.experience-site.quality-2026 .mg-header .header-in {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(8px, 1.5vw, 22px) !important;
    height: 74px;
  }
  body.experience-site.quality-2026 .mg-header #main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(2px, .5vw, 8px);
    margin: 0;
  }
  body.experience-site.quality-2026 .mg-header #main-nav .navlink {
    padding-inline: clamp(7px, .95vw, 15px);
    font-size: clamp(13px, 1.08vw, 15px);
  }
  body.experience-site.quality-2026 .mg-header :is(.header-phone, .header-cta, .menu-toggle),
  body.experience-site.quality-2026 .mg-header #main-nav :is(.account-mobile-link, .nav-mobile-cta),
  body.experience-site.quality-2026 .mg-header .header-account > :is(span,[data-mg-tag="span"]) {
    display: none !important;
  }
  body.experience-site.quality-2026 .mg-header .header-actions { gap: 8px !important; }
  body.experience-site.quality-2026 .mg-header .header-actions > :is(.header-account, .header-search) {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border: 1px solid #d8e4f4;
    border-radius: 50%;
    background: #ffffffa8;
    color: #17375f;
  }
  body.experience-site.quality-2026 .mg-header .header-actions > :is(.header-account, .header-search):hover {
    background: #edf4ff;
    color: #0753e8;
  }
}

@media (max-width: 900px) {
  body.experience-site.quality-2026 .mg-header .useful-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  body.mg-site .mg-header .useful-menu-toggle .useful-chevron {
    margin-inline-start: auto;
    margin-inline-end: 4px;
  }
  body.mg-site .mg-header .useful-menu[open] > .useful-menu-toggle { background: #edf4ff; }
  body.mg-site .mg-header .useful-links {
    position: static;
    transform: none;
    min-width: 0;
    margin: 4px 0 2px 21px;
    padding: 0 0 0 9px;
    gap: 0;
    border: 0;
    border-inline-start: 1px solid #d6e3f6;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  body.experience-site.quality-2026 .mg-header .useful-links .navlink {
    min-height: 44px;
    padding-block: 8px;
  }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  body.mg-site .mg-header .nav.open > .useful-menu { animation: mg-mobile-menu-item-in 150ms 60ms ease-out both; }
  body.mg-site .mg-header .useful-menu[open] > .useful-links { animation: mg-mobile-menu-item-in 150ms ease-out both; }
  body.mg-site .mg-header .useful-chevron { transition: transform 150ms ease-out; }
}
