/* Keep the support action beside search while retaining its named landmark. */
@media (max-width: 820px), (min-width: 821px) and (orientation: landscape) and (max-height: 480px) {
  :is(#menuView, #deliveryView) .menu-head .mh-top .mh-right {
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
    align-items:center;
    gap:8px;
    min-width:0;
  }

  :is(#menuView, #deliveryView) .menu-head .mh-top .mh-right > .search {
    flex:1 1 0%;
    width:auto;
    min-width:0;
    max-width:none;
    margin:0;
  }

  :is(#menuView, #deliveryView) .menu-head .mh-top .mh-right > #supportLauncherHost {
    position:relative;
    inset:auto;
    z-index:2;
    display:flex;
    flex:0 0 44px;
    width:44px;
    min-width:44px;
    max-width:44px;
    height:44px;
    min-height:44px;
    max-height:44px;
    margin:0;
    padding:0;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    overflow:visible;
  }

  :is(#menuView, #deliveryView) .menu-head .mh-top .mh-right > #supportLauncherHost > #chatFab.chat-fab {
    position:relative;
    inset:auto;
    z-index:2;
    display:inline-flex;
    flex:0 0 44px;
    width:44px;
    min-width:44px;
    max-width:44px;
    height:44px;
    min-height:44px;
    max-height:44px;
    margin:0;
    padding:0;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    box-shadow:none;
    transform:none;
    transition:background-color .15s ease, border-color .15s ease;
    font-size:0;
    color:#fff;
    box-sizing:border-box;
  }

  :is(#menuView, #deliveryView) .menu-head .mh-top .mh-right > #supportLauncherHost > #chatFab.chat-fab > svg {
    display:block;
    width:20px;
    height:20px;
    padding:0;
    box-sizing:border-box;
  }

  :is(#menuView, #deliveryView) .menu-head .mh-top .mh-right > #supportLauncherHost > #chatFab.chat-fab::before,
  :is(#menuView, #deliveryView) .menu-head .mh-top .mh-right > #supportLauncherHost > #chatFab.chat-fab::after {
    content:none;
  }

  :is(#menuView, #deliveryView) .menu-head .mh-top .mh-right > #supportLauncherHost > #chatFab.chat-fab .ub {
    top:-6px;
    right:-6px;
  }

  :is(#menuView, #deliveryView) .menu-head .mh-top .mh-right > #supportLauncherHost > #chatFab.chat-fab:focus-visible {
    outline:2px solid var(--flame, #123A6B);
    outline-offset:3px;
  }

  :is(#menuView, #deliveryView) .menu-head .mh-top .mh-right > #supportLauncherHost > #chatFab.chat-fab.open {
    background:var(--flame, #123A6B);
  }

  html body input#dSearch,
  html body input#searchInput {
    box-sizing:border-box;
    height:36px;
    min-height:0;
    max-height:36px;
    padding:0;
    line-height:36px;
  }

  html body :is(#menuView, #deliveryView) .menu-head .mh-top > .mh-right > .search:has(> input#dSearch),
  html body :is(#menuView, #deliveryView) .menu-head .mh-top > .mh-right > .search:has(> input#searchInput) {
    box-sizing:border-box;
    height:40px;
    min-height:40px;
    max-height:40px;
  }

  html body #modeSeg button {
    box-sizing:border-box;
    height:32px;
    min-height:32px;
    max-height:32px;
    padding:0 5px;
    line-height:1;
    flex:0 0 auto;
    width:auto;
    min-width:0;
    max-width:none;
    white-space:nowrap;
  }
  html body .menu-head .menu-controls-row > .mode-seg-slot > #modeSeg > button {
    font-size:clamp(9px,2.6vw,10px);
    padding:0;
    flex:1 1 0;
    width:100%;
    min-width:0;
    max-width:100%;
    overflow:hidden;
    text-overflow:clip;
    letter-spacing:-0.02em;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(#menuView, #deliveryView) .menu-head .mh-top .mh-right > #supportLauncherHost > #chatFab.chat-fab {
    transition:none;
  }
}
