/* Match the homepage's effective centered desktop frame, not a fixed aspect ratio.
   Only outer page shells change. Mobile sheets, fixed navigation, dialogs and
   component dimensions remain owned by their plugins. */
@media (min-width:768px) {
  :is(body,#pdv-site-typography).pakdevices-native-theme {
    --pd-page-width:70%;
    --pd-page-max:1120px;
  }
  :is(body,#pdv-site-typography).pakdevices-native-theme #pd-native-content {
    width:var(--pd-page-width)!important;
    max-width:var(--pd-page-max)!important;
    min-width:0;
    margin-inline:auto!important;
  }
  :is(body,#pdv-site-typography).pakdevices-native-theme #pd-native-content>main:is(.pd-native-shell,.pd-native-builder,.pd-native-marketplace) {
    width:100%!important;max-width:100%!important;min-width:0;
    margin-inline:0!important;padding-inline:0!important;
  }
  :is(body,#pdv-site-typography).pakdevices-native-theme #pd-native-content .pd-native-marketplace {
    padding-inline:0!important;
  }
  /* Prevent plugin page breakouts from bypassing the shared outer frame. */
  :is(body,#pdv-site-typography).pakdevices-native-theme #pd-native-content :is(.pw-wrapper-7d3f32f1,.pdv-detail-wrap,.pdv-sell-page,.pdv-seo-page,.pdv-more-page,.pdv-app-page,.pdlm-directory-surface,.pdlm-public-shop-surface) {
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin-inline:0!important;
  }
  :is(body,#pdv-site-typography).pakdevices-native-theme #pd-native-content :is(.pdv-seo-shell,.pdlm-directory-surface>.pdlm-shop-page,.pdlm-public-shop-surface>.pdlm-shop-page) {
    width:100%!important;max-width:100%!important;
    margin-inline:0!important;padding-inline:0!important;
  }
  :is(body,#pdv-site-typography).pakdevices-native-theme #pd-native-content .pdv-seo-workspace>:is(.pdv-service-form,.pdv-calculator),
  :is(body,#pdv-site-typography).pakdevices-native-theme #pd-native-content .pdv-seo-workspace>.pdv-service-form>.pdv-service-shell {
    width:100%!important;max-width:100%!important;margin-inline:0!important;
  }
  /* Account-specific caps must not narrow the shared dashboard shell. */
  :is(body,#pdv-site-typography).pakdevices-native-theme #pd-native-content #dashboard.pdv-dashboard {
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin-inline:0!important;padding-inline:0!important;
  }
  :is(body,#pdv-site-typography).pakdevices-native-theme #pd-native-content #dashboard.pdv-dashboard .pdv-dashboard-main {
    width:100%!important;max-width:100%!important;min-width:0!important;flex:1 1 0;
  }
  :is(body,#pdv-site-typography).pakdevices-native-theme #pd-native-content #dashboard.pdv-dashboard .pdv-dashboard-content {
    min-width:0!important;max-width:100%;
  }
}
/* Dashboard grid tracks remain owned by Auth so they match its sidebar width. */
