@import "https://assets.elements.dev/assets/app/shared/ui-catalog/catalog/style.c38e1d7304920e3.css";

.item-demo-col {
  display:        flex;
  flex-direction: column;
  gap:            var(--space-4);
  width:          100%;
  max-width:      32rem;
}

.item-demo-header-img {
  width:         100%;
  aspect-ratio:  3 / 1;
  border-radius: var(--radius-control);
  object-fit:    cover;
}

.item-demo-select {
  width: auto;
}

.item-demo-meta {
  color:                var(--ink-dim);
  font-size:            var(--text-caption);
  font-variant-numeric: tabular-nums;
}

.item-demo-row {
  display:     flex;
  align-items: center;
  gap:         var(--space-3);
}

/* An item as a menu row: the menu item already pads and highlights. */
.item.item-demo-menu-item {
  padding:    0;
  background: none;
}

/* Every possible value stacked in one cell, so picking one never resizes
   the trigger. */
.item-demo-value {
  display: inline-grid;
}

.item-demo-value > span {
  grid-area:  1 / 1;
  visibility: hidden;
}

.item-demo-value > span[data-current] {
  visibility: visible;
}
