#edit { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .6);
  display: flex; align-items: center; justify-content: center; }
.edit-box { width: min(420px, 92vw); max-height: 92vh; overflow-y: auto;
  background: var(--panel); border-radius: 4px; padding: 24px; }
.edit-art-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.edit-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.edit-actions .primary { width: auto; padding: 10px 24px; }