.ProseMirror .tableWrapper {
  overflow-x: auto;
}

.ProseMirror table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  overflow: hidden;
}

.ProseMirror td, .ProseMirror th {
  box-sizing: border-box;
  vertical-align: top;
  border-width: 1px;
  padding-left: .75rem;
  padding-right: .75rem;
  position: relative;
}

prosekit-table-handle-drop-indicator {
  background-color: highlighttext;
}

.ProseMirror .column-resize-handle {
  z-index: 20;
  pointer-events: none;
  background-color: highlighttext;
  width: 4px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: -2px;
}

.ProseMirror.resize-cursor {
  cursor: ew-resize;
  cursor: col-resize;
}

.ProseMirror .selectedCell {
  --color: 210, 100%, 56%;
  border: 1px double hsl(var(--color));
  background-color: hsla(var(--color), 20%);
}
