/* Optional pre-definition defaults. Consumer pages may replace these rules. */
:where(lightning-prototype:not(:defined)) {
  display: block;
  position: relative;
  aspect-ratio: var(--lightning-frame-aspect-ratio, 16 / 9);
  height: var(--lightning-frame-height, auto);
  border-radius: var(--lightning-embed-radius, 16px);
  background: var(--lightning-embed-background, #eef2f3);
  color: var(--lightning-embed-color, #27383f);
  font: var(--lightning-embed-font, 14px/1.5 system-ui, sans-serif);
}

:where(lightning-prototype:not(:defined)[height-mode="fullscreen"]) {
  height: 100vh;
  height: 100svh;
}

:where(lightning-prototype:not(:defined) > [slot="loading"]) {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

:where(lightning-prototype:not(:defined) > [slot]:not([slot="loading"])) {
  display: none;
}
