/* The slot contract, v1: what every slot is, whichever provider fills it.
   A slot is a block as wide as the place its page gives it (S2). How tall it
   is before it has loaded is the provider's to say, in its own stylesheet (S5). */

[data-slot] {
  display: block;
  box-sizing: border-box;
  min-width: 0;
}

/* A widget that failed says so in the page (S12). */
[data-slot-state="error"]::after {
  content: "This part of the page could not be loaded.";
  display: block;
  padding: var(--lcr-space-16);
  border: 1px solid var(--lcr-color-orange-text);
  background: var(--lcr-color-ground);
  color: var(--lcr-color-orange-text);
  font-size: var(--lcr-font-size-14);
  font-weight: var(--lcr-font-weight-semibold);
}
