.menus,
.menu-popup,
.os-window,
.os-window .window-titlebar,
.os-window .window-title {
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.os-window {
  contain: layout;
  display: flex;
  flex-direction: column;
}
.window-content {
  flex: 1;
  min-height: 0;
  contain: layout paint;
}
.os-window .window-titlebar,
body > .window-titlebar {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  flex-shrink: 0;
}
.os-window .window-title-area {
  position: relative;
  flex: 1;
}
.os-window .window-titlebar .icon {
  vertical-align: bottom;
}
.os-window.maximized .handle,
.os-window.minimized-without-taskbar .handle {
  display: none;
}
.os-window.minimized-without-taskbar .menus {
  display: none;
}
.dragging iframe {
  pointer-events: none;
}
.menus {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
}
.menu-popup {
  position: absolute;
  box-sizing: border-box;
}
.menu-popup-table {
  border-collapse: collapse;
}
.menu-button,
.menu-item {
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}
.menu-hr {
  display: block !important;
  height: 0;
  width: auto;
}
.menu-hotkey {
  display: inline !important;
}
.menu-item-checkbox-area,
.menu-item-submenu-area {
  min-width: 16px;
  text-align: center;
}
::before,
::after {
  pointer-events: none;
}