.ty-split {
  box-sizing: border-box;
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
}
.ty-split_horizontal {
  flex-direction: row;
}
.ty-split_vertical {
  flex-direction: column;
  width: 100%;
}

.ty-split-pane {
  box-sizing: border-box;
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: auto;
}

.ty-split-bar {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  outline: none;
  touch-action: none;
  z-index: 1;
}
.ty-split-bar__slot {
  position: relative;
  flex: 0 0 auto;
}
.ty-split-bar__slot_horizontal {
  width: var(--ty-split-bar-size, 2px);
}
.ty-split-bar__slot_vertical {
  height: var(--ty-split-bar-size, 2px);
}
.ty-split-bar_horizontal {
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--ty-split-bar-hit-area-size, 16px);
  cursor: col-resize;
}
.ty-split-bar_vertical {
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  height: var(--ty-split-bar-hit-area-size, 16px);
  cursor: row-resize;
}
.ty-split-bar_disabled {
  cursor: default;
}
.ty-split-bar__visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ty-split-bar__track {
  position: absolute;
  display: block;
  background-color: var(--ty-split-bar-line, #c8ced5);
  transition: background-color 0.2s ease;
}
.ty-split-bar__handle {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ty-split-bar-grip-gap, 2px);
  padding: var(--ty-split-bar-handle-padding, 4px);
  border: 1px solid var(--ty-split-bar-border, #d7dbe0);
  border-radius: var(--ty-split-bar-handle-radius, 8px);
  background-color: var(--ty-split-bar-bg, #fafbfc);
  box-shadow: var(--ty-split-bar-shadow, 0 1px 2px rgba(15, 23, 42, 0.08));
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ty-split-bar__grip-dot {
  width: var(--ty-split-bar-grip-size, 2px);
  height: var(--ty-split-bar-grip-size, 2px);
  border-radius: 50%;
  background-color: var(--ty-split-bar-line, #c8ced5);
  transition: background-color 0.2s ease;
}
.ty-split-bar_horizontal .ty-split-bar__track {
  top: 0;
  bottom: 0;
  left: 50%;
  width: var(--ty-split-bar-size, 2px);
  transform: translateX(-50%);
}
.ty-split-bar_horizontal .ty-split-bar__handle {
  flex-direction: column;
  width: var(--ty-split-bar-handle-thickness, 14px);
  min-height: var(--ty-split-bar-handle-length, 30px);
}
.ty-split-bar_vertical .ty-split-bar__track {
  left: 0;
  right: 0;
  top: 50%;
  height: var(--ty-split-bar-size, 2px);
  transform: translateY(-50%);
}
.ty-split-bar_vertical .ty-split-bar__handle {
  flex-direction: row;
  min-width: var(--ty-split-bar-handle-length, 30px);
  height: var(--ty-split-bar-handle-thickness, 14px);
}
.ty-split-bar:hover:not(.ty-split-bar_disabled) .ty-split-bar__track, .ty-split-bar_dragging .ty-split-bar__track {
  background-color: var(--ty-split-bar-line-active, var(--ty-split-bar-line, #aeb6bf));
}
.ty-split-bar:hover:not(.ty-split-bar_disabled) .ty-split-bar__handle, .ty-split-bar_dragging .ty-split-bar__handle {
  background-color: var(--ty-split-bar-bg-active, #fff);
  border-color: var(--ty-split-bar-border-active, #c8cdd3);
}
.ty-split-bar_dragging .ty-split-bar__handle {
  transform: scale(1.02);
}
.ty-split-bar:focus-visible .ty-split-bar__handle {
  box-shadow: var(--ty-split-bar-focus-ring, 0 0 0 3px rgba(110, 65, 191, 0.2));
}
.ty-split-bar_collapsed .ty-split-bar__handle {
  transform: scale(0.96);
}