/* ============================================================
   <image-slot> host + placeholder styling.
   Mirrors the default shadow-DOM look of the original design-tool
   component so empty slots render identically. Page-level CSS in
   styles.css / homepage-v2.css / contact-v2.css supplies width/height.
   ============================================================ */
image-slot {
  display: inline-block;
  position: relative;
  vertical-align: top;
  font: 13px/1.3 system-ui, -apple-system, sans-serif;
  color: rgba(0, 0, 0, 0.55);
  width: 240px;
  height: 160px;
}

image-slot .is-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
}

image-slot .is-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

image-slot .is-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 12px;
  box-sizing: border-box;
  user-select: none;
}

image-slot .is-empty svg {
  opacity: 0.45;
}

image-slot .is-cap {
  max-width: 90%;
  font-weight: 500;
  letter-spacing: 0.01em;
}

image-slot .is-ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1.5px dashed rgba(0, 0, 0, 0.25);
}
