.demo-stage { width:100%; min-width:0; }
tablo-demo { display:block; width:100%; box-sizing:border-box; border-radius:18px; overflow:hidden; isolation:isolate; }
tablo-demo[data-layout="desktop"] {
  min-width:1040px; height:740px; transform:scale(var(--demo-zoom,1)); transform-origin:top left;
}
.demo-stage:has(> tablo-demo[data-layout="desktop"]) { aspect-ratio:1040/740; max-height:740px; overflow:clip; }
tablo-demo[data-layout="phone"] { max-width:414px; height:710px; margin-inline:auto; }
