html[data-theme] .standalone-canvas-page > .canvas-project-manager {
  border-inline-end: 0;
  min-width: 0;
}

@media (min-width: 761px) {
  html[data-theme] .agent-work > .agent-rail {
    box-sizing: border-box;
    width: var(--resized-sidebar-width);
    min-width: 0;
    border-inline-end: 0;
  }
}

html[data-theme] .workspace-sidebar-divider {
  flex: 0 0 1px;
  width: 1px;
  position: relative;
  z-index: 2;
  align-self: stretch;
  background: var(--oa-line, #303030);
  cursor: col-resize;
  touch-action: none;
  user-select: none;
}

html[data-theme="light"] .workspace-sidebar-divider {
  background: var(--oa-line, #dddfd6);
}

/* Keep the painted line thin with room to catch the pointer on either side. */
.workspace-sidebar-divider::after {
  position: absolute;
  content: "";
  inset: 0 -4px;
}

html[data-theme] .workspace-sidebar-divider:is(:hover, :focus-visible, [data-dragging="true"]) {
  background: #d3f65c;
  box-shadow: 0 0 0 1px #d3f65c, 0 0 7px #d3f65c7a;
  outline: none;
}

@media (max-width: 760px) {
  .agent-work > .agent-history-divider { display: none; }
}
