/* The home container must use the web-view width, not a 390px phone column.
   Keep artwork sizing/rendering unchanged so frame and painting stay proportional. */
.home-study.home-a-final {
  width:100%;
  max-width:none;
}

@media (min-width:600px) {
  .home-study.home-a-final .home-account-panel.account-compact {
    width:460px!important;
    max-width:calc(100% - 32px)!important;
    right:16px!important;
    top:16px!important;
    max-height:calc(100dvh - 32px)!important;
    box-sizing:border-box;
  }
}

/* The editor viewport follows the web-view; scene/painting aspect ratios are
   still handled by the existing renderer, not independent X/Y scaling. */
@media (min-width:600px) {
  .framing-entry-page:not([data-wide-presentation="true"]),
  #app.panorama-surround { width:100%;max-width:none; }
}
