/* The mathematical loom: the tie-up grid of toggles and the draft's menus. */
.loom-heading {
  font-size: 14px;
}
.loom-tieup {
  display: grid;
  grid-template-columns: auto repeat(4, 42px);
  gap: 6px;
  align-items: center;
  justify-items: center;
  justify-content: start;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
.loom-tieup > span:nth-child(5n + 1) {
  justify-self: end;
  padding-right: 4px;
}
.loom-cell {
  width: 34px;
  height: 34px;
  /* At least 3:1 against both the panel and the cell, so an unpressed square is still visible. */
  border: 1px solid #7b8698;
  border-radius: 7px;
  background: #18212b;
}
.loom-cell[aria-pressed='true'] {
  background: #f3d28c;
  border-color: #f3d28c;
}
.loom-cell:hover {
  border-color: #d8b877;
}
.loom-hint {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.loom-float {
  line-height: 1.45;
}

.loom-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 12px;
  align-items: end;
}
.loom-options label {
  font-size: 13px;
}
.loom-options select {
  font-size: 13px;
  padding: 7px;
  margin-top: 6px;
}
