/* Ruler — indent/tab-stop editing above the page. See react/Ruler.tsx. */
.docx-editor-ruler {
  display: flex;
  height: 20px;
  font-size: 9px;
  color: #6b7280;
  user-select: none;
  margin-top: 8px;
}
.docx-editor-ruler-margin {
  flex-shrink: 0;
}
.docx-editor-ruler-track {
  position: relative;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  cursor: text;
}
.docx-editor-ruler-tick {
  position: absolute;
  top: 0;
  border-left: 1px solid #d1d5db;
  height: 100%;
  padding-left: 2px;
  line-height: 20px;
}
.docx-editor-ruler-tabstop {
  position: absolute;
  top: 2px;
  width: 6px;
  height: 6px;
  background: #4b5563;
  transform: translateX(-3px) rotate(45deg);
  cursor: pointer;
}
.docx-editor-ruler-indent-marker,
.docx-editor-ruler-firstline-marker {
  position: absolute;
  top: 2px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid #2563eb;
  transform: translateX(-5px);
  cursor: ew-resize;
}
.docx-editor-ruler-firstline-marker {
  top: 10px;
  border-top: none;
  border-bottom: 8px solid #2563eb;
}
