/* Scale the desktop page together, including menus and dialogs mounted on body. */
@media screen and (min-width: 851px) and (hover: hover) and (pointer: fine) {
  @supports (zoom: 0.9) {
    html body {
      --wt-ui-scale: 0.9;
      zoom: var(--wt-ui-scale);
      min-height: calc(100dvh / var(--wt-ui-scale));
    }

    body > .shell,
    body > .buyer-shell {
      min-height: calc(100dvh / var(--wt-ui-scale) / var(--wt-dashboard-shell-zoom, 1));
    }

    body > .shell > .side,
    body > .buyer-shell > .buyer-side {
      height: calc(100dvh / var(--wt-ui-scale));
    }
  }
}
