/* G71: more working room on wide monitors. Marketing pages and narrow screens
 * retain their existing measures. No dialog, form, score or typography changes.
 * Both the public site and the private cabinet load this scoped layer.
 */
@media (min-width: 1600px) {
  .lb-shell .lb-photo-hero > .page-width,
  .lb-shell .lb-paper > .page-width,
  .participant-paper > .page-width:has(.participant-frame),
  .g26-host:has(> .participant-frame[data-vy-host-chrome="site"]) {
    width: min(2240px, calc(100% - 64px));
    max-width: none;
    margin-inline: auto;
  }
  .g26-host:has(> .participant-frame[data-vy-host-chrome="site"]) {
    box-sizing: border-box;
    padding-inline: 0;
  }

  body[data-site-cabinet][data-ux-refined][data-account-id]:not([data-athlete-workspace]) {
    --ui-content: 2240px;
  }
  body[data-site-cabinet][data-ux-refined][data-account-id]:not([data-athlete-workspace]) .page,
  body[data-site-cabinet][data-ux-refined][data-account-id]:not([data-athlete-workspace]) :is(.site-cabinet-bar, .site-tabs:not(.site-command-nav), .site-command-inner) {
    box-sizing: border-box;
    width: min(2240px, calc(100% - 64px));
    max-width: none;
    padding-inline: 0;
    margin-inline: auto;
  }
  body[data-site-cabinet][data-ux-refined][data-account-id] .secretary-workspace {
    max-width: none;
  }

  body[data-site-cabinet][data-athlete-workspace][data-athlete-ux="3"] {
    --a3-content: 1600px;
  }
  body[data-site-cabinet][data-athlete-workspace][data-athlete-ux="3"] :is(.a3-shell, .a3-account-bar) {
    box-sizing: border-box;
    width: min(1600px, calc(100% - 64px));
    max-width: none;
    padding-inline: 0;
    margin-inline: auto;
  }
}

/* The marked cabinet host widens only from 1600px; before that it is capped
 * at 1280px. Its iframe can be slightly below 1536px because of scrollbar and
 * border widths, so 1500px recognizes the widened host without adding gutters
 * twice. Standalone windows below 1600px keep their original layout.
 */
@media (min-width: 1500px) {
  html[data-vy-host-chrome="site"] body[data-site-cabinet][data-ux-refined][data-account-id]:not([data-athlete-workspace]) {
    --ui-content: 2240px;
  }
  html[data-vy-host-chrome="site"] body[data-site-cabinet][data-ux-refined][data-account-id]:not([data-athlete-workspace]) .page,
  html[data-vy-host-chrome="site"] body[data-site-cabinet][data-ux-refined][data-account-id]:not([data-athlete-workspace]) :is(.site-cabinet-bar, .site-tabs:not(.site-command-nav), .site-command-inner) {
    box-sizing: border-box;
    width: min(2240px, 100%);
    max-width: none;
    padding-inline: 0;
    margin-inline: auto;
  }
  html[data-vy-host-chrome="site"] body[data-site-cabinet][data-ux-refined][data-account-id] .secretary-workspace {
    max-width: none;
  }
  html[data-vy-host-chrome="site"] body[data-site-cabinet][data-athlete-workspace][data-athlete-ux="3"] {
    --a3-content: 1600px;
  }
  html[data-vy-host-chrome="site"] body[data-site-cabinet][data-athlete-workspace][data-athlete-ux="3"] :is(.a3-shell, .a3-account-bar) {
    box-sizing: border-box;
    width: min(1600px, 100%);
    max-width: none;
    padding-inline: 0;
    margin-inline: auto;
  }
}
