.termio-quantity-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .5rem .75rem;
  padding: .9rem 0;
  border-block: 1px solid var(--ast-border-color, #e2e8f0);
}
.termio-quantity-panel label { font-weight: 650; }
.termio-quantity-panel output { white-space: nowrap; font-size: .85em; }
.termio-quantity-panel input[type=range] {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  accent-color: var(--ast-global-color-0, #16365e);
  cursor: pointer;
}
.termio-quantity-panel .termio-quantity-reset {
  grid-column: 1 / -1;
  justify-self: start;
  background: transparent;
  color: inherit;
  padding: 0;
  border: 0;
  font-size: .8em;
  text-decoration: underline;
}
.termio-color-samples { display: flex; flex-wrap: wrap; gap: .38rem; padding: .6rem 0 .9rem; }
.termio-color-sample { position: relative; display: inline-flex; cursor: pointer; }
.termio-color-sample input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.termio-color-sample span {
  display: block; width: 24px; height: 24px;
  border: 1px solid #7778; border-radius: 3px;
}
.termio-color-sample input:checked + span,
.termio-color-sample input:focus-visible + span {
  outline: 2px solid var(--ast-global-color-0, #16365e); outline-offset: 2px;
}
