.memory-controls { display: grid; gap: 6px; }
.memory-thumbnail { display: block; width: 112px; max-width: none; height: auto; }
.memory-actions { min-width: 132px; }
.memory-actions .admin-actions { gap: 3px; }
.memory-counts { margin: 5px 0; }
.memory-pages { margin-top: 7px; }
.memory-caption-summary { max-width: 28ch; }
.memory-editor { display: grid; grid-template-columns: minmax(170px, 320px) minmax(0, 607px); gap: 12px; }
.memory-editor > form { align-content: start; }
.memory-preview { min-width: 0; }
.memory-preview-stage { position: relative; width: 100%; aspect-ratio: 607 / 488; }
.memory-preview-stage .journey-paper {
  top: 0;
  left: 0;
  pointer-events: none;
  cursor: default;
  transform-origin: top left;
  transform: scale(var(--paper-preview-scale, 1));
}
.memory-publish-check {
  position: fixed;
  top: 0;
  left: -10000px;
  width: 607px;
  visibility: hidden;
}
.memory-drop {
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px dashed var(--mid);
  background: var(--light);
}
.memory-drop.is-dragging { outline: 2px solid var(--brand-blue); outline-offset: -2px; }
.memory-queue { padding-left: 22px; }
.memory-queue .admin-actions { margin: 4px 0 9px; }
.memory-preview-notice { margin-top: 5px; }
@media (max-width: 820px) {
  .memory-editor { grid-template-columns: minmax(0, 607px); }
}
