#hub .floating-window { min-width: 0; min-height: 0; }
#hub .window-titlebar { position: relative; z-index: 12; }
#hub .window-subbar, #hub [data-window-drag] {
  cursor: grab;
  touch-action: none;
  user-select: none;
}
#hub .window-move-overlay {
  position: absolute;
  inset: 0;
  z-index: 9;
  border-radius: inherit;
  cursor: grab;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / .22);
}
#hub .window-move-overlay[hidden] { display: none; }
#hub .window-move-hint {
  pointer-events: none;
  max-width: calc(100% - 32px);
  padding: 10px 14px;
  border: 1px solid #ffffff36;
  border-radius: 999px;
  background: #111e;
  color: #eee;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
#hub .move-control[aria-pressed="true"] {
  background: #ffffff20;
  color: #fff;
  box-shadow: inset 0 0 0 1px #ffffff48;
}
#hub .window-layout-controls .move-control {
  min-width: 28px;
  min-height: 28px;
}
#hub .resize-handle { z-index: 20; }
body.dragging #hub .window-move-overlay,
body.dragging #hub .window-titlebar,
body.dragging #hub .window-subbar { cursor: grabbing; }
@media (pointer: coarse) {
  #hub .resize-n, #hub .resize-s { height: 12px; }
  #hub .resize-e, #hub .resize-w { width: 12px; }
  #hub .resize-nw, #hub .resize-ne,
  #hub .resize-sw, #hub .resize-se { width: 24px; height: 24px; }
}
