#memory-object-handles{position:fixed;z-index:7600;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;width:max-content;gap:2px;padding:3px;border:1px solid var(--app-color-memory-d8d5cd,#d8d5cd);border-radius:999px;background:var(--bg,var(--app-color-memory-f7f5eb,#f7f5eb));box-shadow:0 3px 12px var(--app-color-memory-00000022,#0002);touch-action:none;}
#memory-object-handles[hidden]{display:none;}
#memory-object-handles.is-reversed{direction:rtl;}
#memory-object-handles button{display:flex;align-items:center;justify-content:center;direction:ltr;min-width:0;white-space:nowrap;gap:5px;border:0;border-radius:999px;padding:7px 10px;font:12px/16px sans-serif;background:transparent;color:var(--app-color-memory-181818,#181818);cursor:grab;touch-action:none;}
#memory-object-handles button[hidden]{display:none;}
#memory-object-handles button:hover{background:var(--ui-control-hover,var(--app-color-memory-f0eeea,#f0eeea));}
#memory-object-handles button:is(:active,.is-active){cursor:grabbing;background:var(--app-color-memory-000000,#000);color:var(--app-color-memory-ffffff,#fff);}
#memory-object-handles button:focus-visible{outline:2px solid var(--app-color-memory-000000,#000);outline-offset:2px;}
#memory-object-handles svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;}
/* Reuse the overview assets, trimming only their transparent canvas so the
   ink and stroke weight balance the Move icon. Masks inherit active white. */
#memory-object-handles .object-spacing-icon{display:block;flex:none;width:18px;height:18px;background:currentColor;-webkit-mask:url('toolbar-icons/spacing_vertical.svg') center/100% auto no-repeat;mask:url('toolbar-icons/spacing_vertical.svg') center/100% auto no-repeat;}
#memory-object-handles[data-orientation=horizontal] .object-spacing-icon{-webkit-mask-image:url('toolbar-icons/spacing_horizontal.svg');mask-image:url('toolbar-icons/spacing_horizontal.svg');-webkit-mask-size:auto 100%;mask-size:auto 100%;}
@media(min-width:769px){
 #page-memory.has-object-handles:has(#memory-object-handles:not([hidden])) #memory-generated .gen-grid-insert-overlay{visibility:hidden;pointer-events:none;}
 #page-memory.has-object-handles #memory-generated :is(.is-unified-grid,.is-horizontal-photobook) > [data-block-id] > .gen-gap-handle{display:none!important;}
 #page-memory.has-object-handles #memory-generated [data-object-handles-selected]{outline:2px solid var(--ui-accent,var(--app-color-memory-584eb6,#584eb6));outline-offset:2px;}
 #page-memory.is-canvas-movement-disabled #memory-generated :is(.gen-gap-handle,.gen-block-drag-handle){display:none!important;}
}
@media print{#memory-object-handles{display:none!important;}}
