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

/* Demo logs are .demo-log (catalog/style.css); here they are centered. */
.select-demo-log {
  text-align: center;
}

.select-demo-form {
  display:        flex;
  flex-wrap:      wrap;
  align-items:    flex-end;
  justify-content: center;
  gap:            var(--space-3);
  width:          100%;
}

.select-demo-field {
  width:     100%;
  max-width: var(--space-64);
}

.select-demo-column {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            var(--space-3);
}

.select-demo-row {
  display:         flex;
  flex-wrap:       wrap;
  align-items:     center;
  justify-content: center;
  gap:             var(--space-3);
}

.select-demo-wide {
  width: var(--space-64);
  max-width: 100%;
}

.select-demo-dot {
  width:         var(--space-2);
  height:        var(--space-2);
  border-radius: var(--radius-pill);
  flex:          none;
}

.select-demo-dot.is-todo { background: var(--ink-faint); }
.select-demo-dot.is-progress { background: var(--warning); }
.select-demo-dot.is-done { background: var(--success); }

.select-demo-person {
  display:     inline-flex;
  align-items: center;
  gap:         var(--space-2);
  min-width:   0;
}

.select-demo-person-name {
  overflow:      hidden;
  text-overflow: ellipsis;
  white-space:   nowrap;
}

.select-demo-avatar {
  display:         inline-grid;
  place-items:     center;
  flex:            none;
  width:           var(--icon-size);
  height:          var(--icon-size);
  border-radius:   var(--radius-pill);
  background:      var(--accent);
  color:           var(--accent-ink);
  font-size:       calc(var(--icon-size) * 0.45);
  font-weight:     var(--weight-strong);
  line-height:     1;
}

.select-demo-role {
  margin-inline-start: auto;
  padding-inline-start: var(--space-3);
  color:     var(--ink-faint);
  font-size: var(--text-caption);
}

.select-demo-icon {
  display: contents;
}

.select-demo-scrollbox {
  width:      var(--space-64);
  max-width:  100%;
  height:     calc(var(--control-height) * 3);
  overflow-y: auto;
  border:     var(--control-border-width) solid var(--rule);
  border-radius: var(--radius-control);
}

.select-demo-scrollbox:focus-visible {
  outline:    none;
  box-shadow: var(--focus-ring);
}

.select-demo-scrollpad {
  display:        flex;
  justify-content: center;
  padding-block:  var(--control-height) calc(var(--control-height) * 6);
}

.select-demo-anchor {
  display:       inline-flex;
  align-items:   center;
  padding:       var(--space-2) var(--space-3);
  border:        var(--control-border-width) dashed var(--rule);
  border-radius: var(--radius-control);
  color:         var(--ink-faint);
  font-size:     var(--text-caption);
}

.select-demo-boundary {
  width:         var(--space-64);
  max-width:     100%;
  height:        calc(var(--control-height) * 4);
  padding:       var(--space-2);
  border:        var(--control-border-width) dashed var(--rule);
  border-radius: var(--radius-control);
}
