.public-content { display: contents; }

/* Content only: never zoom body/html, the fixed top bar or site-menu panel.
   Media capabilities intentionally exclude touch-first and narrow devices. */
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) {
  /* The frame and wave retain viewport units at 1x. Only the original
     content column is zoomed, including its padding and page-body margins. */
  html[data-content-scale] #ptr-page > main {
    display: flex;
    flex-direction: column;
    max-width: none;
    padding: 0;
    min-height: calc(100vh - var(--body-pad-top) - var(--banner-h, 0px));
    min-height: calc(100svh - var(--body-pad-top) - var(--banner-h, 0px));
  }
  html[data-content-scale] #ptr-page > main > .public-content {
    display: flow-root;
    flex: none;
    width: 100%;
    max-width: 880px;
    margin-inline: auto;
    padding: 0 20px;
    zoom: .9;
  }
  html[data-content-scale="home"] #ptr-page > main > .public-content {
    width: 100%;
    max-width: none;
    padding-inline: clamp(40px, 6vw, 144px);
    zoom: .8;
  }
  html[data-content-scale="standard"] #ptr-page > main:not(.page-frame) > .public-content {
    max-width: 1320px;
    padding: 44px 28px 24px;
  }
  html[data-content-scale] #ptr-page > main.page-frame > .public-content {
    display: flex;
    flex-direction: column;
  }
  html[data-content-scale] #ptr-page > main > .wave-band {
    margin-top: auto;
    flex: none;
  }
  /* Keep the third-party iframe at effective 1x in desktop Safari. */
  html[data-content-scale="standard"] .turnstile-wrap { zoom: 1.1111; }
  /* Account/Admin keep their fixed header-actions outside the zoomed boxes.
     Scale the greeting and whole content grid, not individual grid columns. */
  html[data-content-scale="standard"] .page-wrap > :not(.account-header),
  html[data-content-scale="standard"] .header-title-block { zoom: .9; }
  /* Overlays retain viewport coordinates and full-screen backdrops; only
     their visible dialog surface is content. No inverse scaling needed. */
  html[data-content-scale="standard"] .assistant,
  html[data-content-scale="standard"] .confirm-overlay > .confirm-modal { zoom: .9; }
}
