/* Load after the account skin. The outline uses the theme button's token;
   native SIM geometry, sweep, focus markers and dropdown behavior stay intact. */
html.mgsm26 :is(header, #navbarToggler1) :is(.mgsm26-account-action, .mgsm26-services-link, .mgsm26-cart-compact, .mgsm26-actions > .mgsm-flash64-nav) {
  --edge: var(--m26-line-2);
}
html.mgsm26 :is(header, #navbarToggler1) :is(.mgsm26-account-action, .mgsm26-services-link, .mgsm26-cart-compact, .mgsm26-actions > .mgsm-flash64-nav)::before {
  box-shadow: inset 0 0 0 1px var(--m26-line-2) !important;
}
html.mgsm26 :is(header, #navbarToggler1) .mgsm26-services-link {
  --cut: 7px;
  --h: 44px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px !important;
  font: 640 12.5px/1.2 var(--m26-sans);
  font-stretch: 112%;
  letter-spacing: .05em;
  gap: 8px;
}
html.mgsm26 header :is(.mgsm26-cart-compact, .mgsm26-actions > .mgsm-flash64-nav) {
  --cut: 7px;
  --h: 44px;
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0 !important;
  gap: 0;
  flex: 0 0 44px;
}
/* The native cart's direct span is only its label; its SVG and aria-label remain. */
html.mgsm26 header .mgsm26-actions > .mgsm-flash64-nav > span,
html.mgsm26 header .mgsm26-cart-compact > .mgsm26-btn__t { display: none !important; }
html.mgsm26 header :is(.mgsm26-cart-compact, .mgsm26-actions > .mgsm-flash64-nav) > svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
/* Match the account buttons' existing compact type without changing row wrapping. */
@media (min-width: 992px) and (max-width: 1279px) {
  html.mgsm26 :is(header, #navbarToggler1) :is(.mgsm26-account-action, .mgsm26-services-link) {
    padding-inline: 8px !important;
    font-size: 12px;
    letter-spacing: .03em;
    gap: 6px;
  }
}
/* The native .mgsm26-lang summary already uses .mgsm26-ico's light outline,
   44px height and dropdown rules; no language menu overrides are needed. */
